]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - systemd/systemd.nm
Merge remote-tracking branch 'ms/kernel-3.2'
[people/pmueller/ipfire-3.x.git] / systemd / systemd.nm
index d8032c298fc08b307c3865d325a3228a2625531f..3a6adddd255fddfa98d1e50a1b555586f5effb2c 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = systemd
-version    = 36
-release    = 5
+version    = 37
+release    = 4
 
 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
 groups     = System/Base
@@ -18,7 +18,7 @@ description
        SysV and LSB init scripts.
 end
 
-source_dl  = http://cgit.freedesktop.org/systemd/snapshot/
+source_dl  = http://cgit.freedesktop.org/systemd/systemd/snapshot/
 
 build
        requires
@@ -30,6 +30,7 @@ build
                docbook-utils
                docbook-xsl
                gperf
+               gettext-devel
                intltool
                libacl-devel
                libcap-devel
@@ -42,13 +43,11 @@ build
 
        configure_options += \
                --sysconfdir=/etc \
-               --libexecdir=/usr/lib \
+               --libexecdir=%{libdir} \
                --with-rootdir= \
-               --with-distro=other \
-               --with-sysvinit-path= \
-               --with-sysvrcd-path= \
+               --with-distro=ipfire \
                --with-udevrulesdir=/lib/udev/rules.d/ \
-               --with-pamlibdir=/lib/security
+               --with-pamlibdir=/%{lib}/security
 
        prepare_cmds
                ./autogen.sh ac
@@ -150,6 +149,11 @@ packages
                        and installation / configuration tool for systemd.
                end
 
+               prerequires
+                       /bin/sh
+                       coreutils
+               end
+
                files
                        /etc/systemd/system
                        /etc/tmpfiles.d
@@ -162,21 +166,21 @@ packages
 
                script postin
                        # Enable default services.
-                       systemctl enable \
+                       /bin/systemctl enable \
                                getty@.service \
                                remote-fs.target > /dev/null 2>&1 || :
                end
 
                script preun
                        # Disable default services.
-                       systemctl disable \
+                       /bin/systemctl disable \
                                getty@.service \
                                remote-fs.target > /dev/null 2>&1 || :
                end
 
                script postup
                        # Reload service files
-                       systemctl daemon-reload > /dev/null 2>&1 || :
+                       /bin/systemctl daemon-reload > /dev/null 2>&1 || :
                end
        end