]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - initscripts/initscripts.nm
libnl3: New package.
[people/ms/ipfire-3.x.git] / initscripts / initscripts.nm
index 65119160d145de5df0a299bfc23eb1bda7a5318e..a8ad505dc188b995260b7350d1d56ea6cf2c9229 100644 (file)
@@ -6,7 +6,7 @@
 name       = initscripts
 epoch      = 1
 version    = 2.99
-release    = 14
+release    = 19
 
 groups     = System/Boot
 url        =
@@ -14,7 +14,7 @@ license    = GPLv3+
 summary    = The set of scripts that initalize the system.
 
 description
-       The initscripts package contains the basic system scripts used to boot \
+       The initscripts package contains the basic system scripts used to boot
        your system and shut the system down cleanly.
 end
 
@@ -25,6 +25,8 @@ build
        requires
                glib2-devel
                popt-devel
+               shadow-utils
+               systemd-units
        end
 
        DIR_APP = %{DIR_SOURCE}
@@ -45,11 +47,12 @@ build
                cd src && make install clean DESTDIR=%{BUILDROOT}
 
                # Install rc.local
-               install -v -m 755 %{DIR_SOURCE}/rc.local %{BUILDROT}/etc/rc.local
+               mkdir -pv %{BUILDROOT}%{sysconfdir}
+               install -v -m 755 %{DIR_SOURCE}/rc.local %{BUILDROOT}%{sysconfdir}/rc.local
 
                # Install udev rules
-               mkdir -pv %{BUILDROOT}/lib/udev/rules.d/
-               cp -vf %{DIR_SOURCE}/udev/* %{BUILDROOT}/lib/udev/rules.d/
+               mkdir -pv %{BUILDROOT}%{prefix}/lib/udev/rules.d/
+               cp -vf %{DIR_SOURCE}/udev/* %{BUILDROOT}%{prefix}/lib/udev/rules.d/
        end
 end
 
@@ -71,7 +74,15 @@ packages
                        util-linux
                end
 
-               configfiles
+               provides
+                       /bin/ipcalc
+               end
+
+               conflicts
+                       filesystem  < 002
+               end
+
+               datafiles
                        /etc/rc.local
                end