]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - authconfig/authconfig.nm
slang: Fix build by removing a file with rpath
[people/stevee/ipfire-3.x.git] / authconfig / authconfig.nm
index 12b7230cb1fd48e7e4e5f156001c0493a178ee9c..876b9a1bc37202ada5f9a979fd8fd3ba57acfb93 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = authconfig
-version    = 6.1.14
-release    = 2
+version    = 6.2.10
+release    = 1
 
 groups     = System/Base
 url        = https://fedorahosted.org/authconfig
@@ -13,9 +13,9 @@ license    = GPLv2+
 summary    = Command line tool for setting up authentication from network services.
 
 description
-       Authconfig is a command line utility which can configure a workstation\
-       to use shadow (more secure) passwords.  Authconfig can also configure a \
-       system to be a client for certain networked user information and \
+       Authconfig is a command line utility which can configure a workstation
+       to use shadow (more secure) passwords.  Authconfig can also configure a
+       system to be a client for certain networked user information and
        authentication schemes.
 end
 
@@ -28,6 +28,9 @@ build
                python-devel
        end
 
+       # Manually link against libresolv.
+       export LDFLAGS += -lresolv
+
        configure_options += \
                --sysconfdir=/etc \
                --localstatedir=/var \
@@ -61,12 +64,23 @@ build
 
                # Remove app icons for authconfig
                rm -rf %{BUILDROOT}/usr/share/icons
+
+               # Remove unneded stuff for X11
+               rm -rf %{BUILDROOT}/etc/X11
        end
 end
 
 packages
        package %{name}
-               requires += newt-python
+               requires
+                       libpwquality
+                       newt-python
+               end
+
+               configfiles
+                       %{sysconfdir}/sysconfig/authconfig
+                       %{sysconfdir}/pam.d
+               end
        end
 
        package %{name}-devel