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
This commit is contained in:
Alexey Dokuchaev 2021-04-26 11:15:16 +00:00
parent 44b57221ce
commit 4f4e43a4a0
5 changed files with 55 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,26 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= App-Regather
PORTVERSION= 0.81.02
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= zeus@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>

View File

@ -0,0 +1,2 @@
SHA256 (App-Regather-0.81.02.tar.gz) = fb4c7b8f3a9927020fdf3e1bb66b57a5ab2eafd2499bd2bcaf0fceed57f77adc
SIZE (App-Regather-0.81.02.tar.gz) = 39140

View File

@ -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

View File

@ -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