diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-11-01 16:22:07 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-11-01 16:22:07 +0000 |
commit | 24d40930a06b305f7fe9a41e7fbffb20fae62d5d (patch) | |
tree | e1f586c2833a7d395dac6b7a177657c172e2d750 /sys-freebsd/freebsd-usbin | |
parent | New version (diff) | |
download | gentoo-2-24d40930a06b305f7fe9a41e7fbffb20fae62d5d.tar.gz gentoo-2-24d40930a06b305f7fe9a41e7fbffb20fae62d5d.tar.bz2 gentoo-2-24d40930a06b305f7fe9a41e7fbffb20fae62d5d.zip |
Bump to 6.2_beta3.
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'sys-freebsd/freebsd-usbin')
-rw-r--r-- | sys-freebsd/freebsd-usbin/ChangeLog | 8 | ||||
-rw-r--r-- | sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta3 | 27 | ||||
-rw-r--r-- | sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta3.ebuild | 175 |
3 files changed, 209 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-usbin/ChangeLog b/sys-freebsd/freebsd-usbin/ChangeLog index c044b62503d9..59d72e4ea807 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.28 2006/10/26 11:45:45 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.29 2006/11/01 16:22:07 flameeyes Exp $ + +*freebsd-usbin-6.2_beta3 (01 Nov 2006) + + 01 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-usbin-6.2_beta3.ebuild: + Bump to 6.2_beta3. 26 Oct 2006; Roy Marples <uberlord@gentoo.org> freebsd-usbin-6.2_beta2.ebuild: diff --git a/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta3 b/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta3 new file mode 100644 index 000000000000..565f25f23937 --- /dev/null +++ b/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta3 @@ -0,0 +1,27 @@ +MD5 0d8585db6146130649e10b502957eee6 freebsd-contrib-6.2_beta3.tar.bz2 36555171 +RMD160 630c839a0025811a4c2da5de560150fe00d4ed28 freebsd-contrib-6.2_beta3.tar.bz2 36555171 +SHA256 51c0b85ff28b6b9d85092e51a0fe2a9ae9bb9714a50495713236e0c162e8ee0b freebsd-contrib-6.2_beta3.tar.bz2 36555171 +MD5 81b97dc47668e566a803b9469b96d969 freebsd-etc-6.2_beta3.tar.bz2 188295 +RMD160 7b4e5f22cdb6b23b0379c285001379390f176136 freebsd-etc-6.2_beta3.tar.bz2 188295 +SHA256 8d79f1e1e9b8453c0431dd9112b51a09a2ed8db7c288e6eb76347b0030eacf89 freebsd-etc-6.2_beta3.tar.bz2 188295 +MD5 7d9b4fff0e69139ed253a1db9cb0fa63 freebsd-include-6.2_beta3.tar.bz2 131608 +RMD160 7bbc4c99f04752366a5d67a7ce8edc56c0807ec3 freebsd-include-6.2_beta3.tar.bz2 131608 +SHA256 5ce85fe6c6c2cc0e6bc4502d838f52820d06c1dc19c270583f2469edc466ca9a freebsd-include-6.2_beta3.tar.bz2 131608 +MD5 035e7b7d5f8dddcbe9e3c2d44428574b freebsd-lib-6.2_beta3.tar.bz2 2668544 +RMD160 9b21ec424b2b86c0dfa252322e9784ebddce3e53 freebsd-lib-6.2_beta3.tar.bz2 2668544 +SHA256 7aed09b38fedeb174bfd91caa8c2f38240c2f5a0c21d4c50e7eaef5a42daba09 freebsd-lib-6.2_beta3.tar.bz2 2668544 +MD5 359a25029a4dd656e43d83890740dd13 freebsd-libexec-6.2_beta3.tar.bz2 277158 +RMD160 91353b9c0bb7fc254b0a57d55f07b095a06909c9 freebsd-libexec-6.2_beta3.tar.bz2 277158 +SHA256 ce19db01248c1c805636e271056a4f99c8bbe1e2b76def47875dcf6e5bdafdf4 freebsd-libexec-6.2_beta3.tar.bz2 277158 +MD5 eb865a625203b8e38934c840fffb04aa freebsd-sbin-6.2_beta3.tar.bz2 1163107 +RMD160 96d7e0a7ca0ce57084e6cc915316d6b2e4db256c freebsd-sbin-6.2_beta3.tar.bz2 1163107 +SHA256 b7fe3971602ecd88bcbdcddd73379e3a13bb94d9b820ab751593e662d12a56b4 freebsd-sbin-6.2_beta3.tar.bz2 1163107 +MD5 328ec3b03995fcab39126e3437cabb72 freebsd-sys-6.2_beta3.tar.bz2 18336143 +RMD160 c75040d96af463013459f3a3278d4cca1d78e828 freebsd-sys-6.2_beta3.tar.bz2 18336143 +SHA256 f52b0bf25d2ae5792503789a1bd47bc0db7924c13df55021c7740dcdd5a4225c freebsd-sys-6.2_beta3.tar.bz2 18336143 +MD5 4813858b8cce889a4df943aab5645f3d freebsd-ubin-6.2_beta3.tar.bz2 1774931 +RMD160 1985cb50d6502f519560296794c550072032ded6 freebsd-ubin-6.2_beta3.tar.bz2 1774931 +SHA256 779057f40046a46a7d12b519494a450960d12e15384d312e84ea472bf273b39c freebsd-ubin-6.2_beta3.tar.bz2 1774931 +MD5 5266789afea7e22eef8cbbbcf322c7ae freebsd-usbin-6.2_beta3.tar.bz2 2695369 +RMD160 09e6b00f27ee49418e807fd565966f534fb5f0a3 freebsd-usbin-6.2_beta3.tar.bz2 2695369 +SHA256 14fd08cee425c734abb24fa08e6ccf1c69de7b5e9b569cf77459c04fca096db4 freebsd-usbin-6.2_beta3.tar.bz2 2695369 diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta3.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta3.ebuild new file mode 100644 index 000000000000..2b44cda10f88 --- /dev/null +++ b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta3.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_beta3.ebuild,v 1.1 2006/11/01 16:22:07 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 +} + |