| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/archivers/urbackup-server/ |
Upload File : |
PORTNAME= urbackup-server
DISTVERSION= 2.5.26
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= https://hndl.urbackup.org/Server/${DISTVERSION}/
MAINTAINER= nc@FreeBSD.org
COMMENT= Server component of the UrBackup backup system
WWW= https://www.urbackup.org
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/server-license.txt
LIB_DEPENDS= libcryptopp.so:security/cryptopp \
libcurl.so:ftp/curl \
liblmdb.so:databases/lmdb
USES= autoreconf compiler:c++11-lang dos2unix fakeroot fuse \
libtool lua:53 pkgconfig sqlite:3
DOS2UNIX_GLOB= *.c *.cpp *.h *.am
USE_RC_SUBR= urbackup_server
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-packaging --with-mountvhd --without-embedded-sqlite3 --without-embedded-lmdb --without-embedded-lua
LDFLAGS+= -L${LOCALBASE}/lib
SUB_FILES= pkg-message urbackupsrv.conf.sample-daemon
USERS= urbackup
GROUPS= urbackup
post-patch:
@(cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|/etc/urbackup|${PREFIX}/etc/urbackup|g' \
mount_helper/main.cpp \
urbackupserver/server.cpp \
urbackupserver/serverinterface/settings.cpp \
urbackupserver/dllmain.cpp \
snapshot_helper/main.cpp \
)
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/urbackup
${INSTALL_DATA} ${WRKDIR}/urbackupsrv.conf.sample-daemon \
${STAGEDIR}${PREFIX}/etc/urbackup/urbackupsrv.conf.sample
${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
${INSTALL_DATA} ${FILESDIR}/urbackupsrv.conf-newsyslog \
${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/urbackupsrv.conf
${INSTALL_MAN} ${WRKSRC}/docs/urbackupsrv.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>