diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2012-01-31 23:24:13 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2012-01-31 23:24:13 +0000 |
commit | 554e0104bf73b87ce2ea94c11b35942c0d293c1f (patch) | |
tree | 5af9d20d22c16299a2f446f16320ff5cc51b8c24 /net-print/lprng | |
parent | Clean up patch. Version bump. (diff) | |
download | gentoo-2-554e0104bf73b87ce2ea94c11b35942c0d293c1f.tar.gz gentoo-2-554e0104bf73b87ce2ea94c11b35942c0d293c1f.tar.bz2 gentoo-2-554e0104bf73b87ce2ea94c11b35942c0d293c1f.zip |
Version bump
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'net-print/lprng')
-rw-r--r-- | net-print/lprng/ChangeLog | 7 | ||||
-rw-r--r-- | net-print/lprng/lprng-3.8.35.ebuild | 79 |
2 files changed, 85 insertions, 1 deletions
diff --git a/net-print/lprng/ChangeLog b/net-print/lprng/ChangeLog index 236df5081a93..f6431e58cebb 100644 --- a/net-print/lprng/ChangeLog +++ b/net-print/lprng/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-print/lprng # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.58 2012/01/27 14:33:47 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.59 2012/01/31 23:24:13 dilfridge Exp $ + +*lprng-3.8.35 (31 Jan 2012) + + 31 Jan 2012; Andreas K. Huettel <dilfridge@gentoo.org> +lprng-3.8.35.ebuild: + Version bump 27 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> lprng-3.8.28.ebuild: Add blocker on net-print/cups, bug #388515 by Martin von Gagern. Also note diff --git a/net-print/lprng/lprng-3.8.35.ebuild b/net-print/lprng/lprng-3.8.35.ebuild new file mode 100644 index 000000000000..0981439f9e31 --- /dev/null +++ b/net-print/lprng/lprng-3.8.35.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/lprng-3.8.35.ebuild,v 1.1 2012/01/31 23:24:13 dilfridge Exp $ + +EAPI=4 + +inherit eutils flag-o-matic + +MY_PN=LPRng +DESCRIPTION="Extended implementation of the Berkeley LPR print spooler" +HOMEPAGE="http://www.lprng.com/" +SRC_URI="ftp://ftp.lprng.com/pub/${MY_PN}/${MY_PN}/${MY_PN}-${PV}.tgz" + +LICENSE="|| ( GPL-2 Artistic )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="foomaticdb kerberos nls ssl" + +RDEPEND="sys-process/procps + ssl? ( dev-libs/openssl ) + foomaticdb? ( net-print/foomatic-filters net-print/foomatic-db ) + !net-print/cups" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + kerberos? ( app-crypt/mit-krb5 )" + +S=${WORKDIR}/${MY_PN}-${PV} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-3.8.27-certs.diff + epatch "${FILESDIR}"/${PN}-3.8.28-make.diff + epatch "${FILESDIR}"/${PN}-3.8.28-krb.diff +} + +src_configure() { + # wont compile with -O3, needs -O2 + replace-flags -O[3-9] -O2 + + econf \ + $(use_enable nls) \ + $(use_enable kerberos) \ + $(use_enable ssl) \ + --disable-setuid \ + --disable-werror \ + --with-userid=lp \ + --with-groupid=lp \ + --with-lpd_conf_path=/etc/lprng/lpd.conf \ + --with-lpd_perms_path=/etc/lprng/lpd.perms \ + --libexecdir=/usr/libexec/lprng \ + --sysconfdir=/etc/lprng \ + --disable-strip +} + +src_compile() { + emake -j1 +} + +src_install() { + dodir /var/spool/lpd + diropts -m 700 -o lp -g lp + dodir /var/spool/lpd/lp + + emake install \ + DESTDIR="${D}" \ + POSTINSTALL="NO" \ + gnulocaledir="${D}"/usr/share/locale + + dodoc CHANGES README VERSION "${FILESDIR}"/printcap lpd.conf lpd.perms + dohtml HOWTO/* + + insinto /etc/lprng + doins "${FILESDIR}"/printcap lpd.conf lpd.perms + dosym /etc/lprng/printcap /etc/printcap + newinitd "${FILESDIR}"/lprng-init lprng +} + +pkg_postinst() { + einfo "If printing does not work, try 'checkpc'/'checkpc -f'" +} |