diff options
author | Peter Palfrader <peter@palfrader.org> | 2011-05-20 19:17:34 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2011-05-20 19:17:34 +0000 |
commit | a02b481e9ff33913b38b7bb9d16d1473a8a8995c (patch) | |
tree | 56c84c0542512c276e6278c1123de096ec054e3c /build-tor-sources | |
parent | ba0bdb28f816cae33530a9c30e7e0079be2397db (diff) |
no longer do dapper
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@481 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'build-tor-sources')
-rwxr-xr-x | build-tor-sources | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/build-tor-sources b/build-tor-sources index 8130d89..c622b50 100755 --- a/build-tor-sources +++ b/build-tor-sources @@ -207,20 +207,20 @@ bp2 $DIR $ORIGTAR # DAPPER (EOL: June 2011) ################################################# -bp1 $DIR $sid_debian_version dapper -if grep -q texlive "$DIR/debian/control"; then - sed -i -e '/^Build-Depends:/ s/texlive[a-z0-9-]*,\? *//g; /^Build-Depends: / s/$/, tetex-bin, tetex-extra/' "$DIR/debian/control" - ( cd $DIR; dch "Revert Build-Depends to tetex for backport" ) -fi -sed -i -e 's/source:Version\|binary:Version/Source-Version/' "$DIR/debian/control" -(cd $DIR; dch "Change source:Version and binary:Version to Source-Version in depends") -(echo "/Conflicts:"; echo d; echo w) | ed "$DIR/debian/control" -sed -i -e 's/move_away_keys=1/: ;# not on this version of debian# move_away_keys=1/' "$DIR/debian/tor.postinst" -(cd $DIR; dch "No need to move away keys on dapper") -sed -i -e '/^Build-Depends:/ s/ghostscript/gs/' "$DIR/debian/control" -(cd $DIR; dch "Build-Depend on gs instead of ghostscript") -(cd $DIR; hardening_backport 1) -bp2 $DIR $ORIGTAR +#bp1 $DIR $sid_debian_version dapper +#if grep -q texlive "$DIR/debian/control"; then +# sed -i -e '/^Build-Depends:/ s/texlive[a-z0-9-]*,\? *//g; /^Build-Depends: / s/$/, tetex-bin, tetex-extra/' "$DIR/debian/control" +# ( cd $DIR; dch "Revert Build-Depends to tetex for backport" ) +#fi +#sed -i -e 's/source:Version\|binary:Version/Source-Version/' "$DIR/debian/control" +#(cd $DIR; dch "Change source:Version and binary:Version to Source-Version in depends") +#(echo "/Conflicts:"; echo d; echo w) | ed "$DIR/debian/control" +#sed -i -e 's/move_away_keys=1/: ;# not on this version of debian# move_away_keys=1/' "$DIR/debian/tor.postinst" +#(cd $DIR; dch "No need to move away keys on dapper") +#sed -i -e '/^Build-Depends:/ s/ghostscript/gs/' "$DIR/debian/control" +#(cd $DIR; dch "Build-Depend on gs instead of ghostscript") +#(cd $DIR; hardening_backport 1) +#bp2 $DIR $ORIGTAR # HARDY (EOL: April 2013) @@ -228,6 +228,8 @@ bp2 $DIR $ORIGTAR bp1 $DIR $sid_debian_version hardy (echo "/Conflicts:"; echo d; echo i; echo "Conflicts: libssl0.9.8 (<< 0.9.8g-4ubuntu3.1)"; echo . ; echo w) | ed "$DIR/debian/control" (cd $DIR; dch "Conflict with libssl0.9.8 (<< 0.9.8g-4ubuntu3.1) on hardy") +# hardy's dpkg-parsechangelog cannot deal with dots in the distribution field, remove them. +(cd $DIR; dch --force-distribution --distribution "$(dpkg-parsechangelog | grep-dctrl -n -s Distribution '' | tr -d .)" '') (cd $DIR; hardening_backport 0) bp2 $DIR $ORIGTAR |