From 2da02130c8a5dd57d132cdd967883feca9cdf0f1 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 20 May 2016 17:12:01 +0200 Subject: reproducible debian: add new pkg set: packages maintained by debian-med-packaging@l.a.d.o --- bin/reproducible_common.sh | 21 +++++----- bin/reproducible_create_meta_pkg_sets.sh | 66 ++++++++++++++++++-------------- 2 files changed, 48 insertions(+), 39 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index c787b824..a07a92a3 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -119,16 +119,17 @@ META_PKGSET[21]="tails_build-depends" META_PKGSET[22]="subgraph_OS" META_PKGSET[23]="subgraph_OS_build-depends" META_PKGSET[24]="maint_debian-boot" -META_PKGSET[25]="maint_debian-ocaml" -META_PKGSET[26]="maint_debian-x" -META_PKGSET[27]="maint_lua" -META_PKGSET[28]="maint_pkg-golang-maintainers" -META_PKGSET[29]="maint_pkg-haskell-maintainers" -META_PKGSET[30]="maint_pkg-java-maintainers" -META_PKGSET[31]="maint_pkg-javascript-devel" -META_PKGSET[32]="maint_pkg-perl-maintainers" -META_PKGSET[33]="maint_pkg-php-pear" -META_PKGSET[34]="maint_pkg-ruby-extras-maintainers" +META_PKGSET[25]="maint_debian-med" +META_PKGSET[26]="maint_debian-ocaml" +META_PKGSET[27]="maint_debian-x" +META_PKGSET[28]="maint_lua" +META_PKGSET[29]="maint_pkg-golang-maintainers" +META_PKGSET[30]="maint_pkg-haskell-maintainers" +META_PKGSET[31]="maint_pkg-java-maintainers" +META_PKGSET[32]="maint_pkg-javascript-devel" +META_PKGSET[33]="maint_pkg-perl-maintainers" +META_PKGSET[34]="maint_pkg-php-pear" +META_PKGSET[35]="maint_pkg-ruby-extras-maintainers" # sleep 1-23 secs to randomize start times delay_start() { diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh index a73b19af..b94d835f 100755 --- a/bin/reproducible_create_meta_pkg_sets.sh +++ b/bin/reproducible_create_meta_pkg_sets.sh @@ -450,81 +450,89 @@ update_pkg_sets() { fi progress_info 24 - # debian-ocaml-maint@l.d.o maintainers - if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[25]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[25]}.pkgset ] ; then - grep-dctrl -sPackage -n -FMaintainer,Uploaders debian-ocaml-maint@lists.debian.org $SOURCES > $TMPFILE + # Debian Med Packaging Team + if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[25]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[24]}.pkgset ] ; then + grep-dctrl -sPackage -n -FMaintainer,Uploaders debian-med-packaging@lists.alioth.debian.org $SOURCES > $TMPFILE update_if_similar ${META_PKGSET[25]}.pkgset fi progress_info 25 - # debian-x@l.d.o maintainers - if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[26]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[26]}.pkgset ] ; then - grep-dctrl -sPackage -n -FMaintainer,Uploaders debian-x@lists.debian.org $SOURCES > $TMPFILE + + # debian-ocaml-maint@l.d.o maintainers + if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[26]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[25]}.pkgset ] ; then + grep-dctrl -sPackage -n -FMaintainer,Uploaders debian-ocaml-maint@lists.debian.org $SOURCES > $TMPFILE update_if_similar ${META_PKGSET[26]}.pkgset fi progress_info 26 + # debian-x@l.d.o maintainers + if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[27]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[26]}.pkgset ] ; then + grep-dctrl -sPackage -n -FMaintainer,Uploaders debian-x@lists.debian.org $SOURCES > $TMPFILE + update_if_similar ${META_PKGSET[27]}.pkgset + fi + progress_info 27 + # lua packages - if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[27]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[27]}.pkgset ] ; then + if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[28]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[27]}.pkgset ] ; then grep-dctrl -sPackage -n -FPackage -e ^lua.* $SOURCES > $TMPFILE grep-dctrl -sPackage -n -FBuild-Depends dh-lua $SOURCES | sed "s#([^()]*)##g ; s#\[[^][]*\]##g ; s#,##g" | sort -u >> $TMPFILE - update_if_similar ${META_PKGSET[27]}.pkgset + update_if_similar ${META_PKGSET[28]}.pkgset fi - progress_info 27 + progress_info 28 # pkg-golang-maintainers - if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[28]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[28]}.pkgset ] ; then + if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[29]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[28]}.pkgset ] ; then grep-dctrl -sPackage -n -FMaintainer,Uploaders pkg-golang-devel@lists.alioth.debian.org $SOURCES > $TMPFILE grep-dctrl -sPackage -n -FBuild-Depends golang-go $SOURCES | sed "s#([^()]*)##g ; s#\[[^][]*\]##g ; s#,##g" | sort -u >> $TMPFILE - update_if_similar ${META_PKGSET[28]}.pkgset + update_if_similar ${META_PKGSET[29]}.pkgset fi - progress_info 28 + progress_info 29 # pkg-haskell-maintainers - if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[29]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[29]}.pkgset ] ; then + if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[30]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[30]}.pkgset ] ; then grep-dctrl -sPackage -n -FMaintainer,Uploaders pkg-haskell-maintainers@lists.alioth.debian.org $SOURCES > $TMPFILE grep-dctrl -sPackage -n -FBuild-Depends ghc $SOURCES | sed "s#([^()]*)##g ; s#\[[^][]*\]##g ; s#,##g" | sort -u >> $TMPFILE - update_if_similar ${META_PKGSET[29]}.pkgset + update_if_similar ${META_PKGSET[30]}.pkgset fi - progress_info 29 + progress_info 30 # pkg-java-maintainers - if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[30]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[30]}.pkgset ] ; then + if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[31]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[31]}.pkgset ] ; then grep-dctrl -sPackage -n -FMaintainer,Uploaders pkg-java-maintainers@lists.alioth.debian.org $SOURCES > $TMPFILE grep-dctrl -sPackage -n -FMaintainer,Uploaders openjdk@lists.launchpad.net $SOURCES >> $TMPFILE grep-dctrl -sPackage -n -FBuild-Depends default-jdk -o -FBuild-Depends-Indep default-jdk $SOURCES | sed "s#([^()]*)##g ; s#\[[^][]*\]##g ; s#,##g" | sort -u >> $TMPFILE - update_if_similar ${META_PKGSET[30]}.pkgset - fi - progress_info 30 - - # pkg-javascript-devel - if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[31]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[31]}.pkgset ] ; then - grep-dctrl -sPackage -n -FMaintainer,Uploaders pkg-javascript-devel@lists.alioth.debian.org $SOURCES > $TMPFILE update_if_similar ${META_PKGSET[31]}.pkgset fi progress_info 31 - # pkg-perl-maintainers + # pkg-javascript-devel if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[32]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[32]}.pkgset ] ; then - grep-dctrl -sPackage -n -FMaintainer,Uploaders pkg-perl-maintainers@lists.alioth.debian.org $SOURCES > $TMPFILE + grep-dctrl -sPackage -n -FMaintainer,Uploaders pkg-javascript-devel@lists.alioth.debian.org $SOURCES > $TMPFILE update_if_similar ${META_PKGSET[32]}.pkgset fi progress_info 32 - # pkg-php-pear + # pkg-perl-maintainers if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[33]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[33]}.pkgset ] ; then - grep-dctrl -sPackage -n -FMaintainer,Uploaders pkg-php-pear@lists.alioth.debian.org $SOURCES > $TMPFILE + grep-dctrl -sPackage -n -FMaintainer,Uploaders pkg-perl-maintainers@lists.alioth.debian.org $SOURCES > $TMPFILE update_if_similar ${META_PKGSET[33]}.pkgset fi progress_info 33 - # pkg-ruby-extras-maintainers + # pkg-php-pear if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[34]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[34]}.pkgset ] ; then - grep-dctrl -sPackage -n -FMaintainer,Uploaders pkg-ruby-extras-maintainers@lists.alioth.debian.org $SOURCES > $TMPFILE + grep-dctrl -sPackage -n -FMaintainer,Uploaders pkg-php-pear@lists.alioth.debian.org $SOURCES > $TMPFILE update_if_similar ${META_PKGSET[34]}.pkgset fi progress_info 34 + # pkg-ruby-extras-maintainers + if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[35]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[35]}.pkgset ] ; then + grep-dctrl -sPackage -n -FMaintainer,Uploaders pkg-ruby-extras-maintainers@lists.alioth.debian.org $SOURCES > $TMPFILE + update_if_similar ${META_PKGSET[35]}.pkgset + fi + progress_info 35 + } TMPFILE=$(mktemp --tmpdir=$TEMPDIR pkg-sets-XXXXXXXXX) -- cgit v1.2.3-70-g09d2