summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-03-11 11:02:32 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-03-11 11:02:32 +0000
commitd80a4b11c2a971811f03ca09429397f5bd3c7b79 (patch)
tree230926b959175ecffecf3e8fb98326c193f5006c /sys-freebsd/freebsd-usbin
parentVersion bump. Use pregenerated docs and install to correct path wrt #294276. (diff)
downloadhistorical-d80a4b11c2a971811f03ca09429397f5bd3c7b79.tar.gz
historical-d80a4b11c2a971811f03ca09429397f5bd3c7b79.tar.bz2
historical-d80a4b11c2a971811f03ca09429397f5bd3c7b79.zip
remove old
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-freebsd/freebsd-usbin')
-rw-r--r--sys-freebsd/freebsd-usbin/ChangeLog12
-rw-r--r--sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch24
-rw-r--r--sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-gcc41.patch18
-rw-r--r--sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-nowrap.patch48
-rw-r--r--sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.2_rc2-libedit-netbsd.patch13
-rw-r--r--sys-freebsd/freebsd-usbin/freebsd-usbin-6.2-r1.ebuild176
-rw-r--r--sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r2.ebuild171
-rw-r--r--sys-freebsd/freebsd-usbin/metadata.xml4
8 files changed, 10 insertions, 456 deletions
diff --git a/sys-freebsd/freebsd-usbin/ChangeLog b/sys-freebsd/freebsd-usbin/ChangeLog
index c3fe56b60972..cd8dc9c703eb 100644
--- a/sys-freebsd/freebsd-usbin/ChangeLog
+++ b/sys-freebsd/freebsd-usbin/ChangeLog
@@ -1,6 +1,14 @@
# 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.60 2009/10/08 09:05:27 aballier Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.61 2010/03/11 10:50:28 aballier Exp $
+
+ 11 Mar 2010; Alexis Ballier <aballier@gentoo.org>
+ -files/freebsd-usbin-6.0-fixmakefiles.patch,
+ -files/freebsd-usbin-6.1-gcc41.patch,
+ -files/freebsd-usbin-6.1-nowrap.patch, -freebsd-usbin-6.2-r1.ebuild,
+ -files/freebsd-usbin-6.2_rc2-libedit-netbsd.patch,
+ -freebsd-usbin-7.1-r2.ebuild, metadata.xml:
+ remove old
08 Oct 2009; Alexis Ballier <aballier@gentoo.org>
freebsd-usbin-7.2.ebuild:
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch
deleted file mode 100644
index 1b1af6d5da7b..000000000000
--- a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Index: usr.sbin/pcvt/Misc/Doc/Makefile
-===================================================================
---- usr.sbin/pcvt/Misc/Doc/Makefile.orig
-+++ usr.sbin/pcvt/Misc/Doc/Makefile
-@@ -4,6 +4,6 @@ NO_OBJ=
- FILES= Acknowledgements Bibliography CharGen \
- Charsets EscapeSequences Keyboard.HP Keyboard.VT \
- NotesAndHints
--FILESDIR= ${BINDIR}/Doc
-+FILESDIR= ${DOCDIR}/Doc
-
- .include <bsd.prog.mk>
-Index: usr.sbin/pcvt/Misc/Makefile
-===================================================================
---- usr.sbin/pcvt/Misc/Makefile.orig
-+++ usr.sbin/pcvt/Misc/Makefile
-@@ -2,6 +2,7 @@
-
- NO_OBJ=
- FILES= README.FIRST
-+FILESDIR= ${DOCDIR}/pcvt
- SUBDIR= Doc Etc
-
- .include "Makefile.inc"
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-gcc41.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-gcc41.patch
deleted file mode 100644
index fc48b1847023..000000000000
--- a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-gcc41.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Index: fbsd-6.1/usr.sbin/IPXrouted/trace.c
-===================================================================
---- fbsd-6.1.orig/usr.sbin/IPXrouted/trace.c
-+++ fbsd-6.1/usr.sbin/IPXrouted/trace.c
-@@ -66,12 +66,12 @@ int tracing = 0;
-
- void dumpif(FILE *fd, struct interface *ifp);
- void dumptrace(FILE *fd, char *dir, struct ifdebug *ifd);
-+static int iftraceinit();
-
- void
- traceinit(ifp)
- register struct interface *ifp;
- {
-- static int iftraceinit();
-
- if (iftraceinit(ifp, &ifp->int_input) &&
- iftraceinit(ifp, &ifp->int_output))
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-nowrap.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-nowrap.patch
deleted file mode 100644
index 175b0c80c6c8..000000000000
--- a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-nowrap.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff -ur usr.sbin.orig/rpcbind/Makefile usr.sbin/rpcbind/Makefile
---- usr.sbin.orig/rpcbind/Makefile 2006-03-15 07:44:28 +0000
-+++ usr.sbin/rpcbind/Makefile 2006-04-19 17:37:18 +0000
-@@ -13,13 +13,19 @@
- rpcb_svc.c rpcb_svc_com.c security.c warmstart.c util.c \
- rpc_generic.c
-
--CFLAGS+= -I${LIBCRPCDIR} -I${LIBCINCLUDE} -DPORTMAP -DLIBWRAP
-+CFLAGS+= -I${LIBCRPCDIR} -I${LIBCINCLUDE} -DPORTMAP
-+
-+DPADD= ${LIBUTIL}
-+LDADD= -lutil
-+
-+.if !defined(NO_WRAP)
-+CFLAGS+= -DLIBWRAP
-+DPADD+= ${LIBWRAP}
-+LDADD+= -lwrap
-+.endif
-
- .if !defined(NO_INET6)
- CFLAGS+= -DINET6
- .endif
-
--DPADD= ${LIBWRAP} ${LIBUTIL}
--LDADD= -lwrap -lutil
--
- .include <bsd.prog.mk>
-diff -ur usr.sbin.orig/ypserv/Makefile usr.sbin/ypserv/Makefile
---- usr.sbin.orig/ypserv/Makefile 2004-10-18 21:42:15 +0000
-+++ usr.sbin/ypserv/Makefile 2006-04-19 17:31:23 +0000
-@@ -8,10 +8,13 @@
- SRCS= yp_svc.c yp_server.c yp_dblookup.c yp_dnslookup.c \
- ypxfr_clnt.c yp.h yp_main.c yp_error.c yp_access.c yp_svc_udp.c
-
--CFLAGS+= -DDB_CACHE -DTCP_WRAPPER -I.
-+CFLAGS+= -DDB_CACHE -I.
-
--DPADD= ${LIBWRAP}
--LDADD= -lwrap
-+.if !defined(NO_WRAP)
-+CFLAGS+= -DTCP_WRAPPER
-+DPADD+= ${LIBWRAP}
-+LDADD+= -lwrap
-+.endif
-
- CLEANFILES= yp_svc.c ypxfr_clnt.c yp.h
-
-Only in usr.sbin/ypserv: Makefile.orig
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.2_rc2-libedit-netbsd.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.2_rc2-libedit-netbsd.patch
deleted file mode 100644
index fe8a807ace31..000000000000
--- a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.2_rc2-libedit-netbsd.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: fbsd-6.2rc2/usr.sbin/cdcontrol/cdcontrol.c
-===================================================================
---- fbsd-6.2rc2.orig/usr.sbin/cdcontrol/cdcontrol.c
-+++ fbsd-6.2rc2/usr.sbin/cdcontrol/cdcontrol.c
-@@ -1130,7 +1130,7 @@ input (int *cmd)
- el = el_init("cdcontrol", stdin, stdout,
- stderr);
- hist = history_init();
-- history(hist, &he, H_EVENT, 100);
-+ history(hist, &he, H_SETSIZE, 100);
- el_set(el, EL_HIST, history, hist);
- el_set(el, EL_EDITOR, "emacs");
- el_set(el, EL_PROMPT, cdcontrol_prompt);
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2-r1.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2-r1.ebuild
deleted file mode 100644
index c34ac1d6f9f6..000000000000
--- a/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2-r1.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2-r1.ebuild,v 1.5 2008/03/30 15:26:22 vapier 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
- 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}-6.0-fixmakefiles.patch
- ${FILESDIR}/${PN}-6.1-nowrap.patch
- ${FILESDIR}/${PN}-6.1-gcc41.patch
- ${FILESDIR}/${PN}-adduser.patch
- ${FILESDIR}/${PN}-6.2_rc2-libedit-netbsd.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
- 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"
-
- for util in nfs nfsmount rpcbind syslogd moused powerd syscons rarpd; 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
-}
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r2.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r2.ebuild
deleted file mode 100644
index 5f102facbfe7..000000000000
--- a/sys-freebsd/freebsd-usbin/freebsd-usbin-7.1-r2.ebuild
+++ /dev/null
@@ -1,171 +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-r2.ebuild,v 1.4 2009/10/08 07:54:30 aballier Exp $
-
-EAPI=2
-
-inherit bsdmk freebsd flag-o-matic eutils
-
-DESCRIPTION="FreeBSD /usr/sbin tools"
-SLOT="0"
-KEYWORDS="~sparc-fbsd ~x86-fbsd"
-
-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}*[usb?,bluetooth?,netware?]
- =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"
-
-IUSE="acpi atm audit bluetooth ipv6 isdn minimal netware nis pam ssl tcpd usb build"
-
-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} WITHOUT_ACPI= "
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
- use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= "
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= "
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= "
- use isdn || mymakeopts="${mymakeopts} WITHOUT_I4B= "
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= "
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= "
- use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= "
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= "
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= "
-
- mymakeopts="${mymakeopts} WITHOUT_BIND_NAMED= WITHOUT_BIND_DNSSEC= WITHOUT_PF= WITHOUT_LPR= WITHOUT_SENDMAIL= WITHOUT_AUTHPF= WITHOUT_MAILWRAPPER= "
-}
-
-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_prepare() {
- 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} || die
- if [[ -e "${FILESDIR}"/${util}.confd ]]; then \
- newconfd "${FILESDIR}"/${util}.confd ${util} || die
- fi
- 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" || die
-
- cd "${WORKDIR}/etc"
- doins apmd.conf syslog.conf newsyslog.conf nscd.conf || die
- use usb && doins usbd.conf
-
- insinto /etc/ppp
- doins ppp/ppp.conf || die
-
- if use isdn; then
- insinto /etc/isdn
- doins isdn/* || die
- rm -f "${D}"/etc/isdn/Makefile
- fi
-
- if use bluetooth; then
- insinto /etc/bluetooth
- doins bluetooth/* || die
- 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/metadata.xml b/sys-freebsd/freebsd-usbin/metadata.xml
index be3d48cc8f1d..83aa667145eb 100644
--- a/sys-freebsd/freebsd-usbin/metadata.xml
+++ b/sys-freebsd/freebsd-usbin/metadata.xml
@@ -3,11 +3,7 @@
<pkgmetadata>
<herd>bsd</herd>
<use>
- <flag name='ipfilter'>Enable building of ipfilter firewall support.</flag>
- <flag name='ipsec'>Enable IPSec support.</flag>
<flag name='isdn'>Enable ISDN support.</flag>
- <flag name='nat'>Enable Network Address Translation support daemon.</flag>
-
<flag name='audit'>
Build auditing tools.
</flag>