~alpine/devel

3 2

[alpine-devel] [PATCH 3/3] testing/quicktun: new aport

Johannes Matheis <jomat+alpinebuild@jmt.gr>
Details
Message ID
<1409418539-turnsole-61301@jmt.gr>
Sender timestamp
1409418574
DKIM signature
missing
Download raw message
Patch: +46 -0
http://wiki.ucis.nl/QuickTun
Simple and secure VPN software using NaCl encryption
---
 testing/quicktun/APKBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 testing/quicktun/APKBUILD

diff --git a/testing/quicktun/APKBUILD b/testing/quicktun/APKBUILD
new file mode 100644
index 0000000..202f191
--- /dev/null
+++ b/testing/quicktun/APKBUILD
@@ -0,0 +1,46 @@
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=quicktun
pkgver=2.2.4
pkgrel=0
pkgdesc="Simple and secure VPN software using NaCl encryption"
url="http://wiki.ucis.nl/QuickTun"
arch="all"
license="custom"
depends="libsodium"
depends_dev="tar libsodium-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-keypair"
source="http://oss.ucis.nl/${pkgname}/src/${pkgname}-${pkgver}.tgz"

_builddir="$srcdir/${pkgname}-${pkgver}"
prepare() {
   local i
   cd "$_builddir"
   for i in $source; do
       case $i in
       *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
       esac
   done
}

build() {
   cd "$_builddir"
   ./build.sh
}

package() {
   cd "$_builddir"
   install -D out/quicktun.combined "${pkgdir}/usr/bin/quicktun.combined"
   ln -s quicktun.combined "${pkgdir}/usr/bin/quicktun"
}
keypair() {
   pkgdesc="Tool to create a quicktun public/private keypair"
   cd "$_builddir"
   install -D out/quicktun.keypair "${subpkgdir}/usr/bin/quicktun.keypair"
}

md5sums="5e27c9b1ccae0c6d6e4b30ca476f910d  quicktun-2.2.4.tgz"
sha256sums="652383d30f4a1ac2d42500e676f4c8590efaeea21a1e40a3ad1c332aa2ba3a0c  quicktun-2.2.4.tgz"
sha512sums="da60fc39d8e85d5b2c162633840b887be3fd58d9f2b3a99fe605fa13546e4f53878ce6246d835b7931e42193fb044330c539b29751cdb6f54d025efc52041487  quicktun-2.2.4.tgz"
-- 
2.0.0


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Johannes Matheis <jomat+alpinebuild@jmt.gr>
Details
Message ID
<1409563441-turnsole-29982@jmt.gr>
In-Reply-To
<20140901103928.7db09598@ncopa-desktop.alpinelinux.org> (view parent)
Sender timestamp
1409564005
DKIM signature
missing
Download raw message
Excerpts from Natanael Copa's message of 2014-09-01 08:39:28 +0000:
> We should not add shared libs as depends as abuild handles that
> automatically for us. We only need to add the -dev package to
> makedepends (as you do below).

Thanks for the hint!

> Could you please confirm that the license is BSD?

That's right. I found the 2-clause BSD license in some sourcecode files.

-- 
Johannes Matheis
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20140901103928.7db09598@ncopa-desktop.alpinelinux.org>
In-Reply-To
<1409418539-turnsole-61301@jmt.gr> (view parent)
Sender timestamp
1409560768
DKIM signature
missing
Download raw message
On Sat, 30 Aug 2014 17:09:34 +0000
Johannes Matheis <jomat+alpinebuild@jmt.gr> wrote:

> http://wiki.ucis.nl/QuickTun
> Simple and secure VPN software using NaCl encryption
> ---
>  testing/quicktun/APKBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 46 insertions(+)
>  create mode 100644 testing/quicktun/APKBUILD
> 
> diff --git a/testing/quicktun/APKBUILD b/testing/quicktun/APKBUILD
> new file mode 100644
> index 0000000..202f191
> --- /dev/null
> +++ b/testing/quicktun/APKBUILD
> @@ -0,0 +1,46 @@
> +# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
> +# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
> +pkgname=quicktun
> +pkgver=2.2.4
> +pkgrel=0
> +pkgdesc="Simple and secure VPN software using NaCl encryption"
> +url="http://wiki.ucis.nl/QuickTun"
> +arch="all"
> +license="custom"

Looks like the license is BSD?

> +depends="libsodium"

We should not add shared libs as depends as abuild handles that
automatically for us. We only need to add the -dev package to
makedepends (as you do below).

> +depends_dev="tar libsodium-dev"
> +makedepends="$depends_dev"
> +install=""
> +subpackages="$pkgname-keypair"
> +source="http://oss.ucis.nl/${pkgname}/src/${pkgname}-${pkgver}.tgz"

Could you please confirm that the license is BSD?

Thanks!

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20140901114714.1b70e9db@ncopa-desktop.alpinelinux.org>
In-Reply-To
<1409563441-turnsole-29982@jmt.gr> (view parent)
Sender timestamp
1409564834
DKIM signature
missing
Download raw message
On Mon, 01 Sep 2014 09:33:25 +0000
Johannes Matheis <jomat+alpinebuild@jmt.gr> wrote:

> Excerpts from Natanael Copa's message of 2014-09-01 08:39:28 +0000:
> > We should not add shared libs as depends as abuild handles that
> > automatically for us. We only need to add the -dev package to
> > makedepends (as you do below).
> 
> Thanks for the hint!
> 
> > Could you please confirm that the license is BSD?
> 
> That's right. I found the 2-clause BSD license in some sourcecode files.
> 

Applied. Thanks!

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)