git: 4f4e43a4a0f4 - main - New port: regather is an LDAP syncrepl consumer which can perform various actions based on LDAP syncrepl events.
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Apr 26 11:18:46 UTC 2021
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4f4e43a4a0f4350b433a83143824031cb0af043a
commit 4f4e43a4a0f4350b433a83143824031cb0af043a
Author: Alexey Dokuchaev <danfe at FreeBSD.org>
AuthorDate: 2021-04-26 11:15:16 +0000
Commit: Alexey Dokuchaev <danfe at FreeBSD.org>
CommitDate: 2021-04-26 11:16:56 +0000
New port: regather is an LDAP syncrepl consumer which can perform various
actions based on LDAP syncrepl events.
Requested by: maintainer, who is also upstream author
---
sysutils/Makefile | 1 +
sysutils/p5-App-Regather/Makefile | 26 ++++++++++++++++++++++++++
sysutils/p5-App-Regather/distinfo | 2 ++
sysutils/p5-App-Regather/pkg-descr | 11 +++++++++++
sysutils/p5-App-Regather/pkg-plist | 15 +++++++++++++++
5 files changed, 55 insertions(+)
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 563905af8a85..53252e095139 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -796,6 +796,7 @@
SUBDIR += openzfs
SUBDIR += openzfs-kmod
SUBDIR += osinfo-db-tools
+ SUBDIR += p5-App-Regather
SUBDIR += p5-App-RunCron
SUBDIR += p5-App-ZFSCurses
SUBDIR += p5-BSD-Jail-Object
diff --git a/sysutils/p5-App-Regather/Makefile b/sysutils/p5-App-Regather/Makefile
new file mode 100644
index 000000000000..750d3d12416b
--- /dev/null
+++ b/sysutils/p5-App-Regather/Makefile
@@ -0,0 +1,26 @@
+# Created by: Alexey Dokuchaev <danfe at FreeBSD.org>
+
+PORTNAME= App-Regather
+PORTVERSION= 0.81.02
+CATEGORIES= sysutils perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= zeus at gnu.org.ua
+COMMENT= Script to perform actions on LDAP syncrepl events
+
+LICENSE= GPLv3+
+
+RUN_DEPENDS= p5-Config-Parser>=1.04:devel/p5-Config-Parser \
+ p5-Config-Parser-ldap>=1.00:devel/p5-Config-Parser-ldap \
+ p5-Data-Printer>=0.38:devel/p5-Data-Printer \
+ p5-Mail-Tools>=0.80:mail/p5-Mail-Tools \
+ p5-Net-DNS>=1.15:dns/p5-Net-DNS \
+ p5-Template-Toolkit>=2.29:www/p5-Template-Toolkit \
+ p5-perl-ldap>=0.65:net/p5-perl-ldap
+
+USES= perl5
+USE_PERL5= configure
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/p5-App-Regather/distinfo b/sysutils/p5-App-Regather/distinfo
new file mode 100644
index 000000000000..9b81bf9bbeee
--- /dev/null
+++ b/sysutils/p5-App-Regather/distinfo
@@ -0,0 +1,2 @@
+SHA256 (App-Regather-0.81.02.tar.gz) = fb4c7b8f3a9927020fdf3e1bb66b57a5ab2eafd2499bd2bcaf0fceed57f77adc
+SIZE (App-Regather-0.81.02.tar.gz) = 39140
diff --git a/sysutils/p5-App-Regather/pkg-descr b/sysutils/p5-App-Regather/pkg-descr
new file mode 100644
index 000000000000..6c67d3268f32
--- /dev/null
+++ b/sysutils/p5-App-Regather/pkg-descr
@@ -0,0 +1,11 @@
+regather is an LDAP syncrepl consumer which can generate (re-gather) files,
+create or delete directories, etc. based on LDAP syncrepl events.
+
+It uses Net::LDAP(3) to do all LDAP related stuff and Template to generate
+files. Configuration file is processed with Config::Parser.
+
+For example, regather can re-write each OpenVPN client configuration file
+on changes to client LDAP configured data, or re-write CRL file on update
+in LDAP, or change sieve script for mail user.
+
+WWW: https://metacpan.org/release/App-Regather
diff --git a/sysutils/p5-App-Regather/pkg-plist b/sysutils/p5-App-Regather/pkg-plist
new file mode 100644
index 000000000000..6b60ff99b399
--- /dev/null
+++ b/sysutils/p5-App-Regather/pkg-plist
@@ -0,0 +1,15 @@
+bin/regather
+%%SITE_PERL%%/App/Regather.pm
+%%SITE_PERL%%/App/Regather/Config.pm
+%%SITE_PERL%%/App/Regather/Logg.pm
+%%SITE_PERL%%/App/Regather/Plugin.pm
+%%SITE_PERL%%/App/Regather/Plugin/configfile.pm
+%%SITE_PERL%%/App/Regather/Plugin/list.pm
+%%SITE_PERL%%/App/Regather/Plugin/nsupdate.pm
+%%PERL5_MAN1%%/regather.1.gz
+%%PERL5_MAN3%%/App::Regather::Config.3.gz
+%%PERL5_MAN3%%/App::Regather::Logg.3.gz
+%%PERL5_MAN3%%/App::Regather::Plugin.3.gz
+%%PERL5_MAN3%%/App::Regather::Plugin::configfile.3.gz
+%%PERL5_MAN3%%/App::Regather::Plugin::list.3.gz
+%%PERL5_MAN3%%/App::Regather::Plugin::nsupdate.3.gz
More information about the dev-commits-ports-all
mailing list