View | Details | Raw Unified | Return to bug 227154
Collapse All | Expand All

(-)UIDs (-1 / +1 lines)
Lines 839-845 Link Here
839
matterircd:*:890:890::0:0:Matterircd User:/nonexistent:/usr/sbin/nologin
839
matterircd:*:890:890::0:0:Matterircd User:/nonexistent:/usr/sbin/nologin
840
# free: 891
840
# free: 891
841
# free: 892
841
# free: 892
842
# free: 893
842
urbackup:*:893:893::0:0:UrBackup Server:/var/urbackup:/usr/sbin/nologin
843
arangodb:*:894:894::0:0:ArangoDB pseudo-user:/var/db/arangodb:/usr/sbin/nologin
843
arangodb:*:894:894::0:0:ArangoDB pseudo-user:/var/db/arangodb:/usr/sbin/nologin
844
snmptt:*:895:895::0:0:SNMPTT User:/var/spool/snmptt:/usr/sbin/nologin
844
snmptt:*:895:895::0:0:SNMPTT User:/var/spool/snmptt:/usr/sbin/nologin
845
istat:*:896:896::0:0:istatserver user:/nonexistent:/usr/sbin/nologin
845
istat:*:896:896::0:0:istatserver user:/nonexistent:/usr/sbin/nologin
(-)GIDs (-1 / +1 lines)
Lines 833-839 Link Here
833
matterircd:*:890:
833
matterircd:*:890:
834
# free: 891
834
# free: 891
835
# free: 892
835
# free: 892
836
# free: 893
836
urbackup:*:893:
837
arangodb:*:894:
837
arangodb:*:894:
838
snmptt:*:895:
838
snmptt:*:895:
839
istat:*:896:
839
istat:*:896:
(-)archivers/urbackup-client/Makefile (+105 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	urbackup-client
4
DISTVERSION=	2.2.5
5
CATEGORIES=	archivers
6
MASTER_SITES=	https://hndl.urbackup.org/Client/${DISTVERSION}/
7
8
MAINTAINER=	freebsd@coombscloud.com
9
COMMENT=	Client component of the UrBackup backup system
10
11
LICENSE=	AGPLv3
12
13
WRKSRC=		${WRKDIR}/${DISTNAME}.0
14
15
OPTIONS_DEFINE=	GUI
16
GUI_DESC=	GTK2 Tray Icon
17
OPTIONS_SUB=	yes
18
19
LIB_DEPENDS+=	libcryptopp.so:security/cryptopp
20
GUI_LIB_DEPENDS+= libwx_baseu-3.0.so:x11-toolkits/wxgtk30
21
22
USERS=          urbackup
23
GROUPS=         urbackup
24
25
GNU_CONFIGURE=	YES
26
CPPFLAGS+=	-I${PREFIX}/include
27
LDFLAGS+=	-L${PREFIX}/lib
28
CONFIGURE_ARGS=	--disable-clientupdate
29
30
.include <bsd.port.options.mk>
31
32
.if ${PORT_OPTIONS:MGUI}
33
USE_WX=		3.0+
34
CONFIGURE_ARGS+=	--with-wx-config=${WX_CONFIG}
35
.else
36
CONFIGURE_ARGS+=	--enable-headless
37
.endif
38
39
USE_RC_SUBR=	urbackup_client
40
SUB_FILES=	pkg-message
41
42
CONFFILES=	mariadbdump.conf \
43
		mariadbxtrabackup.conf \
44
		mariadbdump.conf \
45
		postgresbase.conf \
46
		postgresqldump.conf
47
48
XPMFILES=	backup-bad.xpm \
49
		backup-no-recent.xpm \
50
		backup-ok.xpm \
51
		backup-progress.xpm \
52
		backup-indexing.xpm \
53
		backup-no-server.xpm \
54
		backup-progress-pause.xpm
55
56
do-install:
57
	${MKDIR} ${STAGEDIR}${PREFIX}/share/urbackup/scripts
58
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/urbackup
59
	${MKDIR} ${STAGEDIR}/var/urbackup/data
60
61
	${INSTALL_PROGRAM} ${WRKSRC}/urbackupclientctl \
62
		${STAGEDIR}${PREFIX}/bin
63
64
	${INSTALL_PROGRAM} ${WRKSRC}/urbackupclientbackend \
65
		${STAGEDIR}${PREFIX}/sbin
66
67
	(cd ${WRKSRC}/urbackupclient/backup_scripts && 	${COPYTREE_BIN} . \
68
		${STAGEDIR}${PREFIX}/share/urbackup/scripts "! -name *\.conf")
69
70
.for f in ${CONFFILES}
71
	${INSTALL_DATA} ${WRKSRC}/urbackupclient/backup_scripts/${f} \
72
		${STAGEDIR}${PREFIX}/etc/urbackup/${f}.sample
73
.endfor
74
75
	${INSTALL_DATA} ${WRKSRC}/client/data/updates_h.dat \
76
		${STAGEDIR}${PREFIX}/share/urbackup
77
78
	${INSTALL_MAN} ${WRKSRC}/docs/urbackupclientbackend.1 \
79
		${STAGEDIR}${MANPREFIX}/man/man1
80
81
do-install-GUI-on:
82
	${INSTALL_PROGRAM} ${WRKSRC}/urbackupclientgui \
83
		${STAGEDIR}${PREFIX}/bin
84
85
	${INSTALL_DATA}	${WRKSRC}/client/data/logo1.png \
86
		${STAGEDIR}${PREFIX}/share/urbackup
87
88
	${INSTALL_DATA}	${WRKSRC}/client/info.txt \
89
		${STAGEDIR}${PREFIX}/share/urbackup
90
91
.for f in ${XPMFILES}
92
	${INSTALL_DATA} ${WRKSRC}/client/data/${f} \
93
		${STAGEDIR}${PREFIX}/share/urbackup
94
.endfor
95
96
.for f in it pl pt_BR sk zh_TW zh_CN de es fr ru uk da nl fa cs
97
	${MKDIR} ${STAGEDIR}${PREFIX}/share/urbackup/lang/${f}
98
.endfor
99
100
.for f in it pl pt_BR sk zh_TW zh_CN de es fr ru uk da nl fa cs
101
	${INSTALL_DATA} ${WRKSRC}/client/data/lang/${f}/urbackup.mo \
102
		${STAGEDIR}${PREFIX}/share/urbackup/lang/${f}
103
.endfor
104
105
.include <bsd.port.mk>
(-)archivers/urbackup-client/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1521902273
2
SHA256 (urbackup-client-2.2.5.tar.gz) = 125180db455c6dd626e1facae77bad2f92b5f2570adfa7e4beeb922f39586d2c
3
SIZE (urbackup-client-2.2.5.tar.gz) = 3368914
(-)archivers/urbackup-client/files/pkg-message.in (+25 lines)
Line 0 Link Here
1
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2
3
archivers/urbackup-client includes an RC script:
4
%%PREFIX%%/etc/rc.d/urbackup_client
5
6
TO START URBACKUP CLIENT ON BOOT:
7
sysrc urbackup_client_enable=YES
8
9
START MANUALLY:
10
service urbackup_client start
11
12
If the GTK2 GUI was built, it can be launched via:
13
%%PREFIX%%/bin/urbackupclientctl
14
15
NOTE: For client configuration or to view logs, the GTK2 GUI 
16
needs to have one of the following in its PATH:
17
	- kdesu (e.g., %%PREFIX%%/lib/kde4/libexec/)
18
		(port: x11/kde-runtime)
19
	- gksu (e.g., %%PREFIX%%/bin/)
20
		(port: sysutils/gksu)
21
22
The client can also be configured via the UrBackup Server, or
23
%%PREFIX%%/bin/urbackupclientctl
24
25
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
(-)archivers/urbackup-client/files/urbackup_client.in (+30 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# $FreeBSD$
4
#
5
# PROVIDE: urbackup_client
6
# REQUIRE: LOGIN
7
# KEYWORD: shutdown
8
#
9
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
10
# to enable this service:
11
#
12
# urbackup_client_enable (bool):	Set to NO by default.
13
#					Set it to YES to enable the UrBackup Client Backend.
14
15
. /etc/rc.subr
16
17
name=urbackup_client
18
desc="UrBackup Client Backend"
19
rcvar=urbackup_client_enable
20
21
load_rc_config $name
22
23
: ${urbackup_client_enable:=NO}
24
25
command=%%PREFIX%%/sbin/urbackupclientbackend
26
pidfile=/var/run/urbackupclientbackend.pid
27
28
command_args="-d -w $pidfile"
29
30
run_rc_command "$1"
(-)archivers/urbackup-client/pkg-descr (+18 lines)
Line 0 Link Here
1
UrBackup is an easy to setup Open Source client/server backup system, that 
2
through a combination of image and file backups accomplishes both data safety 
3
and a fast restoration time.
4
5
File and image backups are made while the system is running without interrupting
6
current processes.
7
8
UrBackup also continuously watches folders you want backed up in order to 
9
quickly find differences to previous backups. Because of that, incremental file
10
backups are really fast.
11
12
Your files can be restored through the web interface, via the client or the 
13
Windows Explorer while the backups of drive volumes can be restored with a 
14
bootable CD or USB-Stick (bare metal restore).
15
16
A web interface makes setting up your own backup server really easy.
17
18
WWW: https://www.urbackup.org
(-)archivers/urbackup-client/pkg-plist (+50 lines)
Line 0 Link Here
1
bin/urbackupclientctl
2
%%GUI%%bin/urbackupclientgui
3
sbin/urbackupclientbackend
4
@(,,0444) man/man1/urbackupclientbackend.1.gz
5
@mode 0700
6
@sample etc/urbackup/mariadbdump.conf.sample
7
@sample etc/urbackup/mariadbxtrabackup.conf.sample
8
@sample etc/urbackup/postgresbase.conf.sample
9
@sample etc/urbackup/postgresqldump.conf.sample
10
share/urbackup/scripts/list
11
share/urbackup/scripts/mariadbdump
12
share/urbackup/scripts/mariadbpostbackup
13
share/urbackup/scripts/mariadbprebackup
14
share/urbackup/scripts/mariadbxtrabackup
15
share/urbackup/scripts/postgresbase
16
share/urbackup/scripts/postgresqldump
17
share/urbackup/scripts/postgresqlpostbackup
18
share/urbackup/scripts/postgresqlprebackup
19
share/urbackup/scripts/restore-mariadbbackup
20
share/urbackup/scripts/setup-mariadbbackup
21
share/urbackup/scripts/setup-postgresbackup
22
@mode 0644
23
share/urbackup/updates_h.dat
24
%%GUI%%share/urbackup/info.txt
25
%%GUI%%share/urbackup/logo1.png
26
%%GUI%%share/urbackup/backup-bad.xpm
27
%%GUI%%share/urbackup/backup-indexing.xpm
28
%%GUI%%share/urbackup/backup-no-recent.xpm
29
%%GUI%%share/urbackup/backup-no-server.xpm
30
%%GUI%%share/urbackup/backup-ok.xpm
31
%%GUI%%share/urbackup/backup-progress-pause.xpm
32
%%GUI%%share/urbackup/backup-progress.xpm
33
%%GUI%%share/urbackup/lang/cs/urbackup.mo
34
%%GUI%%share/urbackup/lang/da/urbackup.mo
35
%%GUI%%share/urbackup/lang/de/urbackup.mo
36
%%GUI%%share/urbackup/lang/es/urbackup.mo
37
%%GUI%%share/urbackup/lang/fa/urbackup.mo
38
%%GUI%%share/urbackup/lang/fr/urbackup.mo
39
%%GUI%%share/urbackup/lang/it/urbackup.mo
40
%%GUI%%share/urbackup/lang/nl/urbackup.mo
41
%%GUI%%share/urbackup/lang/pl/urbackup.mo
42
%%GUI%%share/urbackup/lang/pt_BR/urbackup.mo
43
%%GUI%%share/urbackup/lang/ru/urbackup.mo
44
%%GUI%%share/urbackup/lang/sk/urbackup.mo
45
%%GUI%%share/urbackup/lang/uk/urbackup.mo
46
%%GUI%%share/urbackup/lang/zh_CN/urbackup.mo
47
%%GUI%%share/urbackup/lang/zh_TW/urbackup.mo
48
@dir(,,0700) /var/urbackup/data
49
@dir(urbackup,urbackup,0755) /var/urbackup
50
@mode 555

Return to bug 227154