summaryrefslogtreecommitdiff
path: root/app-forensics/rkhunter
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-forensics/rkhunter
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-forensics/rkhunter')
-rw-r--r--app-forensics/rkhunter/Manifest9
-rw-r--r--app-forensics/rkhunter/files/rkhunter-1.3.cron133
-rw-r--r--app-forensics/rkhunter/files/rkhunter-1.4.6-conf.patch38
-rw-r--r--app-forensics/rkhunter/files/rkhunter-1.4.6-no-insecure-web.patch46
-rw-r--r--app-forensics/rkhunter/files/rkhunter-1.4.cron134
-rw-r--r--app-forensics/rkhunter/files/rkhunter.bash-completion87
-rw-r--r--app-forensics/rkhunter/metadata.xml10
-rw-r--r--app-forensics/rkhunter/rkhunter-1.4.6-r1.ebuild63
-rw-r--r--app-forensics/rkhunter/rkhunter-1.4.6.ebuild63
9 files changed, 0 insertions, 583 deletions
diff --git a/app-forensics/rkhunter/Manifest b/app-forensics/rkhunter/Manifest
deleted file mode 100644
index e7607ce26160..000000000000
--- a/app-forensics/rkhunter/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-AUX rkhunter-1.3.cron 3927 BLAKE2B f33bcec5a474a32fabfd8d9e9a16df9aad6700b5c760be6f42d6ab915f96e84492647286fe9a33838c37dcf8c1e1eb9fe4c187b3e836b8d8c8cd1d659736ea98 SHA512 a99eb535c12b6715031aa367ba0ae70ed1761a03b74c57d173512006e466ef56bfc7ffb15364d4f36d39597277a8cf3b35e7286462bfd6ec9d44877dd1653d4d
-AUX rkhunter-1.4.6-conf.patch 1044 BLAKE2B a71c895f2fd295bb3d64e4fe95fa7d89e2c6544d30ec362cc2d048ce7b0892a0733576a0960231ec2f98077b8122ed15bdc87e46412e7114cce6843c9a612106 SHA512 4e1493c84be60427edd572fdddc1fb576ed6d7d81bc61289722c39add0d200808fe1c09584e76380432763006a670afd9f86a8abfc26538db9b60e6f90251949
-AUX rkhunter-1.4.6-no-insecure-web.patch 1805 BLAKE2B 4e2926f91f2f799f1c30119a6beae5f3492ab9736747cd447581e5279ec582f97ee7782f38e6b9eb5b9c460102cbcc3521bc5b6ae961324bf4a3d8d77ce5109f SHA512 5c006726644a5ffdbd55d82325087bae3f034ab30a01bb39ae005a916f6def656919466f7b7b3017d0e8fa5dc55ecec6349b3028618c95bc339fbefee2685747
-AUX rkhunter-1.4.cron 4002 BLAKE2B 4effc65dbff981fc90370dfae3c5e6b7d6d6f60e5aabc4e008cf29990fb490baacd83db3405ec49631f33082de88031afc2b98d7387b17c4deaffe7cda05de68 SHA512 84e5a366aa1199e432999e5ededa8627026075dbabdc3e39dfb5059fa5f77efe214395288d3ecab3a4b105a0dd0e70ddddf895160fc2a03945227ba820ccb1b9
-AUX rkhunter.bash-completion 2499 BLAKE2B 5cc845f3780e5b92acb84aad8141147b87245d554770282b91ba04771d7d8e727691872bdee129f25c7dd1a1440944e4b6959b9981c9c73683f1fddd479b225c SHA512 8fba540f5425169810b8baaf2e801638e3286aa93a69d4a96f5916e3bc9b632edaef6b509b8ca58f8047a7c7d4bb4bf348ad7923e855edce3dd0432725a944e7
-DIST rkhunter-1.4.6.tar.gz 302137 BLAKE2B 89c61386b57f743f4205f8c826eaa8a9dc9a0d413ac47efb26b6f93d8d642f619f35b7a4c021521b662547c02a16071b8980d158cfb9e081a64870558dbaeff0 SHA512 c51a21b6b66ed1f73a19d8ce04eaba35999eefcb666acc824989c3bf53ac56d24a33ac4fec290be942e33fe24674406b371eafff73f7e697b9e03ec031b37216
-EBUILD rkhunter-1.4.6-r1.ebuild 1427 BLAKE2B e5f3ff7c3e0002c2c9389415c15b89eba6c9f69743f73369be5a13bd4848701a737ee23c4250f2daa186d8a69d9b729a638758c86051ea2252619048963c7fb3 SHA512 49cceaf2940df65d676ce6923323abf76e5435d18925a626d6d0944f5389000237b110f4fe06eb54cf5fa926c269d904cbf3fc62453da165def512e5dbefc559
-EBUILD rkhunter-1.4.6.ebuild 1423 BLAKE2B a49684b03e9b4dc56f1cb21d598f311f84fc7347637cd671cbb4af35107543b828961337d795ce067a232012797a22207aa81e87309b087a59ed029b53f42276 SHA512 ad425d6abe7a02a0d15dbc28c1e737e2b91792d89acd5c56be7b4ba867c8e28e1423e37453112ef1834978326b169ac23ca37f79d9f2ac221b8899e8ef33a4de
-MISC metadata.xml 299 BLAKE2B 3b8af7fccff4006181f81391d616527950fa356ea54ff55e9fba97406ceb4d3d247210c80f5e42b3f67fb8b861c7118363ba3fa4916cba0f855e2bde8f6872d2 SHA512 00fc15df938f0b0d31061fd8a7195e08fd64ec7a0f02458bdd3df443d8963f85703264a4ea59bf98c935ef9ec7c8fbe2536daddb9056fee22282df1c04cc9768
diff --git a/app-forensics/rkhunter/files/rkhunter-1.3.cron b/app-forensics/rkhunter/files/rkhunter-1.3.cron
deleted file mode 100644
index 468667cf9d94..000000000000
--- a/app-forensics/rkhunter/files/rkhunter-1.3.cron
+++ /dev/null
@@ -1,133 +0,0 @@
-#!/bin/bash
-# original author: Aaron Walker <ka0ttic@gentoo.org>
-
-########################## Begin Configuration ###############################
-
-# Default options - more options may be added depending on the
-# configuration variables you set below
-# --cronjob implies -c, --nocolor, --sk
-RKHUNTER_OPTS="--cronjob --summary"
-
-# Set this to 'yes' to enable ; this script does nothing otherwise
-ENABLE=no
-
-# Automatically update rkhunter's dat files prior to running?
-UPDATE=no
-
-# Set this to 'yes' if you wish the output to be mailed to you
-SEND_EMAIL=no
-
-# NOTE: the following EMAIL_* variables are only relevant if you set the
-# SEND_EMAIL variable to 'yes'
-EMAIL_SUBJECT="${HOSTNAME}: rkhunter output"
-EMAIL_RECIPIENT=root
-EMAIL_CMD="|mail -s \"${EMAIL_SUBJECT}\" ${EMAIL_RECIPIENT}"
-
-# Log rkhunter output?
-LOG=no
-
-# The default log location is /var/log/rkhunter.log. Set this variable if
-# you'd like to use an alternate location.
-#LOGFILE=""
-
-# By default, the log file created by rkhunter is world-readable (0644). If
-# you'd like to modify the permissions afterwards, set this variable. The
-# value of this variable, must be a valid chmod argument such as '0600' or
-# 'u+rw,go-rwx'. See the chmod(1) manual page for more information.
-#LOGFILE_PERMS="0600"
-
-# By default, rkhunter overwrites the previous log. Set this variable
-# to 'yes' if you'd like the log output appended to the logfile, instead
-# of overwriting it.
-SAVE_OLD_LOGS=no
-
-# Set to 1 to recieve only warnings & errors
-# Set to 2 to recieve ALL rkhunter output
-# Set to 3 to recieve rkhunter report
-VERBOSITY=3
-
-########################### End Configuration ################################
-
-# exit immediately, unless enabled
-[[ "${ENABLE}" == "yes" ]] || exit 0
-
-# debug mode? (mainly for my benefit)
-if [[ -n "${1}" ]] && [[ ${1} = "-d" ]] ; then
- set -o verbose -o xtrace
-fi
-
-[[ -z "${LOGFILE}" ]] && LOGFILE="/var/log/rkhunter.log"
-
-# moved this out of config section since it'll
-# probably never need to be changed
-RKHUNTER_EXEC="/usr/sbin/rkhunter"
-
-# sanity check
-if [[ ! -x "${RKHUNTER_EXEC}" ]] ; then
- echo "${RKHUNTER_EXEC} does not exist or is not executable!"
- exit 1
-fi
-
-# we create a few tmp files, so let's at least make
-# them readable/writable by root only
-umask 0077
-
-# all output goes to this temp file
-_tmpout=$(mktemp /tmp/rkhunter.cron.XXXXXX)
-exec > ${_tmpout} 2>&1
-
-# update data files
-if [[ "${UPDATE}" == "yes" ]] ; then
- # save the output of --update in a tmp file so that it can be mailed
- # along with the scan output; otherwise the user will get 2 mails
- ${RKHUNTER_EXEC} --nocolor --update
-fi
-
-# formulate options string according to user configuration
-[[ "${LOG}" == "yes" ]] && \
- RKHUNTER_OPTS="${RKHUNTER_OPTS} --createlogfile ${LOGFILE}"
-
-case "${VERBOSITY}" in
- # warnings and errors only
- 1) RKHUNTER_OPTS="${RKHUNTER_OPTS} --quiet" ;;
- # default rkhunter output (no extra options)
-# 2) ;;
- # default to option 3
- *) ;;
-esac
-
-# save old log
-if [[ "${LOG}" == "yes" && "${SAVE_OLD_LOGS}" == "yes" ]] ; then
- if [[ -e "${LOGFILE}" ]] ; then
- _tmpfile=$(mktemp ${LOGFILE}.XXXXXX)
- mv -f ${LOGFILE} ${_tmpfile}
- echo -e "--\nrkhunter.cron commencing at: $(date)\n--" >> ${_tmpfile}
- fi
-fi
-
-# finally, run rkhunter
-CMD="${RKHUNTER_EXEC} ${RKHUNTER_OPTS}"
-eval ${CMD}
-RV=$?
-
-# email output?
-if [[ "${SEND_EMAIL}" == "yes" ]] ; then
- CMD="cat ${_tmpout} ${EMAIL_CMD}"
- eval ${CMD}
-fi
-
-# remove temp file
-[[ -n "${_tmpout}" ]] && rm -f ${_tmpout}
-
-[[ "${LOG}" != "yes" ]] && exit ${RV}
-
-# from this point on, we can assume logging is enabled
-
-# append new log to old log and restore
-if [[ -n "${_tmpfile}" ]] ; then
- cat ${LOGFILE} >> ${_tmpfile}
- mv ${_tmpfile} ${LOGFILE}
-fi
-
-chmod ${LOGFILE_PERMS:-0644} ${LOGFILE}
-exit ${RV}
diff --git a/app-forensics/rkhunter/files/rkhunter-1.4.6-conf.patch b/app-forensics/rkhunter/files/rkhunter-1.4.6-conf.patch
deleted file mode 100644
index 5642436ed412..000000000000
--- a/app-forensics/rkhunter/files/rkhunter-1.4.6-conf.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-
---- a/rkhunter.conf
-+++ b/rkhunter.conf
-@@ -72,6 +72,7 @@
- # to use.
- #
-
-+INSTALLDIR=/usr
-
- #
- # If this option is set to '1', it specifies that the mirrors file
-@@ -154,7 +155,7 @@
- # subsequently commented out or removed, then the program will assume a
- # default directory beneath the installation directory.
- #
--#TMPDIR=/var/lib/rkhunter/tmp
-+TMPDIR=/var/lib/rkhunter
-
- #
- # This option specifies the database directory to use.
-@@ -163,7 +164,7 @@
- # subsequently commented out or removed, then the program will assume a
- # default directory beneath the installation directory.
- #
--#DBDIR=/var/lib/rkhunter/db
-+DBDIR=/var/lib/rkhunter/db
-
- #
- # This option specifies the script directory to use.
-@@ -171,7 +172,7 @@
- # The installer program will set the default directory. If this default is
- # subsequently commented out or removed, then the program will not run.
- #
--#SCRIPTDIR=/usr/local/lib/rkhunter/scripts
-+SCRIPTDIR=/usr/lib/rkhunter/scripts
-
- #
- # This option can be used to modify the command directory list used by rkhunter
diff --git a/app-forensics/rkhunter/files/rkhunter-1.4.6-no-insecure-web.patch b/app-forensics/rkhunter/files/rkhunter-1.4.6-no-insecure-web.patch
deleted file mode 100644
index ed3b68c669bc..000000000000
--- a/app-forensics/rkhunter/files/rkhunter-1.4.6-no-insecure-web.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Disable insecure web operations (CVE-2017-7480).
-
-Bug: https://bugs.gentoo.org/623150
-
---- a/rkhunter
-+++ b/rkhunter
-@@ -19462,7 +19462,7 @@
- #
-
- echo $ECHOOPT ""
-- echo $ECHOOPT "Usage: rkhunter {--check | --unlock | --update | --versioncheck |"
-+ echo $ECHOOPT "Usage: rkhunter {--check | --unlock |"
- echo $ECHOOPT " --propupd [{filename | directory | package name},...] |"
- echo $ECHOOPT " --list [{tests | {lang | languages} | rootkits | perl | propfiles}] |"
- echo $ECHOOPT " --config-check | --version | --help} [options]"
-@@ -19518,10 +19518,8 @@
- echo $ECHOOPT " (Default level is $SYSLOG_DFLT_PRIO)"
- echo $ECHOOPT " --tmpdir <directory> Use the specified temporary directory"
- echo $ECHOOPT " --unlock Unlock (remove) the lock file"
-- echo $ECHOOPT " --update Check for updates to database files"
- echo $ECHOOPT " --vl, --verbose-logging Use verbose logging (on by default)"
- echo $ECHOOPT " -V, --version Display the version number, then exit"
-- echo $ECHOOPT " --versioncheck Check for latest version of program"
- echo $ECHOOPT " -x, --autox Automatically detect if X is in use"
- echo $ECHOOPT " -X, --no-autox Do not automatically detect if X is in use"
- echo $ECHOOPT ""
-@@ -20396,9 +20394,6 @@
- --unlock)
- UNLOCK=1
- ;;
-- --update)
-- UPDATE=1
-- ;;
- --vl | --verboselogging | --verbose-logging)
- VERBOSE_LOGGING=1
- ;;
-@@ -20407,9 +20402,6 @@
- echo "${PROGRAM_blurb}"
- exit 0
- ;;
-- --versioncheck | --version-check)
-- VERSIONCHECK=1
-- ;;
- -x | --autox)
- AUTO_X_OPT=1
- AUTO_X_DTCT=1
diff --git a/app-forensics/rkhunter/files/rkhunter-1.4.cron b/app-forensics/rkhunter/files/rkhunter-1.4.cron
deleted file mode 100644
index 6c73305d3e8c..000000000000
--- a/app-forensics/rkhunter/files/rkhunter-1.4.cron
+++ /dev/null
@@ -1,134 +0,0 @@
-#!/bin/bash
-# original author: Aaron Walker <ka0ttic@gentoo.org>
-
-########################## Begin Configuration ###############################
-
-# Default options - more options may be added depending on the
-# configuration variables you set below
-# --cronjob implies -c, --nocolor, --sk
-RKHUNTER_OPTS="--cronjob --summary"
-
-# Set this to 'yes' to enable ; this script does nothing otherwise
-ENABLE=no
-
-# Automatically update rkhunter's dat files prior to running?
-UPDATE=no
-
-# Set this to 'yes' if you wish the output to be mailed to you
-SEND_EMAIL=no
-
-# NOTE: the following EMAIL_* variables are only relevant if you set the
-# SEND_EMAIL variable to 'yes'
-EMAIL_SUBJECT="${HOSTNAME}: rkhunter output"
-EMAIL_RECIPIENT=root
-EMAIL_CMD="|mail -s \"${EMAIL_SUBJECT}\" ${EMAIL_RECIPIENT}"
-
-# Log rkhunter output?
-LOG=no
-
-# The default log location is /var/log/rkhunter.log. Set this variable if
-# you'd like to use an alternate location.
-#LOGFILE=""
-
-# By default, the log file created by rkhunter is world-readable (0644). If
-# you'd like to modify the permissions afterwards, set this variable. The
-# value of this variable, must be a valid chmod argument such as '0600' or
-# 'u+rw,go-rwx'. See the chmod(1) manual page for more information.
-#LOGFILE_PERMS="0600"
-
-# By default, rkhunter overwrites the previous log. Set this variable
-# to 'yes' if you'd like the log output appended to the logfile, instead
-# of overwriting it.
-SAVE_OLD_LOGS=no
-
-# Set to 1 to recieve only warnings & errors
-# Set to 2 to recieve ALL rkhunter output
-# Set to 3 to recieve rkhunter report
-VERBOSITY=3
-
-########################### End Configuration ################################
-
-# exit immediately, unless enabled
-[[ "${ENABLE}" == "yes" ]] || exit 0
-
-# debug mode? (mainly for my benefit)
-if [[ -n "${1}" ]] && [[ ${1} = "-d" ]] ; then
- set -o verbose -o xtrace
-fi
-
-[[ -z "${LOGFILE}" ]] && LOGFILE="/var/log/rkhunter.log"
-
-# moved this out of config section since it'll
-# probably never need to be changed
-RKHUNTER_EXEC="/usr/sbin/rkhunter"
-
-# sanity check
-if [[ ! -x "${RKHUNTER_EXEC}" ]] ; then
- echo "${RKHUNTER_EXEC} does not exist or is not executable!"
- exit 1
-fi
-
-# we create a few tmp files, so let's at least make
-# them readable/writable by root only
-umask 0077
-
-# all output goes to this temp file
-_tmpout=$(mktemp /tmp/rkhunter.cron.XXXXXX)
-exec > ${_tmpout} 2>&1
-
-# update data files
-if [[ "${UPDATE}" == "yes" ]] ; then
- # save the output of --update in a tmp file so that it can be mailed
- # along with the scan output; otherwise the user will get 2 mails
- #${RKHUNTER_EXEC} --nocolor --update
- echo "In Gentoo, update option is disabled due to CVE-2017-7480."
-fi
-
-# formulate options string according to user configuration
-[[ "${LOG}" == "yes" ]] && \
- RKHUNTER_OPTS="${RKHUNTER_OPTS} --createlogfile ${LOGFILE}"
-
-case "${VERBOSITY}" in
- # warnings and errors only
- 1) RKHUNTER_OPTS="${RKHUNTER_OPTS} --quiet" ;;
- # default rkhunter output (no extra options)
-# 2) ;;
- # default to option 3
- *) ;;
-esac
-
-# save old log
-if [[ "${LOG}" == "yes" && "${SAVE_OLD_LOGS}" == "yes" ]] ; then
- if [[ -e "${LOGFILE}" ]] ; then
- _tmpfile=$(mktemp ${LOGFILE}.XXXXXX)
- mv -f ${LOGFILE} ${_tmpfile}
- echo -e "--\nrkhunter.cron commencing at: $(date)\n--" >> ${_tmpfile}
- fi
-fi
-
-# finally, run rkhunter
-CMD="${RKHUNTER_EXEC} ${RKHUNTER_OPTS}"
-eval ${CMD}
-RV=$?
-
-# email output?
-if [[ "${SEND_EMAIL}" == "yes" ]] ; then
- CMD="cat ${_tmpout} ${EMAIL_CMD}"
- eval ${CMD}
-fi
-
-# remove temp file
-[[ -n "${_tmpout}" ]] && rm -f ${_tmpout}
-
-[[ "${LOG}" != "yes" ]] && exit ${RV}
-
-# from this point on, we can assume logging is enabled
-
-# append new log to old log and restore
-if [[ -n "${_tmpfile}" ]] ; then
- cat ${LOGFILE} >> ${_tmpfile}
- mv ${_tmpfile} ${LOGFILE}
-fi
-
-chmod ${LOGFILE_PERMS:-0644} ${LOGFILE}
-exit ${RV}
diff --git a/app-forensics/rkhunter/files/rkhunter.bash-completion b/app-forensics/rkhunter/files/rkhunter.bash-completion
deleted file mode 100644
index a28f96f510d1..000000000000
--- a/app-forensics/rkhunter/files/rkhunter.bash-completion
+++ /dev/null
@@ -1,87 +0,0 @@
-# rkhunter completion
-
-_rkhunter() {
- local cur prev opts
- COMPREPLY=()
- cur=${COMP_WORDS[COMP_CWORD]}
- prev=${COMP_WORDS[COMP_CWORD-1]}
- opts="-c --checkall --createlogfile --cronjob --display-logfile -h --help\
- --nocolors --report-mode --report-warnings-only \
- --skip-application-check --skip-keypress --quick --quiet --update \
- --version --versioncheck --bindir --configfile --dbdir --rootdir \
- --tmpdir --disable-md5-check --disable-passwd-check \
- --scan-knownbad-files"
-
- if [[ "${cur}" == -* ]] || [[ ${COMP_CWORD} -eq 1 ]]; then
- COMPREPLY=($(compgen -W "${opts}" -- "${cur}"))
- fi
-
- case "${prev}" in
- --createlogfile)
- COMPREPLY=($(compgen -o filenames -A file -W "${opts/--createlogfile}" \
- -- "${cur}"))
- ;;
- --display-logfile)
- COMPREPLY=($(compgen -W "${opts/--display-logfile}" -- "${cur}"))
- ;;
- --*dir)
- COMPREPLY=($(compgen -o dirnames -A directory -- "${cur}"))
- ;;
- --*file)
- COMPREPLY=($(compgen -o filenames -A file -- "${cur}"))
- ;;
- -c|--checkall)
- COMPREPLY=($(compgen -W "${opts/-c --checkall}" -- "${cur}"))
- ;;
- --cronjob)
- COMPREPLY=($(compgen -W "${opts/--cronjob}" -- "${cur}"))
- ;;
- -h|--help)
- COMPREPLY=($(compgen -W "${opts/-h --help}" -- "${cur}"))
- ;;
- --nocolors)
- COMPREPLY=($(compgen -W "${opts/--nocolors}" -- "${cur}"))
- ;;
- --report-mode)
- COMPREPLY=($(compgen -W "${opts/--report-mode}" -- "${cur}"))
- ;;
- --report-warnings-only)
- COMPREPLY=($(compgen -W "${opts/--report-warnings-only}" -- \
- "${cur}"))
- ;;
- --skip-application-check)
- COMPREPLY=($(compgen -W "${opts/--skip-application-check}" -- \
- "${cur}"))
- ;;
- --skip-keypress)
- COMPREPLY=($(compgen -W "${opts/--skip-keypress}" -- "${cur}"))
- ;;
- --quick)
- COMPREPLY=($(compgen -W "${opts/--quick}" -- "${cur}"))
- ;;
- --quiet)
- COMPREPLY=($(compgen -W "${opts/--quiet}" -- "${cur}"))
- ;;
- --update)
- COMPREPLY=($(compgen -W "${opts/--update}" -- "${cur}"))
- ;;
- --version)
- COMPREPLY=($(compgen -W "${opts/--version}" -- "${cur}"))
- ;;
- --versioncheck)
- COMPREPLY=($(compgen -W "${opts/--versioncheck}" -- "${cur}"))
- ;;
- --disable-md5-check)
- COMPREPLY=($(compgen -W "${opts/--disable-md5-check}" -- "${cur}"))
- ;;
- --disable-passwd-check)
- COMPREPLY=($(compgen -W "${opts/--disable-passwd-check}" -- \
- "${cur}"))
- ;;
- --scan-knownbad-files)
- COMPREPLY=($(compgen -W "${opts/--scan-knownbad-files}" -- \
- "${cur}"))
- ;;
- esac
-}
-complete -F _rkhunter rkhunter
diff --git a/app-forensics/rkhunter/metadata.xml b/app-forensics/rkhunter/metadata.xml
deleted file mode 100644
index d82e93e73a98..000000000000
--- a/app-forensics/rkhunter/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>kensington@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">rkhunter</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/app-forensics/rkhunter/rkhunter-1.4.6-r1.ebuild b/app-forensics/rkhunter/rkhunter-1.4.6-r1.ebuild
deleted file mode 100644
index e292e6dde3a9..000000000000
--- a/app-forensics/rkhunter/rkhunter-1.4.6-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1
-
-DESCRIPTION="Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers"
-HOMEPAGE="http://rkhunter.sf.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~x86"
-IUSE=""
-
-RDEPEND="
- app-shells/bash
- dev-lang/perl
- sys-process/lsof[rpc]
-"
-
-S="${WORKDIR}/${P}/files"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.4.6-conf.patch"
- "${FILESDIR}/${PN}-1.4.6-no-insecure-web.patch"
-)
-
-src_install() {
- # rkhunter requires to be root
- dosbin ${PN}
-
- insinto /etc
- doins ${PN}.conf
-
- exeinto /usr/lib/${PN}/scripts
- doexe *.pl
-
- insinto /var/lib/${PN}/db
- doins *.dat
-
- insinto /var/lib/${PN}/db/i18n
- doins i18n/*
-
- doman ${PN}.8
- dodoc ACKNOWLEDGMENTS CHANGELOG FAQ README
-
- exeinto /etc/cron.daily
- newexe "${FILESDIR}/${PN}-1.4.cron" ${PN}
-
- newbashcomp "${FILESDIR}/${PN}.bash-completion" ${PN}
-}
-
-pkg_postinst() {
- elog "A cron script has been installed to /etc/cron.daily/rkhunter."
- elog "To enable it, edit /etc/cron.daily/rkhunter and follow the"
- elog "directions."
- elog "If you want ${PN} to send mail, you will need to install"
- elog "virtual/mailx or alter the EMAIL_CMD variable in the"
- elog "cron script and possibly the MAIL_CMD variable in the"
- elog "${PN}.conf file to use another mail client."
-}
diff --git a/app-forensics/rkhunter/rkhunter-1.4.6.ebuild b/app-forensics/rkhunter/rkhunter-1.4.6.ebuild
deleted file mode 100644
index b5d9c402d22b..000000000000
--- a/app-forensics/rkhunter/rkhunter-1.4.6.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1
-
-DESCRIPTION="Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers"
-HOMEPAGE="http://rkhunter.sf.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~mips ppc x86"
-IUSE=""
-
-RDEPEND="
- app-shells/bash
- dev-lang/perl
- sys-process/lsof[rpc]
-"
-
-S="${WORKDIR}/${P}/files"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.4.6-conf.patch"
- "${FILESDIR}/${PN}-1.4.6-no-insecure-web.patch"
-)
-
-src_install() {
- # rkhunter requires to be root
- dosbin ${PN}
-
- insinto /etc
- doins ${PN}.conf
-
- exeinto /usr/lib/${PN}/scripts
- doexe *.pl
-
- insinto /var/lib/${PN}/db
- doins *.dat
-
- insinto /var/lib/${PN}/db/i18n
- doins i18n/*
-
- doman ${PN}.8
- dodoc ACKNOWLEDGMENTS CHANGELOG FAQ README
-
- exeinto /etc/cron.daily
- newexe "${FILESDIR}/${PN}-1.3.cron" ${PN}
-
- newbashcomp "${FILESDIR}/${PN}.bash-completion" ${PN}
-}
-
-pkg_postinst() {
- elog "A cron script has been installed to /etc/cron.daily/rkhunter."
- elog "To enable it, edit /etc/cron.daily/rkhunter and follow the"
- elog "directions."
- elog "If you want ${PN} to send mail, you will need to install"
- elog "virtual/mailx or alter the EMAIL_CMD variable in the"
- elog "cron script and possibly the MAIL_CMD variable in the"
- elog "${PN}.conf file to use another mail client."
-}