summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-01-08 21:19:50 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-01-08 21:19:50 +0000
commit4bf97b8fa563eaeac6135bf4e37579c6b2ccdc13 (patch)
treee5de0ffa8b0e0412dc4cba31df0f02c5818ea9da /sys-freebsd/freebsd-usbin
parentremove old (diff)
downloadgentoo-2-4bf97b8fa563eaeac6135bf4e37579c6b2ccdc13.tar.gz
gentoo-2-4bf97b8fa563eaeac6135bf4e37579c6b2ccdc13.tar.bz2
gentoo-2-4bf97b8fa563eaeac6135bf4e37579c6b2ccdc13.zip
remove old
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'sys-freebsd/freebsd-usbin')
-rw-r--r--sys-freebsd/freebsd-usbin/ChangeLog8
-rw-r--r--sys-freebsd/freebsd-usbin/freebsd-usbin-6.2.ebuild178
2 files changed, 6 insertions, 180 deletions
diff --git a/sys-freebsd/freebsd-usbin/ChangeLog b/sys-freebsd/freebsd-usbin/ChangeLog
index 26b47246bc60..daf8c89f2b29 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.48 2008/08/22 22:18:35 cardoe Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.49 2009/01/08 21:19:50 aballier Exp $
+
+ 08 Jan 2009; Alexis Ballier <aballier@gentoo.org>
+ -freebsd-usbin-6.2.ebuild:
+ remove old
22 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
add GLEP 56 USE flag desc from use.local.desc
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2.ebuild
deleted file mode 100644
index 262f65e23eb7..000000000000
--- a/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2.ebuild
+++ /dev/null
@@ -1,178 +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.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="atm bluetooth tcpd ssl usb ipv6 acpi ipfilter isdn pam ssl radius
- minimal ipsec nis pam suid nat radius build"
-
-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}*
- 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 atm || mymakeopts="${mymakeopts} NO_ATM= "
- use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= "
- use ipv6 || mymakeopts="${mymakeopts} NO_INET6= "
- use ipfilter || mymakeopts="${mymakeopts} NO_IPFILTER= "
- use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= "
- use usb || mymakeopts="${mymakeopts} NO_USB= "
- use acpi || mymakeopts="${mymakeopts} NO_ACPI= "
- use isdn || mymakeopts="${mymakeopts} NO_I4B= "
- use pam || mymakeopts="${mymakeopts} NO_PAM= "
- use radius || mymakeopts="${mymakeopts} NO_RADIUS= "
- use suid || mymakeopts="${mymakeopts} NO_SUID= "
- use ipsec || mymakeopts="${mymakeopts} NO_IPSEC= "
- use nis || mymakeopts="${mymakeopts} NO_NIS= "
- use nat || mymakeopts="${mymakeopts} NO_NAT= "
- use pam || mymakeopts="${mymakeopts} NO_PAM= "
- use suid || mymakeopts="${mymakeopts} NO_SUID= PPP_NOSUID= "
- use radius || mymakeopts="${mymakeopts} NO_RADIUS= "
- use tcpd || mymakeopts="${mymakeopts} NO_WRAP= "
-
- mymakeopts="${mymakeopts} NO_MAILWRAPPER= NO_BIND= NO_SENDMAIL= NO_PF= NO_AUTHPF= NO_LPR="
-
- # kldxref does not build with -O2
- replace-flags "-O?" "-O1"
-}
-
-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"
- 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
-}