pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ap-modsecurity2: simplify download, version number handling



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Jul 6 17:31:28 2026 +0200
Changeset:	43d10ad17427bc8e48df5ec1c865a1c90bc720e4

Modified Files:
	ap-modsecurity2/Makefile

Log Message:
ap-modsecurity2: simplify download, version number handling

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=43d10ad17427bc8e48df5ec1c865a1c90bc720e4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ap-modsecurity2/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diffs:
diff --git a/ap-modsecurity2/Makefile b/ap-modsecurity2/Makefile
index d705f76eac..1bd727fb10 100644
--- a/ap-modsecurity2/Makefile
+++ b/ap-modsecurity2/Makefile
@@ -1,9 +1,11 @@
 # $NetBSD: Makefile,v 1.75 2026/05/14 16:41:59 ryoon Exp $
 
 DISTNAME=	modsecurity-v2.9.14
-PKGNAME=	${APACHE_PKG_PREFIX}-modsecurity-2.9.14
+PKGNAME=	${APACHE_PKG_PREFIX}-${DISTNAME:S/-v/-/}
 CATEGORIES=	www security
-MASTER_SITES=	${MASTER_SITE_GITHUB:=owasp-modsecurity/ModSecurity/releases/download/v${PKGVERSION_NOREV}/}
+MASTER_SITES=	${MASTER_SITE_GITHUB:=owasp-modsecurity/}
+GITHUB_PROJECT=	ModSecurity
+GITHUB_RELEASE=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	drixter%e-utp.net@localhost
 HOMEPAGE=	https://github.com/owasp-modsecurity/ModSecurity/


Home | Main Index | Thread Index | Old Index