swift 15/02/19 14:11:41 Modified: metadata.xml ChangeLog Added: nethack-3.4.3-r2.ebuild Log: Fix bug #538092 - Move to proxy maintenance by Luis Ressel, fix to remove security vulnerability CVE-2006-1390 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47)
Revision Changes Path 1.3 games-roguelike/nethack/metadata.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/nethack/metadata.xml?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/nethack/metadata.xml?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/nethack/metadata.xml?r1=1.2&r2=1.3 Index: metadata.xml =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-roguelike/nethack/metadata.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- metadata.xml 4 Mar 2004 17:04:21 -0000 1.2 +++ metadata.xml 19 Feb 2015 14:11:41 -0000 1.3 @@ -1,5 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>games</herd> + <herd>proxy-maintainers</herd> + <maintainer> + <email>ara...@aixah.de</email> + <name>Luis Ressel</name> + <description>Maintainer</description> + </maintainer> </pkgmetadata> 1.36 games-roguelike/nethack/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/nethack/ChangeLog?rev=1.36&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/nethack/ChangeLog?rev=1.36&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/nethack/ChangeLog?r1=1.35&r2=1.36 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-roguelike/nethack/ChangeLog,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- ChangeLog 21 Mar 2014 05:11:09 -0000 1.35 +++ ChangeLog 19 Feb 2015 14:11:41 -0000 1.36 @@ -1,6 +1,13 @@ # ChangeLog for games-roguelike/nethack -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/nethack/ChangeLog,v 1.35 2014/03/21 05:11:09 jer Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/nethack/ChangeLog,v 1.36 2015/02/19 14:11:41 swift Exp $ + +*nethack-3.4.3-r2 (19 Feb 2015) + + 19 Feb 2015; Sven Vermeulen <sw...@gentoo.org> +nethack-3.4.3-r2.ebuild, + metadata.xml: + Fix bug #538092 - Move to proxy maintenance by Luis Ressel, fix to remove + security vulnerability CVE-2006-1390 21 Mar 2014; Jeroen Roovers <j...@gentoo.org> nethack-3.4.3-r1.ebuild: Fix building against sys-libs/ncurses[tinfo]. Respect LDFLAGS. 1.1 games-roguelike/nethack/nethack-3.4.3-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/nethack/nethack-3.4.3-r2.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/nethack/nethack-3.4.3-r2.ebuild?rev=1.1&content-type=text/plain Index: nethack-3.4.3-r2.ebuild =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-roguelike/nethack/nethack-3.4.3-r2.ebuild,v 1.1 2015/02/19 14:11:41 swift Exp $ EAPI=5 inherit eutils toolchain-funcs flag-o-matic user MY_PV=${PV//.} DESCRIPTION="The ultimate old-school single player dungeon exploration game" HOMEPAGE="http://www.nethack.org/" SRC_URI="mirror://sourceforge/nethack/${PN}-${MY_PV}-src.tgz" LICENSE="nethack" SLOT="0" KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd" IUSE="X" RDEPEND=">=sys-libs/ncurses-5.2-r5 X? ( x11-libs/libXaw x11-libs/libXpm x11-libs/libXt )" DEPEND="${RDEPEND} virtual/pkgconfig X? ( x11-proto/xproto x11-apps/bdftopcf x11-apps/mkfontdir )" HACKDIR="/usr/share/${PN}" STATEDIR="/var/lib/${PN}" pkg_setup() { enewgroup nethack } src_prepare() { # This copies the /sys/unix Makefile.*s to their correct places for # seding and compiling. cd "sys/unix" source setup.sh || die cd ../.. epatch \ "${FILESDIR}"/${PV}-gentoo-paths.patch \ "${FILESDIR}"/${PV}-default-options.patch \ "${FILESDIR}"/${PV}-bison.patch \ "${FILESDIR}"/${PV}-macos.patch \ "${FILESDIR}"/${P}-gibc210.patch \ "${FILESDIR}"/${P}-recover.patch epatch_user mv doc/recover.6 doc/nethack-recover.6 sed -i \ -e "s:GENTOO_STATEDIR:${STATEDIR}:" include/unixconf.h \ || die "setting statedir" sed -i \ -e "s:GENTOO_HACKDIR:${HACKDIR}:" include/config.h \ || die "setting hackdir" # set the default pager from the environment bug #52122 if [[ -n "${PAGER}" ]] ; then sed -i \ -e "115c\#define DEF_PAGER \"${PAGER}\"" \ include/unixconf.h \ || die "setting statedir" # bug #57410 sed -i \ -e "s/^DATNODLB =/DATNODLB = \$(DATHELP)/" Makefile \ || die "sed Makefile failed" fi # sys-libs/ncurses[tinfo] sed -i \ -e '/^WINTTYLIB/s| = .*| = '"$( $(tc-getPKG_CONFIG) --libs ncurses )"'|g' \ src/Makefile || die if use X ; then epatch "${FILESDIR}/${PV}-X-support.patch" fi } src_compile() { local lflags="${LDFLAGS}" cd "${S}"/src append-flags -I../include emake \ CC="$(tc-getCC)" \ CFLAGS="${CFLAGS}" \ LFLAGS="${lflags}" \ ../util/makedefs emake \ CC="$(tc-getCC)" \ CFLAGS="${CFLAGS}" \ LFLAGS="${lflags}" cd "${S}"/util emake \ CC="$(tc-getCC)" \ CFLAGS="${CFLAGS}" \ LFLAGS="${lflags}" \ recover } src_install() { emake \ CC="$(tc-getCC)" \ CFLAGS="${CFLAGS}" \ LFLAGS="-L/usr/X11R6/lib" \ GAMEPERM=02755 \ GAMEUID="root" GAMEGRP="nethack" \ PREFIX="${D}/usr" \ GAMEDIR="${D}${HACKDIR}" \ SHELLDIR="${D}/usr/bin" \ install # We keep this stuff in STATEDIR instead so tidy up. rm -rf "${D}/usr/share/nethack/"{recover,save} newbin util/recover recover-nethack # The final nethack is a sh script. This fixes the hard-coded # HACKDIR directory so it doesn't point to ${D}/usr/share/nethackdir sed -i \ -e "s:^\(HACKDIR=\).*:\1${HACKDIR}:" \ "${D}/usr/bin/nethack" \ || die "sed /usr/bin/nethack failed" doman doc/*.6 dodoc doc/*.txt # Can be copied to ~/.nethackrc to set options # Add this to /etc/.skel as well, thats the place for default configs insinto "${HACKDIR}" doins "${FILESDIR}/dot.nethackrc" local windowtypes="tty" use X && windowtypes="${windowtypes} x11" set -- ${windowtypes} sed -i \ -e "s:GENTOO_WINDOWTYPES:${windowtypes}:" \ -e "s:GENTOO_DEFWINDOWTYPE:$1:" \ "${D}${HACKDIR}/dot.nethackrc" \ || die "sed ${HACKDIR}/dot.nethackrc failed" insinto /etc/skel newins "${D}/${HACKDIR}/dot.nethackrc" .nethackrc if use X ; then # install nethack fonts cd "${S}/win/X11" bdftopcf -o nh10.pcf nh10.bdf || die "Converting fonts failed" bdftopcf -o ibm.pcf ibm.bdf || die "Converting fonts failed" insinto "${HACKDIR}/fonts" doins *.pcf cd "${D}/${HACKDIR}/fonts" mkfontdir || die "The action mkfontdir ${HACKDIR}/fonts failed" # copy nethack x application defaults cd "${S}/win/X11" insinto /etc/X11/app-defaults newins NetHack.ad NetHack sed -i \ -e 's:^!\(NetHack.tile_file.*\):\1:' \ "${D}/etc/X11/app-defaults/NetHack" \ || die "sed /etc/X11/app-defaults/NetHack failed" fi keepdir "${STATEDIR}/save" mv "${D}/${HACKDIR}/"{record,logfile,perm} "${D}/${STATEDIR}/" make_desktop_entry nethack "Nethack" chgrp -R nethack "${D}/${STATEDIR}" chmod -R 660 "${D}/${STATEDIR}" chmod 770 "${D}/${STATEDIR}" "${D}/${STATEDIR}/save" } pkg_postinst() { elog "You may want to look at /etc/skel/.nethackrc for interesting options" }