summaryrefslogtreecommitdiff
path: root/pcr/tinc-pre
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/tinc-pre')
-rw-r--r--pcr/tinc-pre/PKGBUILD47
-rw-r--r--pcr/tinc-pre/tinc.install20
-rw-r--r--pcr/tinc-pre/tincd@.service10
3 files changed, 0 insertions, 77 deletions
diff --git a/pcr/tinc-pre/PKGBUILD b/pcr/tinc-pre/PKGBUILD
deleted file mode 100644
index 474ed7db1..000000000
--- a/pcr/tinc-pre/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# Maintainer: Márcio Silva <coadde@hyperbola.info>
-# Maintainer (Arch): Timothy Redaelli <timothy.redaelli@gmail.com>
-# Contributor (Arch): helios
-# Contributor (Arch): Lothar Gesslein
-# Contributor (Arch): Dominik George <nik@naturalnet.de>
-
-_pkgname=tinc
-pkgname=tinc-pre
-pkgver=1.1pre11
-pkgrel=2.1
-pkgdesc='VPN (Virtual Private Network) daemon (Pre-release)'
-arch=('i686' 'x86_64' 'armv7h')
-url="http://www.tinc-vpn.org/"
-license=('GPL')
-depends=('lzo' 'openssl')
-optdepends=('wxpython: gui support')
-provides=('tinc-pre')
-conflicts=('tinc')
-install=tinc.install
-source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz{,.sig}
- tincd@.service)
-md5sums=('e9cc2971927d31e703f0c2b1791a4edf'
- 'SKIP'
- '8fe22441f4bd4abaa5d87bbd7886deff')
-validpgpkeys=('D62BDD168EFBE48BC60E8E234A6084B9C0D71F4A')
-
-build() {
- cd "$_pkgname-$pkgver"
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
- make
-}
-
-package() {
- cd "$_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@.service" "$pkgdir/usr/lib/systemd/system/tincd@.service"
-
- sed -e 's,#!/usr/bin/python,#!/usr/bin/python2,' -i $pkgdir/usr/bin/tinc-gui
-}
diff --git a/pcr/tinc-pre/tinc.install b/pcr/tinc-pre/tinc.install
deleted file mode 100644
index 1b804fd8d..000000000
--- a/pcr/tinc-pre/tinc.install
+++ /dev/null
@@ -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
-}
diff --git a/pcr/tinc-pre/tincd@.service b/pcr/tinc-pre/tincd@.service
deleted file mode 100644
index d03e9a138..000000000
--- a/pcr/tinc-pre/tincd@.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Tinc daemon for net %i
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/tincd --pidfile /run/tinc.%i.pid -n %I
-
-[Install]
-WantedBy=multi-user.target