1 |
mgorny 11/09/05 21:34:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: systemd-35.ebuild |
5 |
Log: |
6 |
Version bump. Still masked due to udev not bumped. |
7 |
|
8 |
(Portage version: 2.2.0_alpha51_p82/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.12 sys-apps/systemd/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/ChangeLog?rev=1.12&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/ChangeLog?rev=1.12&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/ChangeLog?r1=1.11&r2=1.12 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v |
20 |
retrieving revision 1.11 |
21 |
retrieving revision 1.12 |
22 |
diff -u -r1.11 -r1.12 |
23 |
--- ChangeLog 15 Aug 2011 07:48:11 -0000 1.11 |
24 |
+++ ChangeLog 5 Sep 2011 21:34:24 -0000 1.12 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-apps/systemd |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.11 2011/08/15 07:48:11 mgorny Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.12 2011/09/05 21:34:24 mgorny Exp $ |
30 |
+ |
31 |
+*systemd-35 (05 Sep 2011) |
32 |
+ |
33 |
+ 05 Sep 2011; Michał Górny <mgorny@g.o> +systemd-35.ebuild: |
34 |
+ Version bump. Still masked due to udev not bumped. |
35 |
|
36 |
*systemd-29-r2 (15 Aug 2011) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/systemd/systemd-35.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-35.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-35.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: systemd-35.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-35.ebuild,v 1.1 2011/09/05 21:34:24 mgorny Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
|
54 |
inherit autotools-utils bash-completion linux-info pam systemd |
55 |
|
56 |
DESCRIPTION="System and service manager for Linux" |
57 |
HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd" |
58 |
SRC_URI="http://www.freedesktop.org/software/systemd/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="" |
63 |
IUSE="acl audit cryptsetup gtk pam plymouth selinux tcpd" |
64 |
|
65 |
COMMON_DEPEND=">=sys-apps/dbus-1.4.10 |
66 |
>=sys-apps/util-linux-2.19 |
67 |
>=sys-fs/udev-172 |
68 |
sys-libs/libcap |
69 |
acl? ( sys-apps/acl ) |
70 |
audit? ( >=sys-process/audit-2 ) |
71 |
cryptsetup? ( sys-fs/cryptsetup ) |
72 |
gtk? ( |
73 |
dev-libs/dbus-glib |
74 |
>=dev-libs/glib-2.26 |
75 |
x11-libs/gtk+:2 |
76 |
>=x11-libs/libnotify-0.7 ) |
77 |
pam? ( virtual/pam ) |
78 |
plymouth? ( sys-boot/plymouth ) |
79 |
selinux? ( sys-libs/libselinux ) |
80 |
tcpd? ( sys-apps/tcp-wrappers )" |
81 |
|
82 |
# Vala-0.10 doesn't work with libnotify 0.7.1 |
83 |
VALASLOT="0.12" |
84 |
# A little higher than upstream requires |
85 |
# but I had real trouble with 2.6.37 and systemd. |
86 |
MINKV="2.6.38" |
87 |
|
88 |
# dbus, udev versions because of systemd units |
89 |
# blocker on old packages to avoid collisions with above |
90 |
# openrc blocker to avoid udev rules starting openrc scripts |
91 |
RDEPEND="${COMMON_DEPEND} |
92 |
!<sys-apps/openrc-0.8.3" |
93 |
DEPEND="${COMMON_DEPEND} |
94 |
dev-util/gperf |
95 |
dev-util/intltool |
96 |
gtk? ( dev-lang/vala:${VALASLOT} ) |
97 |
>=sys-kernel/linux-headers-${MINKV}" |
98 |
|
99 |
pkg_setup() { |
100 |
enewgroup lock # used by var-lock.mount |
101 |
enewgroup tty 5 # used by mount-setup for /dev/pts |
102 |
} |
103 |
|
104 |
src_prepare() { |
105 |
# Force the rebuild of .vala sources |
106 |
touch src/*.vala || die |
107 |
autotools-utils_src_prepare |
108 |
} |
109 |
|
110 |
src_configure() { |
111 |
local myeconfargs=( |
112 |
--with-distro=gentoo |
113 |
--with-rootdir= |
114 |
--with-rootlibdir=$(get_libdir) |
115 |
--localstatedir=/var |
116 |
--docdir=/tmp/docs |
117 |
$(use_enable acl) |
118 |
$(use_enable audit) |
119 |
$(use_enable cryptsetup libcryptsetup) |
120 |
$(use_enable gtk) |
121 |
$(use_enable pam) |
122 |
$(use_enable plymouth) |
123 |
$(use_enable selinux) |
124 |
$(use_enable tcpd tcpwrap) |
125 |
) |
126 |
|
127 |
if use gtk; then |
128 |
export VALAC="$(type -p valac-${VALASLOT})" |
129 |
fi |
130 |
|
131 |
autotools-utils_src_configure |
132 |
} |
133 |
|
134 |
src_install() { |
135 |
autotools-utils_src_install \ |
136 |
bashcompletiondir=/tmp |
137 |
|
138 |
# move files as necessary |
139 |
dobashcompletion "${D}"/tmp/systemctl-bash-completion.sh |
140 |
dodoc "${D}"/tmp/docs/* |
141 |
rm -rf "${D}"/tmp || die |
142 |
|
143 |
cd "${D}"/usr/share/man/man8/ |
144 |
for i in halt poweroff reboot runlevel shutdown telinit; do |
145 |
mv ${i}.8 systemd.${i}.8 || die |
146 |
done |
147 |
|
148 |
keepdir /run |
149 |
} |
150 |
|
151 |
pkg_preinst() { |
152 |
local CONFIG_CHECK="~AUTOFS4_FS ~CGROUPS ~DEVTMPFS ~FANOTIFY ~IPV6" |
153 |
kernel_is -ge ${MINKV//./ } || ewarn "Kernel version at least ${MINKV} required" |
154 |
check_extra_config |
155 |
} |
156 |
|
157 |
optfeature() { |
158 |
elog " [$(has_version ${1} && echo I || echo ' ')] ${1} (${2})" |
159 |
} |
160 |
|
161 |
pkg_postinst() { |
162 |
if [[ ! -L "${ROOT}"etc/mtab ]]; then |
163 |
ewarn "Upstream suggests that the /etc/mtab file should be a symlink to /proc/mounts." |
164 |
ewarn "It is known to cause users being unable to unmount user mounts. If you don't" |
165 |
ewarn "require that specific feature, please call:" |
166 |
ewarn " $ ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'" |
167 |
ewarn |
168 |
fi |
169 |
|
170 |
elog "You may need to perform some additional configuration for some programs" |
171 |
elog "to work, see the systemd manpages for loading modules and handling tmpfiles:" |
172 |
elog " $ man modules-load.d" |
173 |
elog " $ man tmpfiles.d" |
174 |
elog |
175 |
|
176 |
elog "To get additional features, a number of optional runtime dependencies may" |
177 |
elog "be installed:" |
178 |
optfeature 'dev-python/dbus-python' 'for systemd-analyze' |
179 |
optfeature 'dev-python/pycairo[svg]' 'for systemd-analyze plotting ability' |
180 |
elog |
181 |
|
182 |
ewarn "Please note this is a work-in-progress and many packages in Gentoo" |
183 |
ewarn "do not supply systemd unit files yet. You are testing it on your own" |
184 |
ewarn "responsibility. Please remember than you can pass:" |
185 |
ewarn " init=/sbin/init" |
186 |
ewarn "to your kernel to boot using sysvinit / OpenRC." |
187 |
} |