summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-21 21:02:40 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-21 21:02:40 +0000
commitf8109c0e6913b92dca9d3d4815eb4e6344a1abb8 (patch)
tree1b7bcde89b1f69f85a89ff8f833fe29645002c21 /sys-freebsd
parentAdd 6.2_beta1 ebuilds. (diff)
downloadgentoo-2-f8109c0e6913b92dca9d3d4815eb4e6344a1abb8.tar.gz
gentoo-2-f8109c0e6913b92dca9d3d4815eb4e6344a1abb8.tar.bz2
gentoo-2-f8109c0e6913b92dca9d3d4815eb4e6344a1abb8.zip
Add 6.2_beta1 ebuilds.
(Portage version: 2.1.2_pre1)
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_beta121
-rw-r--r--sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta1.ebuild152
3 files changed, 180 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-usbin/ChangeLog b/sys-freebsd/freebsd-usbin/ChangeLog
index 297f6475d45f..a43b7440e90a 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.15 2006/09/14 17:03:27 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.16 2006/09/21 21:02:40 flameeyes Exp $
+
+*freebsd-usbin-6.2_beta1 (21 Sep 2006)
+
+ 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +freebsd-usbin-6.2_beta1.ebuild:
+ Add 6.2_beta1 ebuilds.
14 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> +files/syscons.confd,
+files/syscons.initd, freebsd-usbin-6.1-r1.ebuild:
diff --git a/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta1 b/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta1
new file mode 100644
index 000000000000..477f10b0f5b9
--- /dev/null
+++ b/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta1
@@ -0,0 +1,21 @@
+MD5 90475e859a392eb47b8ca1b8ce1f55fc freebsd-contrib-6.2_beta1.tar.bz2 36459773
+RMD160 c7e56dab7c678c780f1154f14aef6d9647845456 freebsd-contrib-6.2_beta1.tar.bz2 36459773
+SHA256 c0a88479b5472c9085aa04d7b39735b8001e559fb7645c07821f4466344c865d freebsd-contrib-6.2_beta1.tar.bz2 36459773
+MD5 f361863ced3de8f2a903ca7c2062ee31 freebsd-etc-6.2_beta1.tar.bz2 188028
+RMD160 ff3e8a99269fabaf772c8ad95035ebaa8e0031e8 freebsd-etc-6.2_beta1.tar.bz2 188028
+SHA256 cf4c6ccbd0b186f485234ef2f94ed6150527fc16fe543ebf217e17631588a208 freebsd-etc-6.2_beta1.tar.bz2 188028
+MD5 6c354bc2ff61f044f3ffeba6715a816d freebsd-lib-6.2_beta1.tar.bz2 2661080
+RMD160 904eae7bf7fb7ac8575eee10dea3de44944dcecc freebsd-lib-6.2_beta1.tar.bz2 2661080
+SHA256 5f6235820f8dcbeeeae90ff05917ab61b203730b07015b920732a49204df356e freebsd-lib-6.2_beta1.tar.bz2 2661080
+MD5 4c3e49de4b68d824b6578cfc9da911da freebsd-libexec-6.2_beta1.tar.bz2 277148
+RMD160 54a1e429b264d9efc1fee0718b3bea4254bae05e freebsd-libexec-6.2_beta1.tar.bz2 277148
+SHA256 123c6c2bd0fc228d8c51ccb91ec38fd0b30b946dd3bf15867bf8fd24be6e87fc freebsd-libexec-6.2_beta1.tar.bz2 277148
+MD5 989abe45b242a95251f99425f6db2ee0 freebsd-sbin-6.2_beta1.tar.bz2 1159964
+RMD160 d77802a9086d084cc7da35e17e09179dc6024676 freebsd-sbin-6.2_beta1.tar.bz2 1159964
+SHA256 6f759fc8b5e451c8e5f51bcc175d4a910314f9096359f03b9fef3c24fc5e66d7 freebsd-sbin-6.2_beta1.tar.bz2 1159964
+MD5 2b0e0b53d75d2a3baf750c9e22a4a8a5 freebsd-ubin-6.2_beta1.tar.bz2 1771844
+RMD160 0bedcb1038ac157a2c3eee59db38f75d310bbfa1 freebsd-ubin-6.2_beta1.tar.bz2 1771844
+SHA256 b82e2b310001ccb335f26c19bf74431691ace27320fe4d1a49d0b4c86ba419cd freebsd-ubin-6.2_beta1.tar.bz2 1771844
+MD5 6ea2f48cb527eb88ef0cfc4efe6689e6 freebsd-usbin-6.2_beta1.tar.bz2 2694381
+RMD160 360aa0fb7010a337e655ca003599f18b37232f76 freebsd-usbin-6.2_beta1.tar.bz2 2694381
+SHA256 315e58a3d65dc4078845747e97f5e31b3245e3a8795d74a715d81afbadaf08fc freebsd-usbin-6.2_beta1.tar.bz2 2694381
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta1.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta1.ebuild
new file mode 100644
index 000000000000..e375484803a3
--- /dev/null
+++ b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta1.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_beta1.ebuild,v 1.1 2006/09/21 21:02:40 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
+ netgraph 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}/${P}-gcc41.patch
+ ${FILESDIR}/SA-06-15-ypserv.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
+}
+