X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=debian%2Frules;h=db885c7d741b0b934c87e47e0710e1df0103ed89;hp=c7650ee131987a37be2a831d69eb2a8c7c049d27;hb=7faf709324cb60862a3db68990f3a275edcec184;hpb=330bcdbc784531c65c64cddd11b644cd71a4c5f8 diff --git a/debian/rules b/debian/rules index c7650ee..db885c7 100755 --- a/debian/rules +++ b/debian/rules @@ -110,7 +110,7 @@ install: build # system ossec-init echo "DIRECTORY=\"/var/ossec\"" > $(PKGDIR)/etc/ossec-init.conf echo "VERSION=\"`cat src/VERSION`\"" >> $(PKGDIR)/etc/ossec-init.conf - echo "DATE=\"`date --utc`\"" >> $(PKGDIR)/etc/ossec-init.conf + echo "DATE=\"$(date --utc -d "$(dpkg-parsechangelog | sed -ne 's/Date: //p')")\"" >> $(PKGDIR)/etc/ossec-init.conf echo "TYPE=\"local\"" >> $(PKGDIR)/etc/ossec-init.conf # Build architecture-independent files here.