pkgsrc/security/munge/Makefile
bacon 156cfcb98f security/munge: Release maintainership
Narrowing my focus to biology packages
2021-06-23 19:44:16 +00:00

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2021/06/23 19:44:16 bacon Exp $
DISTNAME= munge-0.5.13
PKGREVISION= 6
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=dun/}
GITHUB_RELEASE= ${DISTNAME}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://dun.github.io/munge/
COMMENT= Authentication service for creating and validating credentials
LICENSE= gnu-gpl-v3
USE_TOOLS+= perl pkg-config
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
INSTALLATION_DIRS+= lib/pkgconfig
OWN_DIRS= ${VARBASE}/lib/munge
OWN_DIRS+= ${VARBASE}/log/munge
OWN_DIRS+= ${VARBASE}/run/munge
OWN_DIRS+= etc/munge
BUILD_DEFS+= VARBASE
RCD_SCRIPTS+= munge
SUBST_CLASSES+= init
SUBST_STAGE.init= post-build
SUBST_FILES.init= ${WRKSRC}/src/etc/munge.init
SUBST_FILES.init+= ${WRKSRC}/src/etc/munge.sysconfig
SUBST_SED.init= -e 's|USER="munge"|USER="daemon"|g'
SUBST_SED.init+= -e 's|GROUP="munge"|GROUP="daemon"|g'
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"