summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmanualPorts/ccid/lastVersion.sh11
-rwxr-xr-xmanualPorts/cdrdao/lastVersion.sh11
-rwxr-xr-xmanualPorts/pcsc-lite/lastVersion.sh11
3 files changed, 33 insertions, 0 deletions
diff --git a/manualPorts/ccid/lastVersion.sh b/manualPorts/ccid/lastVersion.sh
new file mode 100755
index 0000000..966f3e2
--- /dev/null
+++ b/manualPorts/ccid/lastVersion.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+curl -Ss 'https://ccid.apdu.fr/files/' | \
+ tr '<>' '\n' | \
+ sed -n '
+ s/^a href="ccid-\([0-9.]\+\)\.tar\.bz2"$/\1/
+ T
+ p
+ ' | \
+ sort -V | \
+ tail -n1
diff --git a/manualPorts/cdrdao/lastVersion.sh b/manualPorts/cdrdao/lastVersion.sh
new file mode 100755
index 0000000..99bc56d
--- /dev/null
+++ b/manualPorts/cdrdao/lastVersion.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+curl -Ss 'https://sourceforge.net/projects/cdrdao/files/' | \
+ tr ' ' '\n' | \
+ sed -n '
+ s/^title="cdrdao-\([0-9.]\+\)\.tar\.bz2"$/\1/
+ T
+ p
+ ' | \
+ sort -V | \
+ tail -n1
diff --git a/manualPorts/pcsc-lite/lastVersion.sh b/manualPorts/pcsc-lite/lastVersion.sh
new file mode 100755
index 0000000..7590d38
--- /dev/null
+++ b/manualPorts/pcsc-lite/lastVersion.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+curl -Ss 'https://pcsclite.apdu.fr/files/' | \
+ tr '<>' '\n' | \
+ sed -n '
+ s/^a href="pcsc-lite-\([0-9.]\+\)\.tar\.bz2"$/\1/
+ T
+ p
+ ' | \
+ sort -V | \
+ tail -n1