1 |
aballier 13/08/26 20:45:55 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freebsd-ubin-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-ubin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog?rev=1.96&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog?rev=1.96&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog?r1=1.95&r2=1.96 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/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:37 -0000 1.95 |
24 |
+++ ChangeLog 26 Aug 2013 20:45:55 -0000 1.96 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sys-freebsd/freebsd-ubin |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog,v 1.95 2013/08/22 15:47:37 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog,v 1.96 2013/08/26 20:45:55 aballier Exp $ |
30 |
+ |
31 |
+*freebsd-ubin-9.2_rc3 (26 Aug 2013) |
32 |
+ |
33 |
+ 26 Aug 2013; Alexis Ballier <aballier@g.o> |
34 |
+ +freebsd-ubin-9.2_rc3.ebuild: |
35 |
+ bump to rc3 |
36 |
|
37 |
*freebsd-ubin-9.2_rc2 (22 Aug 2013) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-freebsd/freebsd-ubin/freebsd-ubin-9.2_rc3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-ubin/freebsd-ubin-9.2_rc3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-ubin/freebsd-ubin-9.2_rc3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: freebsd-ubin-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-ubin/freebsd-ubin-9.2_rc3.ebuild,v 1.1 2013/08/26 20:45:55 aballier Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit bsdmk freebsd flag-o-matic pam multilib multibuild multilib-build |
56 |
|
57 |
DESCRIPTION="FreeBSD's base system source for /usr/bin" |
58 |
SLOT="0" |
59 |
IUSE="ar atm audit bluetooth ipv6 kerberos netware nis ssl usb build zfs" |
60 |
LICENSE="BSD zfs? ( CDDL )" |
61 |
|
62 |
if [[ ${PV} != *9999* ]]; then |
63 |
KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
64 |
SRC_URI="mirror://gentoo/${UBIN}.tar.bz2 |
65 |
mirror://gentoo/${CONTRIB}.tar.bz2 |
66 |
mirror://gentoo/${LIB}.tar.bz2 |
67 |
mirror://gentoo/${ETC}.tar.bz2 |
68 |
mirror://gentoo/${BIN}.tar.bz2 |
69 |
mirror://gentoo/${INCLUDE}.tar.bz2 |
70 |
zfs? ( mirror://gentoo/${CDDL}.tar.bz2 ) |
71 |
build? ( mirror://gentoo/${SYS}.tar.bz2 )" |
72 |
fi |
73 |
|
74 |
RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,${MULTILIB_USEDEP}] |
75 |
ssl? ( dev-libs/openssl ) |
76 |
kerberos? ( virtual/krb5 ) |
77 |
ar? ( >=app-arch/libarchive-3 ) |
78 |
virtual/pam |
79 |
sys-libs/zlib |
80 |
>=sys-libs/ncurses-5.9 |
81 |
!sys-process/fuser-bsd |
82 |
!dev-util/csup" |
83 |
|
84 |
DEPEND="${RDEPEND} |
85 |
sys-devel/flex |
86 |
!build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
87 |
=sys-freebsd/freebsd-mk-defs-${RV}*" |
88 |
|
89 |
RDEPEND="${RDEPEND} |
90 |
>=sys-auth/pambase-20080219.1 |
91 |
sys-process/cronbase" |
92 |
|
93 |
S="${WORKDIR}/usr.bin" |
94 |
|
95 |
PATCHES=( "${FILESDIR}/${PN}-6.0-bsdcmp.patch" |
96 |
"${FILESDIR}/${PN}-9.0-fixmakefiles.patch" |
97 |
"${FILESDIR}/${PN}-setXid.patch" |
98 |
"${FILESDIR}/${PN}-lint-stdarg.patch" |
99 |
"${FILESDIR}/${PN}-9.1-kdump-ioctl.patch" |
100 |
"${FILESDIR}/${PN}-8.0-xinstall.patch" |
101 |
"${FILESDIR}/${PN}-9.1-bsdar.patch" |
102 |
"${FILESDIR}/${PN}-9.1-minigzip.patch" |
103 |
"${FILESDIR}/${PN}-9.1-grep.patch" |
104 |
"${FILESDIR}/${PN}-9.1-ar-libarchive3.patch" ) |
105 |
|
106 |
# Here we remove some sources we don't need because they are already |
107 |
# provided by portage's packages or similar. In order: |
108 |
# - Archiving tools, provided by their own ebuilds |
109 |
# - ncurses stuff |
110 |
# - less stuff |
111 |
# - bind utils |
112 |
# - rsh stuff |
113 |
# - binutils gprof |
114 |
# - dc stuff |
115 |
# and the rest are misc utils we already provide somewhere else. |
116 |
REMOVE_SUBDIRS="bzip2 bzip2recover tar cpio |
117 |
gzip gprof |
118 |
lzmainfo xz xzdec |
119 |
unzip |
120 |
tput tset tabs |
121 |
less lessecho lesskey |
122 |
dig hesinfo nslookup nsupdate host |
123 |
rsh rlogin rusers rwho ruptime |
124 |
compile_et lex vi smbutil file vacation nc ftp telnet |
125 |
c99 c89 |
126 |
bc dc |
127 |
whois tftp man" |
128 |
|
129 |
pkg_setup() { |
130 |
use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
131 |
use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " |
132 |
use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
133 |
use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
134 |
use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " |
135 |
use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
136 |
use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
137 |
use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
138 |
use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
139 |
use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
140 |
mymakeopts="${mymakeopts} WITHOUT_CLANG= " |
141 |
} |
142 |
|
143 |
pkg_preinst() { |
144 |
# bison installs a /usr/bin/yacc symlink ... |
145 |
# we need to remove it to avoid triggering |
146 |
# collision-protect errors |
147 |
if [[ -L ${ROOT}/usr/bin/yacc ]] ; then |
148 |
rm -f "${ROOT}"/usr/bin/yacc |
149 |
fi |
150 |
} |
151 |
|
152 |
src_prepare() { |
153 |
use build || ln -s "/usr/src/sys" "${WORKDIR}/sys" |
154 |
|
155 |
# Rename manpage for renamed cmp |
156 |
mv "${S}"/cmp/cmp.1 "${S}"/cmp/bsdcmp.1 || die |
157 |
# Rename manpage for renamed ar |
158 |
mv "${S}"/ar/ar.1 "${S}"/ar/freebsd-ar.1 || die |
159 |
# Fix whereis(1) manpath search. |
160 |
sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h" |
161 |
|
162 |
# Build a dynamic make |
163 |
sed -i -e '/^NO_SHARED/ s/^/#/' "${S}"/make/Makefile || die |
164 |
|
165 |
# Disable it here otherwise our patch wont apply |
166 |
use ar || dummy_mk ar |
167 |
} |
168 |
|
169 |
setup_multilib_vars() { |
170 |
if ! multilib_is_native_abi ; then |
171 |
cd "${WORKDIR}/usr.bin/ldd" || die |
172 |
export mymakeopts="${mymakeopts} PROG=ldd32 WITHOUT_MAN=" |
173 |
else |
174 |
cd "${S}" |
175 |
fi |
176 |
"$@" |
177 |
} |
178 |
|
179 |
src_compile() { |
180 |
local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
181 |
multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile |
182 |
} |
183 |
|
184 |
src_install() { |
185 |
local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
186 |
multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install |
187 |
|
188 |
# baselayout requires these in /bin |
189 |
dodir /bin |
190 |
for bin in sed printf fuser; do |
191 |
mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed" |
192 |
dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed" |
193 |
done |
194 |
|
195 |
for pamdfile in login passwd su; do |
196 |
newpamd "${FILESDIR}/${pamdfile}.1.pamd" ${pamdfile} || die |
197 |
done |
198 |
|
199 |
cd "${WORKDIR}/etc" |
200 |
insinto /etc |
201 |
doins remote phones opieaccess fbtab || die |
202 |
|
203 |
exeinto /etc/cron.daily |
204 |
newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb || die |
205 |
|
206 |
# tip requires /var/spool/lock/, bug #200700 |
207 |
keepdir /var/spool/lock |
208 |
} |
209 |
|
210 |
pkg_postinst() { |
211 |
# We need to ensure that login.conf.db is up-to-date. |
212 |
if [[ -e "${ROOT}"etc/login.conf ]] ; then |
213 |
einfo "Updating ${ROOT}etc/login.conf.db" |
214 |
"${ROOT}"usr/bin/cap_mkdb -f "${ROOT}"etc/login.conf "${ROOT}"etc/login.conf |
215 |
elog "Remember to run cap_mkdb /etc/login.conf after making changes to it" |
216 |
fi |
217 |
} |
218 |
|
219 |
pkg_postrm() { |
220 |
# and if we uninstall yacc but keep bison, |
221 |
# lets restore the /usr/bin/yacc symlink |
222 |
if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then |
223 |
ln -s yacc.bison "${ROOT}"/usr/bin/yacc |
224 |
fi |
225 |
} |