diff options
| -rw-r--r-- | add_changes.sh | 41 | ||||
| -rw-r--r-- | distributions | 168 | ||||
| -rw-r--r-- | showcontents.sh | 10 | ||||
| -rw-r--r-- | sync.sh | 2 |
4 files changed, 203 insertions, 18 deletions
diff --git a/add_changes.sh b/add_changes.sh index 4c74bee..a092f8a 100644 --- a/add_changes.sh +++ b/add_changes.sh @@ -5,18 +5,37 @@ # # remove package #reprepro --ask-passphrase -b . -V -C main remove edgy PACKAGE_NAME +# +# generate snapshot +# reprepro --ask-passphrase -b . -V -C main gensnapshot unstable 20Ago2007 +# get_version() { case $1 in *etch*) echo "etch" ;; - *feisty*) - echo "feisty" + *lenny*) + echo "lenny" + ;; + *testing*) + echo "testing" + ;; + *hardy*) + echo "hardy" + ;; + *intrepid*) + echo "intrepid" + ;; + *jaunty*) + echo "jaunty" ;; *gutsy*) echo "gutsy" ;; + *feisty*) + echo "feisty" + ;; *edgy*) echo "edgy" ;; @@ -29,11 +48,23 @@ get_version() { esac } +if [ "$SECTION" = "" ]; then + SECTION="main" + echo "WARNING: using section main, overwrite with SECTION=xxxx" + echo +fi + +PKGRESULT=/var/cache/pbuilder/result/ +[ -d /home/pbuilder/result ] && PKGRESULT=/home/pbuilder/result/ -newpkg=$(find /var/cache/pbuilder/result/ -name "*$1*changes") +newpkg=$(find $PKGRESULT -name "*$1*changes") +arch="" +if [ "$2" != "" ]; then + arch="-A $2" +fi for pkg in $newpkg; do - echo -n "reprepro --ask-passphrase -b . -V -C main include $(get_version $pkg) $pkg ;" + echo "reprepro --ask-passphrase -b . $arch -V -C $SECTION include $(get_version $pkg) $pkg ;\\" done -echo "" +echo "echo DONE" diff --git a/distributions b/distributions index b389e22..81c6235 100644 --- a/distributions +++ b/distributions @@ -2,36 +2,180 @@ Origin: Tcos-Packages Label: Tcos-Packages Suite: unstable Codename: unstable -Architectures: i386 source -Components: main +Architectures: i386 amd64 source +Components: main mesa experimental freenx Description: Tcos Debian unstable packages mirror -SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +#SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +SignWith: mariodebian@gmail.com +Contents: . .gz .bz2 +DscIndices: Sources Release . .gz .bz2 +DebIndices: Packages Release . .gz .bz2 + +Origin: Tcos-Packages +Label: Tcos-Packages +Suite: etch +Codename: etch +Architectures: i386 amd64 source +Components: main experimental freenx +Description: Tcos Debian etch 4.0 packages mirror +#SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +SignWith: mariodebian@gmail.com +Contents: . .gz .bz2 +DscIndices: Sources Release . .gz .bz2 +DebIndices: Packages Release . .gz .bz2 + +Origin: Tcos-Packages +Label: Tcos-Packages +Suite: lenny +Codename: lenny +Architectures: i386 amd64 source +Components: main experimental freenx +Description: Tcos Debian lenny 4.0 packages mirror +#SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +SignWith: mariodebian@gmail.com +Contents: . .gz .bz2 +DscIndices: Sources Release . .gz .bz2 +DebIndices: Packages Release . .gz .bz2 + +Origin: Tcos-Packages +Label: Tcos-Packages +Suite: testing +Codename: testing +Architectures: i386 amd64 source +Components: main experimental freenx +Description: Tcos Debian testing (lenny) packages mirror +#SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +SignWith: mariodebian@gmail.com +Contents: . .gz .bz2 +DscIndices: Sources Release . .gz .bz2 +DebIndices: Packages Release . .gz .bz2 Origin: Tcos-Packages Label: Tcos-Packages Suite: stable Codename: stable -Architectures: i386 source -Components: main +Architectures: i386 amd64 source +Components: main experimental freenx Description: Tcos Debian stable packages mirror -SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +#SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +SignWith: mariodebian@gmail.com +#Contents: 1 +Contents: . .gz .bz2 +DscIndices: Sources Release . .gz .bz2 +DebIndices: Packages Release . .gz .bz2 + +Origin: Tcos-Packages +Label: Tcos-Packages +Suite: experimental +Codename: experimental +Architectures: i386 amd64 source +Components: main experimental freenx +Description: Tcos Debian experimental packages mirror +#SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +SignWith: mariodebian@gmail.com +#Contents: 1 +Contents: . .gz .bz2 +DscIndices: Sources Release . .gz .bz2 +DebIndices: Packages Release . .gz .bz2 Origin: Tcos-Packages Label: Tcos-Packages Suite: edgy Codename: edgy -Architectures: i386 source -Components: main +Architectures: i386 amd64 source +Components: main mesa experimental freenx Description: Tcos Ubuntu edgy packages mirror -SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +#SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +SignWith: mariodebian@gmail.com +#Contents: 1 +Contents: . .gz .bz2 +DscIndices: Sources Release . .gz .bz2 +DebIndices: Packages Release . .gz .bz2 + Origin: Tcos-Packages Label: Tcos-Packages Suite: dapper Codename: dapper -Architectures: i386 source -Components: main +Architectures: i386 amd64 source +Components: main mesa experimental freenx Description: Tcos Ubuntu dapper packages mirror -SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +#SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +SignWith: mariodebian@gmail.com +#Contents: 1 +Contents: . .gz .bz2 +DscIndices: Sources Release . .gz .bz2 +DebIndices: Packages Release . .gz .bz2 + +Origin: Tcos-Packages +Label: Tcos-Packages +Suite: feisty +Codename: feisty +Architectures: i386 amd64 source +Components: main mesa experimental freenx +Description: Tcos Ubuntu feisty packages mirror +#SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +SignWith: mariodebian@gmail.com +#Contents: 1 +Contents: . .gz .bz2 +DscIndices: Sources Release . .gz .bz2 +DebIndices: Packages Release . .gz .bz2 + + +Origin: Tcos-Packages +Label: Tcos-Packages +Suite: gutsy +Codename: gutsy +Architectures: i386 amd64 source +Components: main mesa experimental freenx +Description: Tcos Ubuntu gutsy packages mirror +#SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +SignWith: mariodebian@gmail.com +#Contents: 1 +Contents: . .gz .bz2 +DscIndices: Sources Release . .gz .bz2 +DebIndices: Packages Release . .gz .bz2 + +Origin: Tcos-Packages +Label: Tcos-Packages +Suite: hardy +Codename: hardy +Architectures: i386 amd64 source +Components: main experimental freenx +Description: Tcos Ubuntu hardy packages mirror +#SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +SignWith: mariodebian@gmail.com +#Contents: 1 +Contents: . .gz .bz2 +DscIndices: Sources Release . .gz .bz2 +DebIndices: Packages Release . .gz .bz2 + +Origin: Tcos-Packages +Label: Tcos-Packages +Suite: intrepid +Codename: intrepid +Architectures: i386 amd64 source +Components: main experimental freenx +Description: Tcos Ubuntu intrepid packages mirror +#SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +SignWith: mariodebian@gmail.com +#Contents: 1 +Contents: . .gz .bz2 +DscIndices: Sources Release . .gz .bz2 +DebIndices: Packages Release . .gz .bz2 + +Origin: Tcos-Packages +Label: Tcos-Packages +Suite: jaunty +Codename: jaunty +Architectures: i386 amd64 source +Components: main experimental freenx +Description: Tcos Ubuntu jaunty packages mirror +#SignWith: Mario Izquierdo (mariodebian) <mariodebian@gmail.com> +SignWith: mariodebian@gmail.com +#Contents: 1 +Contents: . .gz .bz2 +DscIndices: Sources Release . .gz .bz2 +DebIndices: Packages Release . .gz .bz2 diff --git a/showcontents.sh b/showcontents.sh new file mode 100644 index 0000000..d595f83 --- a/dev/null +++ b/showcontents.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +for deb in /var/cache/pbuilder/result/*$1*deb; do + + echo "**** $deb ***********************" + dpkg --contents $deb + echo "************************************************" + +done + @@ -2,7 +2,7 @@ set -x -rsync -avz ./ -e "ssh -p 2022" --delete root@idefix.eup.uva.es:/ftp/tcosproject.org/packages/ +rsync -Pavz ./ -e "ssh -p 2022" --delete root@idefix.eup.uva.es:/ftp/tcosproject.org/packages/ exit 0 REMOTE_HOST="root@idefix.eup.uva.es:/ftp/tcosproject.org/packages/" |
