pkgsrc/sysutils/amanda-client/Makefile
gdt 1337be1492 In amanda*, reduce default options.
Add an 'ndmp' option, disabled by default.
Disable kerberos option by default.

These two changes allow amanda to build again on OS X.  My belief,
posited on pkgsrc-users without contradiction, is that no pkgsrc users
use these features anyway.  Normal amanda usage these days is over ssh
(which gets one PFS).  NDMP is for direct dumping of NAS: usage is
probably rare and also in large installations where rebuilding is not
hard.

All in all, I thought it better for the pkgsrc/amanda universe to have
consistent options across platforms than to selectively disable on OS
X.
2015-02-09 18:35:12 +00:00

60 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.60 2015/02/09 18:35:12 gdt Exp $
#
PKGNAME= amanda-client-${AMANDA_VERSION}
PKGREVISION= 2
COMMENT= Client part of Amanda, a network backup system
CONFIGURE_ARGS+= --without-server --without-gnuplot
BUILD_DIRS= gnulib
BUILD_DIRS+= client-src application-src
BUILD_DIRS+= recover-src oldrecover-src
MANPAGES+= amanda-applications.7
MANPAGES+= amdump_client.8
MANPAGES+= amgtar.8
MANPAGES+= ampgsql.8
MANPAGES+= amraw.8
MANPAGES+= amrecover.8
MANPAGES+= amsamba.8
MANPAGES+= amstar.8
MANPAGES+= amsuntar.8
MANPAGES+= amzfs-snapshot.8
MANPAGES+= amzfs-sendrecv.8
PERL5_MODS+= Amanda/Application.pm
PERL5_MODS+= Amanda/Application/Zfs.pm
PERL5_LIBS+= Application
.include "../../sysutils/amanda-common/Makefile.common"
.if !empty(PKG_OPTIONS:Mamanda-smb)
CONFIGURE_ARGS+= --with-smbclient
DEPENDS+= {samba>=2.0,ja-samba>=2.0}:../../net/samba
.endif
.if !empty(PKG_OPTIONS:Mamanda-dump-snap)
CONFIGURE_ARGS+= --with-dump-use-snapshot --with-rundump
.endif
SPECIAL_PERMS+= libexec/amanda/application/amgtar ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/application/amstar ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/calcsize ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/killpgrp ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/rundump ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/runtar ${AM_PROG_PERMS}
post-build:
${RUN}${_ULIMIT_CMD} cd ${WRKSRC}/amandad-src && \
${BUILD_MAKE_CMD} amandad
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/amandad-src/amandad \
${DESTDIR}${PREFIX}/libexec/amanda
.include "../../sysutils/amanda-common/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"