summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-19 01:48:41 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-19 01:48:41 +0000
commit5ac31c7a0918f6c47c727956707a38d2bba9278b (patch)
tree523e00e5f533626f75e283af85831fafa4c41930 /sys-freebsd/freebsd-usbin
parentStable on amd64. (diff)
downloadhistorical-5ac31c7a0918f6c47c727956707a38d2bba9278b.tar.gz
historical-5ac31c7a0918f6c47c727956707a38d2bba9278b.tar.bz2
historical-5ac31c7a0918f6c47c727956707a38d2bba9278b.zip
Version bump to 6.2-RC1.
Package-Manager: portage-2.1.2_rc2
Diffstat (limited to 'sys-freebsd/freebsd-usbin')
-rw-r--r--sys-freebsd/freebsd-usbin/ChangeLog8
-rw-r--r--sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_rc127
-rw-r--r--sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_rc1.ebuild175
3 files changed, 209 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-usbin/ChangeLog b/sys-freebsd/freebsd-usbin/ChangeLog
index 6b494676fe6f..13a0f53be4f8 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.30 2006/11/18 14:55:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.31 2006/11/19 01:48:41 flameeyes Exp $
+
+*freebsd-usbin-6.2_rc1 (19 Nov 2006)
+
+ 19 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +freebsd-usbin-6.2_rc1.ebuild:
+ Version bump to 6.2-RC1.
18 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
-freebsd-usbin-6.2_beta2.ebuild:
diff --git a/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_rc1 b/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_rc1
new file mode 100644
index 000000000000..6290e50195ce
--- /dev/null
+++ b/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_rc1
@@ -0,0 +1,27 @@
+MD5 f92c93808d6d9c597483355b7866ad6a freebsd-contrib-6.2_rc1.tar.bz2 36554713
+RMD160 e8a915fff9a2210bba5bfa33f1618b74f8f4317d freebsd-contrib-6.2_rc1.tar.bz2 36554713
+SHA256 93748e95efc4d09f70225b58855e167ec21cae610c4ba2a1d7b2c5f84aa4f661 freebsd-contrib-6.2_rc1.tar.bz2 36554713
+MD5 5fabc595641b5c79039bdb84450441a3 freebsd-etc-6.2_rc1.tar.bz2 189434
+RMD160 e85ff64ac4e8be8a324f5c9cf101b4e1e92cba86 freebsd-etc-6.2_rc1.tar.bz2 189434
+SHA256 1b46600bdc65fb58f406bdd95145a66e1412c17fa9e2d082a8d29f578a62ea32 freebsd-etc-6.2_rc1.tar.bz2 189434
+MD5 bffff6b57f766241eb42463a023b70b3 freebsd-include-6.2_rc1.tar.bz2 131628
+RMD160 febc259c9865a0ac80bfab6d9752ba93f76dc728 freebsd-include-6.2_rc1.tar.bz2 131628
+SHA256 79b364be23e63f2427db15e240d35cd023299f8ac89b3c4b4f2b85ffb2ef994e freebsd-include-6.2_rc1.tar.bz2 131628
+MD5 da12553353b5d1c57b7e9e4ad879bdcd freebsd-lib-6.2_rc1.tar.bz2 2669033
+RMD160 4faa7e29fbc0ee9b1e086a4bbafc42ecd6de597a freebsd-lib-6.2_rc1.tar.bz2 2669033
+SHA256 518154f455e0edf665796fde2801d35f50af24ca525d0dd9d4a78a79471fd1dc freebsd-lib-6.2_rc1.tar.bz2 2669033
+MD5 42674aaaf251db6d5d60a3ed28ee25d4 freebsd-libexec-6.2_rc1.tar.bz2 277165
+RMD160 179d580514beacb3143146a2042defb7f10f96ec freebsd-libexec-6.2_rc1.tar.bz2 277165
+SHA256 64525efd5eb6ffe9c83de697b8b362a08e66021731ae6474e97d452285764d66 freebsd-libexec-6.2_rc1.tar.bz2 277165
+MD5 889bb49121a5441994c2d16b2e06b592 freebsd-sbin-6.2_rc1.tar.bz2 1161737
+RMD160 45490b3a847b187efda74414abae7a92fe5ae9cb freebsd-sbin-6.2_rc1.tar.bz2 1161737
+SHA256 d5e414679d85d9005525b1ceebf0df1aae6024150c722352b15ff847f777507d freebsd-sbin-6.2_rc1.tar.bz2 1161737
+MD5 636d5f883c2937a4674d9251aae46fc3 freebsd-sys-6.2_rc1.tar.bz2 18345039
+RMD160 15e70cb9169bf813fdd862389f8cafc45327d41e freebsd-sys-6.2_rc1.tar.bz2 18345039
+SHA256 209c27b25d72f59f93819a38b57aa7f1153c6c9abab62402e0935f2521dae99c freebsd-sys-6.2_rc1.tar.bz2 18345039
+MD5 188cfbadab63151a35fa9c9a78f7fcd8 freebsd-ubin-6.2_rc1.tar.bz2 1774620
+RMD160 447bba637c130ec53590d535c52237d415777a58 freebsd-ubin-6.2_rc1.tar.bz2 1774620
+SHA256 7a6d0eea437a34380b5587be27fe4f1ac84324903e4517aebc353cbfc6256706 freebsd-ubin-6.2_rc1.tar.bz2 1774620
+MD5 42475c00e1508a3974d89497dcf42166 freebsd-usbin-6.2_rc1.tar.bz2 2695796
+RMD160 ccc84a6676a617287491204d95a68c8571b504aa freebsd-usbin-6.2_rc1.tar.bz2 2695796
+SHA256 295906f4e1dea16c4e7d290f9c55320dbd52f65f841f8b8f978a26e7f1c5f728 freebsd-usbin-6.2_rc1.tar.bz2 2695796
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_rc1.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_rc1.ebuild
new file mode 100644
index 000000000000..dd24152fa63e
--- /dev/null
+++ b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_rc1.ebuild
@@ -0,0 +1,175 @@
+# 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_rc1.ebuild,v 1.1 2006/11/19 01:48:41 flameeyes 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}*
+ ssl? ( dev-libs/openssl )
+ tcpd? ( sys-apps/tcp-wrappers )
+ 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"
+
+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
+
+ 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; 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
+}
+