summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-21 00:10:17 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-21 00:10:17 +0100
commit0aa148fdd5fec10290622f32bede3c640a0a153a (patch)
tree8ea778786dd208ae363753456897fa86db92a09e
parent62b47aba27c20caf5d4fb2dea10c3ea1a724d3dd (diff)
downloadbuildscripts-0aa148fdd5fec10290622f32bede3c640a0a153a.tar.gz
buildscripts-0aa148fdd5fec10290622f32bede3c640a0a153a.tar.bz2
buildscripts-0aa148fdd5fec10290622f32bede3c640a0a153a.zip
manage several dupload configs
-rwxr-xr-xbin/build-package4
-rw-r--r--home/.dupload.conf.itzks37
-rw-r--r--home/.dupload.conf.nwt (renamed from home/.dupload.conf)0
-rw-r--r--home/.dupload.conf.x2go37
4 files changed, 76 insertions, 2 deletions
diff --git a/bin/build-package b/bin/build-package
index cc7a9d4..8a1f94f 100755
--- a/bin/build-package
+++ b/bin/build-package
@@ -247,13 +247,13 @@ upload_packages() {
if [ "x$EXTRA_ARCHS_ONLY" = "x" ]; then
for l_ARCH in amd64 i386; do
cd "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH"
- ls "$PROJECT_*.changes" &>/dev/null && dupload --to $PREFIX-$l_DIST-$l_CODENAME "$PROJECT_*.changes"
+ ls "$PROJECT_*.changes" &>/dev/null && dupload -c ~/.dupload.conf.$PREFIX --to $PREFIX-$l_DIST-$l_CODENAME "$PROJECT_*.changes"
cd -
done
fi
for l_EXTRA_ARCH in $EXTRA_ARCHS; do
cd "$PKGDIST/$l_DIST/$l_CODENAME/$l_EXTRA_ARCH"
- ls "$PROJECT_*.changes" &>/dev/null && dupload --to $PREFIX-$l_DIST-$l_CODENAME "$PROJECT_*.changes"
+ ls "$PROJECT_*.changes" &>/dev/null && dupload -c ~/.dupload.conf.$PREFIX --to $PREFIX-$l_DIST-$l_CODENAME "$PROJECT_*.changes"
cd -
done
done
diff --git a/home/.dupload.conf.itzks b/home/.dupload.conf.itzks
new file mode 100644
index 0000000..7e25854
--- /dev/null
+++ b/home/.dupload.conf.itzks
@@ -0,0 +1,37 @@
+package config;
+
+### itzks/DEBIAN
+$cfg{"itzks-debian-sid"} = {
+ fqdn => "packages.it-zukunft-schule.de",
+ login => "itzks-admin",
+ method => "scpb",
+ incoming => "/srv/sites/it-zukunft-schule.de/packages/debian/incoming/sid",
+ queuedir => "/srv/sites/it-zukunft-schule.de/packages/debian/upload/sid",
+ dinstall_runs => 1,
+};
+$cfg{"itzks-debian-wheezy"} = {
+ fqdn => "packages.it-zukunft-schule.de",
+ login => "itzks-admin",
+ method => "scpb",
+ incoming => "/srv/sites/it-zukunft-schule.de/packages/debian/incoming/wheezy",
+ queuedir => "/srv/sites/it-zukunft-schule.de/packages/debian/upload/wheezy",
+ dinstall_runs => 1,
+};
+$cfg{"itzks-debian-squeeze"} = {
+ fqdn => "packages.it-zukunft-schule.de",
+ login => "itzks-admin",
+ method => "scpb",
+ incoming => "/srv/sites/it-zukunft-schule.de/packages/debian/incoming/squeeze",
+ queuedir => "/srv/sites/it-zukunft-schule.de/packages/debian/upload/squeeze",
+ dinstall_runs => 1,
+};
+$cfg{"itzks-debian-lenny"} = {
+ fqdn => "packages.it-zukunft-schule.de",
+ login => "itzks-admin",
+ method => "scpb",
+ incoming => "/srv/sites/it-zukunft-schule.de/packages/debian/incoming/lenny",
+ queuedir => "/srv/sites/it-zukunft-schule.de/packages/debian/upload/lenny",
+ dinstall_runs => 1,
+};
+
+1;
diff --git a/home/.dupload.conf b/home/.dupload.conf.nwt
index d4ba622..d4ba622 100644
--- a/home/.dupload.conf
+++ b/home/.dupload.conf.nwt
diff --git a/home/.dupload.conf.x2go b/home/.dupload.conf.x2go
new file mode 100644
index 0000000..8e68292
--- /dev/null
+++ b/home/.dupload.conf.x2go
@@ -0,0 +1,37 @@
+package config;
+
+### X2go/DEBIAN
+$cfg{"x2go-debian-sid"} = {
+ fqdn => "code.x2go.org",
+ login => "x2go-admin",
+ method => "scpb",
+ incoming => "/srv/sites/x2go.org/packages/debian/incoming/sid",
+ queuedir => "/srv/sites/x2go.org/packages/debian/upload/sid",
+ dinstall_runs => 1,
+};
+$cfg{"x2go-debian-wheezy"} = {
+ fqdn => "code.x2go.org",
+ login => "x2go-admin",
+ method => "scpb",
+ incoming => "/srv/sites/x2go.org/packages/debian/incoming/wheezy",
+ queuedir => "/srv/sites/x2go.org/packages/debian/upload/wheezy",
+ dinstall_runs => 1,
+};
+$cfg{"x2go-debian-squeeze"} = {
+ fqdn => "code.x2go.org",
+ login => "x2go-admin",
+ method => "scpb",
+ incoming => "/srv/sites/x2go.org/packages/debian/incoming/squeeze",
+ queuedir => "/srv/sites/x2go.org/packages/debian/upload/squeeze",
+ dinstall_runs => 1,
+};
+$cfg{"x2go-debian-lenny"} = {
+ fqdn => "code.x2go.org",
+ login => "x2go-admin",
+ method => "scpb",
+ incoming => "/srv/sites/x2go.org/packages/debian/incoming/lenny",
+ queuedir => "/srv/sites/x2go.org/packages/debian/upload/lenny",
+ dinstall_runs => 1,
+};
+
+1;