diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2003-06-14 14:07:00 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2003-06-14 14:07:00 +0000 |
commit | 2cb8518cab5c96ad5cc52121d41d44652d40ca46 (patch) | |
tree | b85a306558abc1e7679488ab93e66e7ebf3abc78 | |
parent | Version bump and security fix. (diff) | |
download | gentoo-2-2cb8518cab5c96ad5cc52121d41d44652d40ca46.tar.gz gentoo-2-2cb8518cab5c96ad5cc52121d41d44652d40ca46.tar.bz2 gentoo-2-2cb8518cab5c96ad5cc52121d41d44652d40ca46.zip |
Security update
-rw-r--r-- | net-print/lprng/ChangeLog | 7 | ||||
-rw-r--r-- | net-print/lprng/Manifest | 2 | ||||
-rw-r--r-- | net-print/lprng/files/digest-lprng-3.8.12-r1 | 1 | ||||
-rw-r--r-- | net-print/lprng/files/lprng-3.8.12-psbanner.patch | 12 | ||||
-rw-r--r-- | net-print/lprng/lprng-3.8.12-r1.ebuild | 70 |
5 files changed, 91 insertions, 1 deletions
diff --git a/net-print/lprng/ChangeLog b/net-print/lprng/ChangeLog index d1ce81a1570a..4375f5e60b7f 100644 --- a/net-print/lprng/ChangeLog +++ b/net-print/lprng/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-print/lprng # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.6 2003/05/31 14:15:58 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.7 2003/06/14 14:07:00 aliz Exp $ + +*lprng-3.8.12-r1 (14 Jun 2003) + + 14 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> : + Security update. 31 May 2003; root <root@gentoo.org> lprng-3.8.12.ebuild: ppc keyworded diff --git a/net-print/lprng/Manifest b/net-print/lprng/Manifest index 19aa7af20546..6715423035e4 100644 --- a/net-print/lprng/Manifest +++ b/net-print/lprng/Manifest @@ -1,8 +1,10 @@ MD5 16faadc908e9de18fcc38ee4a655724f ChangeLog 1327 MD5 f570f936ca9b4b32412aca25443d749d lprng-3.8.10.ebuild 1512 MD5 4cbacb1f60efeff3537509b500e6670a lprng-3.8.12.ebuild 1531 +MD5 4cbacb1f60efeff3537509b500e6670a lprng-3.8.12-r1.ebuild 1531 MD5 5b7344445f7af9c2f85ee41d2c43cef7 files/digest-lprng-3.8.10 62 MD5 9df0d16a9dbba59d1fa1fb3210b0fdb4 files/digest-lprng-3.8.12 62 MD5 c49861591859d2599d071d4860179f8b files/lpdomatic 19929 MD5 6e581d38d1548b72ff0acd696e3dca0d files/lprng-init 1011 MD5 8f4a81788ddb8679940ee03c7316e758 files/printcap 659 +MD5 9df0d16a9dbba59d1fa1fb3210b0fdb4 files/digest-lprng-3.8.12-r1 62 diff --git a/net-print/lprng/files/digest-lprng-3.8.12-r1 b/net-print/lprng/files/digest-lprng-3.8.12-r1 new file mode 100644 index 000000000000..d50bfd6cc2a3 --- /dev/null +++ b/net-print/lprng/files/digest-lprng-3.8.12-r1 @@ -0,0 +1 @@ +MD5 f86b34baf33f6ed244d62d8f74fc0ccb LPRng-3.8.12.tgz 5222637 diff --git a/net-print/lprng/files/lprng-3.8.12-psbanner.patch b/net-print/lprng/files/lprng-3.8.12-psbanner.patch new file mode 100644 index 000000000000..71818acb297d --- /dev/null +++ b/net-print/lprng/files/lprng-3.8.12-psbanner.patch @@ -0,0 +1,12 @@ +--- LPRng-3.8.6/src/psbanner.in.org Tue May 20 14:43:42 2003 ++++ LPRng-3.8.6/src/psbanner.in Tue May 20 14:43:42 2003 +@@ -42,9 +42,7 @@ + vAr="" + vAlue="" + iI="" +-set >/tmp/before + Args="$@" +-echo "$@" >>/tmp/before + while expr "$1" : '-.*' >/dev/null ; do + vAr=`expr "$1" : '-\(.\).*'`; + vAlue=`expr "$1" : '-.\(.*\)'`; diff --git a/net-print/lprng/lprng-3.8.12-r1.ebuild b/net-print/lprng/lprng-3.8.12-r1.ebuild new file mode 100644 index 000000000000..98d3d60d93b0 --- /dev/null +++ b/net-print/lprng/lprng-3.8.12-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/lprng-3.8.12-r1.ebuild,v 1.1 2003/06/14 14:07:00 aliz Exp $ + +inherit eutils flag-o-matic + +IUSE="nls" + +MY_PN=LPRng + +S=${WORKDIR}/${MY_PN}-${PV} +DESCRIPTION="Extended implementation of the Berkley LPR print spooler" +HOMEPAGE="http://www.lprng.com/" +KEYWORDS="x86 ppc sparc alpha" +SRC_URI="ftp://ftp.lprng.com/pub/${MY_PN}/${MY_PN}/${MY_PN}-${PV}.tgz" + +PROVIDE="virtual/lpr" +DEPEND="virtual/glibc nls? ( sys-devel/gettext )" +RDEPEND="virtual/glibc !virtual/lpr" +LICENSE="GPL-2 | Artistic" +SLOT="0" + +src_unpack() { + unpack ${A} ; cd ${S} + epatch ${FILESDIR}/${P}-psbanner.patch +} + +src_compile() { + local myconf + use nls && myconf="--enable-nls" + + # wont compile with -O3, needs -O2 + replace-flags -O[3-9] -O2 + + ./configure \ + --prefix=/usr \ + --disable-setuid \ + --with-userid=lp \ + --with-groupid=lp \ + --libexecdir=/usr/lib \ + --sysconfdir=/etc/lprng \ + --mandir=/usr/share/man \ + --host=${CHOST} ${myconf} || die + + make || die "printer on fire!" +} + +src_install() { + dodir /var/spool/lpd + diropts -m 700 -o lp -g lp + dodir /var/spool/lpd/lp + + make install \ + DESTDIR=${D} \ + POSTINSTALL="NO" \ + gnulocaledir=${D}/usr/share/locale || die + + exeinto /usr/bin + doexe ${FILESDIR}/lpdomatic + + dodoc CHANGES COPYRIGHT LICENSE README VERSION \ + HOWTO/LPRng-HOWTO.pdf ${FILESDIR}/printcap \ + lpd.conf lpd.perms + dohtml HOWTO/* + + insinto /etc/lprng + doins ${FILESDIR}/printcap lpd.conf lpd.perms + exeinto /etc/init.d + newexe ${FILESDIR}/lprng-init lprng +} |