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)
This commit is contained in:
Daniel Engberg 2022-01-25 09:24:07 +01:00
parent e0b21a92fc
commit b61153eb7c
2 changed files with 10 additions and 10 deletions

View file

@ -1,10 +1,10 @@
# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com> # Created by: Muhammad Moinur Rahman <5u623l20@gmail.com>
PORTNAME= munge PORTNAME= munge
PORTVERSION= 0.5.14 DISTVERSION= 0.5.14
DISTVERSIONPREFIX= ${PORTNAME}-
PORTREVISION= 1 PORTREVISION= 1
CATEGORIES= security CATEGORIES= security
MASTER_SITES= https://github.com/dun/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/
MAINTAINER= bofh@FreeBSD.org MAINTAINER= bofh@FreeBSD.org
COMMENT= Authentication service for creating and validating credentials COMMENT= Authentication service for creating and validating credentials
@ -12,15 +12,15 @@ COMMENT= Authentication service for creating and validating credentials
LICENSE= GPLv3 LGPL3 LICENSE= GPLv3 LGPL3
LICENSE_COMB= dual LICENSE_COMB= dual
GNU_CONFIGURE= yes USES= cpe libtool pathfix perl5 ssl tar:xz
CONFIGURE_ARGS= --with-openssl-prefix=${OPENSSLBASE}
USES= autoreconf cpe libtool pathfix perl5 ssl
CPE_VENDOR= opensuse CPE_VENDOR= opensuse
GNU_CONFIGURE= yes
USE_LDCONFIG= yes USE_LDCONFIG= yes
USE_RC_SUBR= munged USE_RC_SUBR= munged
INSTALL_TARGET= install-strip INSTALL_TARGET= install-strip
USE_GITHUB= yes CONFIGURE_ARGS= --with-openssl-prefix=${OPENSSLBASE}
GH_ACCOUNT= dun
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1580907601 TIMESTAMP = 1641593412
SHA256 (dun-munge-munge-0.5.14_GH0.tar.gz) = 5d97b4df164f26e0fb9b86a215e646b2311fa79a2fe9aaaeac067f4ed906220a SHA256 (munge-0.5.14.tar.xz) = 6606a218f18090fa1f702e3f6fb608073eb6aafed534cf7dd81b67b2e0d30640
SIZE (dun-munge-munge-0.5.14_GH0.tar.gz) = 274972 SIZE (munge-0.5.14.tar.xz) = 439776