[arch-commits] Commit in p3scan/repos (18 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 10:33:04 EDT 2013


    Date: Monday, May 13, 2013 @ 16:33:03
  Author: spupykin
Revision: 90699

archrelease: copy trunk to community-i686, community-x86_64

Added:
  p3scan/repos/community-i686/PKGBUILD
    (from rev 90698, p3scan/trunk/PKGBUILD)
  p3scan/repos/community-i686/p3scan.install
    (from rev 90698, p3scan/trunk/p3scan.install)
  p3scan/repos/community-i686/p3scan.service
    (from rev 90698, p3scan/trunk/p3scan.service)
  p3scan/repos/community-i686/p3scan.tmpfiles
    (from rev 90698, p3scan/trunk/p3scan.tmpfiles)
  p3scan/repos/community-x86_64/PKGBUILD
    (from rev 90698, p3scan/trunk/PKGBUILD)
  p3scan/repos/community-x86_64/p3scan.install
    (from rev 90698, p3scan/trunk/p3scan.install)
  p3scan/repos/community-x86_64/p3scan.service
    (from rev 90698, p3scan/trunk/p3scan.service)
  p3scan/repos/community-x86_64/p3scan.tmpfiles
    (from rev 90698, p3scan/trunk/p3scan.tmpfiles)
Deleted:
  p3scan/repos/community-i686/PKGBUILD
  p3scan/repos/community-i686/p3scan.install
  p3scan/repos/community-i686/p3scan.service
  p3scan/repos/community-i686/p3scan.tmpfiles
  p3scan/repos/community-i686/rc.p3scan
  p3scan/repos/community-x86_64/PKGBUILD
  p3scan/repos/community-x86_64/p3scan.install
  p3scan/repos/community-x86_64/p3scan.service
  p3scan/repos/community-x86_64/p3scan.tmpfiles
  p3scan/repos/community-x86_64/rc.p3scan

----------------------------------+
 /PKGBUILD                        |  118 +++++++++++++++++++++++++++++++++++++
 /p3scan.install                  |   14 ++++
 /p3scan.service                  |   20 ++++++
 /p3scan.tmpfiles                 |    2 
 community-i686/PKGBUILD          |   62 -------------------
 community-i686/p3scan.install    |    7 --
 community-i686/p3scan.service    |   10 ---
 community-i686/p3scan.tmpfiles   |    1 
 community-i686/rc.p3scan         |   39 ------------
 community-x86_64/PKGBUILD        |   62 -------------------
 community-x86_64/p3scan.install  |    7 --
 community-x86_64/p3scan.service  |   10 ---
 community-x86_64/p3scan.tmpfiles |    1 
 community-x86_64/rc.p3scan       |   39 ------------
 14 files changed, 154 insertions(+), 238 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-05-13 14:32:37 UTC (rev 90698)
+++ community-i686/PKGBUILD	2013-05-13 14:33:03 UTC (rev 90699)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: v01d <phreakuencies at gmail.com>
-
-pkgname=p3scan
-pkgver=2.3.2
-pkgrel=7
-pkgdesc="Fully transparent POP3/SMTP proxy with Anti-Virus and SPAM protection"
-arch=('i686' 'x86_64')
-url="http://p3scan.sourceforge.net/"
-depends=('pcre' 'openssl')
-license=('GPL')
-install=p3scan.install
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
-	"rc.p3scan"
-	"p3scan.service"
-	"p3scan.tmpfiles")
-md5sums=('9f8decc7d4701228788e3c8717096ca0'
-         '482a783e699b6532cbc478977f429eb5'
-         'dc724b50963d80be7924fc4d9d4856f0'
-         '265a730e20e3d8aaf0cd7816dc98ca71')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  # Fix CFLAGS and other options hardcoded in Makefiles
-  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
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  # Create base dirs, the Makefile assumes they're there
-  install -d $pkgdir/usr/sbin $pkgdir/etc/rc.d $pkgdir/usr/man/man8
-
-  # install with root set on $pkgdir
-  make DESTDIR=$pkgdir install
-
-  # delete init script provided and use an arch compatible one
-  rm -f $pkgdir/etc/rc.d/rc.p3scan
-  install -D -m755 -g root -o root $srcdir/rc.p3scan $pkgdir/etc/rc.d/p3scan
-
-  # BUG?: make absolute link a relative one
-  (
-    cd $pkgdir/etc/p3scan
-    ln -sf p3scan-en.mail p3scan.mail
-  )
-
-  # BUG: fix .conf file (the license has C style comments, they should be conf-style comments)
-  sed -ri 's|^[/ ]\*/?|# |g' $pkgdir/etc/p3scan/p3scan.conf
-
-  mv $pkgdir/usr/man $pkgdir/usr/share/
-  mv $pkgdir/usr/doc $pkgdir/usr/share/
-  rm -rf $pkgdir/var/run
-
-  install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
-  install -Dm0644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf
-}

Copied: p3scan/repos/community-i686/PKGBUILD (from rev 90698, p3scan/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-05-13 14:33:03 UTC (rev 90699)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: v01d <phreakuencies at gmail.com>
+
+pkgname=p3scan
+pkgver=2.3.2
+pkgrel=8
+pkgdesc="Fully transparent POP3/SMTP proxy with Anti-Virus and SPAM protection"
+arch=('i686' 'x86_64')
+url="http://p3scan.sourceforge.net/"
+depends=('pcre' 'openssl')
+license=('GPL')
+install=p3scan.install
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+	"p3scan.service"
+	"p3scan.tmpfiles")
+md5sums=('9f8decc7d4701228788e3c8717096ca0'
+         'dc724b50963d80be7924fc4d9d4856f0'
+         '265a730e20e3d8aaf0cd7816dc98ca71')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # Fix CFLAGS and other options hardcoded in Makefiles
+  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
+  make
+}
+
+package() {
+  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 with root set on $pkgdir
+  make DESTDIR=$pkgdir install
+
+  # delete init script provided and use an arch compatible one
+  rm -rf $pkgdir/etc/rc.d
+
+  # BUG?: make absolute link a relative one
+  (
+    cd $pkgdir/etc/p3scan
+    ln -sf p3scan-en.mail p3scan.mail
+  )
+
+  # BUG: fix .conf file (the license has C style comments, they should be conf-style comments)
+  sed -ri 's|^[/ ]\*/?|# |g' $pkgdir/etc/p3scan/p3scan.conf
+
+  mv $pkgdir/usr/man $pkgdir/usr/share/
+  mv $pkgdir/usr/doc $pkgdir/usr/share/
+  rm -rf $pkgdir/var/run
+
+  install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
+  install -Dm0644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf
+}

Deleted: community-i686/p3scan.install
===================================================================
--- community-i686/p3scan.install	2013-05-13 14:32:37 UTC (rev 90698)
+++ community-i686/p3scan.install	2013-05-13 14:33:03 UTC (rev 90699)
@@ -1,7 +0,0 @@
-post_install() {
-  echo "==> You may want an Anti-Virus program to use with p3scan. Installing clamav is recommended."
-}
-
-post_upgrade() {
-  post_install $1 $2
-}

Copied: p3scan/repos/community-i686/p3scan.install (from rev 90698, p3scan/trunk/p3scan.install)
===================================================================
--- community-i686/p3scan.install	                        (rev 0)
+++ community-i686/p3scan.install	2013-05-13 14:33:03 UTC (rev 90699)
@@ -0,0 +1,7 @@
+post_install() {
+  echo "==> You may want an Anti-Virus program to use with p3scan. Installing clamav is recommended."
+}
+
+post_upgrade() {
+  post_install $1 $2
+}

Deleted: community-i686/p3scan.service
===================================================================
--- community-i686/p3scan.service	2013-05-13 14:32:37 UTC (rev 90698)
+++ community-i686/p3scan.service	2013-05-13 14:33:03 UTC (rev 90699)
@@ -1,10 +0,0 @@
-[Unit]
-Description=p3scan proxy
-
-[Service]
-Type=forking
-PIDFile=/var/run/p3scan/p3scan.pid
-ExecStart=/usr/sbin/p3scan
-
-[Install]
-WantedBy=multi-user.target

Copied: p3scan/repos/community-i686/p3scan.service (from rev 90698, p3scan/trunk/p3scan.service)
===================================================================
--- community-i686/p3scan.service	                        (rev 0)
+++ community-i686/p3scan.service	2013-05-13 14:33:03 UTC (rev 90699)
@@ -0,0 +1,10 @@
+[Unit]
+Description=p3scan proxy
+
+[Service]
+Type=forking
+PIDFile=/var/run/p3scan/p3scan.pid
+ExecStart=/usr/sbin/p3scan
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-i686/p3scan.tmpfiles
===================================================================
--- community-i686/p3scan.tmpfiles	2013-05-13 14:32:37 UTC (rev 90698)
+++ community-i686/p3scan.tmpfiles	2013-05-13 14:33:03 UTC (rev 90699)
@@ -1 +0,0 @@
-d /run/p3scan 0755 root root -

Copied: p3scan/repos/community-i686/p3scan.tmpfiles (from rev 90698, p3scan/trunk/p3scan.tmpfiles)
===================================================================
--- community-i686/p3scan.tmpfiles	                        (rev 0)
+++ community-i686/p3scan.tmpfiles	2013-05-13 14:33:03 UTC (rev 90699)
@@ -0,0 +1 @@
+d /run/p3scan 0755 root root -

Deleted: community-i686/rc.p3scan
===================================================================
--- community-i686/rc.p3scan	2013-05-13 14:32:37 UTC (rev 90698)
+++ community-i686/rc.p3scan	2013-05-13 14:33:03 UTC (rev 90699)
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
-  start)
-    stat_busy "Starting p3scan"
-    [ -d /var/run/p3scan ] || mkdir -p /var/run/p3scan
-    if [ -a /var/run/p3scan/p3scan.pid ]; then stat_die; fi
-
-    # Start p3scan
-    /usr/sbin/p3scan    
-    if ! [ -a /var/run/p3scan/p3scan.pid ]; then stat_die; fi
-    add_daemon p3scan
-    stat_done
-  ;;
-  stop)
-    stat_busy "Stopping p3scan"
-
-    # Stop p3scan
-    if [ -a /var/run/p3scan/p3scan.pid ]; then
-      kill `cat /var/run/p3scan/p3scan.pid` &>/dev/null || stat_die
-      rm -f /var/run/p3scan/p3scan.pid
-      rm_daemon p3scan
-      stat_done
-    else
-      stat_fail
-    fi
-  ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-  ;;
-  *)
-    echo "Usage: $0 { start | stop | restart }"
-esac
-exit 0

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-05-13 14:32:37 UTC (rev 90698)
+++ community-x86_64/PKGBUILD	2013-05-13 14:33:03 UTC (rev 90699)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: v01d <phreakuencies at gmail.com>
-
-pkgname=p3scan
-pkgver=2.3.2
-pkgrel=7
-pkgdesc="Fully transparent POP3/SMTP proxy with Anti-Virus and SPAM protection"
-arch=('i686' 'x86_64')
-url="http://p3scan.sourceforge.net/"
-depends=('pcre' 'openssl')
-license=('GPL')
-install=p3scan.install
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
-	"rc.p3scan"
-	"p3scan.service"
-	"p3scan.tmpfiles")
-md5sums=('9f8decc7d4701228788e3c8717096ca0'
-         '482a783e699b6532cbc478977f429eb5'
-         'dc724b50963d80be7924fc4d9d4856f0'
-         '265a730e20e3d8aaf0cd7816dc98ca71')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  # Fix CFLAGS and other options hardcoded in Makefiles
-  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
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  # Create base dirs, the Makefile assumes they're there
-  install -d $pkgdir/usr/sbin $pkgdir/etc/rc.d $pkgdir/usr/man/man8
-
-  # install with root set on $pkgdir
-  make DESTDIR=$pkgdir install
-
-  # delete init script provided and use an arch compatible one
-  rm -f $pkgdir/etc/rc.d/rc.p3scan
-  install -D -m755 -g root -o root $srcdir/rc.p3scan $pkgdir/etc/rc.d/p3scan
-
-  # BUG?: make absolute link a relative one
-  (
-    cd $pkgdir/etc/p3scan
-    ln -sf p3scan-en.mail p3scan.mail
-  )
-
-  # BUG: fix .conf file (the license has C style comments, they should be conf-style comments)
-  sed -ri 's|^[/ ]\*/?|# |g' $pkgdir/etc/p3scan/p3scan.conf
-
-  mv $pkgdir/usr/man $pkgdir/usr/share/
-  mv $pkgdir/usr/doc $pkgdir/usr/share/
-  rm -rf $pkgdir/var/run
-
-  install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
-  install -Dm0644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf
-}

Copied: p3scan/repos/community-x86_64/PKGBUILD (from rev 90698, p3scan/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-05-13 14:33:03 UTC (rev 90699)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: v01d <phreakuencies at gmail.com>
+
+pkgname=p3scan
+pkgver=2.3.2
+pkgrel=8
+pkgdesc="Fully transparent POP3/SMTP proxy with Anti-Virus and SPAM protection"
+arch=('i686' 'x86_64')
+url="http://p3scan.sourceforge.net/"
+depends=('pcre' 'openssl')
+license=('GPL')
+install=p3scan.install
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+	"p3scan.service"
+	"p3scan.tmpfiles")
+md5sums=('9f8decc7d4701228788e3c8717096ca0'
+         'dc724b50963d80be7924fc4d9d4856f0'
+         '265a730e20e3d8aaf0cd7816dc98ca71')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # Fix CFLAGS and other options hardcoded in Makefiles
+  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
+  make
+}
+
+package() {
+  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 with root set on $pkgdir
+  make DESTDIR=$pkgdir install
+
+  # delete init script provided and use an arch compatible one
+  rm -rf $pkgdir/etc/rc.d
+
+  # BUG?: make absolute link a relative one
+  (
+    cd $pkgdir/etc/p3scan
+    ln -sf p3scan-en.mail p3scan.mail
+  )
+
+  # BUG: fix .conf file (the license has C style comments, they should be conf-style comments)
+  sed -ri 's|^[/ ]\*/?|# |g' $pkgdir/etc/p3scan/p3scan.conf
+
+  mv $pkgdir/usr/man $pkgdir/usr/share/
+  mv $pkgdir/usr/doc $pkgdir/usr/share/
+  rm -rf $pkgdir/var/run
+
+  install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
+  install -Dm0644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf
+}

Deleted: community-x86_64/p3scan.install
===================================================================
--- community-x86_64/p3scan.install	2013-05-13 14:32:37 UTC (rev 90698)
+++ community-x86_64/p3scan.install	2013-05-13 14:33:03 UTC (rev 90699)
@@ -1,7 +0,0 @@
-post_install() {
-  echo "==> You may want an Anti-Virus program to use with p3scan. Installing clamav is recommended."
-}
-
-post_upgrade() {
-  post_install $1 $2
-}

Copied: p3scan/repos/community-x86_64/p3scan.install (from rev 90698, p3scan/trunk/p3scan.install)
===================================================================
--- community-x86_64/p3scan.install	                        (rev 0)
+++ community-x86_64/p3scan.install	2013-05-13 14:33:03 UTC (rev 90699)
@@ -0,0 +1,7 @@
+post_install() {
+  echo "==> You may want an Anti-Virus program to use with p3scan. Installing clamav is recommended."
+}
+
+post_upgrade() {
+  post_install $1 $2
+}

Deleted: community-x86_64/p3scan.service
===================================================================
--- community-x86_64/p3scan.service	2013-05-13 14:32:37 UTC (rev 90698)
+++ community-x86_64/p3scan.service	2013-05-13 14:33:03 UTC (rev 90699)
@@ -1,10 +0,0 @@
-[Unit]
-Description=p3scan proxy
-
-[Service]
-Type=forking
-PIDFile=/var/run/p3scan/p3scan.pid
-ExecStart=/usr/sbin/p3scan
-
-[Install]
-WantedBy=multi-user.target

Copied: p3scan/repos/community-x86_64/p3scan.service (from rev 90698, p3scan/trunk/p3scan.service)
===================================================================
--- community-x86_64/p3scan.service	                        (rev 0)
+++ community-x86_64/p3scan.service	2013-05-13 14:33:03 UTC (rev 90699)
@@ -0,0 +1,10 @@
+[Unit]
+Description=p3scan proxy
+
+[Service]
+Type=forking
+PIDFile=/var/run/p3scan/p3scan.pid
+ExecStart=/usr/sbin/p3scan
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/p3scan.tmpfiles
===================================================================
--- community-x86_64/p3scan.tmpfiles	2013-05-13 14:32:37 UTC (rev 90698)
+++ community-x86_64/p3scan.tmpfiles	2013-05-13 14:33:03 UTC (rev 90699)
@@ -1 +0,0 @@
-d /run/p3scan 0755 root root -

Copied: p3scan/repos/community-x86_64/p3scan.tmpfiles (from rev 90698, p3scan/trunk/p3scan.tmpfiles)
===================================================================
--- community-x86_64/p3scan.tmpfiles	                        (rev 0)
+++ community-x86_64/p3scan.tmpfiles	2013-05-13 14:33:03 UTC (rev 90699)
@@ -0,0 +1 @@
+d /run/p3scan 0755 root root -

Deleted: community-x86_64/rc.p3scan
===================================================================
--- community-x86_64/rc.p3scan	2013-05-13 14:32:37 UTC (rev 90698)
+++ community-x86_64/rc.p3scan	2013-05-13 14:33:03 UTC (rev 90699)
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
-  start)
-    stat_busy "Starting p3scan"
-    [ -d /var/run/p3scan ] || mkdir -p /var/run/p3scan
-    if [ -a /var/run/p3scan/p3scan.pid ]; then stat_die; fi
-
-    # Start p3scan
-    /usr/sbin/p3scan    
-    if ! [ -a /var/run/p3scan/p3scan.pid ]; then stat_die; fi
-    add_daemon p3scan
-    stat_done
-  ;;
-  stop)
-    stat_busy "Stopping p3scan"
-
-    # Stop p3scan
-    if [ -a /var/run/p3scan/p3scan.pid ]; then
-      kill `cat /var/run/p3scan/p3scan.pid` &>/dev/null || stat_die
-      rm -f /var/run/p3scan/p3scan.pid
-      rm_daemon p3scan
-      stat_done
-    else
-      stat_fail
-    fi
-  ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-  ;;
-  *)
-    echo "Usage: $0 { start | stop | restart }"
-esac
-exit 0



More information about the arch-commits mailing list