pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/lintpkgsrc/files lintpkgsrc: normalize packag...
details: https://anonhg.NetBSD.org/pkgsrc/rev/14f917c641c9
branches: trunk
changeset: 383382:14f917c641c9
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Aug 18 17:51:13 2022 +0000
description:
lintpkgsrc: normalize package name for Apache Web Server modules
diffstat:
pkgtools/lintpkgsrc/files/lintpkgsrc.pl | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 92b17f3f0ba9 -r 14f917c641c9 pkgtools/lintpkgsrc/files/lintpkgsrc.pl
--- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl Thu Aug 18 17:12:19 2022 +0000
+++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl Thu Aug 18 17:51:13 2022 +0000
@@ -1,5 +1,5 @@
#!@PERL5@
-# $NetBSD: lintpkgsrc.pl,v 1.119 2022/08/17 18:53:40 rillig Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.120 2022/08/18 17:51:13 rillig Exp $
# Written by David Brownlee <abs%netbsd.org@localhost>.
#
@@ -246,6 +246,7 @@
}
sub canonicalize_pkgname($pkgname) {
+ $pkgname =~ s,^ap\d+-,ap-,;
$pkgname =~ s,^lua\d+-,lua-,;
$pkgname =~ s,^py\d+(?:pth|)-,py-,;
$pkgname =~ s,^ruby\d+-,ruby-,;
@@ -759,6 +760,7 @@
$default_vars->{PACKAGES} ||= $default_vars->{PKGSRCDIR} . '/packages';
+ $default_vars->{APACHE_PKGPREFIX} = 'ap12345';
$default_vars->{LUA_PKGPREFIX} = 'lua12345';
$default_vars->{PHP_PKG_PREFIX} = 'php12345';
$default_vars->{PYPKGPREFIX} = 'py12345';
Home |
Main Index |
Thread Index |
Old Index