From: Torsten Veller Date: Sat, 28 Apr 2007 12:51:51 +0000 (+0000) Subject: Use newinitd X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d5e7c7e5aa65fcbb1532c6755e2b81e0db9ac7ec;p=gentoo.git Use newinitd Package-Manager: portage-2.1.2.5 --- diff --git a/net-print/hpoj/ChangeLog b/net-print/hpoj/ChangeLog index bd3eff467517..5b9488edb082 100644 --- a/net-print/hpoj/ChangeLog +++ b/net-print/hpoj/ChangeLog @@ -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 hpoj-0.91-r3.ebuild: + Use newinitd 04 Jan 2007; Diego Pettenò hpoj-0.91-r3.ebuild: Fix broken autotools handling. diff --git a/net-print/hpoj/hpoj-0.91-r3.ebuild b/net-print/hpoj/hpoj-0.91-r3.ebuild index 8d8f24c5cdb9..8ff03895fd11 100644 --- a/net-print/hpoj/hpoj-0.91-r3.ebuild +++ b/net-print/hpoj/hpoj-0.91-r3.ebuild @@ -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() { diff --git a/net-print/lprng/ChangeLog b/net-print/lprng/ChangeLog index 16beb6e6215f..d4ac84df1fb6 100644 --- a/net-print/lprng/ChangeLog +++ b/net-print/lprng/ChangeLog @@ -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 lprng-3.8.28.ebuild: + Use newinitd 07 Apr 2007; Stefan Schweizer lprng-3.8.28.ebuild: replace net-print/foomatic by component depends in order to deprecate it diff --git a/net-print/lprng/lprng-3.8.28.ebuild b/net-print/lprng/lprng-3.8.28.ebuild index 74ff43e0c64d..6448a55bd136 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 # 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() {