Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-sbin: ChangeLog freebsd-sbin-8.2.ebuild
Date: Wed, 06 Jul 2011 06:06:58
Message-Id: 20110706060647.AFACB20034@flycatcher.gentoo.org
1 aballier 11/07/06 06:06:47
2
3 Modified: ChangeLog
4 Added: freebsd-sbin-8.2.ebuild
5 Log:
6 bump to 8.2
7
8 (Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.57 sys-freebsd/freebsd-sbin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog?rev=1.57&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog?rev=1.57&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog?r1=1.56&r2=1.57
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v
20 retrieving revision 1.56
21 retrieving revision 1.57
22 diff -u -r1.56 -r1.57
23 --- ChangeLog 15 Apr 2011 21:47:56 -0000 1.56
24 +++ ChangeLog 6 Jul 2011 06:06:47 -0000 1.57
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-freebsd/freebsd-sbin
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.56 2011/04/15 21:47:56 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.57 2011/07/06 06:06:47 aballier Exp $
30 +
31 +*freebsd-sbin-8.2 (06 Jul 2011)
32 +
33 + 06 Jul 2011; Alexis Ballier <aballier@g.o> +freebsd-sbin-8.2.ebuild:
34 + bump to 8.2
35
36 15 Apr 2011; Ulrich Mueller <ulm@g.o> freebsd-sbin-7.2.ebuild,
37 freebsd-sbin-8.0.ebuild:
38
39
40
41 1.1 sys-freebsd/freebsd-sbin/freebsd-sbin-8.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-8.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-8.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: freebsd-sbin-8.2.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-8.2.ebuild,v 1.1 2011/07/06 06:06:47 aballier Exp $
51
52 EAPI=2
53
54 inherit bsdmk freebsd
55
56 DESCRIPTION="FreeBSD sbin utils"
57 KEYWORDS="~sparc-fbsd ~x86-fbsd"
58 SLOT="0"
59
60 SRC_URI="mirror://gentoo/${SBIN}.tar.bz2
61 mirror://gentoo/${CONTRIB}.tar.bz2
62 mirror://gentoo/${LIB}.tar.bz2
63 mirror://gentoo/${LIBEXEC}.tar.bz2
64 mirror://gentoo/${USBIN}.tar.bz2
65 mirror://gentoo/${ETC}.tar.bz2
66 build? ( mirror://gentoo/${SYS}.tar.bz2 )"
67
68 RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?]
69 =sys-freebsd/freebsd-libexec-${RV}*
70 ssl? ( dev-libs/openssl )
71 dev-libs/libedit
72 sys-libs/readline
73 sys-process/vixie-cron
74 atm? ( net-analyzer/bsnmp )"
75 DEPEND="${RDEPEND}
76 !build? ( =sys-freebsd/freebsd-sources-${RV}* )
77 =sys-freebsd/freebsd-mk-defs-${RV}*"
78
79 S="${WORKDIR}/sbin"
80
81 IUSE="atm ipfilter +pf ipv6 build ssl +cxx netware"
82
83 pkg_setup() {
84 use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
85 use cxx || mymakeopts="${mymakeopts} WITHOUT_CXX="
86 use ipfilter || mymakeopts="${mymakeopts} WITHOUT_IPFILTER= "
87 use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT="
88 use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= "
89 use pf || mymakeopts="${mymakeopts} WITHOUT_PF= "
90 use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL="
91 }
92
93 REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder"
94
95 PATCHES=( "${FILESDIR}/${PN}-setXid.patch"
96 "${FILESDIR}/${PN}-7.1-zlib.patch"
97 "${FILESDIR}/${PN}-6.2-ldconfig.patch"
98 "${FILESDIR}/${PN}-6.1-pr102701.patch" )
99
100 src_prepare() {
101 use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys"
102 }
103
104 src_install() {
105 freebsd_src_install
106 keepdir /var/log
107 # Needed by ldconfig:
108 keepdir /var/run
109
110 # Maybe ship our own sysctl.conf so things like radvd work out of the box.
111 # New wireless config method requires regdomain.xml in /etc
112 cd "${WORKDIR}/etc/"
113 insinto /etc
114 doins minfree sysctl.conf regdomain.xml || die
115
116 # initd script for idmapd
117 newinitd "${FILESDIR}/idmapd.initd" idmapd
118
119 # Install a crontab for adjkerntz
120 insinto /etc/cron.d
121 newins "${FILESDIR}/adjkerntz-crontab" adjkerntz
122
123 # Install the periodic stuff (needs probably to be ported in a more
124 # gentooish way)
125 cd "${WORKDIR}/etc/periodic"
126
127 doperiodic security \
128 security/*.ipfwlimit \
129 security/*.ipfwdenied || die
130
131 use ipfilter && { doperiodic security \
132 security/*.ipfdenied || die ; }
133
134 use pf && { doperiodic security \
135 security/*.pfdenied || die ; }
136 }