Use newinitd
authorTorsten Veller <tove@gentoo.org>
Sat, 28 Apr 2007 12:51:51 +0000 (12:51 +0000)
committerTorsten Veller <tove@gentoo.org>
Sat, 28 Apr 2007 12:51:51 +0000 (12:51 +0000)
Package-Manager: portage-2.1.2.5

net-print/hpoj/ChangeLog
net-print/hpoj/hpoj-0.91-r3.ebuild
net-print/lprng/ChangeLog
net-print/lprng/lprng-3.8.28.ebuild

index bd3eff467517cf4e0ec25d50942dd344cbe005d8..5b9488edb08278b3ebfa4275d984b2150a14e1ed 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for net-print/hpoj
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/hpoj/ChangeLog,v 1.25 2007/01/04 16:55:43 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/hpoj/ChangeLog,v 1.26 2007/04/28 12:47:19 tove Exp $
+
+  28 Apr 2007; Torsten Veller <tove@gentoo.org> hpoj-0.91-r3.ebuild:
+  Use newinitd
 
   04 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> hpoj-0.91-r3.ebuild:
   Fix broken autotools handling.
index 8d8f24c5cdb9afeeac02c0f94fde800ca7a7cc3e..8ff03895fd11d8673507af7fada8d2ad069a3d86 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/hpoj/hpoj-0.91-r3.ebuild,v 1.14 2007/01/04 16:55:43 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/hpoj/hpoj-0.91-r3.ebuild,v 1.15 2007/04/28 12:47:19 tove Exp $
 
 WANT_AUTOCONF="latest"
 WANT_AUTOMAKE="latest"
@@ -31,8 +31,8 @@ src_unpack() {
 }
 
 src_compile() {
-       epatch ${FILESDIR}/udev.patch
-       epatch ${FILESDIR}/${P}-kernel26.patch
+       epatch "${FILESDIR}"/udev.patch
+       epatch "${FILESDIR}"/${P}-kernel26.patch
 
        use snmp \
        && myconf="${myconf} --with-snmp=/usr" \
@@ -92,8 +92,7 @@ src_install() {
        doexe scripts/ptal-init
        dodir /usr/lib/cups/backend
        dosym /usr/sbin/ptal-cups /usr/lib/cups/backend/ptal
-       exeinto /etc/init.d
-       newexe ${FILESDIR}/hpoj.init hpoj
+       newinitd "${FILESDIR}"/hpoj.init hpoj
 }
 
 pkg_postinst() {
index 16beb6e6215fedf7d4d0b9061b9ede6e2f9f237d..d4ac84df1fb67dc84a6f46f67d583fe7185bd24c 100644 (file)
@@ -1,6 +1,9 @@
 # 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.53 2007/04/07 13:19:33 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.54 2007/04/28 12:51:51 tove Exp $
+
+  28 Apr 2007; Torsten Veller <tove@gentoo.org> lprng-3.8.28.ebuild:
+  Use newinitd
 
   07 Apr 2007; Stefan Schweizer <genstef@gentoo.org> lprng-3.8.28.ebuild:
   replace net-print/foomatic by component depends in order to deprecate it
index 74ff43e0c64d410c03780136eadacb4ca6c20e7b..6448a55bd13618560312ae60aa8edf05edd336f4 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 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.15 2007/04/07 13:19:33 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/lprng-3.8.28.ebuild,v 1.16 2007/04/28 12:51:51 tove Exp $
 
 inherit eutils flag-o-matic
 
@@ -27,11 +27,11 @@ S=${WORKDIR}/${MY_PN}-${PV}
 
 src_unpack() {
        unpack ${A}
-       cd ${S}
-       epatch ${FILESDIR}/${PN}-3.8.27-certs.diff
-       epatch ${FILESDIR}/${P}-lpq.diff
-       epatch ${FILESDIR}/${P}-make.diff
-       epatch ${FILESDIR}/${P}-krb.diff
+       cd "${S}"
+       epatch "${FILESDIR}"/${PN}-3.8.27-certs.diff
+       epatch "${FILESDIR}"/${P}-lpq.diff
+       epatch "${FILESDIR}"/${P}-make.diff
+       epatch "${FILESDIR}"/${P}-krb.diff
 }
 
 src_compile() {
@@ -60,18 +60,17 @@ src_install() {
        dodir /var/spool/lpd/lp
 
        emake install \
-               DESTDIR=${D} \
+               DESTDIR="${D}" \
                POSTINSTALL="NO" \
-               gnulocaledir=${D}/usr/share/locale || die "emake install failed"
+               gnulocaledir="${D}"/usr/share/locale || die "emake install failed"
 
-       dodoc CHANGES README VERSION ${FILESDIR}/printcap lpd.conf lpd.perms
+       dodoc CHANGES README VERSION "${FILESDIR}"/printcap lpd.conf lpd.perms
        dohtml HOWTO/*
 
        insinto /etc/lprng
-       doins ${FILESDIR}/printcap lpd.conf lpd.perms
+       doins "${FILESDIR}"/printcap lpd.conf lpd.perms
        dosym /etc/lprng/printcap /etc/printcap
-       exeinto /etc/init.d
-       newexe ${FILESDIR}/lprng-init lprng
+       newinitd "${FILESDIR}"/lprng-init lprng
 }
 
 pkg_postinst() {