f987c22d98
a Linux-only <sys/sysmacros.h>. Conditionally #include that in transcript.c and update.c. While here, comment the patches.
37 lines
1.3 KiB
Makefile
37 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.38 2018/12/18 14:16:17 hauke Exp $
|
|
#
|
|
|
|
DISTNAME= radmind-1.14.1
|
|
PKGREVISION= 7
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=radmind/}
|
|
|
|
MAINTAINER= hauke@NetBSD.org
|
|
HOMEPAGE= http://rsug.itd.umich.edu/software/radmind/
|
|
COMMENT= Remote file administration and integrity tool
|
|
LICENSE= modified-bsd
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
|
|
CONFIGURE_ARGS+= --with-radminddir=${RADMINDDIR}
|
|
CONFIGURE_ENV+= diffpath=${TOOLS_DIFF:Q}
|
|
# XXX configure script checks for path to echo, which pkgsrc does not
|
|
# provide, so we need to side-step {echopath}.
|
|
CONFIGURE_ENV+= ac_cv_path_echopath=${TOOLS_ECHO:Q}
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
BUILD_TARGET= all man rash
|
|
RADMINDDIR= ${VARBASE}/radmind
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
OWN_DIRS_PERMS+= ${RADMINDDIR} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0750
|
|
OWN_DIRS_PERMS+= ${RADMINDDIR}/client ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0750
|
|
OWN_DIRS_PERMS+= ${RADMINDDIR}/preapply ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0750
|
|
OWN_DIRS_PERMS+= ${RADMINDDIR}/postapply ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0750
|
|
OWN_DIRS_PERMS+= ${RADMINDDIR}/cert ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
|
|
RCD_SCRIPTS= radmind
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|