]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
isdn4k-utils: Create missing configuration file.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 Dec 2011 11:29:02 +0000 (12:29 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 Dec 2011 11:29:02 +0000 (12:29 +0100)
/etc/ppp/ioptions was missing. ipppd did not start.

Additionally, I added all other configuration files to the
configfiles section of the package.

isdn4k-utils/isdn4k-utils.nm

index 49998d5b2c20ec4750d4c5b9826220cc0bf3a9ca..ad636c18f5431124ed82f8d2674b21e90f827139 100644 (file)
@@ -6,7 +6,7 @@
 name       = isdn4k-utils
 version    = 3.2
 devel_ver  = CVS-2010-05-01
-release    = 4
+release    = 5
 thisapp    = %{name}-%{devel_ver}-patched
 
 groups     = Networking/Tools
@@ -85,6 +85,10 @@ build
                mkdir -pv %{BUILDROOT}/etc
                install -m 644 capiinit/capi.conf %{BUILDROOT}/etc
                install -m 644 %{DIR_SOURCE}/capi20.conf %{BUILDROOT}/etc
+
+               # Install ipppd configuration files.
+               mkdir -pv %{BUILDROOT}/etc/ppp
+               touch %{BUILDROOT}/etc/ppp/ioptions
        end
 end
 
@@ -92,6 +96,12 @@ packages
        package %{name}
                prerequires += systemd-units
 
+               configfiles
+                       /etc/capi.conf
+                       /etc/capi20.conf
+                       /etc/ppp/ioptions
+               end
+
                script postin
                        /bin/systemctl daemon-reload >/dev/null 2>&1 || :
                end