From c33888a3c64de6c3d8e64b99c723b65e9e93c76d Mon Sep 17 00:00:00 2001 From: Georg Date: Mon, 30 Aug 2021 21:12:43 +0200 Subject: Init Slackware mirror Signed-off-by: Georg --- slackware/slackware-dirlist | 46 ++++++++++++++++++++++++++++++++++++ slackware/slackware-dirlist-commands | 3 +++ slackware/slackware-exclusions | 36 ++++++++++++++++++++++++++++ slackware/slackware-rsync | 8 +++++++ slackware/slackware.sh | 11 +++++++++ 5 files changed, 104 insertions(+) create mode 100644 slackware/slackware-dirlist create mode 100644 slackware/slackware-dirlist-commands create mode 100644 slackware/slackware-exclusions create mode 100644 slackware/slackware-rsync create mode 100755 slackware/slackware.sh (limited to 'slackware') diff --git a/slackware/slackware-dirlist b/slackware/slackware-dirlist new file mode 100644 index 0000000..4494df8 --- /dev/null +++ b/slackware/slackware-dirlist @@ -0,0 +1,46 @@ +slackware-1.01/ +slackware-1.1.2/ +slackware-1.2.0/ +slackware-10.0/ +slackware-10.1/ +slackware-10.2/ +slackware-11.0/ +slackware-12.0/ +slackware-12.1/ +slackware-12.2/ +slackware-13.0/ +slackware-13.1/ +slackware-13.37/ +slackware-14.0/ +slackware-14.1/ +slackware-14.2/ +slackware-2.0.0/ +slackware-2.0.1/ +slackware-2.1/ +slackware-2.2.0/ +slackware-2.3/ +slackware-3.0/ +slackware-3.1/ +slackware-3.2/ +slackware-3.3/ +slackware-3.4/ +slackware-3.5/ +slackware-3.6/ +slackware-3.9/ +slackware-4.0/ +slackware-7.0/ +slackware-7.1/ +slackware-8.0/ +slackware-8.1/ +slackware-9.0/ +slackware-9.1/ +slackware-current/ +slackware-iso/ +slackware-pre-1.0-beta/ +slackware64-13.0/ +slackware64-13.1/ +slackware64-13.37/ +slackware64-14.0/ +slackware64-14.1/ +slackware64-14.2/ +slackware64-current/ diff --git a/slackware/slackware-dirlist-commands b/slackware/slackware-dirlist-commands new file mode 100644 index 0000000..719ed8a --- /dev/null +++ b/slackware/slackware-dirlist-commands @@ -0,0 +1,3 @@ +curl -LO https://ftp6.gwdg.de/pub/linux/slackware +grep -o 'slackware.*-.*\/\"' slackware > slackware-dirlist +sed -i 's/\"//g' slackware-dirlist diff --git a/slackware/slackware-exclusions b/slackware/slackware-exclusions new file mode 100644 index 0000000..e75b3b9 --- /dev/null +++ b/slackware/slackware-exclusions @@ -0,0 +1,36 @@ +slackware-1.01/ +slackware-1.1.2/ +slackware-1.2.0/ +slackware-10.0/ +slackware-10.1/ +slackware-10.2/ +slackware-11.0/ +slackware-12.0/ +slackware-12.1/ +slackware-12.2/ +slackware-13.0/ +slackware-13.1/ +slackware-13.37/ +slackware-2.0.0/ +slackware-2.0.1/ +slackware-2.1/ +slackware-2.2.0/ +slackware-2.3/ +slackware-3.0/ +slackware-3.1/ +slackware-3.2/ +slackware-3.3/ +slackware-3.4/ +slackware-3.5/ +slackware-3.6/ +slackware-3.9/ +slackware-4.0/ +slackware-7.0/ +slackware-7.1/ +slackware-8.0/ +slackware-8.1/ +slackware-9.0/ +slackware-9.1/ +slackware-pre-1.0-beta/ +unsupported/ +gsb/ diff --git a/slackware/slackware-rsync b/slackware/slackware-rsync new file mode 100644 index 0000000..6d31f11 --- /dev/null +++ b/slackware/slackware-rsync @@ -0,0 +1,8 @@ + + rsync -nhavP \ + --delete --delete-after \ + --no-o --no-g --safe-links \ + --timeout=60 --contimeout=30 \ + --exclude-from=/mnt/gluster01/mirror/meta/slackware-exclusions \ + rsync://ftp6.gwdg.de/pub/linux/slackware/ \ + /mnt/gluster01/mirror/slackware/ diff --git a/slackware/slackware.sh b/slackware/slackware.sh new file mode 100755 index 0000000..bddf714 --- /dev/null +++ b/slackware/slackware.sh @@ -0,0 +1,11 @@ +#!/bin/sh +ORIGIN="ftp6.gwdg.de/pub/linux/slackware/" +echo "#universe +++ Starting mirror sync: Slackware ..." |& nc -N 127.0.0.2 2424 +/usr/bin/withlock /mnt/mirror/meta/mirror-slackware.lock rsync -hiav \ +--delete --delete-after \ +--no-o --no-g --safe-links \ +--timeout=60 --contimeout=30 \ +--exclude-from=/mnt/mirror/meta/slackware-exclusions \ +rsync://$ORIGIN \ +/mnt/mirror/slackware/ |& nc -N 127.0.0.2 2424 +echo "#universe +++ Synced with $ORIGIN." |& nc -N 127.0.0.2 2424 -- cgit v1.2.3