[arch-commits] Commit in tinc/repos (16 files)
Sébastien Luttringer
seblu at nymeria.archlinux.org
Fri May 31 00:34:01 UTC 2013
Date: Friday, May 31, 2013 @ 02:34:01
Author: seblu
Revision: 92047
archrelease: copy trunk to community-i686, community-x86_64
Added:
tinc/repos/community-i686/PKGBUILD
(from rev 92046, tinc/trunk/PKGBUILD)
tinc/repos/community-i686/tinc.install
(from rev 92046, tinc/trunk/tinc.install)
tinc/repos/community-i686/tincd at .service
(from rev 92046, tinc/trunk/tincd at .service)
tinc/repos/community-x86_64/PKGBUILD
(from rev 92046, tinc/trunk/PKGBUILD)
tinc/repos/community-x86_64/tinc.install
(from rev 92046, tinc/trunk/tinc.install)
tinc/repos/community-x86_64/tincd at .service
(from rev 92046, tinc/trunk/tincd at .service)
Deleted:
tinc/repos/community-i686/PKGBUILD
tinc/repos/community-i686/tinc.install
tinc/repos/community-i686/tincd.conf
tinc/repos/community-i686/tincd.rc
tinc/repos/community-i686/tincd at .service
tinc/repos/community-x86_64/PKGBUILD
tinc/repos/community-x86_64/tinc.install
tinc/repos/community-x86_64/tincd.conf
tinc/repos/community-x86_64/tincd.rc
tinc/repos/community-x86_64/tincd at .service
---------------------------------+
/PKGBUILD | 78 ++++++++++++++++++++++++++++++++++++++
/tinc.install | 40 +++++++++++++++++++
/tincd at .service | 20 +++++++++
community-i686/PKGBUILD | 44 ---------------------
community-i686/tinc.install | 20 ---------
community-i686/tincd.conf | 5 --
community-i686/tincd.rc | 42 --------------------
community-i686/tincd at .service | 10 ----
community-x86_64/PKGBUILD | 44 ---------------------
community-x86_64/tinc.install | 20 ---------
community-x86_64/tincd.conf | 5 --
community-x86_64/tincd.rc | 42 --------------------
community-x86_64/tincd at .service | 10 ----
13 files changed, 138 insertions(+), 242 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-05-31 00:33:51 UTC (rev 92046)
+++ community-i686/PKGBUILD 2013-05-31 00:34:01 UTC (rev 92047)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: helios
-# Contributor: Lothar Gesslein
-# Contributor: Dominik George <nik at naturalnet.de>
-
-pkgname=tinc
-pkgver=1.0.21
-pkgrel=1
-pkgdesc="VPN (Virtual Private Network) daemon"
-arch=('i686' 'x86_64')
-url="http://www.tinc-vpn.org/"
-license=('GPL')
-depends=('lzo2' 'openssl')
-backup=(etc/conf.d/tincd.conf)
-install=tinc.install
-source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz{,.sig}
- tincd.rc tincd.conf tincd at .service)
-md5sums=('d7bc9ca38672c9da08d74ff2a3e8e36d'
- 'SKIP'
- '64bb53748d9051255f243003f0d511f5'
- '7c0276d4812cc5d3cc18142562a3aa82'
- '035b0e549b08da55d19a8df5b8306e4d')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
- install -dm755 "$pkgdir"/usr/share/tinc/examples
- tar xozvf doc/sample-config.tar.gz -C $pkgdir/usr/share/tinc/examples
- find "$pkgdir"/usr/share/tinc/examples -type f -exec chmod 644 {} +
- find "$pkgdir"/usr/share/tinc/examples -type d -exec chmod 755 {} +
-
- install -Dm755 "$srcdir/tincd.rc" "$pkgdir/etc/rc.d/tincd"
- install -Dm644 "$srcdir/tincd.conf" "$pkgdir/etc/conf.d/tincd.conf"
- install -Dm644 "$srcdir/tincd at .service" "$pkgdir/usr/lib/systemd/system/tincd at .service"
-}
Copied: tinc/repos/community-i686/PKGBUILD (from rev 92046, tinc/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-05-31 00:34:01 UTC (rev 92047)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: helios
+# Contributor: Lothar Gesslein
+# Contributor: Dominik George <nik at naturalnet.de>
+
+pkgname=tinc
+pkgver=1.0.21
+pkgrel=2
+pkgdesc="VPN (Virtual Private Network) daemon"
+arch=('i686' 'x86_64')
+url="http://www.tinc-vpn.org/"
+license=('GPL')
+depends=('lzo2' 'openssl')
+install=tinc.install
+source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz{,.sig}
+ tincd at .service)
+md5sums=('d7bc9ca38672c9da08d74ff2a3e8e36d'
+ 'SKIP'
+ '112327da32fdb56ab779fe004712235f')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+ install -dm755 "$pkgdir"/usr/share/tinc/examples
+ tar xozvf doc/sample-config.tar.gz -C $pkgdir/usr/share/tinc/examples
+ find "$pkgdir"/usr/share/tinc/examples -type f -exec chmod 644 {} +
+ find "$pkgdir"/usr/share/tinc/examples -type d -exec chmod 755 {} +
+
+ install -Dm644 "$srcdir/tincd at .service" "$pkgdir/usr/lib/systemd/system/tincd at .service"
+}
Deleted: community-i686/tinc.install
===================================================================
--- community-i686/tinc.install 2013-05-31 00:33:51 UTC (rev 92046)
+++ community-i686/tinc.install 2013-05-31 00:34:01 UTC (rev 92047)
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(tinc.info.gz)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
- done
-}
Copied: tinc/repos/community-i686/tinc.install (from rev 92046, tinc/trunk/tinc.install)
===================================================================
--- community-i686/tinc.install (rev 0)
+++ community-i686/tinc.install 2013-05-31 00:34:01 UTC (rev 92047)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(tinc.info.gz)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
Deleted: community-i686/tincd.conf
===================================================================
--- community-i686/tincd.conf 2013-05-31 00:33:51 UTC (rev 92046)
+++ community-i686/tincd.conf 2013-05-31 00:34:01 UTC (rev 92047)
@@ -1,5 +0,0 @@
-# Extra options to be passed to tincd.
-# TINCD_EXTRAOPTS="-d"
-
-# Arrays containing all names of the networks to be started from rc.d.
-NETNAMES=()
Deleted: community-i686/tincd.rc
===================================================================
--- community-i686/tincd.rc 2013-05-31 00:33:51 UTC (rev 92046)
+++ community-i686/tincd.rc 2013-05-31 00:34:01 UTC (rev 92047)
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-daemon_name=tincd
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/$daemon_name.conf
-
-case "$1" in
- start)
- for net in "${NETNAMES[@]}"; do
- stat_busy "Starting ${daemon_name}"
- /usr/sbin/tincd -n "${net}" $TINCD_EXTRAOPTS &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon ${daemon_name}
- stat_done
- fi
- done
- ;;
- stop)
- stat_busy "Stopping ${daemon_name}"
- for net in "${NETNAMES[@]}"; do
- /usr/sbin/tincd -k -n "${net}" &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon ${daemon_name}
- stat_done
- fi
- done
- ;;
- restart)
- "$0" stop
- sleep 5
- "$0" start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Deleted: community-i686/tincd at .service
===================================================================
--- community-i686/tincd at .service 2013-05-31 00:33:51 UTC (rev 92046)
+++ community-i686/tincd at .service 2013-05-31 00:34:01 UTC (rev 92047)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Tinc daemon for net %i
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/tincd -n %i
-
-[Install]
-WantedBy=multi-user.target
Copied: tinc/repos/community-i686/tincd at .service (from rev 92046, tinc/trunk/tincd at .service)
===================================================================
--- community-i686/tincd at .service (rev 0)
+++ community-i686/tincd at .service 2013-05-31 00:34:01 UTC (rev 92047)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Tinc daemon for net %i
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/tincd -n %i
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-05-31 00:33:51 UTC (rev 92046)
+++ community-x86_64/PKGBUILD 2013-05-31 00:34:01 UTC (rev 92047)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: helios
-# Contributor: Lothar Gesslein
-# Contributor: Dominik George <nik at naturalnet.de>
-
-pkgname=tinc
-pkgver=1.0.21
-pkgrel=1
-pkgdesc="VPN (Virtual Private Network) daemon"
-arch=('i686' 'x86_64')
-url="http://www.tinc-vpn.org/"
-license=('GPL')
-depends=('lzo2' 'openssl')
-backup=(etc/conf.d/tincd.conf)
-install=tinc.install
-source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz{,.sig}
- tincd.rc tincd.conf tincd at .service)
-md5sums=('d7bc9ca38672c9da08d74ff2a3e8e36d'
- 'SKIP'
- '64bb53748d9051255f243003f0d511f5'
- '7c0276d4812cc5d3cc18142562a3aa82'
- '035b0e549b08da55d19a8df5b8306e4d')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
- install -dm755 "$pkgdir"/usr/share/tinc/examples
- tar xozvf doc/sample-config.tar.gz -C $pkgdir/usr/share/tinc/examples
- find "$pkgdir"/usr/share/tinc/examples -type f -exec chmod 644 {} +
- find "$pkgdir"/usr/share/tinc/examples -type d -exec chmod 755 {} +
-
- install -Dm755 "$srcdir/tincd.rc" "$pkgdir/etc/rc.d/tincd"
- install -Dm644 "$srcdir/tincd.conf" "$pkgdir/etc/conf.d/tincd.conf"
- install -Dm644 "$srcdir/tincd at .service" "$pkgdir/usr/lib/systemd/system/tincd at .service"
-}
Copied: tinc/repos/community-x86_64/PKGBUILD (from rev 92046, tinc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-05-31 00:34:01 UTC (rev 92047)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: helios
+# Contributor: Lothar Gesslein
+# Contributor: Dominik George <nik at naturalnet.de>
+
+pkgname=tinc
+pkgver=1.0.21
+pkgrel=2
+pkgdesc="VPN (Virtual Private Network) daemon"
+arch=('i686' 'x86_64')
+url="http://www.tinc-vpn.org/"
+license=('GPL')
+depends=('lzo2' 'openssl')
+install=tinc.install
+source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz{,.sig}
+ tincd at .service)
+md5sums=('d7bc9ca38672c9da08d74ff2a3e8e36d'
+ 'SKIP'
+ '112327da32fdb56ab779fe004712235f')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+ install -dm755 "$pkgdir"/usr/share/tinc/examples
+ tar xozvf doc/sample-config.tar.gz -C $pkgdir/usr/share/tinc/examples
+ find "$pkgdir"/usr/share/tinc/examples -type f -exec chmod 644 {} +
+ find "$pkgdir"/usr/share/tinc/examples -type d -exec chmod 755 {} +
+
+ install -Dm644 "$srcdir/tincd at .service" "$pkgdir/usr/lib/systemd/system/tincd at .service"
+}
Deleted: community-x86_64/tinc.install
===================================================================
--- community-x86_64/tinc.install 2013-05-31 00:33:51 UTC (rev 92046)
+++ community-x86_64/tinc.install 2013-05-31 00:34:01 UTC (rev 92047)
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(tinc.info.gz)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
- done
-}
Copied: tinc/repos/community-x86_64/tinc.install (from rev 92046, tinc/trunk/tinc.install)
===================================================================
--- community-x86_64/tinc.install (rev 0)
+++ community-x86_64/tinc.install 2013-05-31 00:34:01 UTC (rev 92047)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(tinc.info.gz)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
Deleted: community-x86_64/tincd.conf
===================================================================
--- community-x86_64/tincd.conf 2013-05-31 00:33:51 UTC (rev 92046)
+++ community-x86_64/tincd.conf 2013-05-31 00:34:01 UTC (rev 92047)
@@ -1,5 +0,0 @@
-# Extra options to be passed to tincd.
-# TINCD_EXTRAOPTS="-d"
-
-# Arrays containing all names of the networks to be started from rc.d.
-NETNAMES=()
Deleted: community-x86_64/tincd.rc
===================================================================
--- community-x86_64/tincd.rc 2013-05-31 00:33:51 UTC (rev 92046)
+++ community-x86_64/tincd.rc 2013-05-31 00:34:01 UTC (rev 92047)
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-daemon_name=tincd
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/$daemon_name.conf
-
-case "$1" in
- start)
- for net in "${NETNAMES[@]}"; do
- stat_busy "Starting ${daemon_name}"
- /usr/sbin/tincd -n "${net}" $TINCD_EXTRAOPTS &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon ${daemon_name}
- stat_done
- fi
- done
- ;;
- stop)
- stat_busy "Stopping ${daemon_name}"
- for net in "${NETNAMES[@]}"; do
- /usr/sbin/tincd -k -n "${net}" &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon ${daemon_name}
- stat_done
- fi
- done
- ;;
- restart)
- "$0" stop
- sleep 5
- "$0" start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Deleted: community-x86_64/tincd at .service
===================================================================
--- community-x86_64/tincd at .service 2013-05-31 00:33:51 UTC (rev 92046)
+++ community-x86_64/tincd at .service 2013-05-31 00:34:01 UTC (rev 92047)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Tinc daemon for net %i
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/tincd -n %i
-
-[Install]
-WantedBy=multi-user.target
Copied: tinc/repos/community-x86_64/tincd at .service (from rev 92046, tinc/trunk/tincd at .service)
===================================================================
--- community-x86_64/tincd at .service (rev 0)
+++ community-x86_64/tincd at .service 2013-05-31 00:34:01 UTC (rev 92047)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Tinc daemon for net %i
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/tincd -n %i
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list