[crux-commits] ports/contrib (3.5): spamassassin: cleaned footprint

crux at crux.nu crux at crux.nu
Fri Jul 10 13:03:19 UTC 2020


commit 231c7156c4c9607cdb007d4ce2b71662bce23d7e
Author: Tim Biermann <tbier at posteo.de>
Date:   Fri Jul 10 12:45:56 2020 +0000

    spamassassin: cleaned footprint

diff --git a/spamassassin/.footprint b/spamassassin/.footprint
index 714aad967..4e0b56b70 100644
--- a/spamassassin/.footprint
+++ b/spamassassin/.footprint
@@ -151,7 +151,6 @@ drwxr-xr-x	root/root	usr/lib/perl5/site_perl/5.28/linux-thread-multi/
 drwxr-xr-x	root/root	usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/
 drwxr-xr-x	root/root	usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Mail/
 drwxr-xr-x	root/root	usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Mail/SpamAssassin/
--rw-r--r--	root/root	usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Mail/SpamAssassin/.packlist
 -rw-r--r--	root/root	usr/lib/perl5/site_perl/5.28/spamassassin-run.pod
 drwxr-xr-x	root/root	usr/share/
 drwxr-xr-x	root/root	usr/share/man/
diff --git a/spamassassin/.signature b/spamassassin/.signature
index d2ac8a1b6..8c1007643 100644
--- a/spamassassin/.signature
+++ b/spamassassin/.signature
@@ -1,6 +1,6 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF37hAI1I9ANyghpXJ1BoXfU/2gVAX8G9+TPP05LwU3G6LIYzgCRtYAyHdRs4OAuO3+HjArem3rpQF/Zqr2keQmwE=
-SHA256 (Pkgfile) = 1ea7e89ef9386ef9e875d5f7dacec4e89e9a6d808a2533f552ecc65a31e35d3d
-SHA256 (.footprint) = 65ac44334494a17be203f4d632536acfd301f35734b75fa4b05fa7ba0e3d396e
+RWSagIOpLGJF387KZBZZWJE4SUD3PYZEXxEWXoulxYWOcB+woEFOkqBjKeCSX69JRYqsjM99ffnbkt6148dkJgDsplhUgI4UZQk=
+SHA256 (Pkgfile) = ca6c4f510f529a9a46f2ced65edf49253888faba0f1f067edbe2b4bf92cd199b
+SHA256 (.footprint) = f40fd926b1b369ff259c3251047907053514f56c3c299c3deddf437c75f8e26e
 SHA256 (Mail-SpamAssassin-3.4.4.tar.bz2) = 4e2bc79e24cdbb3d8262e6ec4f5bb3dde670de9caaa739d50c698b6d45ac453d
 SHA256 (spamassassin.rc) = b1695b44353543bbe88063c9b6c05038be65b848ea45ec4bdf9a21f7d8abf517
diff --git a/spamassassin/Pkgfile b/spamassassin/Pkgfile
index 2c0c55e9b..6d81592aa 100644
--- a/spamassassin/Pkgfile
+++ b/spamassassin/Pkgfile
@@ -11,21 +11,21 @@ source=(http://apache.mirror.digionline.de/spamassassin/source/Mail-SpamAssassin
    $name.rc)
 
 build() {
-   cd Mail-SpamAssassin-$version
-   perl Makefile.PL PREFIX=/usr CONFDIR=/etc/$name DESTDIR=$PKG \
-   LOCALSTATEDIR=/usr/share/$name < /dev/null
-   make
-   make spamc/libspamc.so
-   make install
+  cd Mail-SpamAssassin-$version
+  perl Makefile.PL PREFIX=/usr CONFDIR=/etc/$name DESTDIR=$PKG \
+    LOCALSTATEDIR=/usr/share/$name < /dev/null
+  make
+  make spamc/libspamc.so
+  make install
 
-   mkdir -p $PKG/{etc/rc.d,usr/include,usr/lib}
-   install -m0755 ../$name.rc $PKG/etc/rc.d/$name
-   install -m0644 spamc/libspamc.so $PKG/usr/lib
-   install -m0644 spamc/libspamc.h $PKG/usr/include/libspamc.h
+  mkdir -p $PKG/{etc/rc.d,usr/include,usr/lib}
+  install -m0755 ../$name.rc $PKG/etc/rc.d/$name
+  install -m0644 spamc/libspamc.so $PKG/usr/lib
+  install -m0644 spamc/libspamc.h $PKG/usr/include/libspamc.h
 
-   chmod 0644 $PKG/usr/share/$name/*
-   chmod -R u+w $PKG/*
-
-   rm -fr $PKG/usr/lib/perl5/{5.*,site_perl/5.*/linux}
+  chmod 0644 $PKG/usr/share/$name/*
+  chmod -R u+w $PKG/*
 
+  rm -fr $PKG/usr/lib/perl5/{5.*,site_perl/5.*/linux}
+  find $PKG -name .packlist -delete
 }


More information about the crux-commits mailing list