[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / amanda-common

File: [cvs.NetBSD.org] / pkgsrc / sysutils / amanda-common / Makefile (download)

Revision 1.78, Sun Aug 11 13:23:02 2019 UTC (4 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.77: +2 -2 lines

Bump PKGREVISIONs for perl 5.30.0

# $NetBSD: Makefile,v 1.78 2019/08/11 13:23:02 wiz Exp $

PKGNAME=		amanda-common-${AMANDA_VERSION}
PKGREVISION=		2

COMMENT=		Common libraries and binaries for Amanda

# genversion.c:37:10: fatal error: 'genversion.h' file not found
MAKE_JOBS_SAFE=		no

.include "../../sysutils/amanda-common/Makefile.common"

CPPFLAGS.SunOS+=	-D_LARGEFILE64_SOURCE
LDFLAGS.SunOS+=		-lsocket

CONFIGURE_ARGS+=	--without-server --without-client --without-gnuplot

PKG_GROUPS=		${AMANDA_GROUP}
PKG_USERS=		${AMANDA_USER}:${AMANDA_GROUP}

PKG_GECOS.${AMANDA_USER}=	Amanda backup user
PKG_SHELL.${AMANDA_USER}=	${SH}
PKG_HOME.${AMANDA_USER}=	${AMANDA_VAR}

OWN_DIRS+=		${PKG_SYSCONFDIR}/amanda
OWN_DIRS_PERMS=		${AMANDA_VAR} ${AMANDA_USER} ${AMANDA_GROUP} 0750
OWN_DIRS_PERMS+=	${AMANDA_VAR}/gnutar-lists ${AMANDA_USER} ${AMANDA_GROUP} 0750
OWN_DIRS_PERMS+=	${VARBASE}/log/amanda ${AMANDA_USER} ${AMANDA_GROUP} 0750

CONF_FILES_PERMS=	${PREFIX}/share/doc/amanda/example/amanda-client.conf \
			${PKG_SYSCONFDIR}/amanda/amanda-client.conf     \
			${AMANDA_USER} ${AMANDA_GROUP} 0600
CONF_FILES_PERMS=	${PREFIX}/share/doc/amanda/example/amanda-security.conf \
			${PKG_SYSCONFDIR}/amanda/amanda-security.conf     \
			${AMANDA_USER} ${AMANDA_GROUP} 0600

REQD_FILES_PERMS+=	/dev/null ${AMANDA_VAR}/amandates ${AMANDA_USER} ${AMANDA_GROUP} 0640

SPECIAL_PERMS+=		sbin/amservice ${AM_PROG_PERMS}

.include "../../mk/bsd.pkg.mk"