FreeBSD Bugzilla – Attachment 192028 Details for
Bug 227154
[NEW PORT] archivers/urbackup-client: Client component of the UrBackup backup system
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Initial urbackup-client port
urbackup-client.diff (text/plain), 11.20 KB, created by
freebsd
on 2018-04-01 06:39:03 UTC
(
hide
)
Description:
Initial urbackup-client port
Filename:
MIME Type:
Creator:
freebsd
Created:
2018-04-01 06:39:03 UTC
Size:
11.20 KB
patch
obsolete
>Index: UIDs >=================================================================== >--- UIDs (revision 466111) >+++ UIDs (working copy) >@@ -839,7 +839,7 @@ > matterircd:*:890:890::0:0:Matterircd User:/nonexistent:/usr/sbin/nologin > # free: 891 > # free: 892 >-# free: 893 >+urbackup:*:893:893::0:0:UrBackup Server:/var/urbackup:/usr/sbin/nologin > arangodb:*:894:894::0:0:ArangoDB pseudo-user:/var/db/arangodb:/usr/sbin/nologin > snmptt:*:895:895::0:0:SNMPTT User:/var/spool/snmptt:/usr/sbin/nologin > istat:*:896:896::0:0:istatserver user:/nonexistent:/usr/sbin/nologin >Index: GIDs >=================================================================== >--- GIDs (revision 466111) >+++ GIDs (working copy) >@@ -833,7 +833,7 @@ > matterircd:*:890: > # free: 891 > # free: 892 >-# free: 893 >+urbackup:*:893: > arangodb:*:894: > snmptt:*:895: > istat:*:896: >Index: archivers/urbackup-client/Makefile >=================================================================== >--- archivers/urbackup-client/Makefile (nonexistent) >+++ archivers/urbackup-client/Makefile (working copy) >@@ -0,0 +1,105 @@ >+# $FreeBSD$ >+ >+PORTNAME= urbackup-client >+DISTVERSION= 2.2.5 >+CATEGORIES= archivers >+MASTER_SITES= https://hndl.urbackup.org/Client/${DISTVERSION}/ >+ >+MAINTAINER= freebsd@coombscloud.com >+COMMENT= Client component of the UrBackup backup system >+ >+LICENSE= AGPLv3 >+ >+WRKSRC= ${WRKDIR}/${DISTNAME}.0 >+ >+OPTIONS_DEFINE= GUI >+GUI_DESC= GTK2 Tray Icon >+OPTIONS_SUB= yes >+ >+LIB_DEPENDS+= libcryptopp.so:security/cryptopp >+GUI_LIB_DEPENDS+= libwx_baseu-3.0.so:x11-toolkits/wxgtk30 >+ >+USERS= urbackup >+GROUPS= urbackup >+ >+GNU_CONFIGURE= YES >+CPPFLAGS+= -I${PREFIX}/include >+LDFLAGS+= -L${PREFIX}/lib >+CONFIGURE_ARGS= --disable-clientupdate >+ >+.include <bsd.port.options.mk> >+ >+.if ${PORT_OPTIONS:MGUI} >+USE_WX= 3.0+ >+CONFIGURE_ARGS+= --with-wx-config=${WX_CONFIG} >+.else >+CONFIGURE_ARGS+= --enable-headless >+.endif >+ >+USE_RC_SUBR= urbackup_client >+SUB_FILES= pkg-message >+ >+CONFFILES= mariadbdump.conf \ >+ mariadbxtrabackup.conf \ >+ mariadbdump.conf \ >+ postgresbase.conf \ >+ postgresqldump.conf >+ >+XPMFILES= backup-bad.xpm \ >+ backup-no-recent.xpm \ >+ backup-ok.xpm \ >+ backup-progress.xpm \ >+ backup-indexing.xpm \ >+ backup-no-server.xpm \ >+ backup-progress-pause.xpm >+ >+do-install: >+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/urbackup/scripts >+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/urbackup >+ ${MKDIR} ${STAGEDIR}/var/urbackup/data >+ >+ ${INSTALL_PROGRAM} ${WRKSRC}/urbackupclientctl \ >+ ${STAGEDIR}${PREFIX}/bin >+ >+ ${INSTALL_PROGRAM} ${WRKSRC}/urbackupclientbackend \ >+ ${STAGEDIR}${PREFIX}/sbin >+ >+ (cd ${WRKSRC}/urbackupclient/backup_scripts && ${COPYTREE_BIN} . \ >+ ${STAGEDIR}${PREFIX}/share/urbackup/scripts "! -name *\.conf") >+ >+.for f in ${CONFFILES} >+ ${INSTALL_DATA} ${WRKSRC}/urbackupclient/backup_scripts/${f} \ >+ ${STAGEDIR}${PREFIX}/etc/urbackup/${f}.sample >+.endfor >+ >+ ${INSTALL_DATA} ${WRKSRC}/client/data/updates_h.dat \ >+ ${STAGEDIR}${PREFIX}/share/urbackup >+ >+ ${INSTALL_MAN} ${WRKSRC}/docs/urbackupclientbackend.1 \ >+ ${STAGEDIR}${MANPREFIX}/man/man1 >+ >+do-install-GUI-on: >+ ${INSTALL_PROGRAM} ${WRKSRC}/urbackupclientgui \ >+ ${STAGEDIR}${PREFIX}/bin >+ >+ ${INSTALL_DATA} ${WRKSRC}/client/data/logo1.png \ >+ ${STAGEDIR}${PREFIX}/share/urbackup >+ >+ ${INSTALL_DATA} ${WRKSRC}/client/info.txt \ >+ ${STAGEDIR}${PREFIX}/share/urbackup >+ >+.for f in ${XPMFILES} >+ ${INSTALL_DATA} ${WRKSRC}/client/data/${f} \ >+ ${STAGEDIR}${PREFIX}/share/urbackup >+.endfor >+ >+.for f in it pl pt_BR sk zh_TW zh_CN de es fr ru uk da nl fa cs >+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/urbackup/lang/${f} >+.endfor >+ >+.for f in it pl pt_BR sk zh_TW zh_CN de es fr ru uk da nl fa cs >+ ${INSTALL_DATA} ${WRKSRC}/client/data/lang/${f}/urbackup.mo \ >+ ${STAGEDIR}${PREFIX}/share/urbackup/lang/${f} >+.endfor >+ >+.include <bsd.port.mk> > >Property changes on: archivers/urbackup-client/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: archivers/urbackup-client/distinfo >=================================================================== >--- archivers/urbackup-client/distinfo (nonexistent) >+++ archivers/urbackup-client/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1521902273 >+SHA256 (urbackup-client-2.2.5.tar.gz) = 125180db455c6dd626e1facae77bad2f92b5f2570adfa7e4beeb922f39586d2c >+SIZE (urbackup-client-2.2.5.tar.gz) = 3368914 > >Property changes on: archivers/urbackup-client/distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: archivers/urbackup-client/files/pkg-message.in >=================================================================== >--- archivers/urbackup-client/files/pkg-message.in (nonexistent) >+++ archivers/urbackup-client/files/pkg-message.in (working copy) >@@ -0,0 +1,25 @@ >+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >+ >+archivers/urbackup-client includes an RC script: >+%%PREFIX%%/etc/rc.d/urbackup_client >+ >+TO START URBACKUP CLIENT ON BOOT: >+sysrc urbackup_client_enable=YES >+ >+START MANUALLY: >+service urbackup_client start >+ >+If the GTK2 GUI was built, it can be launched via: >+%%PREFIX%%/bin/urbackupclientctl >+ >+NOTE: For client configuration or to view logs, the GTK2 GUI >+needs to have one of the following in its PATH: >+ - kdesu (e.g., %%PREFIX%%/lib/kde4/libexec/) >+ (port: x11/kde-runtime) >+ - gksu (e.g., %%PREFIX%%/bin/) >+ (port: sysutils/gksu) >+ >+The client can also be configured via the UrBackup Server, or >+%%PREFIX%%/bin/urbackupclientctl >+ >+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > >Property changes on: archivers/urbackup-client/files/pkg-message.in >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: archivers/urbackup-client/files/urbackup_client.in >=================================================================== >--- archivers/urbackup-client/files/urbackup_client.in (nonexistent) >+++ archivers/urbackup-client/files/urbackup_client.in (working copy) >@@ -0,0 +1,30 @@ >+#!/bin/sh >+ >+# $FreeBSD$ >+# >+# PROVIDE: urbackup_client >+# REQUIRE: LOGIN >+# KEYWORD: shutdown >+# >+# Add these lines to /etc/rc.conf.local or /etc/rc.conf >+# to enable this service: >+# >+# urbackup_client_enable (bool): Set to NO by default. >+# Set it to YES to enable the UrBackup Client Backend. >+ >+. /etc/rc.subr >+ >+name=urbackup_client >+desc="UrBackup Client Backend" >+rcvar=urbackup_client_enable >+ >+load_rc_config $name >+ >+: ${urbackup_client_enable:=NO} >+ >+command=%%PREFIX%%/sbin/urbackupclientbackend >+pidfile=/var/run/urbackupclientbackend.pid >+ >+command_args="-d -w $pidfile" >+ >+run_rc_command "$1" > >Property changes on: archivers/urbackup-client/files/urbackup_client.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: archivers/urbackup-client/pkg-descr >=================================================================== >--- archivers/urbackup-client/pkg-descr (nonexistent) >+++ archivers/urbackup-client/pkg-descr (working copy) >@@ -0,0 +1,18 @@ >+UrBackup is an easy to setup Open Source client/server backup system, that >+through a combination of image and file backups accomplishes both data safety >+and a fast restoration time. >+ >+File and image backups are made while the system is running without interrupting >+current processes. >+ >+UrBackup also continuously watches folders you want backed up in order to >+quickly find differences to previous backups. Because of that, incremental file >+backups are really fast. >+ >+Your files can be restored through the web interface, via the client or the >+Windows Explorer while the backups of drive volumes can be restored with a >+bootable CD or USB-Stick (bare metal restore). >+ >+A web interface makes setting up your own backup server really easy. >+ >+WWW: https://www.urbackup.org > >Property changes on: archivers/urbackup-client/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: archivers/urbackup-client/pkg-plist >=================================================================== >--- archivers/urbackup-client/pkg-plist (nonexistent) >+++ archivers/urbackup-client/pkg-plist (working copy) >@@ -0,0 +1,50 @@ >+bin/urbackupclientctl >+%%GUI%%bin/urbackupclientgui >+sbin/urbackupclientbackend >+@(,,0444) man/man1/urbackupclientbackend.1.gz >+@mode 0700 >+@sample etc/urbackup/mariadbdump.conf.sample >+@sample etc/urbackup/mariadbxtrabackup.conf.sample >+@sample etc/urbackup/postgresbase.conf.sample >+@sample etc/urbackup/postgresqldump.conf.sample >+share/urbackup/scripts/list >+share/urbackup/scripts/mariadbdump >+share/urbackup/scripts/mariadbpostbackup >+share/urbackup/scripts/mariadbprebackup >+share/urbackup/scripts/mariadbxtrabackup >+share/urbackup/scripts/postgresbase >+share/urbackup/scripts/postgresqldump >+share/urbackup/scripts/postgresqlpostbackup >+share/urbackup/scripts/postgresqlprebackup >+share/urbackup/scripts/restore-mariadbbackup >+share/urbackup/scripts/setup-mariadbbackup >+share/urbackup/scripts/setup-postgresbackup >+@mode 0644 >+share/urbackup/updates_h.dat >+%%GUI%%share/urbackup/info.txt >+%%GUI%%share/urbackup/logo1.png >+%%GUI%%share/urbackup/backup-bad.xpm >+%%GUI%%share/urbackup/backup-indexing.xpm >+%%GUI%%share/urbackup/backup-no-recent.xpm >+%%GUI%%share/urbackup/backup-no-server.xpm >+%%GUI%%share/urbackup/backup-ok.xpm >+%%GUI%%share/urbackup/backup-progress-pause.xpm >+%%GUI%%share/urbackup/backup-progress.xpm >+%%GUI%%share/urbackup/lang/cs/urbackup.mo >+%%GUI%%share/urbackup/lang/da/urbackup.mo >+%%GUI%%share/urbackup/lang/de/urbackup.mo >+%%GUI%%share/urbackup/lang/es/urbackup.mo >+%%GUI%%share/urbackup/lang/fa/urbackup.mo >+%%GUI%%share/urbackup/lang/fr/urbackup.mo >+%%GUI%%share/urbackup/lang/it/urbackup.mo >+%%GUI%%share/urbackup/lang/nl/urbackup.mo >+%%GUI%%share/urbackup/lang/pl/urbackup.mo >+%%GUI%%share/urbackup/lang/pt_BR/urbackup.mo >+%%GUI%%share/urbackup/lang/ru/urbackup.mo >+%%GUI%%share/urbackup/lang/sk/urbackup.mo >+%%GUI%%share/urbackup/lang/uk/urbackup.mo >+%%GUI%%share/urbackup/lang/zh_CN/urbackup.mo >+%%GUI%%share/urbackup/lang/zh_TW/urbackup.mo >+@dir(,,0700) /var/urbackup/data >+@dir(urbackup,urbackup,0755) /var/urbackup >+@mode 555 > >Property changes on: archivers/urbackup-client/pkg-plist >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227154
: 192028