X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by lists.alpinelinux.org (Postfix) with ESMTP id 766655C44FC for ; Thu, 1 Dec 2016 23:07:20 +0000 (GMT) Received: by mail-pg0-f67.google.com with SMTP id x23so5907158pgx.3 for ; Thu, 01 Dec 2016 15:07:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lWasP3b7OphOCnsn1maKzcYe7fyMmFjYWgyRgoLE0os=; b=u06hf4Pyj5TsQV20gRVEqfkFQjmkKYaRQOWaFwiUpksAwTAcE3W5p5VAA8WdmGPVsu sfLa4qaDj5OXEg5ODJXA/KXjzIXuwDlLHULy/U5mFpMjW7K6u6yhYdhWK+E2i6EpZKUj FLP+CIX0w3mEIHX8tiPdKqOkz/nO1hiIUvVuzT+RvyrglmmOSKZ20VfWm5A+hy+kUpMb 7RMz4tvOrPZ/SR2uYDrUGBOTZ/zb5QoVAZt9lkcg+CFSvQuKu5vbLYi1+1Ndq3K1XxqF KmhXRw7wb0fEASlSCKMLbQ+cDzLmLa/3DrmZyO2yAOLVlLe7Wt0Ln2sQ4ZKm+phJBIui N1XA== 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:in-reply-to :references; bh=lWasP3b7OphOCnsn1maKzcYe7fyMmFjYWgyRgoLE0os=; b=Ag/YCdqoRQaBR/yB74AlTj4ncDbqMzML6BD441sN+RM/FtahkPZ6pbrWCQdUjbtGRL C8swbhNNw1P3tJdwLbuhftC6ZTrwJ3A4JJgou4yygEmbYDb0WK4gjdUaas6jqi+Qlc5Q vWzqdYVyt94ko0ysx2DxY2X0avpc0IH+MSCNBNPmPAJS9LJvAJyVdP53rUw5V59Jgtqo dhVteXEYjqHYNxjRY6NvbV8woRYMgYyxuRy4sW4y59+oVPg1JrNt9Hvup73JjxJDgZaN oa4VflnD8M7Zr2/RpbY7IdKJ+y5U9rhIQoqm5roC4mZDcjeqnkZJ5XoTyoGtyUXyDeQ9 CZfA== X-Gm-Message-State: AKaTC02kGPQCI+mcOL5LzPDZvf9I9DM7vpZqfpuWhHWA14alUpdjkycsDoM25RKGqMqmIQ== X-Received: by 10.99.116.25 with SMTP id p25mr73223128pgc.161.1480632745692; Thu, 01 Dec 2016 14:52:25 -0800 (PST) Received: from localhost.localdomain ([72.13.87.237]) by smtp.gmail.com with ESMTPSA id v193sm2439833pgb.37.2016.12.01.14.52.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Dec 2016 14:52:24 -0800 (PST) From: Guy Taylor To: alpine-aports@lists.alpinelinux.org Cc: Guy Taylor Subject: [alpine-aports] [PATCH v2] testing/iodine: new aport Date: Thu, 1 Dec 2016 22:51:41 +0000 Message-Id: <20161201225141.8323-1-thebigguy.co.uk@gmail.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20161129011230.7615-1-thebigguy.co.uk@gmail.com> References: <20161129011230.7615-1-thebigguy.co.uk@gmail.com> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: http://code.kryo.se/iodine/ IP over DNS tunnel --- Changes v1 -> v2: - Add Contributor tag - Add empty Maintainer tag - Rename "_builddir" var to "builddir" Questions: - Should I use "_builddir" or "builddir"? There is differing ussages in the examples. -- "builddir" https://wiki.alpinelinux.org/wiki/APKBUILD_examples:Simple -- "_builddir" https://wiki.alpinelinux.org/wiki/APKBUILD_examples:Multiple_Subpackages - Maintainer? - Is "ISC" a valid license short code or should it be "custom"? - I have contacted the devlopers about fixing the "__GLIBC__=1" requirment/hack. What is the normal way around glibc/musl "#if defined" issues? testing/iodine/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 testing/iodine/APKBUILD diff --git a/testing/iodine/APKBUILD b/testing/iodine/APKBUILD new file mode 100644 index 0000000..c1ca4e7 --- /dev/null +++ b/testing/iodine/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Guy Taylor +# Maintainer: +pkgname=iodine +pkgver=0.7.0 +pkgrel=0 +pkgdesc="IP over DNS tunnel" +url="http://code.kryo.se/iodine/" +arch="all" +license="ISC" +depends="" +makedepends="linux-headers" +subpackages="" +source="http://code.kryo.se/iodine/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + CFLAGS="$CLAGS -D__GLIBC__=1" make || return 1 +} + + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" prefix="" install +} + +md5sums="fdbf3b81cd69caf5230d76a8b039fd99 iodine-0.7.0.tar.gz" +sha256sums="ad2b40acf1421316ec15800dcde0f587ab31d7d6f891fa8b9967c4ded93c013e iodine-0.7.0.tar.gz" +sha512sums="49fe4f0cf614d3400cbfdade84eb4f50430f8f92004f663a08acc1514e8ff342443a8c3f855828bbca1864a3fafe419b5256f8a80fc4024b364d4c8c953fc0ec iodine-0.7.0.tar.gz" -- 2.8.3 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---