diff options
20 files changed, 130 insertions, 76 deletions
diff --git a/manualPorts/bash-completion-extras/lastVersion.sh b/manualPorts/bash-completion-extras/lastVersion.sh index 659af1c..1147c0d 100755 --- a/manualPorts/bash-completion-extras/lastVersion.sh +++ b/manualPorts/bash-completion-extras/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=bash-completion-extras" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^bash-completion-extras-" | \ - sed "s|^bash-completion-extras-||" | \ +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/bash-git-prompt/lastVersion.sh b/manualPorts/bash-git-prompt/lastVersion.sh index 2c71e5c..1147c0d 100755 --- a/manualPorts/bash-git-prompt/lastVersion.sh +++ b/manualPorts/bash-git-prompt/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=bash-git-prompt" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^bash-git-prompt-" | \ - sed "s|^bash-git-prompt-||" | \ +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/check-kernel/lastVersion.sh b/manualPorts/check-kernel/lastVersion.sh index 78d3d06..1147c0d 100755 --- a/manualPorts/check-kernel/lastVersion.sh +++ b/manualPorts/check-kernel/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=check-kernel" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^check-kernel-" | \ - sed "s|^check-kernel-||" | \ +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/crypt-expiry-check/lastVersion.sh b/manualPorts/crypt-expiry-check/lastVersion.sh index d1bd247..1147c0d 100755 --- a/manualPorts/crypt-expiry-check/lastVersion.sh +++ b/manualPorts/crypt-expiry-check/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=crypt-expiry-check" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^crypt-expiry-check-" | \ - sed "s|^crypt-expiry-check-||" | \ +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/cryptfs-daemon/lastVersion.sh b/manualPorts/cryptfs-daemon/lastVersion.sh index 51f799b..1147c0d 100755 --- a/manualPorts/cryptfs-daemon/lastVersion.sh +++ b/manualPorts/cryptfs-daemon/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=cryptfs-daemon" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^cryptfs-daemon-" | \ - sed "s|^cryptfs-daemon-||" | \ +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/ewemake/Pkgfile b/manualPorts/ewemake/Pkgfile index 1b16641..b932e67 100644 --- a/manualPorts/ewemake/Pkgfile +++ b/manualPorts/ewemake/Pkgfile @@ -1,5 +1,5 @@ # Description: somewhat more powerfull alternative to 'make' -# URL: https://opensources.eckner.net/?ls=Make +# URL: https://git.eckner.net/Erich/Make # Maintainer: Erich Eckner, crux at eckner dot net # Depends on: fpc fpc-src-ewetools @@ -9,7 +9,7 @@ name=ewemake remName=Make version=1.2.3 release=1 -source=("https://opensources.eckner.net/dl.php?dl=${remName}-${version}") +source=("https://git.eckner.net/Erich/${remName}/snapshot/${remName}-${version}") build() { diff --git a/manualPorts/ewemake/lastVersion.sh b/manualPorts/ewemake/lastVersion.sh index 2805fc3..5f1c4c0 100755 --- a/manualPorts/ewemake/lastVersion.sh +++ b/manualPorts/ewemake/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=Make" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^Make-" | \ - sed "s|^Make-||" | \ +curl -Ss "https://git.eckner.net/Erich/Make/refs/" | \ + tr '<>' '\n' | \ + sed -n " + s,^a href='/Erich/Make/snapshot/Make-\([0-9.]\+\)\.tar\.xz'$,\1, + T + p + " | \ sort -V | \ tail -n1 diff --git a/manualPorts/fpc-src-ewetools/Pkgfile b/manualPorts/fpc-src-ewetools/Pkgfile index c919e24..2b9c015 100644 --- a/manualPorts/fpc-src-ewetools/Pkgfile +++ b/manualPorts/fpc-src-ewetools/Pkgfile @@ -1,12 +1,12 @@ # Description: fpc sources of some useful tools -# URL: https://opensources.eckner.net/?ls=units +# URL: https://git.eckner.net/Erich/units # Maintainer: Erich Eckner, crux at eckner dot net name=fpc-src-ewetools remName=units version=0.2.2 release=1 -source=("https://opensources.eckner.net/dl.php?dl=${remName}-${version}") +source=("https://git.eckner.net/Erich/${remName}/snapshot/${remName}-${version}") build() { diff --git a/manualPorts/fpc-src-ewetools/lastVersion.sh b/manualPorts/fpc-src-ewetools/lastVersion.sh index e3e5866..c798a6a 100755 --- a/manualPorts/fpc-src-ewetools/lastVersion.sh +++ b/manualPorts/fpc-src-ewetools/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=units" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^units-" | \ - sed "s|^units-||" | \ +curl -Ss "https://git.eckner.net/Erich/units/refs/" | \ + tr '<>' '\n' | \ + sed -n " + s,^a href='/Erich/units/snapshot/units-\([0-9.]\+\)\.tar\.xz'$,\1, + T + p + " | \ sort -V | \ tail -n1 diff --git a/manualPorts/hardlinkedBackups/lastVersion.sh b/manualPorts/hardlinkedBackups/lastVersion.sh index 304c5ba..1147c0d 100755 --- a/manualPorts/hardlinkedBackups/lastVersion.sh +++ b/manualPorts/hardlinkedBackups/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=hardlinkedBackups" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^hardlinkedBackups-" | \ - sed "s|^hardlinkedBackups-||" | \ +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/logwatch-extra/lastVersion.sh b/manualPorts/logwatch-extra/lastVersion.sh index 42fc8a5..1147c0d 100755 --- a/manualPorts/logwatch-extra/lastVersion.sh +++ b/manualPorts/logwatch-extra/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=logwatch-extra" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^logwatch-extra-" | \ - sed "s|^logwatch-extra-||" | \ +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/makekernel/lastVersion.sh b/manualPorts/makekernel/lastVersion.sh index aba6b9e..1147c0d 100755 --- a/manualPorts/makekernel/lastVersion.sh +++ b/manualPorts/makekernel/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=makekernel" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^makekernel-" | \ - sed "s|^makekernel-||" | \ +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/mark-as-expendable-dir/lastVersion.sh b/manualPorts/mark-as-expendable-dir/lastVersion.sh index 89036b7..1147c0d 100755 --- a/manualPorts/mark-as-expendable-dir/lastVersion.sh +++ b/manualPorts/mark-as-expendable-dir/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=mark-as-expendable-dir" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^mark-as-expendable-dir-" | \ - sed "s|^mark-as-expendable-dir-||" | \ +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/mounted/lastVersion.sh b/manualPorts/mounted/lastVersion.sh index b155f8c..1147c0d 100755 --- a/manualPorts/mounted/lastVersion.sh +++ b/manualPorts/mounted/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=mounted" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^mounted-" | \ - sed "s|^mounted-||" | \ +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/passwort-tresor/lastVersion.sh b/manualPorts/passwort-tresor/lastVersion.sh index be992ed..1147c0d 100755 --- a/manualPorts/passwort-tresor/lastVersion.sh +++ b/manualPorts/passwort-tresor/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=passwort-tresor" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^passwort-tresor-" | \ - sed "s|^passwort-tresor-||" | \ +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/runjobsparallel/lastVersion.sh b/manualPorts/runjobsparallel/lastVersion.sh index 7a16a39..1147c0d 100755 --- a/manualPorts/runjobsparallel/lastVersion.sh +++ b/manualPorts/runjobsparallel/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=runjobsparallel" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^runjobsparallel-" | \ - sed "s|^runjobsparallel-||" | \ +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/sendmailadvanced/lastVersion.sh b/manualPorts/sendmailadvanced/lastVersion.sh index 49fdb02..1147c0d 100755 --- a/manualPorts/sendmailadvanced/lastVersion.sh +++ b/manualPorts/sendmailadvanced/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=sendmailadvanced" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^sendmailadvanced-" | \ - sed "s|^sendmailadvanced-||" | \ +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/shutdownasap/lastVersion.sh b/manualPorts/shutdownasap/lastVersion.sh index d46f09e..1147c0d 100755 --- a/manualPorts/shutdownasap/lastVersion.sh +++ b/manualPorts/shutdownasap/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=shutdownasap" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^shutdownasap-" | \ - sed "s|^shutdownasap-||" | \ +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/update-all/lastVersion.sh b/manualPorts/update-all/lastVersion.sh index 2701e3c..1147c0d 100755 --- a/manualPorts/update-all/lastVersion.sh +++ b/manualPorts/update-all/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=update-all" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^update-all-" | \ - sed "s|^update-all-||" | \ +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/update-ddns/lastVersion.sh b/manualPorts/update-ddns/lastVersion.sh index c82780a..1147c0d 100755 --- a/manualPorts/update-ddns/lastVersion.sh +++ b/manualPorts/update-ddns/lastVersion.sh @@ -1,8 +1,11 @@ #!/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-||" | \ +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 |