[Pbuilder-maint] pbuilder CVS update: pbuildd/hooks A50pb_ver
pbuilder CVS Commit
pbuilder-maint at lists.alioth.debian.org
Thu Apr 13 07:57:31 UTC 2006
User: schepler
Date: 06/04/13 07:57:31
Modified: hooks A50pb_ver
Log:
* Add code for hooks/A50pb_ver to consult a blacklist.
* The linux kernel team has made it clear they do not intend to
support binNMU versions, so initially put linux-2.6 into the
blacklist. (#359852)
Revision Changes Path
1.2 +12 -0 pbuildd/hooks/A50pb_ver
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuildd/hooks/A50pb_ver?annotate=1.2&cvsroot=
CVSWeb: View this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuildd/hooks/A50pb_ver?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=
CVSWeb: Diff to previous version: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuildd/hooks/A50pb_ver.diff?r1=1.2&r2=1.1&cvsroot=
-----------------------------------
Index: A50pb_ver
===================================================================
RCS file: /cvsroot/pbuilder/pbuildd/hooks/A50pb_ver,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- A50pb_ver 3 Apr 2006 09:01:30 -0000 1.1
+++ A50pb_ver 13 Apr 2006 07:57:31 -0000 1.2
@@ -11,6 +11,18 @@
$dscbase =~ /^((lib)?.)/; $dir = $1;
$dscbase =~ /^([^_]*)_([^_]*)$/; $pkgname = $1; $pkgver = $2;
+# Check against the blacklist
+if (open(BLACKLIST, '</var/cache/pbuildd/scripts/pbver-blacklist')) {
+ while ($_ = <BLACKLIST>) {
+ chomp;
+ if ($_ eq $pkgname) {
+ print "I: Skipping +pb versioning for package $_ in blacklist.\n";
+ exit 0;
+ }
+ }
+ close(BLACKLIST);
+}
+
# Search for previously built versions with this exact Debian version.
$prevPbVer = 0;
foreach $sect ('pool', 'old-pool', 'partial') {
More information about the Pbuilder-maint
mailing list