X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 68459DC0089 for ; Mon, 18 Aug 2014 10:51:13 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id x48so4815757wes.33 for ; Mon, 18 Aug 2014 03:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=przytarski.com; s=google; h=from:to:cc:subject:date:message-id; bh=YFlbxcmj4G2IMxUbot+RZSitTZgt7n8lluB35QUxSaQ=; b=xj/phJpgVXiAIGvnhDTpmCaf/CR+Bg7fEud1RVEAxdOwb2ymMerXgjT/Bs0Zuf5pW1 U4UEkS1IgBFEKi6IyhZsFojg0biWwu2B61nQ5IBahcpuVeo13hjq/51I3nCp1yL6i1fd r84YCHPJYxqXYD0xuHk11+Az47YL4vKvkTY+U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=YFlbxcmj4G2IMxUbot+RZSitTZgt7n8lluB35QUxSaQ=; b=BERR18t1QlDNAexbullq60KzXdusRHHZH5CEyA8ufEOCb4bstCqi7ixvCcr6GhmM6z tGMFb+mwH8su8cfz348lviaY6OtClKDf6duAPLvYVeuXbyM0F6pn6JtuCUP/jVwERuJU f06k3g9oYDf6CHTPEWQ/LAio3TS4qUWqaJciDuFRXZcVhqPgiH9IoGCOIKQLeR5NxWsa M4RL819ErwsHrNJjQZUbwJvcIhbQgZ1a91aXUCcMOtTMHB8LNzG5Pi7m3eFiPQmBkzBD Ap4v6LHgHqtwv/CD+UFNAxlIOnid2+laBrzzgHXwhjTbnXQTMzKi/ph0Qq7oPsOynpxT GCKA== X-Gm-Message-State: ALoCoQkdsisSmBdBv6pVzQNPImDbr0VcvY5w0KRqnPmrnYoKRFDgMHeiltbGfxcq93t+PjFdQ1/O X-Received: by 10.180.75.203 with SMTP id e11mr31896340wiw.28.1408359071054; Mon, 18 Aug 2014 03:51:11 -0700 (PDT) Received: from shafire-x86_64.alpinelinux.org (176-20-159-88.business.edutel.nl. [88.159.20.176]) by mx.google.com with ESMTPSA id gc8sm36772106wic.3.2014.08.18.03.51.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Aug 2014 03:51:10 -0700 (PDT) From: Dennis Przytarski To: alpine-devel@lists.alpinelinux.org Cc: Dennis Przytarski Subject: [alpine-devel] [PATCH] testing/tb-tun: new aport Date: Mon, 18 Aug 2014 10:51:07 +0000 Message-Id: <1408359067-4923-1-git-send-email-dennis@przytarski.com> X-Mailer: git-send-email 2.1.0 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://code.google.com/p/tb-tun/ An userspace program using TUN/TAP to build 6to4/tunnelbroker/ISATAP tunnel on Linux --- testing/tb-tun/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/tb-tun/APKBUILD diff --git a/testing/tb-tun/APKBUILD b/testing/tb-tun/APKBUILD new file mode 100644 index 0000000..676e981 --- /dev/null +++ b/testing/tb-tun/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Dennis Przytarski +# Maintainer: +pkgname=tb-tun +pkgver=r18 +pkgrel=0 +pkgdesc="An userspace program using TUN/TAP to build 6to4/tunnelbroker/ISATAP tunnel on Linux" +url="https://code.google.com/p/tb-tun/" +arch="all" +license="GPL1+ PerlArtistic" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://$pkgname.googlecode.com/files/${pkgname}_${pkgver}.tar.gz" + +_builddir="$srcdir" +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" + gcc tb_userspace.c -l pthread -o tb_userspace || return 1 +} + +package() { + cd "$_builddir" + install -Dm755 tb_userspace "$pkgdir"/usr/sbin/tb_userspace || return 1 +} + +md5sums="7227ed964e9eaacb7fc7e08a86c3ffcc tb-tun_r18.tar.gz" +sha256sums="3c4a18069a888a15b20da3a8ba12374bcae8257b59c0f2221513811df23dec12 tb-tun_r18.tar.gz" +sha512sums="476532ffaa0eb584af04bc226507445fbe6f5d50aff25cbee6f1d85c0fae19621923905be2a01c52bad5bb01156237b232eed485fd45ffee1da48f14534a92c0 tb-tun_r18.tar.gz" -- 2.1.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---