aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/noip/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/noip/APKBUILD
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/noip/APKBUILD')
-rw-r--r--unmaintained/noip/APKBUILD60
1 files changed, 60 insertions, 0 deletions
diff --git a/unmaintained/noip/APKBUILD b/unmaintained/noip/APKBUILD
new file mode 100644
index 0000000000..eb6b396fc4
--- /dev/null
+++ b/unmaintained/noip/APKBUILD
@@ -0,0 +1,60 @@
+# Contributor: crow <crow@linux.org.ba>
+# Maintainer:
+pkgname=noip
+pkgver=2.1.9
+_pkgver=2.1.9-1
+pkgrel=2
+pkgdesc="Dynamic DNS Client Updater for no-ip.com services"
+url="http://www.no-ip.com/downloads.php?page=linux"
+arch="all"
+license="GPL2+"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
+ noip-2.1.9-flags.patch
+ noip-2.1.9-daemon.patch
+ noip.initd
+ "
+
+_builddir="$srcdir"/noip-$_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
+ sed -i '/^#define CONFIG_FILEPATH/s/PREFIX//' noip2.c || return 1
+ sed -i '/^#define CONFIG_FILENAME/s/PREFIX//' noip2.c || return 1
+}
+
+build() {
+ cd "$_builddir"
+ cc -Wall $CLFAGS $LDFLAGS -g -Dlinux -DPREFIX=/usr noip2.c -o noip2 -Wno-unused-but-set-variable
+}
+
+package() {
+ cd "$_builddir"
+
+ install -Dm755 "$_builddir"/noip2 \
+ "$pkgdir"/usr/sbin/noip2 || return 1
+ install -m755 -D "$srcdir"/$pkgname.initd \
+ "$pkgdir"/etc/init.d/$pkgname || return 1
+}
+
+md5sums="3b0f5f2ff8637c73ab337be403252a60 noip-duc-linux.tar.gz
+1959f3f0f57b8455c8701b9c5e5feafe noip-2.1.9-flags.patch
+d41d8cd98f00b204e9800998ecf8427e noip-2.1.9-daemon.patch
+db8264ecaa50e47f952b232beae6ef86 noip.initd"
+sha256sums="82b9bafab96a0c53b21aaef688bf70b3572e26217b5e2072bdb09da3c4a6f593 noip-duc-linux.tar.gz
+07ddd46b9fb7579e20e7f32de061aa9e4fe70bda389b1b780ce3807661b1e543 noip-2.1.9-flags.patch
+e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 noip-2.1.9-daemon.patch
+21b5b1d99742bd4771d160e071e4c11d0a9c7f97832ac18514ebca4beeaca23f noip.initd"
+sha512sums="6c32397f31e6f4875a2429398c2627cbe52abba569830ddc1190fed3f4c6cb23e232e60b23d9fa97940f98a1c5c019a89812844f92a655c6ebf275b784015125 noip-duc-linux.tar.gz
+d825dcd16ee8c424865b51d6cd7de64bbde5f772c5ff63d76014ec13b18196208ed09df5a81dd606a8c49cfc422db3ac5d6a306c81137d1447c979158bd164e8 noip-2.1.9-flags.patch
+cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e noip-2.1.9-daemon.patch
+d9a94817337fa79a442171e170189125258ac06443c9763d7d5096e6ea2b1d577dca662dec3c0c3df579923782fe51c84a6972c1429b3cfdaaa139fe7dd510c6 noip.initd"