From 359bffed16b70c438ce911d804ea34c1db9c4c30 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Sat, 30 Sep 2017 17:46:36 +0200 Subject: community/tinc-pre: upgrade to 1.1pre15 and enable some tests --- community/tinc-pre/APKBUILD | 19 +++++++++++++------ community/tinc-pre/disable-ping-tests.patch | 11 +++++++++++ 2 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 community/tinc-pre/disable-ping-tests.patch (limited to 'community/tinc-pre') diff --git a/community/tinc-pre/APKBUILD b/community/tinc-pre/APKBUILD index 573ed70076..744f33c2c8 100644 --- a/community/tinc-pre/APKBUILD +++ b/community/tinc-pre/APKBUILD @@ -1,21 +1,22 @@ # Contributor: Carlo Landmeter -# Maintainer: +# Maintainer: Carlo Landmeter pkgname=tinc-pre -_realver="1.1pre14" +_realver="1.1pre15" pkgver=${_realver/pre/.} -pkgrel=2 +pkgrel=0 pkgdesc="Virtual Private Network (VPN) daemon (pre-release)" url="http://tinc-vpn.org/" arch="all" license="GPLv2" depends="" -options="!check" makedepends="linux-headers ncurses-dev readline-dev - zlib-dev lzo-dev libressl-dev texinfo" + zlib-dev lzo-dev libressl-dev texinfo + automake autoconf libtool" install="" subpackages="$pkgname-doc $pkgname-gui::noarch" source="http://tinc-vpn.org/packages/tinc-$_realver.tar.gz tinc-1.1-fix-paths.patch + disable-ping-tests.patch $pkgname.initd $pkgname.confd $pkgname.networks @@ -40,6 +41,11 @@ build() { make } +check() { + cd "$builddir" + make check +} + package() { cd "$builddir" make DESTDIR="$pkgdir" install @@ -60,8 +66,9 @@ gui() { "$subpkgdir"/usr/bin/ } -sha512sums="dfc54a91fd40826b108e9cbae43da42462eb51bb7ad16ac040cb1b262b5510eb6884b1f1dbe0541a3b1631213f70cc678593d1ba51ebdf150c3f6968030b9291 tinc-1.1pre14.tar.gz +sha512sums="29b109c84a89204a9fe298e3cfb092169a7c3cbb62e0cabdb7fe8eaa01b03343b7d48bf028525754af1a340781de209e0b9412669c256a30e7226a8a21412c17 tinc-1.1pre15.tar.gz 55bd0e61a1d10a89d879d5113082f0cdb5ff6bf1d1fb3f618c459eb2658836bf602f72fe27ac03ec78746e300a3a5178db053eef6f08d3cb34b11410dbeb05de tinc-1.1-fix-paths.patch +8a140f53c1913334ef6b37438c29a53932369b1b82f8196635379041d2c8f0152207cbf5deb5cde9f2052e4fd47c14b3c62bce17de898965dd05af4b9105d99b disable-ping-tests.patch 59811c3e5241d08ebdfbd539556b7cee0dfaab89727ad503512c98f1a696fae143ecdf2682a652c5d71d077ed254ffe2e1c442b1c305c7e7ea94d9af9a1d385e tinc-pre.initd f8d9354af5ebc07420ced98059262751bffef434b61c6333964338f327e2ac01ae676e375954efa794a1bccf8b939c78387b9fb7261f675f1237b0d946b529c9 tinc-pre.confd f7cb459c170898e51176bd92c642335386db90b7bca2abb3f6eb2514546efbd74e5fd2c8845060111dd48a0dd2cc1890717a03315c9b86185047c259cdc27135 tinc-pre.networks" diff --git a/community/tinc-pre/disable-ping-tests.patch b/community/tinc-pre/disable-ping-tests.patch new file mode 100644 index 0000000000..1e9192b106 --- /dev/null +++ b/community/tinc-pre/disable-ping-tests.patch @@ -0,0 +1,11 @@ +--- ./test/Makefile.am.orig ++++ ./test/Makefile.am +@@ -6,8 +6,6 @@ + invite-join.test \ + invite-offline.test \ + invite-tinc-up.test \ +- ns-ping.test \ +- ping.test \ + scripts.test \ + sptps-basic.test \ + variables.test -- cgit v1.2.3