Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504066 - app-forensics/rkhunter 1.4.2 version bump
Summary: app-forensics/rkhunter 1.4.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Forensics Herd [disbanded]
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2014-03-10 11:47 UTC by Joerg Neikes
Modified: 2014-05-27 18:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
rkhunter-1.4.2.conf.patch (rkhunter-1.4.2.conf.patch,6.13 KB, patch)
2014-03-10 11:49 UTC, Joerg Neikes
Details | Diff
rkhunter-1.4.2.ebuild (rkhunter-1.4.2.ebuild,1.56 KB, text/plain)
2014-03-10 11:51 UTC, Joerg Neikes
Details
rkhunter.conf.patch.out (rkhunter.conf.patch.out,2.79 KB, text/plain)
2014-05-27 15:13 UTC, Frank Krömmelbein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Neikes 2014-03-10 11:47:31 UTC
Portage 2.2.7 (default/linux/x86/13.0, gcc-4.8.2, glibc-2.17, 3.12.6-gentoo i686)
=================================================================
System uname: Linux-3.12.6-gentoo-i686-Intel-R-_Core-TM-_i5-2500_CPU_@_3.30GHz-with-gentoo-2.2
KiB Mem:    16497096 total,   8912916 free
KiB Swap:    7996220 total,   7996216 free
Timestamp of tree: Fri, 03 Jan 2014 07:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.5.4-r5, 2.6.9, 2.7.6, 3.1.5-r1, 3.2.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24
sys-devel/gcc:            4.4.7, 4.5.4, 4.6.3, 4.7.3, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sunrise dev-zero xpol nx xenocastle
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
USE="X aac acl aff alsa apache apache2 bcmath berkdb branding bzip2 bzlib cairo calendar cli config-file cracklib crypt ctype cups curl curlwrappers custom-optimization cxx dba dbase dbx dio dns dri dvb dvd emacs encode ewf exif flatfile fontconfig fortran ftp gdbm gif gmp gnome-keyring gtk http-forms http-server iconv idn imap ipv6 jack java jpeg l7filter ldap lirc mad maildir mhash midi mime mmx mng modules mp3 mssql mudflap mysql ncurses nls nptl nptlonly nsplugin nss oci8-instant-client ogg opengl openmp openssl pam pcre pdf pdflib php pic png posix postgres qt qt3support qt4 quicktime readline realtime samba secure-delete semantic-desktop session sharedext simplexml smp soap sockets spell sse sse2 ssl ssse3 sysvipc tcpd tidy tiff timidity truetype unicode usb vhost vorbis wifi wma x86 xinerama xml xml2 xmlrpc xpm xsl xulrunner zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="sp887x ttpci" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de dk fi jp it nl fr" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="jython2_6 jython2_7 python2_6 python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="arm cris i386 m32 m68k microblaze microblazeel mips mips64 mips64el mipsel ppc ppc64 ppcemb s390x sh4 sh4eb sparc sparc64 x86_64 xtensa xtensaeb" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze microblazeel mips mipsel ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64 unicore32 x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.6 2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joerg Neikes 2014-03-10 11:49:43 UTC
Created attachment 372274 [details, diff]
rkhunter-1.4.2.conf.patch

This is the patch for the /etc/rkhunter.conf file with configs enabled in old 1.4.0 version.
Comment 2 Joerg Neikes 2014-03-10 11:51:57 UTC
Created attachment 372276 [details]
rkhunter-1.4.2.ebuild

Changed the patch Variable to {P} instead of useing {PN}.
The rkhunter-1.4.2.conf.patch file is used now.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-10 13:24:05 UTC
Comment on attachment 372276 [details]
rkhunter-1.4.2.ebuild

--- rkhunter-1.4.0.ebuild       2013-04-11 16:12:22.645908130 +0200
+++ -   2014-03-10 14:23:54.003699795 +0100
@@ -26,7 +26,7 @@
 S="${WORKDIR}/${P}/files"
 
 src_prepare() {
-       epatch "${FILESDIR}/${PN}.conf.patch"
+       epatch "${FILESDIR}/${P}.conf.patch"
 }
 
 src_install() {
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2014-05-27 13:12:42 UTC
I didn't see a need to rename the patch, so I didn't, otherwise, bump completed.  Thanks for the report

+  27 May 2014; Rick Farina <zerochaos@gentoo.org> +rkhunter-1.4.2.ebuild:
+  simple revbump as requested by bug 504066. tested and functional
Comment 5 Frank Krömmelbein 2014-05-27 15:13:05 UTC
Thank you very much @Rick Farina and also to @Jörg Neikes Vielen Dank.

But there is a problem with the conf.patch:


>>> Emerging (1 of 1) app-forensics/rkhunter-1.4.2
 * rkhunter-1.4.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking rkhunter-1.4.2.tar.gz to /var/tmp/portage/app-forensics/rkhunter-1.4.2/work
>>> Source unpacked in /var/tmp/portage/app-forensics/rkhunter-1.4.2/work
>>> Preparing source in /var/tmp/portage/app-forensics/rkhunter-1.4.2/work/rkhunter-1.4.2/files ...
 * Applying rkhunter.conf.patch ...

 * Failed Patch: rkhunter.conf.patch !
 *  ( /mnt/portage/portage/app-forensics/rkhunter/files/rkhunter.conf.patch )


Attached rkhunter.conf.patch
Comment 6 Frank Krömmelbein 2014-05-27 15:13:28 UTC
Created attachment 377714 [details]
rkhunter.conf.patch.out
Comment 7 Rick Farina (Zero_Chaos) gentoo-dev 2014-05-27 15:47:58 UTC
I love when I try to test things, do it wrong, and don't notice. please stand by, fixing now.
Comment 8 Rick Farina (Zero_Chaos) gentoo-dev 2014-05-27 16:08:35 UTC
all fixed now, thanks again for the report and sorry for the inconvenience of having to report twice.
Comment 9 Frank Krömmelbein 2014-05-27 18:45:37 UTC
Fixed, thank you very much.