1 |
aballier 13/08/26 20:46:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freebsd-usbin-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.96 sys-freebsd/freebsd-usbin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog?rev=1.96&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog?rev=1.96&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog?r1=1.95&r2=1.96 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v |
20 |
retrieving revision 1.95 |
21 |
retrieving revision 1.96 |
22 |
diff -u -r1.95 -r1.96 |
23 |
--- ChangeLog 22 Aug 2013 15:47:59 -0000 1.95 |
24 |
+++ ChangeLog 26 Aug 2013 20:46:17 -0000 1.96 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sys-freebsd/freebsd-usbin |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.95 2013/08/22 15:47:59 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.96 2013/08/26 20:46:17 aballier Exp $ |
30 |
+ |
31 |
+*freebsd-usbin-9.2_rc3 (26 Aug 2013) |
32 |
+ |
33 |
+ 26 Aug 2013; Alexis Ballier <aballier@g.o> |
34 |
+ +freebsd-usbin-9.2_rc3.ebuild: |
35 |
+ bump to rc3 |
36 |
|
37 |
*freebsd-usbin-9.2_rc2 (22 Aug 2013) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-freebsd/freebsd-usbin/freebsd-usbin-9.2_rc3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-usbin/freebsd-usbin-9.2_rc3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-usbin/freebsd-usbin-9.2_rc3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: freebsd-usbin-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-usbin/freebsd-usbin-9.2_rc3.ebuild,v 1.1 2013/08/26 20:46:17 aballier Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
|
55 |
inherit bsdmk freebsd flag-o-matic eutils |
56 |
|
57 |
DESCRIPTION="FreeBSD /usr/sbin tools" |
58 |
SLOT="0" |
59 |
|
60 |
if [[ ${PV} != *9999* ]]; then |
61 |
KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
62 |
SRC_URI="mirror://gentoo/${P}.tar.bz2 |
63 |
mirror://gentoo/${CONTRIB}.tar.bz2 |
64 |
mirror://gentoo/${UBIN}.tar.bz2 |
65 |
mirror://gentoo/${LIB}.tar.bz2 |
66 |
mirror://gentoo/${SBIN}.tar.bz2 |
67 |
mirror://gentoo/${ETC}.tar.bz2 |
68 |
mirror://gentoo/${GNU}.tar.bz2 |
69 |
nis? ( mirror://gentoo/${LIBEXEC}.tar.bz2 ) |
70 |
build? ( mirror://gentoo/${SYS}.tar.bz2 |
71 |
mirror://gentoo/${INCLUDE}.tar.bz2 )" |
72 |
fi |
73 |
|
74 |
RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,netware?] |
75 |
=sys-freebsd/freebsd-libexec-${RV}* |
76 |
=sys-freebsd/freebsd-contrib-${RV}* |
77 |
acpi? ( sys-power/iasl ) |
78 |
build? ( sys-apps/baselayout ) |
79 |
ssl? ( dev-libs/openssl ) |
80 |
>=app-arch/libarchive-3 |
81 |
sys-apps/tcp-wrappers |
82 |
dev-util/dialog |
83 |
>=dev-libs/libedit-20120311.3.0-r1 |
84 |
net-libs/libpcap |
85 |
kerberos? ( app-crypt/heimdal )" |
86 |
DEPEND="${RDEPEND} |
87 |
=sys-freebsd/freebsd-mk-defs-${RV}* |
88 |
=sys-freebsd/freebsd-ubin-${RV}* |
89 |
!build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
90 |
sys-apps/texinfo |
91 |
sys-devel/flex" |
92 |
|
93 |
S="${WORKDIR}/usr.sbin" |
94 |
|
95 |
IUSE="acpi atm audit bluetooth floppy ipv6 kerberos minimal netware nis pam ssl usb build" |
96 |
|
97 |
pkg_setup() { |
98 |
# Release crunch is something like minimal. It seems to remove everything |
99 |
# which is not needed to work. |
100 |
use minimal && mymakeopts="${mymakeopts} RELEASE_CRUNCH= " |
101 |
|
102 |
use acpi || mymakeopts="${mymakeopts} WITHOUT_ACPI= " |
103 |
use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
104 |
use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " |
105 |
use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
106 |
use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
107 |
use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
108 |
use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
109 |
use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " |
110 |
use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
111 |
use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
112 |
use floppy || mymakeopts="${mymakeopts} WITHOUT_FLOPPY= " |
113 |
use kerberos || mymakeopts="${mymakeopts} WITHOUT_GSSAPI= " |
114 |
|
115 |
mymakeopts="${mymakeopts} WITHOUT_BIND_NAMED= WITHOUT_BIND_DNSSEC= WITHOUT_PF= WITHOUT_LPR= WITHOUT_SENDMAIL= WITHOUT_AUTHPF= WITHOUT_MAILWRAPPER= " |
116 |
|
117 |
append-flags $(test-flags -fno-strict-aliasing) |
118 |
} |
119 |
|
120 |
PATCHES=( |
121 |
"${FILESDIR}/${PN}-adduser.patch" |
122 |
"${FILESDIR}/${PN}-9.0-newsyslog.patch" |
123 |
"${FILESDIR}/${PN}-9.1-bsdxml2expat.patch" |
124 |
) |
125 |
|
126 |
REMOVE_SUBDIRS=" |
127 |
named named-checkzone named-checkconf rndc rndc-confgen |
128 |
dnssec-keygen dnssec-signzone |
129 |
tcpdchk tcpdmatch |
130 |
sendmail praliases editmap mailstats makemap |
131 |
sysinstall cron mailwrapper ntp bsnmpd |
132 |
tcpdump ndp inetd |
133 |
wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli wpa/wpa_passphrase |
134 |
zic amd |
135 |
pkg pkg_install freebsd-update service sysrc" |
136 |
|
137 |
src_prepare() { |
138 |
if ! use build; then |
139 |
ln -s "/usr/src/sys" "${WORKDIR}/sys" |
140 |
ln -s "/usr/include" "${WORKDIR}/include" |
141 |
else |
142 |
dummy_mk mount_smbfs |
143 |
fi |
144 |
# Don't install mtree format manpage |
145 |
# it's installed by libarchive. |
146 |
sed -e "s: mtree.5::g" -i "${S}"/mtree/Makefile |
147 |
} |
148 |
|
149 |
src_compile() { |
150 |
# Preparing to build nmtree |
151 |
cd "${WORKDIR}/lib/libnetbsd" |
152 |
freebsd_src_compile |
153 |
|
154 |
cd "${S}" |
155 |
freebsd_src_compile |
156 |
} |
157 |
|
158 |
src_install() { |
159 |
# By creating these directories we avoid having to do a |
160 |
# more complex hack |
161 |
dodir /usr/share/doc |
162 |
dodir /sbin |
163 |
dodir /usr/libexec |
164 |
dodir /usr/bin |
165 |
|
166 |
# FILESDIR is used by some makefiles which will install files |
167 |
# in the wrong place, just put it in the doc directory. |
168 |
mkinstall DOCDIR=/usr/share/doc/${PF} || die "Install failed" |
169 |
|
170 |
# Most of these now come from openrc. |
171 |
for util in nfs rpc.statd rpc.lockd; do |
172 |
newinitd "${FILESDIR}/"${util}.initd ${util} || die |
173 |
if [[ -e "${FILESDIR}"/${util}.confd ]]; then \ |
174 |
newconfd "${FILESDIR}"/${util}.confd ${util} || die |
175 |
fi |
176 |
done |
177 |
|
178 |
for class in daily monthly weekly; do |
179 |
cat - > "${T}/periodic.${class}" <<EOS |
180 |
#!/bin/sh |
181 |
/usr/sbin/periodic ${class} |
182 |
EOS |
183 |
exeinto /etc/cron.${class} |
184 |
newexe "${T}/periodic.${class}" periodic |
185 |
done |
186 |
|
187 |
# Install the pw.conf file to let pw use Gentoo's skel location |
188 |
insinto /etc |
189 |
doins "${FILESDIR}/pw.conf" || die |
190 |
|
191 |
cd "${WORKDIR}/etc" |
192 |
doins apmd.conf syslog.conf newsyslog.conf nscd.conf || die |
193 |
|
194 |
insinto /etc/ppp |
195 |
doins ppp/ppp.conf || die |
196 |
|
197 |
if use bluetooth; then |
198 |
insinto /etc/bluetooth |
199 |
doins bluetooth/* || die |
200 |
rm -f "${D}"/etc/bluetooth/Makefile |
201 |
fi |
202 |
|
203 |
# Install the periodic stuff (needs probably to be ported in a more |
204 |
# gentooish way) |
205 |
cd "${WORKDIR}/etc/periodic" |
206 |
|
207 |
doperiodic daily daily/*.accounting |
208 |
doperiodic monthly monthly/*.accounting |
209 |
} |
210 |
|
211 |
pkg_postinst() { |
212 |
# We need to run pwd_mkdb if key files are not present |
213 |
# If they are, then there is no need to run pwd_mkdb |
214 |
if [[ ! -e "${ROOT}etc/passwd" || ! -e "${ROOT}etc/pwd.db" || ! -e "${ROOT}etc/spwd.db" ]] ; then |
215 |
if [[ -e "${ROOT}etc/master.passwd" ]] ; then |
216 |
einfo "Generating passwd files from ${ROOT}etc/master.passwd" |
217 |
"${ROOT}"usr/sbin/pwd_mkdb -p -d "${ROOT}etc" "${ROOT}etc/master.passwd" |
218 |
else |
219 |
eerror "${ROOT}etc/master.passwd does not exist!" |
220 |
eerror "You will no be able to log into your system!" |
221 |
fi |
222 |
fi |
223 |
|
224 |
for logfile in messages security auth.log maillog lpd-errs xferlog cron \ |
225 |
debug.log slip.log ppp.log; do |
226 |
[[ -f "${ROOT}/var/log/${logfile}" ]] || touch "${ROOT}/var/log/${logfile}" |
227 |
done |
228 |
} |