[arch-commits] Commit in systemd/trunk (PKGBUILD)

Dave Reisner dreisner at archlinux.org
Mon Sep 1 17:47:48 UTC 2014


    Date: Monday, September 1, 2014 @ 19:47:48
  Author: dreisner
Revision: 220878

upgpkg: systemd 216-3

- revert lz4 support
- ship /usr/lib/systemd/system-preset.d/99-default
- set correct permissions on /var/log/journal/remote

Modified:
  systemd/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-09-01 16:48:05 UTC (rev 220877)
+++ PKGBUILD	2014-09-01 17:47:48 UTC (rev 220878)
@@ -4,12 +4,12 @@
 pkgbase=systemd
 pkgname=('systemd' 'libsystemd' 'systemd-sysvcompat')
 pkgver=216
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url="http://www.freedesktop.org/wiki/Software/systemd"
 makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gobject-introspection' 'gperf'
              'gtk-doc' 'intltool' 'kmod' 'libcap' 'libgcrypt'  'libmicrohttpd' 'libxslt'
-             'lz4' 'util-linux' 'linux-api-headers' 'pam' 'python' 'python-lxml'
+             'util-linux' 'linux-api-headers' 'pam' 'python' 'python-lxml'
              'quota-tools' 'shadow' 'xz')
 options=('strip' 'debug')
 source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
@@ -31,7 +31,6 @@
       --enable-introspection \
       --enable-gtk-doc \
       --enable-compat-libs \
-      --enable-lz4 \
       --disable-audit \
       --disable-ima \
       --disable-kdbus \
@@ -46,7 +45,7 @@
   pkgdesc="system and service manager"
   license=('GPL2' 'LGPL2.1' 'MIT')
   depends=('acl' 'bash' 'dbus' 'glib2' 'kbd' 'kmod' 'hwids' 'libcap' 'libgcrypt'
-           'libsystemd' 'lz4' 'pam' 'libseccomp' 'util-linux' 'xz')
+           'libsystemd' 'pam' 'libseccomp' 'util-linux' 'xz')
   provides=('nss-myhostname' "systemd-tools=$pkgver" "udev=$pkgver")
   replaces=('nss-myhostname' 'systemd-tools' 'udev')
   conflicts=('nss-myhostname' 'systemd-tools' 'udev')
@@ -105,13 +104,16 @@
   install -Dm644 "$srcdir/initcpio-install-udev" "$pkgdir/usr/lib/initcpio/install/udev"
   install -Dm644 "$srcdir/initcpio-hook-udev" "$pkgdir/usr/lib/initcpio/hooks/udev"
 
-  # ensure proper permissions for /var/log/journal
+  # ensure proper permissions for /var/log/journal. This is only to placate
   chown root:systemd-journal "$pkgdir/var/log/journal"
-  chmod 2755 "$pkgdir/var/log/journal"
+  chmod 2755 "$pkgdir/var/log/journal"{,/remote}
 
   # fix pam file
   sed 's|system-auth|system-login|g' -i "$pkgdir/etc/pam.d/systemd-user"
 
+  # ship default policy to leave services disabled
+  echo 'disable *' >"$pkgdir"/usr/lib/systemd/system-preset/99-default.preset
+
   ### split out manpages for sysvcompat
   rm -rf "$srcdir/_sysvcompat"
   install -dm755 "$srcdir"/_sysvcompat/usr/share/man/man8/




More information about the arch-commits mailing list