diff options
author | Erich Eckner <git@eckner.net> | 2018-05-27 10:13:52 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-27 10:13:52 +0200 |
commit | 14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch) | |
tree | 644ebb60f7155dd5c139d233857684fbcd8546e6 /manualPorts/update-ddns | |
download | crux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz |
initial commit
Diffstat (limited to 'manualPorts/update-ddns')
-rw-r--r-- | manualPorts/update-ddns/.footprint | 5 | ||||
-rw-r--r-- | manualPorts/update-ddns/.md5sum | 1 | ||||
-rw-r--r-- | manualPorts/update-ddns/.signature | 5 | ||||
-rw-r--r-- | manualPorts/update-ddns/Pkgfile | 19 | ||||
-rwxr-xr-x | manualPorts/update-ddns/lastVersion.sh | 8 |
5 files changed, 38 insertions, 0 deletions
diff --git a/manualPorts/update-ddns/.footprint b/manualPorts/update-ddns/.footprint new file mode 100644 index 0000000..423e5c9 --- /dev/null +++ b/manualPorts/update-ddns/.footprint @@ -0,0 +1,5 @@ +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/update-ddns.conf +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/update-ddns diff --git a/manualPorts/update-ddns/.md5sum b/manualPorts/update-ddns/.md5sum new file mode 100644 index 0000000..b2a1921 --- /dev/null +++ b/manualPorts/update-ddns/.md5sum @@ -0,0 +1 @@ +e4964ea0683b789e758ed56824952f4b dl.php?dl=update-ddns-0.1.7 diff --git a/manualPorts/update-ddns/.signature b/manualPorts/update-ddns/.signature new file mode 100644 index 0000000..a3b4341 --- /dev/null +++ b/manualPorts/update-ddns/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/deepthought.pub +RWQxCptPusLGGoWHtMfWf+tTzsVhT7AQS5tyyowffrg8J4XhV+RwneuemAzzio4zyq4cBwKlFrA+eUOBmX9gLRwoDaCPt9iVqwo= +SHA256 (Pkgfile) = 1194474707c1613f03dfea1717f7dea66d31db83c9592bcf10dc7cc2adae044b +SHA256 (.footprint) = b2fc541c26c15ebe454df0d8b124f11bbb424a3d07d2b94b8b2e1b9f74c83cb6 +SHA256 (dl.php?dl=update-ddns-0.1.7) = 28594024bcfb9c4c3f912e0d02599c59c048079d9049de1f29c6644ac488138d diff --git a/manualPorts/update-ddns/Pkgfile b/manualPorts/update-ddns/Pkgfile new file mode 100644 index 0000000..054c17e --- /dev/null +++ b/manualPorts/update-ddns/Pkgfile @@ -0,0 +1,19 @@ +# Description: script to update freedns.afraid.org's ddns entries if necessary +# URL: https://opensources.eckner.net/?ls=update-ddns +# Maintainer: Erich Eckner, crux at eckner dot net +# Depends on: + +name=update-ddns +version=0.1.7 +release=1 +source=("https://opensources.eckner.net/dl.php?dl=${name}-${version}") + +build() { + + tar -xf *${name}-${version} + cd ${name}-${version} + + make + make DESTDIR=$PKG install + +} diff --git a/manualPorts/update-ddns/lastVersion.sh b/manualPorts/update-ddns/lastVersion.sh new file mode 100755 index 0000000..c82780a --- /dev/null +++ b/manualPorts/update-ddns/lastVersion.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +wget -O - "https://opensources.eckner.net/ls.php?ls=update-ddns" 2> /dev/null | \ + tr "<>" "\n\n" | \ + grep "^update-ddns-" | \ + sed "s|^update-ddns-||" | \ + sort -V | \ + tail -n1 |