From 01c5e47451204920bf06355c4475fe1d69775595 Mon Sep 17 00:00:00 2001
From: Holger Levsen These source packages are different from sid in our toolchain. They are available in an apt repository on alioth which is accessable with these sources.lists entries: These source packages are different from sid in our apt repository on alioth. They are available for testing using these sources.lists entries:"
+write_page "
"
write_page "deb http://reproducible.alioth.debian.org/debian/ ./"
write_page "deb-src http://reproducible.alioth.debian.org/debian/ ./"
write_page "
source package | version in our repo | version in sid | cruft in our repo (if any) |
---|
source package | version in our repo | version in sid | old versions our repo (needed for reproducing old builds) | ||
---|---|---|---|---|---|
$PKG | " @@ -32,6 +32,9 @@ for PKG in $SOURCES ; do CRUFT="" WARN=false BET="" + # + # gather versions of a package + # for VERSION in ${VERSIONS} ; do if [ "$BET" = "" ] ; then BET=${VERSION} @@ -40,15 +43,38 @@ for PKG in $SOURCES ; do BET=${VERSION} fi done - write_page "$BET | " SID=$(rmadison -s sid $PKG | cut -d "|" -f2|xargs echo|sed 's# #$SID | " for VERSION in ${VERSIONS} ; do if [ "${VERSION}" != "$BET" ] ; then WARN=true CRUFT="$CRUFT ${VERSION}" fi done + # + # colorize output + # + CSID="" + for i in $SID ; do + if dpkg --compare-versions "$i" gt "$BET" ; then + CSID="$CSID $i" + BET="" + if [ ! -z "$BET" ] ; then + CRUFT="$BET $CRUFT" + fi + else + CSID="$CSID $I" + fi + done + if [ ! -z "$BET" ] ; then + BET="$BET" + else + BET=" " + fi + # + # write output + # + write_page "$BET | " + write_page "$CSID | " if $WARN ; then echo "Warning: more than one version of $PKG available in our repo, please clean up." write_page "$(echo $CRUFT|sed 's# # #g') | "
--
cgit v1.2.3-70-g09d2