summaryrefslogtreecommitdiff
path: root/community/systemd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/systemd/PKGBUILD')
-rw-r--r--community/systemd/PKGBUILD41
1 files changed, 27 insertions, 14 deletions
diff --git a/community/systemd/PKGBUILD b/community/systemd/PKGBUILD
index 0efa9c6d0..03f85a55d 100644
--- a/community/systemd/PKGBUILD
+++ b/community/systemd/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 49447 2011-06-16 13:09:25Z dreisner $
-# Maintainer: Dave Reisner <d@falconindy.com>
+# $Id: PKGBUILD 53341 2011-08-03 04:06:06Z dreisner $
+# Maintainer: Dave Reisner <dreisner@archlinux.org>
pkgname=systemd
-pkgver=29
+pkgver=33
pkgrel=1
pkgdesc="Session and Startup manager"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/systemd"
license=('GPL2')
-depends=('dbus-core' 'sysvinit' 'util-linux>=2.19')
-makedepends=('docbook-xsl' 'libxslt' 'cryptsetup' 'gtk2' 'libnotify')
+depends=('dbus-core' 'libcap' 'util-linux>=2.19' 'udev>=172')
+makedepends=('docbook-xsl' 'libxslt' 'cryptsetup' 'gtk2' 'intltool' 'libnotify' 'gperf')
optdepends=('cryptsetup: required for encrypted block devices'
'dbus-python: systemd-analyze'
'gtk2: systemadm'
@@ -20,29 +20,42 @@ optdepends=('cryptsetup: required for encrypted block devices'
'systemd-arch-units: collection of native unit files for Arch daemon/init scripts')
groups=('systemd')
options=('!libtool')
-backup=(etc/systemd/system.conf
- etc/tmpfiles.d/console.conf
- usr/lib/tmpfiles.d/legacy.conf
- usr/lib/tmpfiles.d/systemd.conf
- usr/lib/tmpfiles.d/x11.conf)
+backup=(etc/dbus-1/system.d/org.freedesktop.systemd1.conf
+ etc/dbus-1/system.d/org.freedesktop.hostname1.conf
+ etc/dbus-1/system.d/org.freedesktop.login1.conf
+ etc/dbus-1/system.d/org.freedesktop.locale1.conf
+ etc/dbus-1/system.d/org.freedesktop.timedate1.conf
+ etc/systemd/system.conf
+ etc/systemd/user.conf
+ etc/systemd/systemd-logind.conf)
install=systemd.install
source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.bz2"
"os-release")
-md5sums=('e91ffd208c5f03e5c11966eee7b684b0'
+md5sums=('361cad7c3debbdd81c211527509ba181'
'752636def0db3c03f121f8b4f44a63cd')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ # Don't unset locale in getty
+ # https://bugzilla.redhat.com/show_bug.cgi?id=663900
+ sed -i -e '/^Environ.*LANG/s/^/#/' \
+ -e '/^ExecStart/s/agetty/& -8/' units/getty@.service.m4
+
./configure --prefix=/usr \
- --with-rootdir= \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
+ --libdir=/usr/lib \
--localstatedir=/var \
+ --with-rootdir= \
+ --with-rootlibdir=/lib \
--disable-audit \
--disable-tcpwrap
make
+
+ # fix .so links in manpages
+ sed -i 's|\.so halt\.8|.so systemd.halt.8|' man/{halt,poweroff}.8
}
package() {
@@ -51,7 +64,7 @@ package() {
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/os-release" "$pkgdir/etc/os-release"
- printf "d /run/console 755 root root\n" > "$pkgdir/etc/tmpfiles.d/console.conf"
+ printf "d /run/console 755 root root\n" > "$pkgdir/usr/lib/tmpfiles.d/console.conf"
# fix systemd-analyze for python2
sed -i '1s/python$/python2/' "$pkgdir/usr/bin/systemd-analyze"
@@ -61,5 +74,5 @@ package() {
for manpage in telinit halt reboot poweroff runlevel shutdown; do
mv {,systemd.}"$manpage.8"
done
-}
+}