aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2017-05-06 17:51:11 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2017-05-06 17:51:17 +0200
commit6f01709adb0e849c4f4d55786e5e471cbe3878e8 (patch)
tree6344be7c90ed55349cccea9a52090bcfc86c6152
parent49751a9a67e7bf6df04a474f6734989441148949 (diff)
downloadaports-6f01709adb0e849c4f4d55786e5e471cbe3878e8.tar.bz2
aports-6f01709adb0e849c4f4d55786e5e471cbe3878e8.tar.xz
community/tinc-pre: fix init and move to community
-rw-r--r--community/tinc-pre/APKBUILD (renamed from testing/tinc-pre/APKBUILD)17
-rw-r--r--community/tinc-pre/tinc-1.1-fix-paths.patch (renamed from testing/tinc-pre/tinc-1.1-fix-paths.patch)0
-rw-r--r--community/tinc-pre/tinc-pre.confd (renamed from testing/tinc-pre/tinc-pre.confd)0
-rw-r--r--community/tinc-pre/tinc-pre.initd (renamed from testing/tinc-pre/tinc-pre.initd)0
-rw-r--r--community/tinc-pre/tinc-pre.networks (renamed from testing/tinc-pre/tinc-pre.networks)0
5 files changed, 6 insertions, 11 deletions
diff --git a/testing/tinc-pre/APKBUILD b/community/tinc-pre/APKBUILD
index 9cc6796d28..2b1006e6d0 100644
--- a/testing/tinc-pre/APKBUILD
+++ b/community/tinc-pre/APKBUILD
@@ -3,29 +3,24 @@
pkgname=tinc-pre
_realver="1.1pre14"
pkgver=${_realver/pre/.}
-pkgrel=0
+pkgrel=1
pkgdesc="Virtual Private Network (VPN) daemon (pre-release)"
url="http://tinc-vpn.org/"
arch="all"
license="GPLv2"
depends=""
options="!check"
-makedepends="automake autoconf libtool linux-headers ncurses-dev readline-dev
+makedepends="linux-headers ncurses-dev readline-dev
zlib-dev lzo-dev libressl-dev texinfo"
install=""
subpackages="$pkgname-doc $pkgname-gui::noarch"
-source="$pkgname-$pkgver.tar.gz::https://github.com/gsliepen/tinc/archive/release-$_realver.tar.gz
+source="http://tinc-vpn.org/packages/tinc-$_realver.tar.gz
tinc-1.1-fix-paths.patch
$pkgname.initd
$pkgname.confd
$pkgname.networks
"
-builddir="$srcdir/tinc-release-$_realver"
-
-prepare() {
- default_prepare
- autoreconf -vif
-}
+builddir="$srcdir/tinc-$_realver"
build() {
cd "$builddir"
@@ -53,7 +48,7 @@ package() {
install -Dm644 "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/tincd
install -Dm644 "$srcdir"/$pkgname.networks \
- "$pkgdir"/etc/conf.d/tinc-networks
+ "$pkgdir"/etc/conf.d/tinc.networks
}
gui() {
@@ -65,7 +60,7 @@ gui() {
"$subpkgdir"/usr/bin/
}
-sha512sums="c2b95f0a09db08722751601d11a18fd10b970100bf225b8c5afb1dda7a0b4bebb99b4b5372979ce30bce3bebd836587978bf2d86c576f82a447d907c467f0acd tinc-pre-1.1.14.tar.gz
+sha512sums="dfc54a91fd40826b108e9cbae43da42462eb51bb7ad16ac040cb1b262b5510eb6884b1f1dbe0541a3b1631213f70cc678593d1ba51ebdf150c3f6968030b9291 tinc-1.1pre14.tar.gz
55bd0e61a1d10a89d879d5113082f0cdb5ff6bf1d1fb3f618c459eb2658836bf602f72fe27ac03ec78746e300a3a5178db053eef6f08d3cb34b11410dbeb05de tinc-1.1-fix-paths.patch
59811c3e5241d08ebdfbd539556b7cee0dfaab89727ad503512c98f1a696fae143ecdf2682a652c5d71d077ed254ffe2e1c442b1c305c7e7ea94d9af9a1d385e tinc-pre.initd
f8d9354af5ebc07420ced98059262751bffef434b61c6333964338f327e2ac01ae676e375954efa794a1bccf8b939c78387b9fb7261f675f1237b0d946b529c9 tinc-pre.confd
diff --git a/testing/tinc-pre/tinc-1.1-fix-paths.patch b/community/tinc-pre/tinc-1.1-fix-paths.patch
index 519677dd50..519677dd50 100644
--- a/testing/tinc-pre/tinc-1.1-fix-paths.patch
+++ b/community/tinc-pre/tinc-1.1-fix-paths.patch
diff --git a/testing/tinc-pre/tinc-pre.confd b/community/tinc-pre/tinc-pre.confd
index cedca60c42..cedca60c42 100644
--- a/testing/tinc-pre/tinc-pre.confd
+++ b/community/tinc-pre/tinc-pre.confd
diff --git a/testing/tinc-pre/tinc-pre.initd b/community/tinc-pre/tinc-pre.initd
index 55728bec2c..55728bec2c 100644
--- a/testing/tinc-pre/tinc-pre.initd
+++ b/community/tinc-pre/tinc-pre.initd
diff --git a/testing/tinc-pre/tinc-pre.networks b/community/tinc-pre/tinc-pre.networks
index e1844ce2ba..e1844ce2ba 100644
--- a/testing/tinc-pre/tinc-pre.networks
+++ b/community/tinc-pre/tinc-pre.networks