diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2018-08-24 17:22:01 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2018-08-24 17:22:01 +0000 |
commit | edf512ca2e5e5a59e84993103663d499dc54600d (patch) | |
tree | 755180fd4810fbf33aa78186166afc94eafc7a8e /archivers/urbackup-client/Makefile | |
parent | d0dff0b145c82c7f6acffe2125012004f4d4d6cb (diff) | |
download | ports-edf512ca2e5e5a59e84993103663d499dc54600d.tar.gz ports-edf512ca2e5e5a59e84993103663d499dc54600d.zip |
Notes
Diffstat (limited to 'archivers/urbackup-client/Makefile')
-rw-r--r-- | archivers/urbackup-client/Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/archivers/urbackup-client/Makefile b/archivers/urbackup-client/Makefile index 3a6729ea33a6..b2ec73ad14f8 100644 --- a/archivers/urbackup-client/Makefile +++ b/archivers/urbackup-client/Makefile @@ -2,6 +2,7 @@ PORTNAME= urbackup-client DISTVERSION= 2.2.6 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= https://hndl.urbackup.org/Client/${DISTVERSION}/ @@ -13,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcryptopp.so:security/cryptopp -USES= gettext dos2unix localbase +USES= dos2unix gettext localbase pkgconfig USE_RC_SUBR= urbackup_client USERS= urbackup @@ -21,6 +22,7 @@ GROUPS= urbackup GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-clientupdate +CXXFLAGS+= `pkgconf --cflags-only-other libcryptopp` SUB_FILES= pkg-message urbackupclient.conf.sample-daemon @@ -48,6 +50,19 @@ XPMFILES= backup-bad.xpm \ backup-no-server.xpm \ backup-progress-pause.xpm +post-patch: + @(cd ${WRKSRC} && ${REINPLACE_CMD} -E -e 's|[[:<:]]byte[[:>:]]|CryptoPP::byte|g' \ + cryptoplugin/AESDecryption.cpp \ + cryptoplugin/AESEncryption.cpp \ + cryptoplugin/AESGCMDecryption.cpp \ + cryptoplugin/AESGCMEncryption.cpp \ + cryptoplugin/CryptoFactory.cpp \ + cryptoplugin/ECDHKeyExchange.cpp \ + cryptoplugin/ZlibCompression.cpp \ + cryptoplugin/ZlibDecompression.cpp \ + md5.h \ + ) + do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/urbackup/scripts ${MKDIR} ${STAGEDIR}${PREFIX}/etc/urbackup |