Created attachment 189692 [details] .diff file for new urbackup-server port 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
Please don't install > %%DOCSDIR%%/COPYING It should be covered by LICENSE_FILE. I suggest you use > PORTDOCS= * instead of listing docs. Please remove the commented out lines, they aren't needed. In MASTER_SITES, please replace 2.1.20 with ${DISTVERSION}. You can move bin/urbackupsrv up, and get rid of its @mode line.
Also, option DOCS needs to be defined when you have docs.
Created attachment 189697 [details] .diff for second version of port, based on Yuri's comments.
Comment on attachment 189697 [details] .diff for second version of port, based on Yuri's comments. First port; Thanks for the feedback. :) After reviewing the docs in more detail, I removed them altogether (Makefile and pkg-plist). Moved bin/urbackupsrv up in the pkg-plist and removed its mode. Sorry about the commented lines. They were last-minute changes based on portlint that I forgot to remove.
Created attachment 189698 [details] Differences between first and second version of port.
Plase let me know if there is anything else you need from me to prepare this port for committing.
Created attachment 191747 [details] Upgrade to version 2.2.8 from upstream This new .diff reflects an upstream update to version 2.2.8 since I submitted the original port. I have also cleaned up the naming of the rc script/variable (from urbackup to urbackup_server) for consistency with the port name, and to better allow for a future port for the client (if it will build). I also added USES+=fakeroot to the Makefile to facilitate non-root building (the port sets SUID and SGID bits on a couple files), and added a warning about these files to pkg-message.in. The port passes portlint and builds in Pourdriere, and the rc script passes rclint.
portlint complains: FATAL: Makefile: urbackup_server listed in SUB_FILES/USE_RC_SUBR, but files/urbackup_server.in is missing.
Created attachment 192531 [details] New patch to add rc script and choose new UID/GID
(In reply to Kurt Jaeger from comment #8) Sorry, I guess I forgot to 'svn add' the rc script prior to diff'ing. Also, it looks like the chosen UID/GID have since been taken. This has been addressed.
testbuilds at work, with 2.2.10
Committed, thanks!
A commit references this bug: Author: pi Date: Sun Apr 15 17:00:11 UTC 2018 New revision: 467400 URL: https://svnweb.freebsd.org/changeset/ports/467400 Log: New port: archivers/urbackup-server 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 PR: 225148 Submitted by: Kirk Coombs <freebsd@coombscloud.com> Changes: head/archivers/Makefile head/archivers/urbackup-server/ head/archivers/urbackup-server/Makefile head/archivers/urbackup-server/distinfo head/archivers/urbackup-server/files/ head/archivers/urbackup-server/files/pkg-message.in head/archivers/urbackup-server/files/urbackup_server.in head/archivers/urbackup-server/pkg-descr head/archivers/urbackup-server/pkg-plist