blob: 094c0d369d26776f0070dd82cf633eaee9dacf9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $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"
|