summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.sh1
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh11
2 files changed, 12 insertions, 0 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 5a7f51ec..d904191b 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -91,6 +91,7 @@ META_PKGSET[25]="maint_pkg-javascript-devel"
META_PKGSET[26]="maint_debian-boot"
META_PKGSET[27]="maint_debian-ocaml"
META_PKGSET[28]="maint_debian-x"
+META_PKGSET[29]="maint_lua"
schedule_packages() {
LC_USER="$REQUESTER" \
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 1338bdf9..4fbd9ad5 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -368,6 +368,17 @@ update_pkg_sets() {
update_if_similar ${META_PKGSET[28]}.pkgset
fi
+ # lua packages
+ if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[29]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[29]}.pkgset ] ; then
+ # get a bunch of binary packages names and convert them to source package names
+ grep-dctrl -sPackage -n -FPackage -e ^lua.* $PACKAGES > $TMPFILE
+ packages_list_to_deb822
+ convert_from_deb822_into_source_packages_only
+ # add some more source package names
+ grep-dctrl -sPackage -n -FBuild-Depends dh-lua $SOURCES | sed "s#([^()]*)##g ; s#\[[^][]*\]##g ; s#,##g" | sort -u >> $TMPFILE
+ update_if_similar ${META_PKGSET[29]}.pkgset
+ fi
+
}
TMPFILE=$(mktemp --tmpdir=$TEMPDIR pkg-sets-XXXXXXXXX)