]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
squid: Replace filter_requires.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Oct 2011 23:08:56 +0000 (01:08 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Oct 2011 23:08:56 +0000 (01:08 +0200)
And a small buildfix with new GCC.

squid/squid.nm

index 20d542dfb6ef299751e5608b6db4592e9f3e5ee3..9bb3e6c5e4de32059d5c7aba6889ad5b4fcaec69 100644 (file)
@@ -4,9 +4,9 @@
 ###############################################################################
 
 name       = squid
-version    = 3.1.12
 major_ver  = 3.1
-release    = 1
+version    = %{major_ver}.12
+release    = 2
 
 maintainer = Christian Schmidt <christian.schmidt@ipfire.org>
 groups     = Networking/Daemons
@@ -38,7 +38,7 @@ build
                /usr/bin/smbclient
        end
 
-       export PKG_REQUIRES_FILTER = perl\(Authen::Smb\)
+       CFLAGS += -Wno-error
 
        configure_options += \
                --datadir=/usr/lib/squid \
@@ -101,5 +101,7 @@ end
 packages
        package %{name}
                requires = /usr/bin/smbclient
+
+               filter_requires = perl\(Authen::Smb\)
        end
 end