diff options
author | 2003-09-05 05:24:34 +0000 | |
---|---|---|
committer | 2003-09-05 05:24:34 +0000 | |
commit | 50e86e480ac672a4614a007444013c3e234213a5 (patch) | |
tree | 3a45992a6a2f287356a5702d7f7450d3bc159170 /net-news/slrn/slrn-0.9.8.0.ebuild | |
parent | version bump to fix potential XRef buffer overflow vulnerabilty. fixes bug #2... (diff) | |
download | gentoo-2-50e86e480ac672a4614a007444013c3e234213a5.tar.gz gentoo-2-50e86e480ac672a4614a007444013c3e234213a5.tar.bz2 gentoo-2-50e86e480ac672a4614a007444013c3e234213a5.zip |
version bump to fix potential XRef buffer overflow vulnerabilty. fixes bug #27850
Diffstat (limited to 'net-news/slrn/slrn-0.9.8.0.ebuild')
-rw-r--r-- | net-news/slrn/slrn-0.9.8.0.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/net-news/slrn/slrn-0.9.8.0.ebuild b/net-news/slrn/slrn-0.9.8.0.ebuild new file mode 100644 index 000000000000..84b208e56874 --- /dev/null +++ b/net-news/slrn/slrn-0.9.8.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# Added ssl support and new patches +# $Header: /var/cvsroot/gentoo-x86/net-news/slrn/slrn-0.9.8.0.ebuild,v 1.1 2003/09/05 05:24:31 solar Exp $ + +IUSE="ssl nls" + +S=${WORKDIR}/${P} +DESCRIPTION="s-lang Newsreader" +PATCH_URI="http://slrn.sourceforge.net/patches" +SRC_URI="mirror://sourceforge/slrn/${P}.tar.bz2" +#${PATCH_URI}/${P}-mem_leak.diff +#${PATCH_URI}/${P}-popup_win.diff +#${PATCH_URI}/${P}-po.diff" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" + +HOMEPAGE="http://slrn.sourceforge.net/" +DEPEND="virtual/glibc + virtual/mta + >=sys-apps/sharutils-4.2.1 + >=sys-libs/slang-1.4.4 + ssl? ( >=dev-libs/openssl-0.9.6 ) + nls? ( sys-devel/gettext )" + +RDEPEND="virtual/glibc + virtual/mta + >=sys-apps/sharutils-4.2.1 + >=sys-libs/slang-1.4.4 + ssl? ( >=dev-libs/openssl-0.9.6 ) + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${P}.tar.bz2 + cd ${S} + for i in ${P}-{mem_leak,popup_win,po}.diff ; do + [ -f ${DISTDIR}/${i} ] && + patch -p1 < ${DISTDIR}/${i} + done + +} + +src_compile() { + local myconf + use nls && myconf="--enable-nls" \ + || myconf="--disable-nls" + use ssl && myconf="--with-ssl=/usr" \ + || myconf="--without-ssl" + ./configure --infodir=/usr/share/info \ + --mandir=/usr/share/man --prefix=/usr \ + --with-slrnpull --host=${CHOST} $myconf \ + || die "./configure failed (myconf=$myconf)" + emake || die +} + +src_install () { + + make DESTDIR=${D} DOCDIR=/usr/share/doc/${P} install || die + find $D/usr/share/doc -type f | xargs gzip +} |