]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - c_icap_modules/c_icap_modules.nm
tmux: New package.
[people/ms/ipfire-3.x.git] / c_icap_modules / c_icap_modules.nm
index 04fc7d026ed6405de039da8eefdac683fc80a143..d6e2911c8c0c60f9999a58f955cbf5f2cb3edaa0 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = c_icap_modules
-version    = 0.1.4
-release    = 1
+version    = 0.1.6
+release    = 2
 
 maintainer = Christian Schmidt <christian.schmidt@ipfire.org>
 groups     = Networking/Daemons
@@ -19,18 +19,20 @@ description
        adaptation and filtering services.
 end
 
+source_dl = http://downloads.sourceforge.net/project/c-icap/c-icap-modules/0.1.x/
+
 build
        requires
                autoconf
                automake
-               c_icap
+               c_icap >= 0.1.7-3
                clamav-devel
                db4-devel
                libtool-devel
        end
 
        configure_options += \
-               --sysconfdir=/etc \
+               --sysconfdir=/etc/c-icap \
                --localstatedir=/var
 
        prepare_cmds
@@ -38,12 +40,22 @@ build
        end
 
        install
-               mkdir -pv %{BUILDROOT}/etc
+               mkdir -pv %{BUILDROOT}/etc/c-icap
                make install DESTDIR=%{BUILDROOT}
        end
 end
 
 packages
        package %{name}
+               configfiles
+                       /etc/c-icap/srv_clamav.conf
+                       /etc/c-icap/srv_clamav.conf.default
+                       /etc/c-icap/srv_url_check.conf
+                       /etc/c-icap/srv_url_check.conf.default
+               end
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
        end
 end