summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg2021-08-30 21:12:43 +0200
committerGeorg2021-08-30 21:12:43 +0200
commitc33888a3c64de6c3d8e64b99c723b65e9e93c76d (patch)
tree95b6fe87687e2ba1823d1775c167b4f089e97e24
parent278e838dee41dd36b1665b14b229f9c1fcba5539 (diff)
downloadmirror-master.tar.gz
mirror-master.tar.bz2
mirror-master.zip
Init Slackware mirrorHEADmaster
Signed-off-by: Georg <georg@lysergic.dev>
-rw-r--r--slackware/slackware-dirlist46
-rw-r--r--slackware/slackware-dirlist-commands3
-rw-r--r--slackware/slackware-exclusions36
-rw-r--r--slackware/slackware-rsync8
-rwxr-xr-xslackware/slackware.sh11
5 files changed, 104 insertions, 0 deletions
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