diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_common.sh | 2 | ||||
-rwxr-xr-x | bin/reproducible_create_meta_pkg_sets.sh | 19 |
2 files changed, 21 insertions, 0 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 6881d02a..803d1610 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -152,6 +152,8 @@ META_PKGSET[8]="maint_pkg-perl-maintainers" META_PKGSET[9]="popcon_top1337-installed-sources" META_PKGSET[10]="installed_on_debian.org" META_PKGSET[11]="had_a_DSA" +META_PKGSET[12]="grml" +META_PKGSET[13]="grml_build-depends" init_html() { SUITE=sid diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh index bd68e2de..9ada2eea 100755 --- a/bin/reproducible_create_meta_pkg_sets.sh +++ b/bin/reproducible_create_meta_pkg_sets.sh @@ -193,6 +193,25 @@ if [ -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[11]}.pkgset) ] ; update_if_similar ${META_PKGSET[11]}.pkgset fi +# grml +if [ -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[12]}.pkgset) ] ; then + # FIXME: this needs updating when grml64-full_2014.11 ain't the latest release anymore... + curl http://grml.org/files/grml64-full_2014.11/dpkg.selections | cut -f1 > $TMPFILE + convert_into_source_packages_only + update_if_similar ${META_PKGSET[12]}.pkgset +fi + +# all build depends of grml +rm -f $TMPFILE +if [ -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[13]}.pkgset) ] ; then + for PKG in $(cat $TPATH/${META_PKGSET[12]}.pkgset) ; do + grep-dctrl -sBuild-Depends -n -X -FPackage $PKG $SOURCES | sed "s#([^()]*)##g ; s#\[[^][]*\]##g ; s#,##g" >> $TMPFILE + done + convert_into_source_packages_only + update_if_similar ${META_PKGSET[13]}.pkgset +fi + + # finally rm -f $TMPFILE ${TMPFILE2} echo "All meta package sets created successfully." |