summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-05 09:17:39 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-05 09:17:39 +0000
commit2d2b2c1142aa46a5e1d412a7a4cd338bfebea88a (patch)
treec3a5b395f55a32e502459a835097f2a858e59178 /sys-freebsd
parentVersion 6.2_beta2. (diff)
downloadgentoo-2-2d2b2c1142aa46a5e1d412a7a4cd338bfebea88a.tar.gz
gentoo-2-2d2b2c1142aa46a5e1d412a7a4cd338bfebea88a.tar.bz2
gentoo-2-2d2b2c1142aa46a5e1d412a7a4cd338bfebea88a.zip
Version 6.2_beta2.
(Portage version: 2.1.2_pre2-r3)
Diffstat (limited to 'sys-freebsd')
-rw-r--r--sys-freebsd/freebsd-usbin/ChangeLog8
-rw-r--r--sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta221
-rw-r--r--sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta2.ebuild152
3 files changed, 180 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-usbin/ChangeLog b/sys-freebsd/freebsd-usbin/ChangeLog
index a9ad8fd19944..0c3d5b395226 100644
--- a/sys-freebsd/freebsd-usbin/ChangeLog
+++ b/sys-freebsd/freebsd-usbin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-freebsd/freebsd-usbin
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.20 2006/10/04 19:55:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.21 2006/10/05 09:17:39 flameeyes Exp $
+
+*freebsd-usbin-6.2_beta2 (05 Oct 2006)
+
+ 05 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +freebsd-usbin-6.2_beta2.ebuild:
+ Version 6.2_beta2.
04 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
freebsd-usbin-6.1-r1.ebuild, freebsd-usbin-6.2_beta1.ebuild:
diff --git a/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta2 b/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta2
new file mode 100644
index 000000000000..6c00fda191c9
--- /dev/null
+++ b/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta2
@@ -0,0 +1,21 @@
+MD5 a01bf3e9615dc7971e8d192d934fe939 freebsd-contrib-6.2_beta2.tar.bz2 36450440
+RMD160 ade5b435c733f1f7766d3a64e884ae70053c53c8 freebsd-contrib-6.2_beta2.tar.bz2 36450440
+SHA256 c3a600edf8d61377e5bffbd91f06b9ff3442d76ee667f757e9a71fba854f4f96 freebsd-contrib-6.2_beta2.tar.bz2 36450440
+MD5 5c67b6e8d6c69b5151a9828679b920ad freebsd-etc-6.2_beta2.tar.bz2 188103
+RMD160 d6556dd5c89806e4968d7b76df5790602be25390 freebsd-etc-6.2_beta2.tar.bz2 188103
+SHA256 9395e53d0b581235cb48f3b8d788a8c4be8e75e7c11edcd11dd56569b40b1656 freebsd-etc-6.2_beta2.tar.bz2 188103
+MD5 280ec9cccb1e34dabc8344d682dcfa23 freebsd-lib-6.2_beta2.tar.bz2 2669048
+RMD160 dfb33df2c853bf226034843fdc319a5e0781fcf7 freebsd-lib-6.2_beta2.tar.bz2 2669048
+SHA256 ee3f7c41c0991b0196cbb550ed6a97093f220efd9caac52705ef4f49050c4f14 freebsd-lib-6.2_beta2.tar.bz2 2669048
+MD5 e824d69bd6cc2563bc28eb270987e069 freebsd-libexec-6.2_beta2.tar.bz2 276928
+RMD160 33a180fa9938dbe8b57c211f475522b837079ad5 freebsd-libexec-6.2_beta2.tar.bz2 276928
+SHA256 6a9d0525336914d1607412fe7785aa4809f78abb0961933521bf912195e614aa freebsd-libexec-6.2_beta2.tar.bz2 276928
+MD5 049aaca0e7b93c2bab4d2a197218d893 freebsd-sbin-6.2_beta2.tar.bz2 1159380
+RMD160 439e0702da402f723bf9ceb593ffd0aa1ed6d66a freebsd-sbin-6.2_beta2.tar.bz2 1159380
+SHA256 56f77795dd9586b8dd0920f6041ad0d49d83607c89771541ada8f6b7d8312d3f freebsd-sbin-6.2_beta2.tar.bz2 1159380
+MD5 caa3dd80d07aad286292fb4928ae1276 freebsd-ubin-6.2_beta2.tar.bz2 1773001
+RMD160 3eab2de326885151e6b76e996c687cfd6772581f freebsd-ubin-6.2_beta2.tar.bz2 1773001
+SHA256 4037b96452eca9d12a201f81d5f545671cb2f28c869ce0497268d179ac2b2869 freebsd-ubin-6.2_beta2.tar.bz2 1773001
+MD5 489233461f2029fd841e95dbff84034a freebsd-usbin-6.2_beta2.tar.bz2 2694290
+RMD160 a260f821dc50adbf1b1bef270bc41477e938e336 freebsd-usbin-6.2_beta2.tar.bz2 2694290
+SHA256 fd54dc28e41028d39cdef1d37f054c3db5c798854db1519119e09e034a8f48ef freebsd-usbin-6.2_beta2.tar.bz2 2694290
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta2.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta2.ebuild
new file mode 100644
index 000000000000..07e2f27c9d85
--- /dev/null
+++ b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta2.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2006 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_beta2.ebuild,v 1.1 2006/10/05 09:17:39 flameeyes Exp $
+
+inherit bsdmk freebsd flag-o-matic eutils
+
+DESCRIPTION="FreeBSD /usr/sbin tools"
+SLOT="0"
+KEYWORDS="~x86-fbsd"
+
+IUSE="atm bluetooth tcpd ssl usb ipv6 acpi ipfilter isdn pam ssl radius
+ minimal ipsec nis pam suid nat radius"
+
+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 )"
+
+RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
+ =sys-freebsd/freebsd-libexec-${RV}*
+ ssl? ( dev-libs/openssl )
+ tcpd? ( sys-apps/tcp-wrappers )
+ net-libs/libpcap"
+DEPEND="${RDEPEND}
+ =sys-freebsd/freebsd-mk-defs-${RV}*
+ =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"
+
+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 mount_smbfs
+ tcpdump ndp traceroute pkg_install inetd
+ wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli
+ zic amd"
+
+src_unpack() {
+ freebsd_src_unpack
+
+ ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys"
+ ln -s "/usr/include" "${WORKDIR}/include"
+}
+
+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; 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() {
+ 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
+}
+