diff options
Diffstat (limited to 'sys-freebsd/freebsd-sbin')
-rw-r--r-- | sys-freebsd/freebsd-sbin/ChangeLog | 10 | ||||
-rw-r--r-- | sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.2-ipfilter.patch | 121 | ||||
-rw-r--r-- | sys-freebsd/freebsd-sbin/files/freebsd-sbin-zlib.patch | 21 | ||||
-rw-r--r-- | sys-freebsd/freebsd-sbin/freebsd-sbin-6.2-r2.ebuild | 94 | ||||
-rw-r--r-- | sys-freebsd/freebsd-sbin/freebsd-sbin-7.1-r1.ebuild | 101 | ||||
-rw-r--r-- | sys-freebsd/freebsd-sbin/freebsd-sbin-7.1.ebuild | 97 | ||||
-rw-r--r-- | sys-freebsd/freebsd-sbin/metadata.xml | 1 |
7 files changed, 8 insertions, 437 deletions
diff --git a/sys-freebsd/freebsd-sbin/ChangeLog b/sys-freebsd/freebsd-sbin/ChangeLog index caad468ee3d5..95ca56b5b9c4 100644 --- a/sys-freebsd/freebsd-sbin/ChangeLog +++ b/sys-freebsd/freebsd-sbin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-sbin -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.53 2009/05/24 22:44:55 flameeyes Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.54 2010/03/11 11:20:03 aballier Exp $ + + 11 Mar 2010; Alexis Ballier <aballier@gentoo.org> + -freebsd-sbin-6.2-r2.ebuild, -files/freebsd-sbin-6.2-ipfilter.patch, + -freebsd-sbin-7.1.ebuild, -freebsd-sbin-7.1-r1.ebuild, + -files/freebsd-sbin-zlib.patch, metadata.xml: + remove old 24 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> freebsd-sbin-7.1-r1.ebuild, freebsd-sbin-7.2.ebuild: diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.2-ipfilter.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.2-ipfilter.patch deleted file mode 100644 index 83681b70f28f..000000000000 --- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.2-ipfilter.patch +++ /dev/null @@ -1,121 +0,0 @@ ---- sbin.orig/ipf/ipf/Makefile 2007-08-06 15:57:49 +0100 -+++ sbin/ipf/ipf/Makefile 2007-08-06 16:02:33 +0100 -@@ -1,15 +1,15 @@ - # $FreeBSD: src/sbin/ipf/ipf/Makefile,v 1.3.2.1 2006/08/24 07:37:10 guido Exp $ - - PROG= ipf --SRCS= ipf.c ipfcomp.c ipf_y.c ipf_l.c bpf_filter.c -+SRCS= ${GENHDRS} ipf.c ipfcomp.c ipf_y.c ipf_l.c bpf_filter.c - MAN= ipf.8 ipf.4 ipf.5 ipl.4 - MLINKS= ipl.4 ipfilter.4 ipf.5 ipf.conf.5 ipf.5 ipf6.conf.5 - CFLAGS+= -I. -DIPFILTER_BPF - --DPSRCS+= ipf_l.h ipf_y.h -+GENHDRS= ipf_l.h ipf_y.h -+DPSRCS+= ${GENHDRS} - --CLEANFILES+= ipf_y.c ipf_y.h --CLEANFILES+= ipf_l.c ipf_l.h -+CLEANFILES+= ${GENHDRS} ipf_y.c ipf_l.c - - ipf_y.c: ipf_y.y - ${YACC} -d ${.ALLSRC} ---- sbin.orig/ipf/ipftest/Makefile 2007-08-06 16:07:39 +0100 -+++ sbin/ipf/ipftest/Makefile 2007-08-06 16:13:23 +0100 -@@ -1,7 +1,7 @@ - # $FreeBSD: src/sbin/ipf/ipftest/Makefile,v 1.3 2005/04/28 16:26:34 darrenr Exp $ - - PROG= ipftest --SRCS= ipftest.c fil.c ip_frag.c ip_state.c ip_nat.c \ -+SRCS= ${GENHDRS} ipftest.c fil.c ip_frag.c ip_state.c ip_nat.c \ - ip_proxy.c ip_auth.c ip_htable.c ip_lookup.c \ - ip_pool.c ip_scan.c ip_sync.c ip_rules.c \ - ip_fil.c ip_log.c ippool_y.c ippool_l.c ipf_y.c \ -@@ -13,16 +13,15 @@ - - .PATH: ${.CURDIR}/../../../sys/contrib/ipfilter/netinet - --DPSRCS+= ipnat_l.h ipnat_y.h ippool_l.h ippool_y.h ipf_l.h ipf_y.h -+GENHDRS= ipnat_l.h ipnat_y.h ippool_l.h ippool_y.h ipf_l.h ipf_y.h -+DPSRCS+= ${GENHDRS} - --CLEANFILES+= ipf_y.c ipf_y.h --CLEANFILES+= ipf_l.c ipf_l.h -+CLEANFILES+= ${GENHDRS} -+CLEANFILES+= ipf_y.c ipf_l.c - CLEANFILES+= ipf.tab.c ipf.tab.h --CLEANFILES+= ipnat_y.c ipnat_y.h --CLEANFILES+= ipnat_l.c ipnat_l.h -+CLEANFILES+= ipnat_y.c ipnat_l.c - CLEANFILES+= ipnat.tab.c ipnat.tab.h --CLEANFILES+= ippool_y.c ippool_y.h --CLEANFILES+= ippool_l.c ippool_l.h -+CLEANFILES+= ippool_y.c ippool_l.c - CLEANFILES+= ippool.tab.c ippool.tab.h - - ipnat_y.c: ipnat_y.y ---- sbin.orig/ipf/ipmon/Makefile 2007-08-06 16:19:32 +0100 -+++ sbin/ipf/ipmon/Makefile 2007-08-06 16:21:44 +0100 -@@ -1,15 +1,15 @@ - # $FreeBSD: src/sbin/ipf/ipmon/Makefile,v 1.2 2005/04/28 16:26:34 darrenr Exp $ - - PROG= ipmon --SRCS= ipmon.c ipmon_y.c ipmon_l.c -+SRCS= ${GENHDRS} ipmon.c ipmon_y.c ipmon_l.c - MAN= ipmon.8 - - CFLAGS+= -DLOGFAC=LOG_LOCAL0 -I. - --DPSRCS+= ipmon_l.h ipmon_y.h -+GENHDRS+= ipmon_l.h ipmon_y.h -+DPSRCS+= ${GENHDRS} - --CLEANFILES+= ipmon_y.c ipmon_y.h --CLEANFILES+= ipmon_l.c ipmon_l.h -+CLEANFILES+= ${GENHDRS} ipmon_y.c ipmon_l.c - - ipmon_y.c: ipmon_y.y - ${YACC} -d ${.ALLSRC} ---- sbin.orig/ipf/ipnat/Makefile 2005-04-28 17:26:34 +0100 -+++ sbin/ipf/ipnat/Makefile 2007-08-06 16:24:42 +0100 -@@ -1,15 +1,15 @@ - # $FreeBSD: src/sbin/ipf/ipnat/Makefile,v 1.2 2005/04/28 16:26:34 darrenr Exp $ - - PROG= ipnat --SRCS= ipnat.c ipnat_y.c ipnat_l.c -+SRCS= ${GENHDRS} ipnat.c ipnat_y.c ipnat_l.c - MAN= ipnat.8 ipnat.4 ipnat.5 - MLINKS= ipnat.5 ipnat.conf.5 - CFLAGS+= -I. - --DPSRCS+= ipnat_l.h ipnat_y.h -+GENHDRS= ipnat_l.h ipnat_y.h -+DPSRCS+= ${GENHDRS} - --CLEANFILES+= ipnat_y.c ipnat_y.h --CLEANFILES+= ipnat_l.c ipnat_l.h -+CLEANFILES+= ${GENHDRS} ipnat_y.c ipnat_l.c - - ipnat_y.c: ipnat_y.y - ${YACC} -d ${.ALLSRC} ---- sbin.orig/ipf/ippool/Makefile 2005-04-28 17:26:34 +0100 -+++ sbin/ipf/ippool/Makefile 2007-08-06 16:25:20 +0100 -@@ -1,14 +1,14 @@ - # $FreeBSD: src/sbin/ipf/ippool/Makefile,v 1.2 2005/04/28 16:26:34 darrenr Exp $ - - PROG= ippool --SRCS= ippool_y.c ippool_l.c kmem.c ippool.c -+SRCS= ${GENHDRS} ippool_y.c ippool_l.c kmem.c ippool.c - MAN= ippool.5 ippool.8 - CFLAGS+= -I. - --DPSRCS+= ippool_l.h ippool_y.h -+GENHDRS= ippool_l.h ippool_y.h -+DPSRCS+= ${GENHDRS} - --CLEANFILES+= ippool_y.c ippool_y.h --CLEANFILES+= ippool_l.c ippool_l.h -+CLEANFILES+= ${GENHDRS} ippool_y.c ippool_l.c - - ippool_y.c: ippool_y.y - ${YACC} -d ${.ALLSRC} diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-zlib.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-zlib.patch deleted file mode 100644 index b8a0437840d2..000000000000 --- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-zlib.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -ur sbin/savecore/savecore.c sbin-zlib/savecore/savecore.c ---- sbin/savecore/savecore.c 2005-02-26 01:21:50 +0000 -+++ sbin-zlib/savecore/savecore.c 2005-05-06 12:00:06 +0000 -@@ -95,7 +95,7 @@ - static int checkfor, compress, clear, force, keep, verbose; /* flags */ - static int nfound, nsaved, nerr; /* statistics */ - --extern FILE *zopen(const char *, const char *); -+extern FILE *gzopen(const char *, const char *); - - static void - printheader(FILE *f, const struct kerneldumpheader *h, const char *device, -@@ -387,7 +387,7 @@ - oumask = umask(S_IRWXG|S_IRWXO); /* Restrict access to the core file.*/ - if (compress) { - sprintf(buf, "vmcore.%d.gz", bounds); -- fp = zopen(buf, "w"); -+ fp = gzopen(buf, "w"); - } else { - sprintf(buf, "vmcore.%d", bounds); - fp = fopen(buf, "w"); diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-6.2-r2.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-6.2-r2.ebuild deleted file mode 100644 index f09b90daafff..000000000000 --- a/sys-freebsd/freebsd-sbin/freebsd-sbin-6.2-r2.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-6.2-r2.ebuild,v 1.3 2009/01/08 20:02:49 aballier Exp $ - -inherit flag-o-matic bsdmk freebsd - -DESCRIPTION="FreeBSD sbin utils" -KEYWORDS="~sparc-fbsd ~x86-fbsd" -SLOT="0" - -SRC_URI="mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${LIBEXEC}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - build? ( mirror://gentoo/${SYS}.tar.bz2 )" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}* - =sys-freebsd/freebsd-libexec-${RV}* - ssl? ( dev-libs/openssl ) - dev-libs/libedit - sys-libs/readline - sys-process/vixie-cron" -DEPEND="${RDEPEND} - !build? ( =sys-freebsd/freebsd-sources-${RV}* ) - =sys-freebsd/freebsd-mk-defs-${RV}*" - -PROVIDE="virtual/dev-manager" - -S="${WORKDIR}/sbin" - -IUSE="atm ipfilter ipv6 vinum suid ssl build" - -pkg_setup() { - use atm || mymakeopts="${mymakeopts} NO_ATM= " - use ipfilter || mymakeopts="${mymakeopts} NO_IPFILTER= " - use ipv6 || mymakeopts="${mymakeopts} NO_INET6= " - use vinum || mymakeopts="${mymakeopts} NO_VINUM= " - use suid || mymakeopts="${mymakeopts} NO_SUID= " - - # O3 breaks this, apparently - replace-flags -O3 -O2 -} - -REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder" - -PATCHES="${FILESDIR}/${PN}-6.2-ldconfig.patch - ${FILESDIR}/${PN}-6.2-ipfilter.patch - ${FILESDIR}/${PN}-setXid.patch - ${FILESDIR}/${PN}-zlib.patch - ${FILESDIR}/${PN}-6.1-pr102701.patch" - -src_unpack() { - freebsd_src_unpack - use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" -} - -src_install() { - freebsd_src_install - keepdir /var/log - - # Allow users to use ping and other commands - dodir /bin - mv "${D}/sbin/ping" "${D}/bin/" || die "mv failed" - - # ext2fs can mount ext3, you just don't get the journalling - dosym mount_ext2fs sbin/mount_ext3 - - # Do we need pccard.conf if we have devd? - # Maybe ship our own sysctl.conf so things like radvd work out of the box. - cd "${WORKDIR}/etc/" - insinto /etc - doins defaults/pccard.conf minfree sysctl.conf - - # Install a crontab for adjkerntz - insinto /etc/cron.d - newins "${FILESDIR}/adjkerntz-crontab" adjkerntz - - # Install the periodic stuff (needs probably to be ported in a more - # gentooish way) - cd "${WORKDIR}/etc/periodic" - - doperiodic security \ - security/*.ipfwlimit \ - security/*.ip6fwlimit \ - security/*.ip6fwdenied \ - security/*.ipfwdenied - - use ipfilter && doperiodic security \ - security/*.ipf6denied \ - security/*.ipfdenied - -} diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-7.1-r1.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-7.1-r1.ebuild deleted file mode 100644 index 0dd67f8d5038..000000000000 --- a/sys-freebsd/freebsd-sbin/freebsd-sbin-7.1-r1.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-7.1-r1.ebuild,v 1.2 2009/05/24 22:44:55 flameeyes Exp $ - -EAPI=2 - -inherit flag-o-matic bsdmk freebsd - -DESCRIPTION="FreeBSD sbin utils" -KEYWORDS="~sparc-fbsd ~x86-fbsd" -SLOT="0" - -SRC_URI="mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${LIBEXEC}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - build? ( mirror://gentoo/${SYS}.tar.bz2 )" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?] - =sys-freebsd/freebsd-libexec-${RV}* - ssl? ( dev-libs/openssl ) - dev-libs/libedit - sys-libs/readline - sys-process/vixie-cron - atm? ( net-analyzer/bsnmp )" -DEPEND="${RDEPEND} - !build? ( =sys-freebsd/freebsd-sources-${RV}* ) - =sys-freebsd/freebsd-mk-defs-${RV}*" - -PROVIDE="virtual/dev-manager" - -S="${WORKDIR}/sbin" - -IUSE="atm ipfilter +pf ipv6 build ssl +cxx netware" - -pkg_setup() { - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " - use cxx || mymakeopts="${mymakeopts} WITHOUT_CXX=" - use ipfilter || mymakeopts="${mymakeopts} WITHOUT_IPFILTER= " - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT=" - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " - use pf || mymakeopts="${mymakeopts} WITHOUT_PF= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL=" - - # O3 breaks this, apparently - replace-flags -O3 -O2 -} - -REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder" - -PATCHES="${FILESDIR}/${PN}-setXid.patch - ${FILESDIR}/${PN}-7.1-zlib.patch - ${FILESDIR}/${PN}-6.2-ldconfig.patch - ${FILESDIR}/${PN}-6.1-pr102701.patch" - -src_prepare() { - use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" -} - -src_install() { - freebsd_src_install - keepdir /var/log - # Needed by ldconfig: - keepdir /var/run - - # Allow users to use ping and other commands - dodir /bin - mv "${D}/sbin/ping" "${D}/bin/" || die "mv failed" - - # ext2fs can mount ext3, you just don't get the journalling - dosym mount_ext2fs sbin/mount_ext3 - - # Do we need pccard.conf if we have devd? - # Maybe ship our own sysctl.conf so things like radvd work out of the box. - cd "${WORKDIR}/etc/" - insinto /etc - doins defaults/pccard.conf minfree sysctl.conf - - # initd script for idmapd - newinitd "${FILESDIR}/idmapd.initd" idmapd - - # Install a crontab for adjkerntz - insinto /etc/cron.d - newins "${FILESDIR}/adjkerntz-crontab" adjkerntz - - # Install the periodic stuff (needs probably to be ported in a more - # gentooish way) - cd "${WORKDIR}/etc/periodic" - - doperiodic security \ - security/*.ipfwlimit \ - security/*.ip6fwlimit \ - security/*.ip6fwdenied \ - security/*.ipfwdenied - - use ipfilter && doperiodic security \ - security/*.ipf6denied \ - security/*.ipfdenied -} diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-7.1.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-7.1.ebuild deleted file mode 100644 index 529cbbc813d6..000000000000 --- a/sys-freebsd/freebsd-sbin/freebsd-sbin-7.1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-7.1.ebuild,v 1.1 2009/01/22 21:04:48 the_paya Exp $ - -inherit flag-o-matic bsdmk freebsd - -DESCRIPTION="FreeBSD sbin utils" -KEYWORDS="~sparc-fbsd ~x86-fbsd" -SLOT="0" - -SRC_URI="mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${LIBEXEC}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - build? ( mirror://gentoo/${SYS}.tar.bz2 )" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}* - =sys-freebsd/freebsd-libexec-${RV}* - ssl? ( dev-libs/openssl ) - dev-libs/libedit - sys-libs/readline - sys-process/vixie-cron" -DEPEND="${RDEPEND} - !build? ( =sys-freebsd/freebsd-sources-${RV}* ) - =sys-freebsd/freebsd-mk-defs-${RV}*" - -PROVIDE="virtual/dev-manager" - -S="${WORKDIR}/sbin" - -IUSE="atm ipfilter ipv6 vinum suid ssl build" - -pkg_setup() { - use atm || mymakeopts="${mymakeopts} NO_ATM= " - use ipfilter || mymakeopts="${mymakeopts} NO_IPFILTER= " - use ipv6 || mymakeopts="${mymakeopts} NO_INET6= " - use vinum || mymakeopts="${mymakeopts} NO_VINUM= " - use suid || mymakeopts="${mymakeopts} NO_SUID= " - - # O3 breaks this, apparently - replace-flags -O3 -O2 -} - -REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder" - -PATCHES="${FILESDIR}/${PN}-setXid.patch - ${FILESDIR}/${PN}-7.1-zlib.patch - ${FILESDIR}/${PN}-6.2-ldconfig.patch - ${FILESDIR}/${PN}-6.1-pr102701.patch" - -src_unpack() { - freebsd_src_unpack - use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" -} - -src_install() { - freebsd_src_install - keepdir /var/log - # Needed by ldconfig: - keepdir /var/run - - # Allow users to use ping and other commands - dodir /bin - mv "${D}/sbin/ping" "${D}/bin/" || die "mv failed" - - # ext2fs can mount ext3, you just don't get the journalling - dosym mount_ext2fs sbin/mount_ext3 - - # Do we need pccard.conf if we have devd? - # Maybe ship our own sysctl.conf so things like radvd work out of the box. - cd "${WORKDIR}/etc/" - insinto /etc - doins defaults/pccard.conf minfree sysctl.conf - - # initd script for idmapd - newinitd "${FILESDIR}/idmapd.initd" idmapd - - # Install a crontab for adjkerntz - insinto /etc/cron.d - newins "${FILESDIR}/adjkerntz-crontab" adjkerntz - - # Install the periodic stuff (needs probably to be ported in a more - # gentooish way) - cd "${WORKDIR}/etc/periodic" - - doperiodic security \ - security/*.ipfwlimit \ - security/*.ip6fwlimit \ - security/*.ip6fwdenied \ - security/*.ipfwdenied - - use ipfilter && doperiodic security \ - security/*.ipf6denied \ - security/*.ipfdenied -} diff --git a/sys-freebsd/freebsd-sbin/metadata.xml b/sys-freebsd/freebsd-sbin/metadata.xml index e05b621c037c..f0b8ec2a77b4 100644 --- a/sys-freebsd/freebsd-sbin/metadata.xml +++ b/sys-freebsd/freebsd-sbin/metadata.xml @@ -9,7 +9,6 @@ <flag name='pf'> Build tools to administer the PF firewall. </flag> - <flag name='vinum'>Enable vinum support (TODO improve description)</flag> <flag name='netware'> Build libraries and tools to work with NetWare protocols (IPX and NCP). |