summaryrefslogtreecommitdiff
path: root/manualPorts
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-21 21:55:01 +0100
committerErich Eckner <git@eckner.net>2019-01-21 21:55:01 +0100
commit5da6e7afb6137bc74bda83073dd5f8264f8c6e68 (patch)
treed3854581c522e784d2d42da9e50f2d948e007d2b /manualPorts
parentce6aa3ae61a72efbe02a97b692739893e42aa5a5 (diff)
downloadcrux-ports-5da6e7afb6137bc74bda83073dd5f8264f8c6e68.tar.xz
cleanup
Diffstat (limited to 'manualPorts')
-rwxr-xr-x[-rw-r--r--]manualPorts/alpine/lastVersion.sh0
-rwxr-xr-xmanualPorts/dd-resume/lastVersion.sh11
-rwxr-xr-xmanualPorts/fpc-cross/lastVersion.sh16
-rwxr-xr-xmanualPorts/gnome-icon-theme-symbolic/lastVersion.sh19
-rwxr-xr-xmanualPorts/gnome-icon-theme/lastVersion.sh19
-rwxr-xr-xmanualPorts/icon-naming-utils/lastVersion.sh11
-rwxr-xr-xmanualPorts/ii/lastVersion.sh11
-rwxr-xr-xmanualPorts/lz4/lastVersion.sh11
-rwxr-xr-xmanualPorts/moreutils/lastVersion.sh11
-rwxr-xr-xmanualPorts/offlineimap/lastVersion.sh11
10 files changed, 120 insertions, 0 deletions
diff --git a/manualPorts/alpine/lastVersion.sh b/manualPorts/alpine/lastVersion.sh
index 055b7e1..055b7e1 100644..100755
--- a/manualPorts/alpine/lastVersion.sh
+++ b/manualPorts/alpine/lastVersion.sh
diff --git a/manualPorts/dd-resume/lastVersion.sh b/manualPorts/dd-resume/lastVersion.sh
new file mode 100755
index 0000000..1147c0d
--- /dev/null
+++ b/manualPorts/dd-resume/lastVersion.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+curl -Ss "https://git.eckner.net/Erich/$(basename "${0%/*}")/refs/" | \
+ tr '<>' '\n' | \
+ sed -n "
+ s,^a href='/Erich/$(basename "${0%/*}")/snapshot/$(basename "${0%/*}")-\([0-9.]\+\)\.tar\.xz'$,\1,
+ T
+ p
+ " | \
+ sort -V | \
+ tail -n1
diff --git a/manualPorts/fpc-cross/lastVersion.sh b/manualPorts/fpc-cross/lastVersion.sh
new file mode 100755
index 0000000..1bc4a95
--- /dev/null
+++ b/manualPorts/fpc-cross/lastVersion.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+curl -Ss 'ftp://ftp.freepascal.org/pub/fpc/dist/' | \
+ awk '{print $9}' | \
+ grep -x '[0-9.]\+' | \
+ sort -Vr | \
+ while read -r ver; do
+ curl -Ss "ftp://ftp.freepascal.org/pub/fpc/dist/${ver}/source/" | \
+ awk '{print $9}' | \
+ grep -m1 -xF "fpcbuild-${ver}.tar.gz" && \
+ break
+ done | \
+ sed '
+ s/^fpcbuild-//
+ s/\.tar\.gz$//
+ '
diff --git a/manualPorts/gnome-icon-theme-symbolic/lastVersion.sh b/manualPorts/gnome-icon-theme-symbolic/lastVersion.sh
new file mode 100755
index 0000000..ac014bb
--- /dev/null
+++ b/manualPorts/gnome-icon-theme-symbolic/lastVersion.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+curl -Ss 'http://ftp.gnome.org/pub/gnome/sources/gnome-icon-theme-symbolic/' | \
+ tr '<>' '\n' | \
+ sed '
+ s,^\([0-9.]\+\)/$,\1,
+ t
+ d
+ ' | \
+ sort -Vr | \
+ while read -r ver; do
+ curl -Ss "http://ftp.gnome.org/pub/gnome/sources/gnome-icon-theme-symbolic/${ver}/" | \
+ tr '"' '\n' | \
+ grep -m1 '^gnome-icon-theme-symbolic-[0-9.]\+\.tar\.xz$' && \
+ break
+ done | \
+ sed '
+ s/^gnome-icon-theme-symbolic-\([0-9.]\+\)\.tar\.xz$/\1/
+ '
diff --git a/manualPorts/gnome-icon-theme/lastVersion.sh b/manualPorts/gnome-icon-theme/lastVersion.sh
new file mode 100755
index 0000000..471dad4
--- /dev/null
+++ b/manualPorts/gnome-icon-theme/lastVersion.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+curl -Ss 'http://ftp.gnome.org/pub/gnome/sources/gnome-icon-theme/' | \
+ tr '<>' '\n' | \
+ sed '
+ s,^\([0-9.]\+\)/$,\1,
+ t
+ d
+ ' | \
+ sort -Vr | \
+ while read -r ver; do
+ curl -Ss "http://ftp.gnome.org/pub/gnome/sources/gnome-icon-theme/${ver}/" | \
+ tr '"' '\n' | \
+ grep -m1 '^gnome-icon-theme-[0-9.]\+\.tar\.xz$' && \
+ break
+ done | \
+ sed '
+ s/^gnome-icon-theme-\([0-9.]\+\)\.tar\.xz$/\1/
+ '
diff --git a/manualPorts/icon-naming-utils/lastVersion.sh b/manualPorts/icon-naming-utils/lastVersion.sh
new file mode 100755
index 0000000..d40ea12
--- /dev/null
+++ b/manualPorts/icon-naming-utils/lastVersion.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+curl -Ss 'http://tango.freedesktop.org/releases/' | \
+ tr '"<>' '\n' | \
+ sed '
+ s/^icon-naming-utils-\([0-9.]\+\)\.tar\.gz$/\1/
+ t
+ d
+ ' | \
+ sort -V | \
+ tail -n1
diff --git a/manualPorts/ii/lastVersion.sh b/manualPorts/ii/lastVersion.sh
new file mode 100755
index 0000000..11a879d
--- /dev/null
+++ b/manualPorts/ii/lastVersion.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+curl -Ss 'https://dl.suckless.org/tools/' | \
+ tr '"' '\n' | \
+ sed '
+ s/^ii-\([0-9.]\+\)\.tar\.gz$/\1/
+ t
+ d
+ ' | \
+ sort -V | \
+ tail -n1
diff --git a/manualPorts/lz4/lastVersion.sh b/manualPorts/lz4/lastVersion.sh
new file mode 100755
index 0000000..05d7f86
--- /dev/null
+++ b/manualPorts/lz4/lastVersion.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+curl 'https://github.com/lz4/lz4/releases/' 2> /dev/null | \
+ tr '"<>' '\n' | \
+ sed '
+ s,^/lz4/lz4/archive/v\([0-9.]\+\)\.tar\.gz$,\1,
+ t
+ d
+ ' | \
+ sort -V | \
+ tail -n1
diff --git a/manualPorts/moreutils/lastVersion.sh b/manualPorts/moreutils/lastVersion.sh
new file mode 100755
index 0000000..f2e4f23
--- /dev/null
+++ b/manualPorts/moreutils/lastVersion.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+curl -Ss 'https://joeyh.name/code/moreutils/' | \
+ tr '<>' '\n' | \
+ sed '
+ s/^version \([0-9.]\+\)$/\1/
+ t
+ d
+ ' | \
+ sort -V | \
+ tail -n1
diff --git a/manualPorts/offlineimap/lastVersion.sh b/manualPorts/offlineimap/lastVersion.sh
new file mode 100755
index 0000000..b74f151
--- /dev/null
+++ b/manualPorts/offlineimap/lastVersion.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+curl 'https://github.com/OfflineIMAP/offlineimap/releases/' 2> /dev/null | \
+ tr '"<>' '\n' | \
+ sed '
+ s,^/OfflineIMAP/offlineimap/archive/v\([0-9.]\+\)\.tar\.gz$,\1,
+ t
+ d
+ ' | \
+ sort -V | \
+ tail -n1