summaryrefslogtreecommitdiff
path: root/community-testing
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-08-08 13:56:25 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-08-08 13:56:25 +0000
commit665308e50fd95e984da057ab8ddb6505b596b841 (patch)
tree5e25997f87cdddb052b9b26cbb285674cae6f3c2 /community-testing
parent0f9e4ba23bb6296d8bb8010f70d868fd08db9c54 (diff)
Mon Aug 8 13:56:24 UTC 2011
Diffstat (limited to 'community-testing')
-rw-r--r--community-testing/systemd/PKGBUILD79
-rw-r--r--community-testing/systemd/os-release5
-rw-r--r--community-testing/systemd/systemd.install42
3 files changed, 0 insertions, 126 deletions
diff --git a/community-testing/systemd/PKGBUILD b/community-testing/systemd/PKGBUILD
deleted file mode 100644
index 0edb31bc1..000000000
--- a/community-testing/systemd/PKGBUILD
+++ /dev/null
@@ -1,79 +0,0 @@
-# $Id: PKGBUILD 52842 2011-07-29 03:30:38Z dreisner $
-# Maintainer: Dave Reisner <dreisner@archlinux.org>
-
-pkgname=systemd
-pkgver=32
-pkgrel=1
-pkgdesc="Session and Startup manager"
-arch=('i686' 'x86_64')
-url="http://www.freedesktop.org/wiki/Software/systemd"
-license=('GPL2')
-depends=('dbus-core' 'libcap' 'util-linux>=2.19' 'udev>=172')
-makedepends=('docbook-xsl' 'libxslt' 'cryptsetup' 'gtk2' 'intltool' 'libnotify')
-optdepends=('cryptsetup: required for encrypted block devices'
- 'dbus-python: systemd-analyze'
- 'gtk2: systemadm'
- 'initscripts: legacy support for hostname and vconsole setup'
- 'initscripts-systemd: native boot and initialization scripts'
- 'libnotify: systemadm'
- 'python2-cairo: systemd-analyze'
- 'systemd-arch-units: collection of native unit files for Arch daemon/init scripts')
-groups=('systemd')
-options=('!libtool')
-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=('d8d4b42034be8ef403e72d7d2d1d1150'
- '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 \
- --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() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
-
- install -Dm644 "$srcdir/os-release" "$pkgdir/etc/os-release"
- 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"
-
- # rename man pages to avoid conflicts with sysvinit
- cd "$pkgdir/usr/share/man/man8"
- for manpage in telinit halt reboot poweroff runlevel shutdown; do
- mv {,systemd.}"$manpage.8"
- done
-
-}
-
diff --git a/community-testing/systemd/os-release b/community-testing/systemd/os-release
deleted file mode 100644
index 5e24a6031..000000000
--- a/community-testing/systemd/os-release
+++ /dev/null
@@ -1,5 +0,0 @@
-NAME="Arch Linux"
-ID=arch
-PRETTY_NAME="Arch Linux"
-ANSI_COLOR="1;36"
-
diff --git a/community-testing/systemd/systemd.install b/community-testing/systemd/systemd.install
deleted file mode 100644
index a6c4dde12..000000000
--- a/community-testing/systemd/systemd.install
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-checkgroups() {
- usr/bin/getent group lock >/dev/null || usr/sbin/groupadd -g 54 lock
-}
-
-post_install() {
- checkgroups
-
- [ -f etc/machine-id ] || bin/systemd-machine-id-setup
-
- echo "systemd has been installed to /bin/systemd. Please ensure you append"
- echo "init=/bin/systemd to your kernel command line in your bootloader."
-}
-
-post_upgrade() {
- checkgroups
-
- [ -f etc/machine-id ] || bin/systemd-machine-id-setup
- bin/systemctl daemon-reexec >/dev/null || :
-
- newpkgver=${1%-*}
- oldpkgver=${2%-*}
-
- # catch v31 need for restarting systemd-logind.service
- if [ "$newpkgver" -ge 31 ] && [ "$oldpkgver" -lt 31 ]; then
- # but only if systemd is running
- if [ -d sys/fs/cgroup/systemd ]; then
- bin/systemctl try-restart systemd-logind.service
- fi
- fi
-}
-
-pre_remove() {
- bin/rm -f etc/systemd/system/default.target
-}
-
-post_remove() {
- usr/bin/getent group lock >/dev/null && usr/sbin/groupdel lock
-}
-
-# vim:set ts=2 sw=2 et: