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