]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - acl/acl.nm
file: Update to 5.18.
[people/ms/ipfire-3.x.git] / acl / acl.nm
index 069b9635c9f6a053b762dc114b110212ee4b21d8..d75ededafc6db7ddebd9a867ea313621c99a488a 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = acl
-version    = 2.2.47
-release    = 1
+version    = 2.2.51
+release    = 3
 
 groups     = System/Filesystems
 url        = http://oss.sgi.com/projects/xfs/
@@ -17,7 +17,8 @@ description
        manipulating access control lists.
 end
 
-source_dl  = ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
+source_dl  = http://download-mirror.savannah.gnu.org/releases/acl/
+sources    = %{thisapp}.src.tar.gz
 
 build
        requires
@@ -28,25 +29,25 @@ build
        end
 
        configure_options += \
-               --bindir=/bin \
-               --disable-static \
-               --mandir=/usr/share/man
+               --libexecdir=%{libdir} \
+               --disable-static
 
        make_build_targets += LIBTOOL="libtool --tag=CC"
 
+       test
+               make tests
+       end
+
+       make_install_targets += install-dev install-lib
+
        install_cmds
-               mkdir -pv %{BUILDROOT}/{,usr/}lib %{BUILDROOT}/usr/include/{acl,sys}
-               install -v -m0755 %{DIR_APP}/libacl/.libs/libacl.so.1.2.0 %{BUILDROOT}/lib
-               ln -vsf libacl.so.1.2.0 %{BUILDROOT}/lib/libacl.so.1
-               ln -vsf ../../lib/libacl.so.1 %{BUILDROOT}/usr/lib/libacl.so
-               cp -vf %{DIR_APP}/include/libacl.h %{BUILDROOT}/usr/include/acl/
-               cp -vf %{DIR_APP}/include/acl.h %{BUILDROOT}/usr/include/sys/
+               # Fix library permissions.
+               chmod 755 %{BUILDROOT}%{libdir}/libacl.so.*
        end
 end
 
 packages
        package %{name}
-       end
 
        package libacl
                template LIBS
@@ -54,6 +55,10 @@ packages
 
        package libacl-devel
                template DEVEL
+
+               # Overwrite default dependency because the
+               # libs are in a subpackage.
+               requires = libacl=%{thisver}
        end
 
        package %{name}-debuginfo