summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-18 17:46:39 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-18 17:46:39 +0000
commit29ab5de6d75ee7478f69ee923cc39bbc9f82ccc3 (patch)
tree1ff2e43202a1076e8794d9f3c8bbc06834bbac35 /sys-freebsd/freebsd-usbin
parentarm/ia64/s390/sh stable stable wrt #269899 (diff)
downloadgentoo-2-29ab5de6d75ee7478f69ee923cc39bbc9f82ccc3.tar.gz
gentoo-2-29ab5de6d75ee7478f69ee923cc39bbc9f82ccc3.tar.bz2
gentoo-2-29ab5de6d75ee7478f69ee923cc39bbc9f82ccc3.zip
Make the installs more reliable (die on error) and install the nscd.conf file.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-freebsd/freebsd-usbin')
-rw-r--r--sys-freebsd/freebsd-usbin/ChangeLog7
-rw-r--r--sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r2.ebuild19
2 files changed, 16 insertions, 10 deletions
diff --git a/sys-freebsd/freebsd-usbin/ChangeLog b/sys-freebsd/freebsd-usbin/ChangeLog
index d5537b48f81a..d98e03b2ad34 100644
--- a/sys-freebsd/freebsd-usbin/ChangeLog
+++ b/sys-freebsd/freebsd-usbin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-freebsd/freebsd-usbin
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.54 2009/05/18 17:11:20 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.55 2009/05/18 17:46:39 flameeyes Exp $
+
+ 18 May 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ freebsd-usbin-7.1-r2.ebuild:
+ Make the installs more reliable (die on error) and install the nscd.conf
+ file.
*freebsd-usbin-7.1-r2 (18 May 2009)
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r2.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r2.ebuild
index 228f3c845e12..bf553b225b5c 100644
--- a/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r2.ebuild
+++ b/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r2.ebuild,v 1.1 2009/05/18 17:11:20 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r2.ebuild,v 1.2 2009/05/18 17:46:39 flameeyes Exp $
EAPI=2
@@ -105,9 +105,10 @@ src_install() {
# Most of these now come from openrc.
for util in nfs rpc.statd rpc.lockd; do
- newinitd "${FILESDIR}/"${util}.initd ${util}
- [[ -e "${FILESDIR}"/${util}.confd ]] && \
- newconfd "${FILESDIR}"/${util}.confd ${util}
+ newinitd "${FILESDIR}/"${util}.initd ${util} || die
+ if [[ -e "${FILESDIR}"/${util}.confd ]]; then \
+ newconfd "${FILESDIR}"/${util}.confd ${util} || die
+ fi
done
for class in daily monthly weekly; do
@@ -121,24 +122,24 @@ EOS
# Install the pw.conf file to let pw use Gentoo's skel location
insinto /etc
- doins "${FILESDIR}/pw.conf"
+ doins "${FILESDIR}/pw.conf" || die
cd "${WORKDIR}/etc"
- doins amd.map apmd.conf syslog.conf newsyslog.conf
+ doins apmd.conf syslog.conf newsyslog.conf nscd.conf || die
use usb && doins usbd.conf
insinto /etc/ppp
- doins ppp/ppp.conf
+ doins ppp/ppp.conf || die
if use isdn; then
insinto /etc/isdn
- doins isdn/*
+ doins isdn/* || die
rm -f "${D}"/etc/isdn/Makefile
fi
if use bluetooth; then
insinto /etc/bluetooth
- doins bluetooth/*
+ doins bluetooth/* || die
rm -f "${D}"/etc/bluetooth/Makefile
fi