foo=\$arch_${dist//-/_}
for arch in `eval echo $foo`
do
- test ! "$arch" = "kfreebsd-i386" || continue
- test ! "$arch" = "kfreebsd-amd64" || continue
- test ! "$arch" = "armel" || continue
for part in ${parts}
do
echo retrieve Packages $dist/$part/$arch
(cd us/${dist}/${part}/binary-${arch} &&
wget -q -N ${ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
done
- #FIXME: no Contents files for p-u
- test ! "$dist" = "experimental" || continue
echo retrieve Contents $dist/$arch
(cd us/${dist} &&
wget -q -N ${ftpsite}/dists/${dist}/Contents-${arch}.gz)
foo=\$arch_${dist//-/_}
for arch in `eval echo $foo`
do
- test ! "$arch" = "kfreebsd-i386" || continue
- test ! "$arch" = "kfreebsd-amd64" || continue
- test ! "$arch" = "armel" || continue
for part in ${parts}
do
echo retrieve Packages $dist/$part/$arch
rsync -t ${localdir}/dists/${dist}/${part}/binary-${arch}/Packages.gz \
us/${dist}/${part}/binary-${arch}/Packages.gz
done
- #FIXME: no Contents files for p-u
- test ! "$dist" = "experimental" || continue
echo retrieve Contents $dist/$arch
rsync -t ${localdir}/dists/${dist}/Contents-${arch}.gz \
us/${dist}/Contents-${arch}.gz
# security archive
#
-for dist in sarge etch lenny
+for dist in $dists
do
echo "retrieve Release(.gpg) $dist"
test -d security/${dist} || mkdir -p security/${dist}
+++ /dev/null
-#! /bin/bash
-
-. `dirname $0`/../config.sh
-
-test -d ${archivedir} || mkdir -p ${archivedir}
-cd ${archivedir}
-
-# Main archive
-#
-architectures="armel kfreebsd-i386 kfreebsd-amd64"
-
-for dist in sid experimental
- do
- echo "retrieve Release(.gpg) $dist"
- test -d gnuab/${dist} || mkdir -p gnuab/${dist}
- (cd gnuab/${dist} &&
- wget -q -N ${gnuab_ftpsite}/dists/${dist}/Release &&
- wget -q -N ${gnuab_ftpsite}/dists/${dist}/Release.gpg )
-
- for arch in $architectures
- do
- for part in ${parts} main/debian-installer
- do
- echo retrieve Packages $dist/$part/$arch
- test -d gnuab/${dist}/${part}/binary-${arch} || mkdir -p gnuab/${dist}/${part}/binary-${arch}
- (cd gnuab/${dist}/${part}/binary-${arch} &&
- wget -q -N ${gnuab_ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
- done
- echo retrieve Contents $dist/$arch
- (cd gnuab/${dist} &&
- wget -q -N ${gnuab_ftpsite}/dists/${dist}/Contents-${arch}.gz)
- done
-done
+++ /dev/null
-#! /bin/bash
-
-. `dirname $0`/../config.sh
-
-test -d ${archivedir} || mkdir -p ${archivedir}
-cd ${archivedir}
-
-# Main archive
-#
-arch=m68k
-if [ -z "${localdir}" ]
-then
- echo using remote mirror
- for dist in etch
- do
- echo "retrieve Release(.gpg) $dist"
- test -d us/${dist}-${arch} || mkdir -p us/${dist}-${arch}
- (cd us/${dist} &&
- wget -q -N ${ftpsite}/dists/${dist}-${arch}/Release &&
- wget -q -N ${ftpsite}/dists/${dist}-${arch}/Release.gpg )
-
-# foo=\$arch_${dist//-/_}
-# for arch in `eval echo $foo`
-# do
- for part in ${parts}
- do
- echo retrieve Packages $dist-${arch}/$part/$arch
- test -d us/${dist}-${arch}/${part}/binary-${arch} || mkdir -p us/${dist}-${arch}/${part}/binary-${arch}
- (cd us/${dist}-${arch}/${part}/binary-${arch} &&
- wget -q -N ${ftpsite}/dists/${dist}-${arch}/${part}/binary-${arch}/Packages.gz)
- done
- #FIXME: no Contents files for p-u
- test ! "$dist" = "experimental" || continue
- echo retrieve Contents $dist/$arch
- (cd us/${dist}-${arch} &&
- wget -q -N ${ftpsite}/dists/${dist}-${arch}/Contents-${arch}.gz)
-# done
- for part in ${parts}
- do
- echo retrieve Sources $dist-${arch}/$part
- test -d us/${dist}-${arch}/${part}/source || mkdir -p us/${dist}-${arch}/${part}/source
- (cd us/${dist}-${arch}/${part}/source &&
- wget -q -N ${ftpsite}/dists/${dist}-${arch}/${part}/source/Sources.gz)
- done
- done
-else
- echo using local mirror
- for dist in etch
- do
- echo "retrieve Releases(.gpg) $dist"
- test -d us/${dist}-${arch} || mkdir -p us/${dist}-${arch}
- (cd us/${dist}-${arch} &&
- rsync -t ${localdir}/dists/${dist}-${arch}/Release &&
- rsync -t ${localdir}/dists/${dist}-${arch}/Release.gpg )
-
-# foo=\$arch_${dist//-/_}
-# for arch in `eval echo $foo`
-# do
- for part in ${parts}
- do
- echo retrieve Packages $dist-${arch}/$part/$arch
- test -d us/${dist}-${arch}/${part}/binary-${arch} || mkdir -p us/${dist}-${arch}/${part}/binary-${arch}
- rsync -t ${localdir}/dists/${dist}-${arch}/${part}/binary-${arch}/Packages.gz \
- us/${dist}-${arch}/${part}/binary-${arch}/Packages.gz
- done
- #FIXME: no Contents files for p-u
- test ! "$dist" = "experimental" || continue
- echo retrieve Contents $dist-${arch}/$arch
- rsync -t ${localdir}/dists/${dist}-${arch}/Contents-${arch}.gz \
- us/${dist}-${arch}/Contents-${arch}.gz
-# done
- for part in ${parts}
- do
- echo retrieve Sources $dist-${arch}/$part
- test -d us/${dist}-${arch}/${part}/source || mkdir -p us/${dist}-${arch}/${part}/source
- rsync -t ${localdir}/dists/${dist}-${arch}/${part}/source/Sources.gz \
- us/${dist}-${arch}/${part}/source/Sources.gz
- done
- done
-fi
-
packagesdir=${filesdir}/packages
test -d ${packagesdir} || mkdir -p ${packagesdir}
-LANG=C cat ${filesdir}/db/package_names_sid.txt \
- | sort | uniq > ${packagesdir}/package_names_sid.$(date -I)
-LANG=C cat ${filesdir}/db/source_names_unstable.txt \
- | sort | uniq > ${packagesdir}/source_names_sid.$(date -I)
+LANG=C cat ${filesdir}/db/package_names_gutsy.txt \
+ | sort | uniq > ${packagesdir}/package_names_gutsy.$(date -I)
+LANG=C cat ${filesdir}/db/source_names_gutsy.txt \
+ | sort | uniq > ${packagesdir}/source_names_gutsy.$(date -I)
cd $topdir
-./bin/newpkg_info sid
+./bin/newpkg_info gutsy