summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2008-11-03 22:14:42 +0000
committerRyan Hill <dirtyepic@gentoo.org>2008-11-03 22:14:42 +0000
commite8a6f1b4d269a4f677c96f7c4705dcd4ed83ec35 (patch)
treea3371444b9ba5baa0456f725a067ecff8fbf5e11 /net-print/lprng
parentPatched 7.18.2 for the NSS threadsafe issue (Bug #230413), and added 7.19.0 w... (diff)
downloadgentoo-2-e8a6f1b4d269a4f677c96f7c4705dcd4ed83ec35.tar.gz
gentoo-2-e8a6f1b4d269a4f677c96f7c4705dcd4ed83ec35.tar.bz2
gentoo-2-e8a6f1b4d269a4f677c96f7c4705dcd4ed83ec35.zip
Disable -Werror for bug #205354. Remove old and drop to ~mips.
(Portage version: 2.2_rc13/cvs/Linux 2.6.27-gentoo-r1 x86_64)
Diffstat (limited to 'net-print/lprng')
-rw-r--r--net-print/lprng/ChangeLog8
-rw-r--r--net-print/lprng/lprng-3.8.27-r1.ebuild85
-rw-r--r--net-print/lprng/lprng-3.8.28.ebuild7
3 files changed, 10 insertions, 90 deletions
diff --git a/net-print/lprng/ChangeLog b/net-print/lprng/ChangeLog
index 55d36a71169a..40aca4917e69 100644
--- a/net-print/lprng/ChangeLog
+++ b/net-print/lprng/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-print/lprng
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.55 2007/05/27 07:24:19 kumba Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.56 2008/11/03 22:14:42 dirtyepic Exp $
+
+ 03 Nov 2008; Ryan Hill <dirtyepic@gentoo.org> -lprng-3.8.27-r1.ebuild,
+ lprng-3.8.28.ebuild:
+ Disable -Werror for bug #205354. Remove old and drop to ~mips.
27 May 2007; Joshua Kinard <kumba@gentoo.org> lprng-3.8.28.ebuild:
Stable on mips.
diff --git a/net-print/lprng/lprng-3.8.27-r1.ebuild b/net-print/lprng/lprng-3.8.27-r1.ebuild
deleted file mode 100644
index c8153d633cac..000000000000
--- a/net-print/lprng/lprng-3.8.27-r1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# 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.27-r1.ebuild,v 1.7 2007/04/28 18:01:17 swegener Exp $
-
-inherit eutils flag-o-matic
-
-IUSE="nls"
-
-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"
-
-DEPEND="virtual/libc
- sys-process/procps
- nls? ( sys-devel/gettext )"
-
-RDEPEND="virtual/libc
- sys-process/procps
- !virtual/lpr"
-
-LICENSE="|| ( GPL-2 Artistic )"
-SLOT="0"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-certs.diff
-}
-
-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 \
- --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
- newinitd ${FILESDIR}/lprng-init lprng
-}
-
-pkg_postinst() {
- einfo "If printing does not work, try 'checkpc'/'checkpc -f'"
-}
diff --git a/net-print/lprng/lprng-3.8.28.ebuild b/net-print/lprng/lprng-3.8.28.ebuild
index 44ddf8598c14..3ca3d43aa0e2 100644
--- a/net-print/lprng/lprng-3.8.28.ebuild
+++ b/net-print/lprng/lprng-3.8.28.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 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.17 2007/05/27 07:24:19 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/lprng-3.8.28.ebuild,v 1.18 2008/11/03 22:14:42 dirtyepic Exp $
inherit eutils flag-o-matic
@@ -11,7 +11,7 @@ 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"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86"
IUSE="foomaticdb kerberos nls ssl"
RDEPEND="sys-process/procps
@@ -43,6 +43,7 @@ src_compile() {
$(use_enable kerberos) \
$(use_enable ssl) \
--disable-setuid \
+ --disable-werror \
--with-userid=lp \
--with-groupid=lp \
--with-lpd_conf_path=/etc/lprng/lpd.conf \