948eb5a666
checkpassword. Bump PKGREVISION.
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.30 2021/06/23 18:51:03 schmonz Exp $
|
|
#
|
|
|
|
DISTNAME= cvm-0.97
|
|
PKGREVISION= 3
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= https://untroubled.org/cvm/
|
|
COMMENT= Credential Validation Modules
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
DEPENDS+= daemontools-[0-9]*:../../sysutils/daemontools
|
|
|
|
DJB_MAKE_TARGETS= NO
|
|
INSTALL_ENV+= install_prefix=${DESTDIR:Q}
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_STAGE.paths= do-configure
|
|
SUBST_FILES.paths= qmail-init.c
|
|
SUBST_SED.paths= -e 's|/var/qmail|${QMAILDIR}|g'
|
|
SUBST_MESSAGE.paths= Fixing paths.
|
|
|
|
SUBST_CLASSES+= shlibs
|
|
SUBST_STAGE.shlibs= do-configure
|
|
SUBST_FILES.shlibs= INSTHIER
|
|
SUBST_VARS.shlibs= CVM_LIB_EXT
|
|
SUBST_MESSAGE.shlibs= Fixing shlibs.
|
|
|
|
RCD_SCRIPTS= cvm
|
|
PKG_GROUPS+= cvmlog
|
|
PKG_USERS+= cvmlog:cvmlog
|
|
|
|
BUILD_DEFS+= QMAILDIR
|
|
PLIST_SUBST+= CVM_LIB_EXT=${CVM_LIB_EXT:Q}
|
|
|
|
DJB_CONFIG_CMDS= \
|
|
${ECHO} ${DJB_CONFIG_PREFIX}/include > conf-include; \
|
|
${ECHO} ${DJB_CONFIG_PREFIX}/lib > conf-lib;
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${SHLIB_TYPE} == "dylib"
|
|
CVM_LIB_EXT= dylib
|
|
.else
|
|
CVM_LIB_EXT= so
|
|
.endif
|
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
.include "../../devel/bglibs/buildlink3.mk"
|
|
.include "../../mk/djbware.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|