1 |
the_paya 09/01/22 21:04:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freebsd-sbin-7.1.ebuild |
5 |
Log: |
6 |
Import of the 7.1 ebuilds from gentoo-bsd overlay. |
7 |
(Portage version: 2.2_rc23/cvs/FreeBSD i386) |
8 |
|
9 |
Revision Changes Path |
10 |
1.47 sys-freebsd/freebsd-sbin/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog?rev=1.47&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog?rev=1.47&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog?r1=1.46&r2=1.47 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v |
19 |
retrieving revision 1.46 |
20 |
retrieving revision 1.47 |
21 |
diff -u -r1.46 -r1.47 |
22 |
--- ChangeLog 8 Jan 2009 20:02:49 -0000 1.46 |
23 |
+++ ChangeLog 22 Jan 2009 21:04:48 -0000 1.47 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for sys-freebsd/freebsd-sbin |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.46 2009/01/08 20:02:49 aballier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.47 2009/01/22 21:04:48 the_paya Exp $ |
29 |
+ |
30 |
+*freebsd-sbin-7.1 (22 Jan 2009) |
31 |
+ |
32 |
+ 22 Jan 2009; Javier Villavicencio <the_paya@g.o> |
33 |
+ +files/freebsd-sbin-7.1-zlib.patch, +files/idmapd.initd, |
34 |
+ +freebsd-sbin-7.1.ebuild: |
35 |
+ Import 7.1 ebuilds from gentoo-bsd overlay. |
36 |
|
37 |
08 Jan 2009; Alexis Ballier <aballier@g.o> |
38 |
freebsd-sbin-6.2-r2.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-freebsd/freebsd-sbin/freebsd-sbin-7.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-7.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-7.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: freebsd-sbin-7.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 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-7.1.ebuild,v 1.1 2009/01/22 21:04:48 the_paya Exp $ |
52 |
|
53 |
inherit flag-o-matic bsdmk freebsd |
54 |
|
55 |
DESCRIPTION="FreeBSD sbin utils" |
56 |
KEYWORDS="~sparc-fbsd ~x86-fbsd" |
57 |
SLOT="0" |
58 |
|
59 |
SRC_URI="mirror://gentoo/${SBIN}.tar.bz2 |
60 |
mirror://gentoo/${CONTRIB}.tar.bz2 |
61 |
mirror://gentoo/${LIB}.tar.bz2 |
62 |
mirror://gentoo/${LIBEXEC}.tar.bz2 |
63 |
mirror://gentoo/${USBIN}.tar.bz2 |
64 |
mirror://gentoo/${ETC}.tar.bz2 |
65 |
build? ( mirror://gentoo/${SYS}.tar.bz2 )" |
66 |
|
67 |
RDEPEND="=sys-freebsd/freebsd-lib-${RV}* |
68 |
=sys-freebsd/freebsd-libexec-${RV}* |
69 |
ssl? ( dev-libs/openssl ) |
70 |
dev-libs/libedit |
71 |
sys-libs/readline |
72 |
sys-process/vixie-cron" |
73 |
DEPEND="${RDEPEND} |
74 |
!build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
75 |
=sys-freebsd/freebsd-mk-defs-${RV}*" |
76 |
|
77 |
PROVIDE="virtual/dev-manager" |
78 |
|
79 |
S="${WORKDIR}/sbin" |
80 |
|
81 |
IUSE="atm ipfilter ipv6 vinum suid ssl build" |
82 |
|
83 |
pkg_setup() { |
84 |
use atm || mymakeopts="${mymakeopts} NO_ATM= " |
85 |
use ipfilter || mymakeopts="${mymakeopts} NO_IPFILTER= " |
86 |
use ipv6 || mymakeopts="${mymakeopts} NO_INET6= " |
87 |
use vinum || mymakeopts="${mymakeopts} NO_VINUM= " |
88 |
use suid || mymakeopts="${mymakeopts} NO_SUID= " |
89 |
|
90 |
# O3 breaks this, apparently |
91 |
replace-flags -O3 -O2 |
92 |
} |
93 |
|
94 |
REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder" |
95 |
|
96 |
PATCHES="${FILESDIR}/${PN}-setXid.patch |
97 |
${FILESDIR}/${PN}-7.1-zlib.patch |
98 |
${FILESDIR}/${PN}-6.2-ldconfig.patch |
99 |
${FILESDIR}/${PN}-6.1-pr102701.patch" |
100 |
|
101 |
src_unpack() { |
102 |
freebsd_src_unpack |
103 |
use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
freebsd_src_install |
108 |
keepdir /var/log |
109 |
# Needed by ldconfig: |
110 |
keepdir /var/run |
111 |
|
112 |
# Allow users to use ping and other commands |
113 |
dodir /bin |
114 |
mv "${D}/sbin/ping" "${D}/bin/" || die "mv failed" |
115 |
|
116 |
# ext2fs can mount ext3, you just don't get the journalling |
117 |
dosym mount_ext2fs sbin/mount_ext3 |
118 |
|
119 |
# Do we need pccard.conf if we have devd? |
120 |
# Maybe ship our own sysctl.conf so things like radvd work out of the box. |
121 |
cd "${WORKDIR}/etc/" |
122 |
insinto /etc |
123 |
doins defaults/pccard.conf minfree sysctl.conf |
124 |
|
125 |
# initd script for idmapd |
126 |
newinitd "${FILESDIR}/idmapd.initd" idmapd |
127 |
|
128 |
# Install a crontab for adjkerntz |
129 |
insinto /etc/cron.d |
130 |
newins "${FILESDIR}/adjkerntz-crontab" adjkerntz |
131 |
|
132 |
# Install the periodic stuff (needs probably to be ported in a more |
133 |
# gentooish way) |
134 |
cd "${WORKDIR}/etc/periodic" |
135 |
|
136 |
doperiodic security \ |
137 |
security/*.ipfwlimit \ |
138 |
security/*.ip6fwlimit \ |
139 |
security/*.ip6fwdenied \ |
140 |
security/*.ipfwdenied |
141 |
|
142 |
use ipfilter && doperiodic security \ |
143 |
security/*.ipf6denied \ |
144 |
security/*.ipfdenied |
145 |
} |