diff options
author | Luis Medinas <metalgod@gentoo.org> | 2005-08-03 03:15:45 +0000 |
---|---|---|
committer | Luis Medinas <metalgod@gentoo.org> | 2005-08-03 03:15:45 +0000 |
commit | d677889e66a824db141e2f68c610e967b42245dc (patch) | |
tree | cd4febb95e9b6dc2f99952cda1e8f261271cd9e4 /net-print/lprng | |
parent | Use bsd-shlibs on Darwin but elf-shlibs on all other systems #99728 by Kito. (diff) | |
download | gentoo-2-d677889e66a824db141e2f68c610e967b42245dc.tar.gz gentoo-2-d677889e66a824db141e2f68c610e967b42245dc.tar.bz2 gentoo-2-d677889e66a824db141e2f68c610e967b42245dc.zip |
Version Bump. Add support for ssl. Fix RDEPEND/DEPEND.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-print/lprng')
-rw-r--r-- | net-print/lprng/ChangeLog | 7 | ||||
-rw-r--r-- | net-print/lprng/Manifest | 22 | ||||
-rw-r--r-- | net-print/lprng/files/digest-lprng-3.8.28 | 1 | ||||
-rw-r--r-- | net-print/lprng/lprng-3.8.28.ebuild | 95 |
4 files changed, 109 insertions, 16 deletions
diff --git a/net-print/lprng/ChangeLog b/net-print/lprng/ChangeLog index 9fb7d2078a13..d2c0b810dd03 100644 --- a/net-print/lprng/ChangeLog +++ b/net-print/lprng/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-print/lprng # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.38 2005/06/06 22:53:22 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.39 2005/08/03 03:15:45 metalgod Exp $ + +*lprng-3.8.28 (03 Aug 2005) + + 03 Aug 2005; Luis Medinas <metalgod@gentoo.org> +lprng-3.8.28.ebuild: + Version Bump. Add support for ssl. Fix RDEPEND/DEPEND. *lprng-3.8.27-r2 (06 Jun 2005) diff --git a/net-print/lprng/Manifest b/net-print/lprng/Manifest index 76e599f0c842..b99417a366c4 100644 --- a/net-print/lprng/Manifest +++ b/net-print/lprng/Manifest @@ -1,19 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 58e95865df77692041296cb26510e88b lprng-3.8.27-r2.ebuild 2063 -MD5 faa319898b6f708cd1078a8dd5704cf1 lprng-3.8.27-r1.ebuild 1931 MD5 8f2c6f3dbeea9e63bd6634b0244bc469 ChangeLog 4740 +MD5 faa319898b6f708cd1078a8dd5704cf1 lprng-3.8.27-r1.ebuild 1931 +MD5 58e95865df77692041296cb26510e88b lprng-3.8.27-r2.ebuild 2063 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 -MD5 424d8420ea629d52426c661f6b2bcf58 files/printcap 661 -MD5 765668889fe2508c644ecee836c56730 files/lprng-init 994 -MD5 ab332fe22ea25ab080aae7fd36262a5a files/lprng-3.8.27-certs.diff 1120 +MD5 0bcbee45d741d96a85ee85be63989b76 lprng-3.8.28.ebuild 2061 MD5 12c153fc04ca287e8fb301045a5b10ca files/digest-lprng-3.8.27-r1 63 MD5 12c153fc04ca287e8fb301045a5b10ca files/digest-lprng-3.8.27-r2 63 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFC1vgVBXaUFmZvwyMRAtseAKC164yqH8d+ikd9aXY8I2OqwYCIlgCfZA9K -AM9lblhovSm7npPCti5TUQA= -=ERLM ------END PGP SIGNATURE----- +MD5 ab332fe22ea25ab080aae7fd36262a5a files/lprng-3.8.27-certs.diff 1120 +MD5 765668889fe2508c644ecee836c56730 files/lprng-init 994 +MD5 424d8420ea629d52426c661f6b2bcf58 files/printcap 661 +MD5 34c77ecafd9453b1fd118ddcddf0b8ea files/digest-lprng-3.8.28 63 diff --git a/net-print/lprng/files/digest-lprng-3.8.28 b/net-print/lprng/files/digest-lprng-3.8.28 new file mode 100644 index 000000000000..214929b4d9d8 --- /dev/null +++ b/net-print/lprng/files/digest-lprng-3.8.28 @@ -0,0 +1 @@ +MD5 1b3a0abd291b260eab6087ac0e61ed84 LPRng-3.8.28.tgz 10212500 diff --git a/net-print/lprng/lprng-3.8.28.ebuild b/net-print/lprng/lprng-3.8.28.ebuild new file mode 100644 index 000000000000..ec1215278dba --- /dev/null +++ b/net-print/lprng/lprng-3.8.28.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/lprng-3.8.28.ebuild,v 1.1 2005/08/03 03:15:45 metalgod Exp $ + +inherit eutils flag-o-matic + +IUSE="foomaticdb kerberos nls ssl" + +MY_PN=LPRng + +S=${WORKDIR}/${MY_PN}-${PV} +DESCRIPTION="Extended implementation of the Berkeley LPR print spooler" +HOMEPAGE="http://www.lprng.com/" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64 ~mips" +SRC_URI="ftp://ftp.lprng.com/pub/${MY_PN}/${MY_PN}/${MY_PN}-${PV}.tgz" + +PROVIDE="virtual/lpr" + +RDEPEND="virtual/libc + sys-process/procps + ssl? ( dev-libs/openssl ) + foomaticdb? ( net-print/foomatic ) + !virtual/lpr" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + kerberos? ( virtual/krb5 )" + +LICENSE="|| ( GPL-2 Artistic )" +SLOT="0" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-3.8.27-certs.diff +} + +src_compile() { + local myconf + use nls && myconf="--enable-nls" + use kerberos && myconf="--enable-kerberos" + if use ssl; + then + myconf="--enable-ssl" + else + myconf="--disable-ssl" + fi + + # wont compile with -O3, needs -O2 + replace-flags -O[3-9] -O2 + + ./configure \ + --prefix=/usr \ + --disable-setuid \ + --with-userid=lp \ + --with-groupid=lp \ + --with-lpd_conf_path=/etc/lprng/lpd.conf \ + --with-lpd_perms_path=/etc/lprng/lpd.perms \ + --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 + + # now included in foomatic 3.0 + #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 + dosym /etc/lprng/printcap /etc/printcap + exeinto /etc/init.d + newexe ${FILESDIR}/lprng-init lprng +} + +pkg_postinst() { + einfo "If printing does not work, try 'checkpc'/'checkpc -f'" +} |