aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2022-01-25 08:24:07 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2022-01-25 08:24:29 +0000
commitb61153eb7c0e354a4fee6c1e9875c0f6cafddbcc (patch)
tree497c1c62e09a5926e98544bc30e4d806f12f2ab5
parente0b21a92fcabd104c6042e88bb29e740beb1be57 (diff)
downloadports-b61153eb7c0e354a4fee6c1e9875c0f6cafddbcc.tar.gz
ports-b61153eb7c0e354a4fee6c1e9875c0f6cafddbcc.zip
security/munge: Use release archive and rearrange Makefile
Use release archive as suggested by Porters Handbook, this also removes the need to use USES= autoreconf Rearrange Makefile to follow Porters Handbook more closely PR: 261027 Reviewed by: bofh@ (maintainer)
-rw-r--r--security/munge/Makefile14
-rw-r--r--security/munge/distinfo6
2 files changed, 10 insertions, 10 deletions
diff --git a/security/munge/Makefile b/security/munge/Makefile
index 15997b8ffee2..77b58ab01373 100644
--- a/security/munge/Makefile
+++ b/security/munge/Makefile
@@ -1,10 +1,10 @@
# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com>
PORTNAME= munge
-PORTVERSION= 0.5.14
-DISTVERSIONPREFIX= ${PORTNAME}-
+DISTVERSION= 0.5.14
PORTREVISION= 1
CATEGORIES= security
+MASTER_SITES= https://github.com/dun/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/
MAINTAINER= bofh@FreeBSD.org
COMMENT= Authentication service for creating and validating credentials
@@ -12,15 +12,15 @@ COMMENT= Authentication service for creating and validating credentials
LICENSE= GPLv3 LGPL3
LICENSE_COMB= dual
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-openssl-prefix=${OPENSSLBASE}
-USES= autoreconf cpe libtool pathfix perl5 ssl
+USES= cpe libtool pathfix perl5 ssl tar:xz
CPE_VENDOR= opensuse
+GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+
USE_RC_SUBR= munged
+
INSTALL_TARGET= install-strip
-USE_GITHUB= yes
-GH_ACCOUNT= dun
+CONFIGURE_ARGS= --with-openssl-prefix=${OPENSSLBASE}
.include <bsd.port.mk>
diff --git a/security/munge/distinfo b/security/munge/distinfo
index ec3898f24905..d8248c06d332 100644
--- a/security/munge/distinfo
+++ b/security/munge/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1580907601
-SHA256 (dun-munge-munge-0.5.14_GH0.tar.gz) = 5d97b4df164f26e0fb9b86a215e646b2311fa79a2fe9aaaeac067f4ed906220a
-SIZE (dun-munge-munge-0.5.14_GH0.tar.gz) = 274972
+TIMESTAMP = 1641593412
+SHA256 (munge-0.5.14.tar.xz) = 6606a218f18090fa1f702e3f6fb608073eb6aafed534cf7dd81b67b2e0d30640
+SIZE (munge-0.5.14.tar.xz) = 439776