[arch-commits] Commit in dante/repos (10 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon May 13 14:18:48 UTC 2013
Date: Monday, May 13, 2013 @ 16:18:47
Author: spupykin
Revision: 90649
archrelease: copy trunk to community-i686, community-x86_64
Added:
dante/repos/community-i686/PKGBUILD
(from rev 90648, dante/trunk/PKGBUILD)
dante/repos/community-i686/sockd.service
(from rev 90648, dante/trunk/sockd.service)
dante/repos/community-x86_64/PKGBUILD
(from rev 90648, dante/trunk/PKGBUILD)
dante/repos/community-x86_64/sockd.service
(from rev 90648, dante/trunk/sockd.service)
Deleted:
dante/repos/community-i686/PKGBUILD
dante/repos/community-i686/sockd.rc
dante/repos/community-i686/sockd.service
dante/repos/community-x86_64/PKGBUILD
dante/repos/community-x86_64/sockd.rc
dante/repos/community-x86_64/sockd.service
--------------------------------+
/PKGBUILD | 72 +++++++++++++++++++++++++++++++++++++++
/sockd.service | 24 +++++++++++++
community-i686/PKGBUILD | 42 ----------------------
community-i686/sockd.rc | 68 ------------------------------------
community-i686/sockd.service | 12 ------
community-x86_64/PKGBUILD | 42 ----------------------
community-x86_64/sockd.rc | 68 ------------------------------------
community-x86_64/sockd.service | 12 ------
8 files changed, 96 insertions(+), 244 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-05-13 14:18:30 UTC (rev 90648)
+++ community-i686/PKGBUILD 2013-05-13 14:18:47 UTC (rev 90649)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Guillem Rieu <guillemr at gmx.net>
-
-pkgname=dante
-pkgver=1.3.2
-pkgrel=3
-pkgdesc="SOCKS v4 and v5 compatible proxy server and client"
-url="http://www.inet.no/dante"
-arch=(i686 x86_64)
-license=('custom')
-depends=('pam' 'krb5')
-backup=('etc/socks.conf'
- 'etc/sockd.conf')
-options=('!libtool')
-source=(ftp://ftp.inet.no/pub/socks/${pkgname}-${pkgver}.tar.gz
- sockd.rc
- sockd.service)
-md5sums=('250c6456cd3fefa17f07fa80c9ccf6bd'
- '5110dfd78a2b38fff27a886ee88b58a6'
- 'ceb86b5bd97f7e3ceff28c6e6172a25b')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc \
- --disable-libwrap
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- # Config files
- mkdir -p ${pkgdir}/etc/conf.d
- cp example/{socks,sockd}.conf ${pkgdir}/etc
- # License
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
- # rc-script
- install -D -m755 ${srcdir}/sockd.rc ${pkgdir}/etc/rc.d/sockd
- echo 'SOCKD_OPTS="-D"' >${pkgdir}/etc/conf.d/sockd.conf
- install -Dm0644 $srcdir/sockd.service $pkgdir/usr/lib/systemd/system/sockd.service
-}
Copied: dante/repos/community-i686/PKGBUILD (from rev 90648, dante/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-05-13 14:18:47 UTC (rev 90649)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Guillem Rieu <guillemr at gmx.net>
+
+pkgname=dante
+pkgver=1.3.2
+pkgrel=4
+pkgdesc="SOCKS v4 and v5 compatible proxy server and client"
+url="http://www.inet.no/dante"
+arch=(i686 x86_64)
+license=('custom')
+depends=('pam' 'krb5')
+backup=('etc/socks.conf'
+ 'etc/sockd.conf')
+options=('!libtool')
+source=(ftp://ftp.inet.no/pub/socks/${pkgname}-${pkgver}.tar.gz
+ sockd.service)
+md5sums=('250c6456cd3fefa17f07fa80c9ccf6bd'
+ 'ceb86b5bd97f7e3ceff28c6e6172a25b')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc \
+ --disable-libwrap
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ mkdir -p ${pkgdir}/etc/conf.d
+ cp example/{socks,sockd}.conf ${pkgdir}/etc
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ echo 'SOCKD_OPTS="-D"' >${pkgdir}/etc/conf.d/sockd.conf
+ install -Dm0644 $srcdir/sockd.service $pkgdir/usr/lib/systemd/system/sockd.service
+}
Deleted: community-i686/sockd.rc
===================================================================
--- community-i686/sockd.rc 2013-05-13 14:18:30 UTC (rev 90648)
+++ community-i686/sockd.rc 2013-05-13 14:18:47 UTC (rev 90649)
@@ -1,68 +0,0 @@
-#!/bin/bash
-
-daemon_name=sockd
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/sockd.conf
-
-get_pid() {
- cat /var/run/sockd.pid 2>/dev/null
-}
-
-case "$1" in
- start)
- stat_busy "Starting $daemon_name daemon"
-
- PID=$(get_pid)
- if [ -z "$PID" ]; then
- [ -f /var/run/$daemon_name.pid ] && rm -f /var/run/$daemon_name.pid
- # RUN
- $daemon_name $SOCKD_OPTS 1>/dev/null 2>/dev/null
- #
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- echo $(get_pid) > /var/run/$daemon_name.pid
- add_daemon $daemon_name
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- ;;
-
- stop)
- stat_busy "Stopping $daemon_name daemon"
- PID=$(get_pid)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- #
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- rm -f /var/run/$daemon_name.pid &> /dev/null
- rm_daemon $daemon_name
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
-
- status)
- stat_busy "Checking $daemon_name status";
- ck_status $daemon_name
- ;;
-
- *)
- echo "usage: $0 {start|stop|restart|status}"
-esac
-
-exit 0
Deleted: community-i686/sockd.service
===================================================================
--- community-i686/sockd.service 2013-05-13 14:18:30 UTC (rev 90648)
+++ community-i686/sockd.service 2013-05-13 14:18:47 UTC (rev 90649)
@@ -1,12 +0,0 @@
-[Unit]
-Description=SOCKS v4 and v5 compatible proxy server and client
-After=network.target
-
-[Service]
-Type=forking
-EnvironmentFile=/etc/conf.d/sockd.conf
-PIDFile=/var/run/sockd.pid
-ExecStart=/usr/sbin/sockd $SOCKD_OPTS
-
-[Install]
-WantedBy=multi-user.target
Copied: dante/repos/community-i686/sockd.service (from rev 90648, dante/trunk/sockd.service)
===================================================================
--- community-i686/sockd.service (rev 0)
+++ community-i686/sockd.service 2013-05-13 14:18:47 UTC (rev 90649)
@@ -0,0 +1,12 @@
+[Unit]
+Description=SOCKS v4 and v5 compatible proxy server and client
+After=network.target
+
+[Service]
+Type=forking
+EnvironmentFile=/etc/conf.d/sockd.conf
+PIDFile=/var/run/sockd.pid
+ExecStart=/usr/sbin/sockd $SOCKD_OPTS
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-05-13 14:18:30 UTC (rev 90648)
+++ community-x86_64/PKGBUILD 2013-05-13 14:18:47 UTC (rev 90649)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Guillem Rieu <guillemr at gmx.net>
-
-pkgname=dante
-pkgver=1.3.2
-pkgrel=3
-pkgdesc="SOCKS v4 and v5 compatible proxy server and client"
-url="http://www.inet.no/dante"
-arch=(i686 x86_64)
-license=('custom')
-depends=('pam' 'krb5')
-backup=('etc/socks.conf'
- 'etc/sockd.conf')
-options=('!libtool')
-source=(ftp://ftp.inet.no/pub/socks/${pkgname}-${pkgver}.tar.gz
- sockd.rc
- sockd.service)
-md5sums=('250c6456cd3fefa17f07fa80c9ccf6bd'
- '5110dfd78a2b38fff27a886ee88b58a6'
- 'ceb86b5bd97f7e3ceff28c6e6172a25b')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc \
- --disable-libwrap
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- # Config files
- mkdir -p ${pkgdir}/etc/conf.d
- cp example/{socks,sockd}.conf ${pkgdir}/etc
- # License
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
- # rc-script
- install -D -m755 ${srcdir}/sockd.rc ${pkgdir}/etc/rc.d/sockd
- echo 'SOCKD_OPTS="-D"' >${pkgdir}/etc/conf.d/sockd.conf
- install -Dm0644 $srcdir/sockd.service $pkgdir/usr/lib/systemd/system/sockd.service
-}
Copied: dante/repos/community-x86_64/PKGBUILD (from rev 90648, dante/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-05-13 14:18:47 UTC (rev 90649)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Guillem Rieu <guillemr at gmx.net>
+
+pkgname=dante
+pkgver=1.3.2
+pkgrel=4
+pkgdesc="SOCKS v4 and v5 compatible proxy server and client"
+url="http://www.inet.no/dante"
+arch=(i686 x86_64)
+license=('custom')
+depends=('pam' 'krb5')
+backup=('etc/socks.conf'
+ 'etc/sockd.conf')
+options=('!libtool')
+source=(ftp://ftp.inet.no/pub/socks/${pkgname}-${pkgver}.tar.gz
+ sockd.service)
+md5sums=('250c6456cd3fefa17f07fa80c9ccf6bd'
+ 'ceb86b5bd97f7e3ceff28c6e6172a25b')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc \
+ --disable-libwrap
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ mkdir -p ${pkgdir}/etc/conf.d
+ cp example/{socks,sockd}.conf ${pkgdir}/etc
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ echo 'SOCKD_OPTS="-D"' >${pkgdir}/etc/conf.d/sockd.conf
+ install -Dm0644 $srcdir/sockd.service $pkgdir/usr/lib/systemd/system/sockd.service
+}
Deleted: community-x86_64/sockd.rc
===================================================================
--- community-x86_64/sockd.rc 2013-05-13 14:18:30 UTC (rev 90648)
+++ community-x86_64/sockd.rc 2013-05-13 14:18:47 UTC (rev 90649)
@@ -1,68 +0,0 @@
-#!/bin/bash
-
-daemon_name=sockd
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/sockd.conf
-
-get_pid() {
- cat /var/run/sockd.pid 2>/dev/null
-}
-
-case "$1" in
- start)
- stat_busy "Starting $daemon_name daemon"
-
- PID=$(get_pid)
- if [ -z "$PID" ]; then
- [ -f /var/run/$daemon_name.pid ] && rm -f /var/run/$daemon_name.pid
- # RUN
- $daemon_name $SOCKD_OPTS 1>/dev/null 2>/dev/null
- #
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- echo $(get_pid) > /var/run/$daemon_name.pid
- add_daemon $daemon_name
- stat_done
- fi
- else
- stat_fail
- exit 1
- fi
- ;;
-
- stop)
- stat_busy "Stopping $daemon_name daemon"
- PID=$(get_pid)
- # KILL
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- #
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- rm -f /var/run/$daemon_name.pid &> /dev/null
- rm_daemon $daemon_name
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
-
- status)
- stat_busy "Checking $daemon_name status";
- ck_status $daemon_name
- ;;
-
- *)
- echo "usage: $0 {start|stop|restart|status}"
-esac
-
-exit 0
Deleted: community-x86_64/sockd.service
===================================================================
--- community-x86_64/sockd.service 2013-05-13 14:18:30 UTC (rev 90648)
+++ community-x86_64/sockd.service 2013-05-13 14:18:47 UTC (rev 90649)
@@ -1,12 +0,0 @@
-[Unit]
-Description=SOCKS v4 and v5 compatible proxy server and client
-After=network.target
-
-[Service]
-Type=forking
-EnvironmentFile=/etc/conf.d/sockd.conf
-PIDFile=/var/run/sockd.pid
-ExecStart=/usr/sbin/sockd $SOCKD_OPTS
-
-[Install]
-WantedBy=multi-user.target
Copied: dante/repos/community-x86_64/sockd.service (from rev 90648, dante/trunk/sockd.service)
===================================================================
--- community-x86_64/sockd.service (rev 0)
+++ community-x86_64/sockd.service 2013-05-13 14:18:47 UTC (rev 90649)
@@ -0,0 +1,12 @@
+[Unit]
+Description=SOCKS v4 and v5 compatible proxy server and client
+After=network.target
+
+[Service]
+Type=forking
+EnvironmentFile=/etc/conf.d/sockd.conf
+PIDFile=/var/run/sockd.pid
+ExecStart=/usr/sbin/sockd $SOCKD_OPTS
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list