]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
pam: Remove configuration files that are already provided by setup.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 1 Oct 2011 11:07:29 +0000 (13:07 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 1 Oct 2011 11:07:29 +0000 (13:07 +0200)
pam/pam.nm
pam/securetty [deleted file]

index a883768322f1c84b21045b431197aafbe91e7e4c..3772519fa98ebd29d8ee80da8f3672cb6691dc58 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = pam
 version    = 1.1.0
-release    = 2
+release    = 3
 thisapp    = Linux-PAM-%{version}
 
 groups     = System/Base
@@ -54,7 +54,10 @@ build
                #sed -i 's/yes/no/' %{BUILDROOT}/etc/default/useradd
                mkdir -pv %{BUILDROOT}/etc/security
                install -v -m644 %{DIR_SOURCE}/pam_env.conf %{BUILDROOT}/etc/security/pam_env.conf
-               cp -vf %{DIR_SOURCE}/{login.defs,securetty} %{BUILDROOT}/etc
+               cp -vf %{DIR_SOURCE}/login.defs %{BUILDROOT}/etc
+
+               # Included in setup package
+               rm -f %{BUILDROOT}/etc/environment
        end
 end
 
@@ -64,7 +67,7 @@ packages
                        pam_ldap
                end
        end
-       
+
        package %{name}-devel
                template DEVEL
        end
diff --git a/pam/securetty b/pam/securetty
deleted file mode 100644 (file)
index f176d04..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-tty1
-tty2
-tty3
-tty4
-tty5
-tty6
-ttyp0
-ttyp1
-ttyp2
-ttyp3
-ttyp4
-ttyp5
-ttyp6
-ttyp7
-ttyp8
-ttyp9
-ttypa
-ttypb
-ttypc
-ttypd
-ttype
-ttypf