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