summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-10-08 07:59:25 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-10-08 07:59:25 +0000
commit06e92c86e7aeff0404d76f84d753bb59e26e079b (patch)
tree77f36be352b0bb0f87e4c3ee3a0c4e821fdc6200
parentAdd minimal to IUSE and remove freebsd-lib[nis] usedep, its always built (diff)
downloadhistorical-06e92c86e7aeff0404d76f84d753bb59e26e079b.tar.gz
historical-06e92c86e7aeff0404d76f84d753bb59e26e079b.tar.bz2
historical-06e92c86e7aeff0404d76f84d753bb59e26e079b.zip
remove old
Package-Manager: portage-2.2_rc44/cvs/Linux x86_64
-rw-r--r--sys-freebsd/freebsd-ubin/ChangeLog6
-rw-r--r--sys-freebsd/freebsd-ubin/freebsd-ubin-7.1.ebuild138
-rw-r--r--sys-freebsd/freebsd-usbin/ChangeLog6
-rw-r--r--sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r1.ebuild176
-rw-r--r--sys-freebsd/freebsd-usbin/freebsd-usbin-7.1.ebuild175
5 files changed, 10 insertions, 491 deletions
diff --git a/sys-freebsd/freebsd-ubin/ChangeLog b/sys-freebsd/freebsd-ubin/ChangeLog
index 028e811e8bb3..0250e896b197 100644
--- a/sys-freebsd/freebsd-ubin/ChangeLog
+++ b/sys-freebsd/freebsd-ubin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-freebsd/freebsd-ubin
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog,v 1.61 2009/05/23 00:02:11 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog,v 1.62 2009/10/08 07:59:25 aballier Exp $
+
+ 08 Oct 2009; Alexis Ballier <aballier@gentoo.org>
+ -freebsd-ubin-7.1.ebuild:
+ remove old
23 May 2009; Alexis Ballier <aballier@gentoo.org> freebsd-ubin-7.2.ebuild:
make PATCHES a bash array
diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-7.1.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-7.1.ebuild
deleted file mode 100644
index 3498ee10d804..000000000000
--- a/sys-freebsd/freebsd-ubin/freebsd-ubin-7.1.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/freebsd-ubin-7.1.ebuild,v 1.2 2009/01/23 02:18:34 mr_bones_ Exp $
-
-inherit bsdmk freebsd flag-o-matic pam
-
-DESCRIPTION="FreeBSD's base system source for /usr/bin"
-SLOT="0"
-KEYWORDS="~sparc-fbsd ~x86-fbsd"
-
-IUSE="atm bluetooth ssl usb nls ipv6 kerberos nis build"
-
-SRC_URI="mirror://gentoo/${UBIN}.tar.bz2
- mirror://gentoo/${CONTRIB}.tar.bz2
- mirror://gentoo/${LIB}.tar.bz2
- mirror://gentoo/${ETC}.tar.bz2
- mirror://gentoo/${BIN}.tar.bz2
- mirror://gentoo/${INCLUDE}.tar.bz2
- build? ( mirror://gentoo/${SYS}.tar.bz2 )"
-
-RDEPEND=">=sys-freebsd/freebsd-lib-6.2_rc2
- ssl? ( dev-libs/openssl )
- kerberos? ( virtual/krb5 )
- virtual/pam
- sys-libs/zlib
- !dev-util/csup"
-
-DEPEND="${RDEPEND}
- sys-devel/flex
- !build? ( =sys-freebsd/freebsd-sources-${RV}* )
- =sys-freebsd/freebsd-mk-defs-${RV}*"
-
-RDEPEND="${RDEPEND}
- >=sys-auth/pambase-20080219.1
- sys-process/cronbase"
-
-S="${WORKDIR}/usr.bin"
-
-pkg_setup() {
- use nls || mymakeopts="${mymakeopts} NO_NLS= "
- use atm || mymakeopts="${mymakeopts} NO_ATM= "
- use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= "
- use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= "
- use usb || mymakeopts="${mymakeopts} NO_USB= "
- use ipv6 || mymakeopts="${mymakeopts} NO_INET6= "
- use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
- use nis || mymakeopts="${mymakeopts} NO_NIS= "
-
- mymakeopts="${mymakeopts} NO_SENDMAIL= "
-}
-
-# List of patches to apply
-PATCHES="${FILESDIR}/${PN}-6.0-bsdcmp.patch
- ${FILESDIR}/${PN}-6.0-fixmakefiles.patch
- ${FILESDIR}/${PN}-setXid.patch
- ${FILESDIR}/${PN}-lint-stdarg.patch
- ${FILESDIR}/${PN}-6.0-kdump-ioctl.patch"
-
-# Here we remove some sources we don't need because they are already
-# provided by portage's packages or similar. In order:
-# - Archiving tools, provided by their own ebuilds
-# - ncurses stuff
-# - less stuff
-# - bind utils
-# - rsh stuff
-# - binutils gprof
-# and the rest are misc utils we already provide somewhere else.
-REMOVE_SUBDIRS="bzip2 bzip2recover tar
- gzip gprof
- tput tset
- less lessecho lesskey
- dig hesinfo nslookup nsupdate host
- rsh rlogin rusers rwho ruptime
- compile_et lex vi smbutil file vacation nc ftp telnet
- c99 c89
- whois tftp"
-
-pkg_preinst() {
- # bison installs a /usr/bin/yacc symlink ...
- # we need to remove it to avoid triggering
- # collision-protect errors
- if [[ -L ${ROOT}/usr/bin/yacc ]] ; then
- rm -f "${ROOT}"/usr/bin/yacc
- fi
-}
-
-src_unpack() {
- freebsd_src_unpack
-
- use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys"
-
- # Rename manpage for renamed cmp
- mv "${S}"/cmp/cmp.1 "${S}"/cmp/bsdcmp.1
- # Fix whereis(1) manpath search.
- sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h"
-
- # Build a dynamic make
- sed -i -e '/^NO_SHARED/ s/^/#/' "${S}"/make/Makefile
-}
-
-src_install() {
- freebsd_src_install
-
- # baselayout requires these in /bin
- dodir /bin
- for bin in sed; do
- mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed"
- dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed"
- done
-
- for pamdfile in login passwd su; do
- newpamd "${FILESDIR}/${pamdfile}.1.pamd" ${pamdfile}
- done
-
- cd "${WORKDIR}/etc"
- insinto /etc
- doins remote phones opieaccess fbtab
-
- exeinto /etc/cron.daily
- newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb
-}
-
-pkg_postinst() {
- # We need to ensure that login.conf.db is up-to-date.
- if [[ -e "${ROOT}"etc/login.conf ]] ; then
- einfo "Updating ${ROOT}etc/login.conf.db"
- "${ROOT}"usr/bin/cap_mkdb -f "${ROOT}"etc/login.conf "${ROOT}"etc/login.conf
- elog "Remember to run cap_mkdb /etc/login.conf after making changes to it"
- fi
-}
-
-pkg_postrm() {
- # and if we uninstall yacc but keep bison,
- # lets restore the /usr/bin/yacc symlink
- if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then
- ln -s yacc.bison "${ROOT}"/usr/bin/yacc
- fi
-}
diff --git a/sys-freebsd/freebsd-usbin/ChangeLog b/sys-freebsd/freebsd-usbin/ChangeLog
index a35bc8124130..2802f4b155ea 100644
--- a/sys-freebsd/freebsd-usbin/ChangeLog
+++ b/sys-freebsd/freebsd-usbin/ChangeLog
@@ -1,6 +1,10 @@
# 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.58 2009/10/08 07:54:30 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.59 2009/10/08 07:58:20 aballier Exp $
+
+ 08 Oct 2009; Alexis Ballier <aballier@gentoo.org>
+ -freebsd-usbin-7.1.ebuild, -freebsd-usbin-7.1-r1.ebuild:
+ remove old
08 Oct 2009; Alexis Ballier <aballier@gentoo.org>
freebsd-usbin-7.1-r2.ebuild, freebsd-usbin-7.2.ebuild:
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r1.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r1.ebuild
deleted file mode 100644
index 716c4063656f..000000000000
--- a/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r1.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# 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-r1.ebuild,v 1.3 2009/03/01 06:01:14 mr_bones_ Exp $
-
-inherit bsdmk freebsd flag-o-matic eutils
-
-DESCRIPTION="FreeBSD /usr/sbin tools"
-SLOT="0"
-KEYWORDS="~sparc-fbsd ~x86-fbsd"
-
-IUSE="acpi atm bluetooth build ipsec ipv6 ipfilter isdn minimal nat nis
- pam radius ssl suid tcpd usb"
-
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- mirror://gentoo/${CONTRIB}.tar.bz2
- mirror://gentoo/${UBIN}.tar.bz2
- mirror://gentoo/${LIB}.tar.bz2
- mirror://gentoo/${SBIN}.tar.bz2
- mirror://gentoo/${ETC}.tar.bz2
- mirror://gentoo/${GNU}.tar.bz2
- nis? ( mirror://gentoo/${LIBEXEC}.tar.bz2 )
- build? ( mirror://gentoo/${SYS}.tar.bz2
- mirror://gentoo/${INCLUDE}.tar.bz2 )"
-
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
- =sys-freebsd/freebsd-libexec-${RV}*
- acpi? ( sys-power/iasl )
- build? ( sys-apps/baselayout )
- ssl? ( dev-libs/openssl )
- tcpd? ( sys-apps/tcp-wrappers )
- dev-libs/libedit
- net-libs/libpcap"
-DEPEND="${RDEPEND}
- =sys-freebsd/freebsd-mk-defs-${RV}*
- !build? ( =sys-freebsd/freebsd-sources-${RV}* )
- sys-apps/texinfo
- sys-devel/flex"
-
-PROVIDE="virtual/logger"
-
-S="${WORKDIR}/usr.sbin"
-
-pkg_setup() {
- # Release crunch is something like minimal. It seems to remove everything
- # which is not needed to work.
- use minimal && mymakeopts="${mymakeopts} RELEASE_CRUNCH= "
-
- use acpi || mymakeopts="${mymakeopts} NO_ACPI= "
- use atm || mymakeopts="${mymakeopts} NO_ATM= "
- use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= "
- use ipsec || mymakeopts="${mymakeopts} NO_IPSEC= "
- use ipfilter || mymakeopts="${mymakeopts} NO_IPFILTER= "
- use ipv6 || mymakeopts="${mymakeopts} NO_INET6= "
- use isdn || mymakeopts="${mymakeopts} NO_I4B= "
- use nat || mymakeopts="${mymakeopts} NO_NAT= "
- use nis || mymakeopts="${mymakeopts} NO_NIS= "
- use pam || mymakeopts="${mymakeopts} NO_PAM= "
- use radius || mymakeopts="${mymakeopts} NO_RADIUS= "
- use suid || mymakeopts="${mymakeopts} NO_SUID= PPP_NOSUID= "
- use tcpd || mymakeopts="${mymakeopts} NO_WRAP= "
- use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= "
- use suid || mymakeopts="${mymakeopts} NO_SUID= "
- use usb || mymakeopts="${mymakeopts} NO_USB= "
-
- mymakeopts="${mymakeopts} NO_MAILWRAPPER= NO_BIND= NO_SENDMAIL= NO_PF= NO_AUTHPF= NO_LPR="
-}
-
-PATCHES="${FILESDIR}/${PN}-7.0-nowrap.patch
- ${FILESDIR}/${PN}-adduser.patch"
-
-REMOVE_SUBDIRS="
- named named-checkzone named-checkconf rndc rndc-confgen
- dnssec-keygen dnssec-signzone
- tcpdchk tcpdmatch
- sendmail praliases editmap mailstats makemap
- sysinstall cron mailwrapper ntp bsnmpd
- tcpdump ndp inetd
- wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli wpa/wpa_passphrase
- zic amd
- pkg_install freebsd-update"
-
-src_unpack() {
- freebsd_src_unpack
-
- if ! use build; then
- ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys"
- ln -s "/usr/include" "${WORKDIR}/include"
- else
- dummy_mk mount_smbfs
- fi
-}
-
-src_compile() {
- strip-flags
- append-flags -I "${WORKDIR}/sys"
-
- NOFLAGSTRIP="yes" freebsd_src_compile
-}
-
-src_install() {
- # By creating these directories we avoid having to do a
- # more complex hack
- dodir /usr/share/doc
- dodir /sbin
- dodir /usr/libexec
- dodir /usr/bin
-
- # FILESDIR is used by some makefiles which will install files
- # in the wrong place, just put it in the doc directory.
- mkinstall DOCDIR=/usr/share/doc/${PF} || die "Install failed"
-
- # 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}
- done
-
- for class in daily monthly weekly; do
- cat - > "${T}/periodic.${class}" <<EOS
-#!/bin/sh
-/usr/sbin/periodic ${class}
-EOS
- exeinto /etc/cron.${class}
- newexe "${T}/periodic.${class}" periodic
- done
-
- # Install the pw.conf file to let pw use Gentoo's skel location
- insinto /etc
- doins "${FILESDIR}/pw.conf"
-
- cd "${WORKDIR}/etc"
- doins amd.map apmd.conf syslog.conf newsyslog.conf
- use usb && doins usbd.conf
-
- insinto /etc/ppp
- doins ppp/ppp.conf
-
- if use isdn; then
- insinto /etc/isdn
- doins isdn/*
- rm -f "${D}"/etc/isdn/Makefile
- fi
-
- if use bluetooth; then
- insinto /etc/bluetooth
- doins bluetooth/*
- rm -f "${D}"/etc/bluetooth/Makefile
- fi
-
- # Install the periodic stuff (needs probably to be ported in a more
- # gentooish way)
- cd "${WORKDIR}/etc/periodic"
-
- doperiodic daily daily/*.accounting
- doperiodic monthly monthly/*.accounting
-}
-
-pkg_postinst() {
- # We need to run pwd_mkdb if key files are not present
- # If they are, then there is no need to run pwd_mkdb
- if [[ ! -e "${ROOT}etc/passwd" || ! -e "${ROOT}etc/pwd.db" || ! -e "${ROOT}etc/spwd.db" ]] ; then
- if [[ -e "${ROOT}etc/master.passwd" ]] ; then
- einfo "Generating passwd files from ${ROOT}etc/master.passwd"
- "${ROOT}"usr/sbin/pwd_mkdb -p -d "${ROOT}etc" "${ROOT}etc/master.passwd"
- else
- eerror "${ROOT}etc/master.passwd does not exist!"
- eerror "You will no be able to log into your system!"
- fi
- fi
-
- for logfile in messages security auth.log maillog lpd-errs xferlog cron \
- debug.log slip.log ppp.log; do
- [[ -f "${ROOT}/var/log/${logfile}" ]] || touch "${ROOT}/var/log/${logfile}"
- done
-}
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1.ebuild
deleted file mode 100644
index 8b072e9dac44..000000000000
--- a/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1.ebuild
+++ /dev/null
@@ -1,175 +0,0 @@
-# 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.ebuild,v 1.1 2009/01/22 21:06:27 the_paya Exp $
-
-inherit bsdmk freebsd flag-o-matic eutils
-
-DESCRIPTION="FreeBSD /usr/sbin tools"
-SLOT="0"
-KEYWORDS="~sparc-fbsd ~x86-fbsd"
-
-IUSE="acpi atm bluetooth build ipsec ipv6 ipfilter isdn minimal nat nis
- pam radius ssl suid tcpd usb"
-
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- mirror://gentoo/${CONTRIB}.tar.bz2
- mirror://gentoo/${UBIN}.tar.bz2
- mirror://gentoo/${LIB}.tar.bz2
- mirror://gentoo/${SBIN}.tar.bz2
- mirror://gentoo/${ETC}.tar.bz2
- mirror://gentoo/${GNU}.tar.bz2
- nis? ( mirror://gentoo/${LIBEXEC}.tar.bz2 )
- build? ( mirror://gentoo/${SYS}.tar.bz2
- mirror://gentoo/${INCLUDE}.tar.bz2 )"
-
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
- =sys-freebsd/freebsd-libexec-${RV}*
- acpi? ( sys-power/iasl )
- build? ( sys-apps/baselayout )
- ssl? ( dev-libs/openssl )
- tcpd? ( sys-apps/tcp-wrappers )
- dev-libs/libedit
- net-libs/libpcap"
-DEPEND="${RDEPEND}
- =sys-freebsd/freebsd-mk-defs-${RV}*
- !build? ( =sys-freebsd/freebsd-sources-${RV}* )
- sys-apps/texinfo
- sys-devel/flex"
-
-PROVIDE="virtual/logger"
-
-S="${WORKDIR}/usr.sbin"
-
-pkg_setup() {
- # Release crunch is something like minimal. It seems to remove everything
- # which is not needed to work.
- use minimal && mymakeopts="${mymakeopts} RELEASE_CRUNCH= "
-
- use acpi || mymakeopts="${mymakeopts} NO_ACPI= "
- use atm || mymakeopts="${mymakeopts} NO_ATM= "
- use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= "
- use ipsec || mymakeopts="${mymakeopts} NO_IPSEC= "
- use ipfilter || mymakeopts="${mymakeopts} NO_IPFILTER= "
- use ipv6 || mymakeopts="${mymakeopts} NO_INET6= "
- use isdn || mymakeopts="${mymakeopts} NO_I4B= "
- use nat || mymakeopts="${mymakeopts} NO_NAT= "
- use nis || mymakeopts="${mymakeopts} NO_NIS= "
- use pam || mymakeopts="${mymakeopts} NO_PAM= "
- use radius || mymakeopts="${mymakeopts} NO_RADIUS= "
- use suid || mymakeopts="${mymakeopts} NO_SUID= PPP_NOSUID= "
- use tcpd || mymakeopts="${mymakeopts} NO_WRAP= "
- use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= "
- use suid || mymakeopts="${mymakeopts} NO_SUID= "
- use usb || mymakeopts="${mymakeopts} NO_USB= "
-
- mymakeopts="${mymakeopts} NO_MAILWRAPPER= NO_BIND= NO_SENDMAIL= NO_PF= NO_AUTHPF= NO_LPR="
-}
-
-PATCHES="${FILESDIR}/${PN}-7.0-nowrap.patch
- ${FILESDIR}/${PN}-adduser.patch"
-
-REMOVE_SUBDIRS="
- named named-checkzone named-checkconf rndc rndc-confgen
- dnssec-keygen dnssec-signzone
- tcpdchk tcpdmatch
- sendmail praliases editmap mailstats makemap
- sysinstall cron mailwrapper ntp bsnmpd
- tcpdump ndp traceroute inetd
- wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli wpa/wpa_passphrase
- zic amd
- pkg_install freebsd-update"
-
-src_unpack() {
- freebsd_src_unpack
-
- if ! use build; then
- ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys"
- ln -s "/usr/include" "${WORKDIR}/include"
- else
- dummy_mk mount_smbfs
- fi
-}
-
-src_compile() {
- strip-flags
- append-flags -I "${WORKDIR}/sys"
-
- NOFLAGSTRIP="yes" freebsd_src_compile
-}
-
-src_install() {
- # By creating these directories we avoid having to do a
- # more complex hack
- dodir /usr/share/doc
- dodir /sbin
- dodir /usr/libexec
- dodir /usr/bin
-
- # FILESDIR is used by some makefiles which will install files
- # in the wrong place, just put it in the doc directory.
- mkinstall DOCDIR=/usr/share/doc/${PF} || die "Install failed"
-
- # 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}
- done
-
- for class in daily monthly weekly; do
- cat - > "${T}/periodic.${class}" <<EOS
-#!/bin/sh
-/usr/sbin/periodic ${class}
-EOS
- exeinto /etc/cron.${class}
- newexe "${T}/periodic.${class}" periodic
- done
-
- # Install the pw.conf file to let pw use Gentoo's skel location
- insinto /etc
- doins "${FILESDIR}/pw.conf"
-
- cd "${WORKDIR}/etc"
- doins amd.map apmd.conf syslog.conf newsyslog.conf usbd.conf
-
- insinto /etc/ppp
- doins ppp/ppp.conf
-
- if use isdn; then
- insinto /etc/isdn
- doins isdn/*
- rm -f "${D}"/etc/isdn/Makefile
- fi
-
- if use bluetooth; then
- insinto /etc/bluetooth
- doins bluetooth/*
- rm -f "${D}"/etc/bluetooth/Makefile
- fi
-
- # Install the periodic stuff (needs probably to be ported in a more
- # gentooish way)
- cd "${WORKDIR}/etc/periodic"
-
- doperiodic daily daily/*.accounting
- doperiodic monthly monthly/*.accounting
-}
-
-pkg_postinst() {
- # We need to run pwd_mkdb if key files are not present
- # If they are, then there is no need to run pwd_mkdb
- if [[ ! -e "${ROOT}etc/passwd" || ! -e "${ROOT}etc/pwd.db" || ! -e "${ROOT}etc/spwd.db" ]] ; then
- if [[ -e "${ROOT}etc/master.passwd" ]] ; then
- einfo "Generating passwd files from ${ROOT}etc/master.passwd"
- "${ROOT}"usr/sbin/pwd_mkdb -p -d "${ROOT}etc" "${ROOT}etc/master.passwd"
- else
- eerror "${ROOT}etc/master.passwd does not exist!"
- eerror "You will no be able to log into your system!"
- fi
- fi
-
- for logfile in messages security auth.log maillog lpd-errs xferlog cron \
- debug.log slip.log ppp.log; do
- [[ -f "${ROOT}/var/log/${logfile}" ]] || touch "${ROOT}/var/log/${logfile}"
- done
-}