Bug 212953 - [new port] sysutils/omnibackup One Script to back them all up
Summary: [new port] sysutils/omnibackup One Script to back them all up
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Babak Farrokhi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-24 01:15 UTC by Mohammad S. Babaei
Modified: 2018-07-18 12:50 UTC (History)
2 users (show)

See Also:


Attachments
sysutils/omnibackup port's shar file (4.91 KB, text/plain)
2016-09-24 01:15 UTC, Mohammad S. Babaei
no flags Details
sysutils/omnibackup port's shar file (4.93 KB, text/plain)
2018-07-16 20:25 UTC, Mohammad S. Babaei
info: maintainer-approval+
Details
sysutils/omnibackup port's shar file (4.94 KB, text/plain)
2018-07-17 16:32 UTC, Mohammad S. Babaei
info: maintainer-approval+
Details
sysutils/omnibackup port's shar file (5.10 KB, text/plain)
2018-07-18 11:25 UTC, Mohammad S. Babaei
info: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mohammad S. Babaei 2016-09-24 01:15:37 UTC
Created attachment 175113 [details]
sysutils/omnibackup port's shar file

OmniBackup is a MIT-licensed, feature rich, pure Bash script which assists you
in taking periocdic backups from OpenLDAP, PostgreSQL, MariaDB / MySQL and your
filesystem. It also lets you extend OmniBackup by creating custom backup
scenarios and defining your own customized scripts.

Configuration in OmniBackup is done through JSON. It also provides plenty of
compression and cryptography algorithms such as LZMA2, gzip and bzip2
compression algorithms, and AES-128, AES-192 and AES-256 symmetric cryptography
algorithms. Furthermore, it has support for RSA signatures to verify the backup
origin and integrity on remote servers. MD4, MD5, MDC-2, RIPEMD160, SHA, SHA-1,
SHA-224, SHA-256, SHA-384, SHA-512 and WHIRLPOOL are supported as backup
integrity hash algorithms.

It supports multiple backup servers and as many as reports recipients through
email. It has the optional ability to follow symbolic links or to preserve
permissions inside backup files. And, last but not least it provides random
passphrase generation for encrypted archives with variable length and patterns
or a unique passphrase for all backups. It's also possible to encrypt each
passphrase by using RSA public keys for individual backup servers.

WWW: https://github.com/NuLL3rr0r/omnibackup
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-01-14 05:18:03 UTC
Maintainer feedback?
Comment 2 Mohammad S. Babaei 2018-02-28 17:13:44 UTC
I'm the maintainer and the original developer of the software. I submitted this long time ago. Since I didn't receive any updates on this bug I thought this port might have been rejected.

So, what feedback should I provide?
Comment 3 Walter Schwarzenfeld freebsd_triage 2018-02-28 17:37:15 UTC
Sorry, was a mistake!
Comment 4 Babak Farrokhi freebsd_committer freebsd_triage 2018-07-09 17:18:48 UTC
Would you please check your port using portlint (ports-mgmt/portlint)? You need to update Makefile before we can proceed.
Comment 5 Mohammad S. Babaei 2018-07-12 18:26:07 UTC
Sure, I'll do it next week and provide a new shar file since I don't have access to my development machine at the moment.
Comment 6 Mohammad S. Babaei 2018-07-16 20:25:12 UTC
Created attachment 195180 [details]
sysutils/omnibackup port's shar file

New shar file with fixed Makefile which passes all portlint tests successfully.

Please let me know if there are any more issues.

Thank you!
Comment 7 Babak Farrokhi freebsd_committer freebsd_triage 2018-07-17 07:49:38 UTC
(In reply to Mohammad S. Babaei from comment #6)
Thanks for the update. There are still a few rough edges caught by portlint:

# portlint -Ac
FATAL: Makefile: [20]: use a tab (not space) after a variable name
WARN: Makefile: [30]: use a tab (not space) after a variable name
FATAL: Makefile: [35]: use a tab (not space) after a variable name
WARN: /usr/local/poudriere/ports/default/sysutils/omnibackup/pkg-message: possible use of absolute pathname "/root/.omnibackup/co...".
WARN: /usr/local/poudriere/ports/default/sysutils/omnibackup/pkg-message: possible use of absolute pathname "/usr/local/bin/omnib...".
WARN: /usr/local/poudriere/ports/default/sysutils/omnibackup/pkg-message: possible use of absolute pathname "/usr/local/share/doc...".
WARN: /usr/local/poudriere/ports/default/sysutils/omnibackup/pkg-message: possible direct use of "00      01      *       *       *       /usr/local" found. if so, use ${PREFIX} or ${LOCALBASE}, as appropriate.
WARN: /usr/local/poudriere/ports/default/sysutils/omnibackup/pkg-message: possible direct use of "* /usr/local" found. if so, use ${PREFIX} or ${LOCALBASE}, as appropriate.
2 fatal errors and 6 warnings found.
Comment 8 Mohammad S. Babaei 2018-07-17 16:32:17 UTC
Created attachment 195205 [details]
sysutils/omnibackup port's shar file

Sorry for the inconvenience and thank you so much for mentioning -Ac flag.

There'are no more complaints from portlint.

Thank you!
Comment 9 Babak Farrokhi freebsd_committer freebsd_triage 2018-07-18 08:55:15 UTC
(In reply to Mohammad S. Babaei from comment #8)
Thanks for the update. The pkg-message displays %%VARIABLE_NAME%% in output. Please fix: https://www.freebsd.org/doc/en/books/porters-handbook/using-sub-files.html
Comment 10 Mohammad S. Babaei 2018-07-18 11:25:12 UTC
Created attachment 195236 [details]
sysutils/omnibackup port's shar file

Thank you so much for the documentation link. It has been updated with the required changes.

Please let me know if there are any more issues.

Thank you so much!
Comment 11 commit-hook freebsd_committer freebsd_triage 2018-07-18 12:48:41 UTC
A commit references this bug:

Author: farrokhi
Date: Wed Jul 18 12:48:34 UTC 2018
New revision: 474859
URL: https://svnweb.freebsd.org/changeset/ports/474859

Log:
  New port: sysutils/omnibackup: One Script to back them all up

  PR:		212953
  Submitted by:	Mohammad S. Babaei <info@babaei.net>

Changes:
  head/sysutils/Makefile
  head/sysutils/omnibackup/
  head/sysutils/omnibackup/Makefile
  head/sysutils/omnibackup/distinfo
  head/sysutils/omnibackup/files/
  head/sysutils/omnibackup/files/pkg-message.in
  head/sysutils/omnibackup/pkg-descr
Comment 12 Babak Farrokhi freebsd_committer freebsd_triage 2018-07-18 12:50:15 UTC
Committed. Thanks!