Update of /cvsroot/fink/experimental/thesin/finkinfo
In directory vz-cvs-3.sog:/tmp/cvs-serv25614

Modified Files:
        debsums.info 
Log Message:
update debsums, remove po4a

Index: debsums.info
===================================================================
RCS file: /cvsroot/fink/experimental/thesin/finkinfo/debsums.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- debsums.info        26 Jun 2012 21:56:05 -0000      1.1
+++ debsums.info        29 Jun 2012 14:55:11 -0000      1.2
@@ -1,28 +1,28 @@
 Package: debsums
-Version: 2.0.51
+Version: 2.0.52
 Revision: 1
 ###
-BuildDepends: po-debconf, po4a
-Depends: debconf, file-fnmatch-pm, libdpkg-pm, ucf, anacron
+## Remove po4a
+BuildDepends: po-debconf
+Depends: dpkg (>= 1.16.3), debconf, file-fnmatch-pm, libdpkg-pm, ucf, anacron
 ###
 Source: mirror:debian:pool/main/d/%n/%n_%v.tar.gz
-Source-MD5: 014a1bf7ec7bc1cce34688924d3a6b40
+Source-MD5: 30bdd32f923f15c839b30397683ce46c
 SourceDirectory: %n-%v
 ###
 PatchScript: <<
-perl -pi -e 's,/usr,%p,g' debian/cron.* debsums rdebsums debsums_gen 
debsums_init
-perl -pi -e 's,/etc,%p/etc,g' debian/cron.* debsums rdebsums debsums_gen 
debsums_init
-perl -pi -e 's,/var,%p/var,g' debian/cron.* debsums rdebsums debsums_gen 
debsums_init
-
-perl -pi -e 's,%p/bin/perl,/usr/bin/perl,g' debsums rdebsums debsums_gen 
debsums_init
+perl -pi -e 's,/usr,%p,g' debian/cron.* debsums rdebsums debsums_init
+perl -pi -e 's,/etc,%p/etc,g' debian/cron.* debsums rdebsums debsums_init
+perl -pi -e 's,/var,%p/var,g' debian/cron.* debsums rdebsums debsums_init
+perl -pi -e 's,%p/bin/perl,/usr/bin/perl,g' debsums rdebsums debsums_init
 
-cd man && po4a --rm-backups po4a.cfg
+#cd man && po4a --rm-backups po4a.cfg
 <<
 CompileScript: echo
 InstallScript: <<
 #!/bin/sh -ev
 install -d -m 0755 %i/sbin
-install -m 0755 debsums_gen debsums_init %i/sbin
+install -m 0755 debsums_init %i/sbin
 install -d -m 0755 %i/bin
 install -m 0755 debsums rdebsums %i/bin
 install -d -m 0755 %i/etc/default
@@ -35,16 +35,16 @@
 install -m 0644 debian/cron.monthly %i/etc/cron.monthly
 install -m 0644 debian/cron.weekly %i/etc/cron.weekly
 
-for i in de es fr pt ru sv; do \
-  for j in 1 8; do \
-    install -d -m 0755 %i/share/man/$i/man$j; \
-    for page in `find %b -name \*.$i.$j`; do \
-      install -m 0644 $page %i/share/man/$i/man$j; \
-      ## remove them for the last part
-      rm -f $page; \
-    done; \
-  done; \
-done
+#for i in de es fr pt ru sv; do \
+#  for j in 1 8; do \
+#    install -d -m 0755 %i/share/man/$i/man$j; \
+#    for page in `find %b -name \*.$i.$j`; do \
+#      install -m 0644 $page %i/share/man/$i/man$j; \
+#      ## remove them for the last part
+#      rm -f $page; \
+#    done; \
+#  done; \
+#done
 
 for i in 1 8; do \
   install -d -m 0755 %i/share/man/man$i; \
@@ -52,13 +52,6 @@
     install -m 0644 $page %i/share/man/man$i; \
   done; \
 done
-
-### Debconf
-install -d -m 0755 %d/DEBIAN
-po2debconf debian/templates > debian/templates.merged
-install -m 0644 debian/templates.merged %d/DEBIAN/templates
-
-cd %d && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > 
%b/DEBIAN/md5sums
 <<
 PostInstScript: <<
 set -e
@@ -80,16 +73,18 @@
 APT_CONF=%p/etc/apt/apt.conf.d/90debsums
 case "$1" in
     configure)
-        db_get debsums/apt-autogen || true
-        APT_CONF_TMP=`tempfile`
-        chmod 644 $APT_CONF_TMP
-        if [ "$RET" != true ]; then
-            echo -n '//' > $APT_CONF_TMP
+        if [ -f $APT_CONF ]; then
+            mv $APT_CONF ${APT_CONF}.bak
+        fi
+        for ext in .ucf-new .ucf-old .ucf-dist; do
+          rm -f $APT_CONF$ext
+        done
+        if which ucf >/dev/null; then
+          ucf --purge $APT_CONF
+        fi
+        if which ucfr >/dev/null; then
+          ucfr --purge debsums $APT_CONF
         fi
-        echo 'DPkg::Post-Invoke { "if [ -x %p/bin/debsums ]; then 
%p/bin/debsums --generate=nocheck -sp %p/var/cache/apt/archives; fi"; };' >> 
$APT_CONF_TMP
-        ucf --debconf-ok $APT_CONF_TMP $APT_CONF
-       rm -f $APT_CONF_TMP
-        ucfr debsums $APT_CONF
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
@@ -101,6 +96,9 @@
     ;;
 esac
 
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
 exit 0
 <<
 PostRmScript: <<


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to