aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-11-29 15:46:56 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2015-11-29 15:46:56 -0800
commitb507524e34a5308d3a11333e7f04930459b607a9 (patch)
tree39d64f29a3f9e6ac48721c8e63f929baf838a94f
parentpy2to3 fixes. (diff)
downloadmastermirror-scripts-b507524e34a5308d3a11333e7f04930459b607a9.tar.gz
mastermirror-scripts-b507524e34a5308d3a11333e7f04930459b607a9.tar.bz2
mastermirror-scripts-b507524e34a5308d3a11333e7f04930459b607a9.zip
Update copyright and docs.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--README13
-rwxr-xr-xclean-old-deltas.py3
-rwxr-xr-xdatestamp.sh2
-rwxr-xr-xgen-report-whitelist-xml.py1
-rwxr-xr-xgen-report-xml.py1
-rwxr-xr-xgenerate-distfiles-reports.sh1
-rwxr-xr-xrsync-gen.sh3
-rw-r--r--rsync-gen.vars2
-rwxr-xr-xsign-autobuilds.sh2
-rwxr-xr-xsnapshots-create.sh3
-rwxr-xr-xsync-autobuilds.sh2
-rwxr-xr-xsync-distfiles.sh1
-rwxr-xr-xsync-experimental.sh1
-rwxr-xr-xsync-masterdistfiles-mirror.sh1
-rwxr-xr-xtimestamp-releases.sh1
-rwxr-xr-xtimestamp-rsync.sh1
16 files changed, 34 insertions, 4 deletions
diff --git a/README b/README
index 8927053..e1d9a66 100644
--- a/README
+++ b/README
@@ -1,3 +1,16 @@
+Gentoo infrastructure master-mirror scripts
+-------------------------------------------
+
Scripts for master{rsync,releases,snap,distfiles,portage} go in this directory.
It is not harmful to install the scripts on hosts that don't exactly need them
and it is nicer to have all the mirroring scripts in the same place.
+
+Please make sure that you NEVER include any secure material in this
+repository.
+- passwords
+- passphrases
+- private keys
+- other secure key material
+
+Copyright 2005-2015 Gentoo Foundation; Distributed under the GPL v2
+Might be earlier copyright, no history available.
diff --git a/clean-old-deltas.py b/clean-old-deltas.py
index a415be6..3972eae 100755
--- a/clean-old-deltas.py
+++ b/clean-old-deltas.py
@@ -1,4 +1,5 @@
-#!/usr/bin/python
+#!/usr/bin/env python
+# Copyright 2011-2015 Gentoo Foundation; Distributed under the GPL v2
import os,sys
if len(sys.argv) != 4:
diff --git a/datestamp.sh b/datestamp.sh
index de6ef9a..0879758 100755
--- a/datestamp.sh
+++ b/datestamp.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# distributed by cfengine
+# Copyright 2011-2015 Gentoo Foundation; Distributed under the GPL v2
umask 022 # ensure globally readable perms on new files for rsyncd
diff --git a/gen-report-whitelist-xml.py b/gen-report-whitelist-xml.py
index 8997e53..541e150 100755
--- a/gen-report-whitelist-xml.py
+++ b/gen-report-whitelist-xml.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright 2014-2015 Gentoo Foundation; Distributed under the GPL v2
from __future__ import unicode_literals
diff --git a/gen-report-xml.py b/gen-report-xml.py
index dc12a47..2099635 100755
--- a/gen-report-xml.py
+++ b/gen-report-xml.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright 2014-2015 Gentoo Foundation; Distributed under the GPL v2
from __future__ import unicode_literals
diff --git a/generate-distfiles-reports.sh b/generate-distfiles-reports.sh
index a205b65..9134ef5 100755
--- a/generate-distfiles-reports.sh
+++ b/generate-distfiles-reports.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# Copyright 2014-2015 Gentoo Foundation; Distributed under the GPL v2
DATADIR="/data/gmirror-distfiles"
SCRIPTDIR="/usr/local/bin/mastermirror/"
diff --git a/rsync-gen.sh b/rsync-gen.sh
index ad7750e..7e93c0b 100755
--- a/rsync-gen.sh
+++ b/rsync-gen.sh
@@ -1,5 +1,6 @@
#!/bin/bash
-# distributed by cfengine
+# Copyright 2005-2015 Gentoo Foundation; Distributed under the GPL v2
+# might be earlier copyright, no history available
# 0) Make a backup incase there is something wrong with server side
# 1) Update rsync checkouts or exports from cvs.g.o::mastermirror-staging
diff --git a/rsync-gen.vars b/rsync-gen.vars
index 1c343e0..a420471 100644
--- a/rsync-gen.vars
+++ b/rsync-gen.vars
@@ -1,4 +1,6 @@
#!/bin/bash
+# Copyright 2005-2015 Gentoo Foundation; Distributed under the GPL v2
+# might be earlier copyright, no history available
BASE="/var/tmp/gmirror-rsync"
[[ $HOSTNAME == kookaburra ]] && BASE="/var/tmp/gmirror"
diff --git a/sign-autobuilds.sh b/sign-autobuilds.sh
index 3d859d9..1002ba0 100755
--- a/sign-autobuilds.sh
+++ b/sign-autobuilds.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# Copyright 2010-2015 Gentoo Foundation; Distributed under the GPL v2
+# might be earlier copyright, no history available
ARCHES="alpha amd64 arm hppa ia64 ppc s390 sh sparc x86"
#alpha amd64 arm hppa ia64 mips ppc s390 sh sparc x86
diff --git a/snapshots-create.sh b/snapshots-create.sh
index fd13241..74354f6 100755
--- a/snapshots-create.sh
+++ b/snapshots-create.sh
@@ -1,5 +1,6 @@
#!/bin/bash
-# distributed by cfengine
+# Copyright 2011-2015 Gentoo Foundation; Distributed under the GPL v2
+# might be earlier copyright, no history available
# 1) Create the tarball
# 2) Sanity check the tarball size and bail out if it appears abnormal.
diff --git a/sync-autobuilds.sh b/sync-autobuilds.sh
index a2b5597..90161ba 100755
--- a/sync-autobuilds.sh
+++ b/sync-autobuilds.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# Copyright 2011-2015 Gentoo Foundation; Distributed under the GPL v2
+# might be earlier copyright, no history available
ARCHES="alpha amd64 arm hppa ia64 ppc s390 sh sparc x86"
#alpha amd64 arm hppa ia64 mips ppc s390 sh sparc x86
diff --git a/sync-distfiles.sh b/sync-distfiles.sh
index 1abaf2d..db9e686 100755
--- a/sync-distfiles.sh
+++ b/sync-distfiles.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# Copyright 2014-2015 Gentoo Foundation; Distributed under the GPL v2
DATADIR="/data/gmirror-distfiles"
LOGDIR="${DATADIR}/log"
diff --git a/sync-experimental.sh b/sync-experimental.sh
index 60ee45c..6dcec30 100755
--- a/sync-experimental.sh
+++ b/sync-experimental.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# Copyright 2011-2015 Gentoo Foundation; Distributed under the GPL v2
FINALDIR="/var/tmp/gmirror-releases/experimental"
RSYNC="/usr/bin/rsync"
diff --git a/sync-masterdistfiles-mirror.sh b/sync-masterdistfiles-mirror.sh
index 9ff516a..c48667b 100755
--- a/sync-masterdistfiles-mirror.sh
+++ b/sync-masterdistfiles-mirror.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# Copyright 2011-2015 Gentoo Foundation; Distributed under the GPL v2
FINALDIR="/data/mirror"
PASSWD_FILE="/etc/mastermirror-fetch/osuosl-rsync.passwd"
diff --git a/timestamp-releases.sh b/timestamp-releases.sh
index 8935acd..fb982a9 100755
--- a/timestamp-releases.sh
+++ b/timestamp-releases.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+# Copyright 2012-2015 Gentoo Foundation; Distributed under the GPL v2
# this is ugly and I don't like it
diff --git a/timestamp-rsync.sh b/timestamp-rsync.sh
index 1d8cf2f..55fbcc7 100755
--- a/timestamp-rsync.sh
+++ b/timestamp-rsync.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+# Copyright 2012-2015 Gentoo Foundation; Distributed under the GPL v2
case $HOSTNAME in
kookaburra) TARGET=/var/tmp/gmirror/snapshots-final/.timestamp-snapshots.x ;;
dipper) TARGET=/var/tmp/gmirror-rsync/snapshots-final/.timestamp-snapshots.x ;;