[arch-commits] Commit in p3scan/trunk (PKGBUILD p3scan.service)

Sergej Pupykin spupykin at nymeria.archlinux.org
Tue May 28 17:37:24 UTC 2013


    Date: Tuesday, May 28, 2013 @ 19:37:24
  Author: spupykin
Revision: 91862

upgpkg: p3scan 2.3.2-9

upd

Modified:
  p3scan/trunk/PKGBUILD
  p3scan/trunk/p3scan.service

----------------+
 PKGBUILD       |    8 ++++----
 p3scan.service |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-28 17:37:21 UTC (rev 91861)
+++ PKGBUILD	2013-05-28 17:37:24 UTC (rev 91862)
@@ -4,7 +4,7 @@
 
 pkgname=p3scan
 pkgver=2.3.2
-pkgrel=8
+pkgrel=9
 pkgdesc="Fully transparent POP3/SMTP proxy with Anti-Virus and SPAM protection"
 arch=('i686' 'x86_64')
 url="http://p3scan.sourceforge.net/"
@@ -15,7 +15,7 @@
 	"p3scan.service"
 	"p3scan.tmpfiles")
 md5sums=('9f8decc7d4701228788e3c8717096ca0'
-         'dc724b50963d80be7924fc4d9d4856f0'
+         '74a3a5e52e6714ac5001985061248a34'
          '265a730e20e3d8aaf0cd7816dc98ca71')
 
 build() {
@@ -25,7 +25,7 @@
   unset CFLAGS
   sed -ri "s|^CFLAGS=-Wall( -g)? -O2|CFLAGS=-Wall $CFLAGS|" Makefile ripmime/Makefile ripmime/tnef/Makefile ripmime/ripOLE/Makefile
   sed -ri 's|^LOCATION=.+$|LOCATION=/usr|' ripmime/Makefile
-  sed -ri 's|\$\(SYSINS\) -v -m 550 --strip p3scan \$\(PREFIX\)/sbin/|$(SYSINS) -D -v -m 550 --strip p3scan $(DESTDIR)/usr/sbin/|' Makefile
+  sed -ri 's|\$\(SYSINS\) -v -m 550 --strip p3scan \$\(PREFIX\)/sbin/|$(SYSINS) -D -v -m 550 --strip p3scan $(DESTDIR)/usr/bin/|' Makefile
   make
 }
 
@@ -33,7 +33,7 @@
   cd $srcdir/$pkgname-$pkgver
 
   # Create base dirs, the Makefile assumes they're there
-  install -d $pkgdir/usr/sbin $pkgdir/usr/man/man8 $pkgdir/etc/rc.d
+  install -d $pkgdir/usr/bin $pkgdir/usr/man/man8 $pkgdir/etc/rc.d
 
   # install with root set on $pkgdir
   make DESTDIR=$pkgdir install

Modified: p3scan.service
===================================================================
--- p3scan.service	2013-05-28 17:37:21 UTC (rev 91861)
+++ p3scan.service	2013-05-28 17:37:24 UTC (rev 91862)
@@ -3,8 +3,8 @@
 
 [Service]
 Type=forking
-PIDFile=/var/run/p3scan/p3scan.pid
-ExecStart=/usr/sbin/p3scan
+PIDFile=/run/p3scan/p3scan.pid
+ExecStart=/usr/bin/p3scan
 
 [Install]
 WantedBy=multi-user.target




More information about the arch-commits mailing list