Rename from unipoly-mlmmj-ldap-sync to mlmmj-ldap-sync
This commit is contained in:
parent
9262f358cc
commit
6c169ab3a1
7 changed files with 25 additions and 18 deletions
6
Makefile
6
Makefile
|
@ -4,6 +4,6 @@ build:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/bin /etc /lib/systemd/system
|
mkdir -p $(DESTDIR)$(PREFIX)/bin /etc /lib/systemd/system
|
||||||
install -m755 unipoly-mlmmj-ldap-sync $(DESTDIR)$(PREFIX)/bin/unipoly-mlmmj-ldap-sync
|
install -m755 mlmmj-ldap-sync $(DESTDIR)$(PREFIX)/bin/mlmmj-ldap-sync
|
||||||
install -m644 conf.example.toml /etc/unipoly-mlmmj-ldap-sync.toml
|
install -m644 conf.example.toml /etc/mlmmj-ldap-sync.toml
|
||||||
install -m644 unipoly-mlmmj-ldap-sync.service unipoly-mlmmj-ldap-sync.timer /lib/systemd/system
|
install -m644 mlmmj-ldap-sync.service mlmmj-ldap-sync.timer /lib/systemd/system
|
||||||
|
|
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,3 +1,10 @@
|
||||||
|
mlmmj-ldap-sync (0.5) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Rename package from unipoly-mlmmj-ldap-sync to mlmmj-ldap-sync.
|
||||||
|
* Allow multiple configurations.
|
||||||
|
|
||||||
|
-- Timothée Floure <timothee.floure@epfl.ch> Wed, 30 Oct 2019 12:20:01 +0100
|
||||||
|
|
||||||
unipoly-mlmmj-ldap-sync (0.4) unstable; urgency=medium
|
unipoly-mlmmj-ldap-sync (0.4) unstable; urgency=medium
|
||||||
|
|
||||||
* Fix typo in remove_subscriber_from
|
* Fix typo in remove_subscriber_from
|
||||||
|
|
12
debian/control
vendored
12
debian/control
vendored
|
@ -1,15 +1,15 @@
|
||||||
Source: unipoly-mlmmj-ldap-sync
|
Source: mlmmj-ldap-sync
|
||||||
Section: admin
|
Section: admin
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Timothée Floure <timothee.floure@epfl.ch>
|
Maintainer: Timothée Floure <timothee.floure@epfl.ch>
|
||||||
Build-Depends: debhelper (>= 9)
|
Build-Depends: debhelper (>= 9)
|
||||||
Standards-Version: 4.1.1
|
Standards-Version: 4.1.1
|
||||||
Homepage: https://gitlab.gnugen.ch/gnugen-externs/unipoly/mlmmj-ldap-sync
|
Homepage: https://gitlab.gnugen.ch/gnugen/mlmmj-ldap-sync
|
||||||
Vcs-Git: git://gitlab.gnugen.ch/gnugen-extenrs/unipoly/mlmmj-ldap-sync.git
|
Vcs-Git: git://gitlab.gnugen.ch/gnugen/mlmmj-ldap-sync.git
|
||||||
|
|
||||||
Package: unipoly-mlmmj-ldap-sync
|
Package: unipoly-mlmmj-ldap-sync
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ruby, ruby-net-ldap, ruby-toml, ${misc:Depends}
|
Depends: ruby, ruby-net-ldap, ruby-toml, ${misc:Depends}
|
||||||
Description: Cronjobs to maintain the synchronization of Unipoly's mailing lists.
|
Description: Cronjobs to maintain the synchronization of mlmmj mailing lists.
|
||||||
This package installs cronjobs to maintain the synchronization between
|
This package installs cronjobs to maintain the synchronization between LDAP
|
||||||
unipoly's LDAP tree and mailing lists.
|
groups and mailing lists.
|
||||||
|
|
|
@ -4,7 +4,7 @@ require 'toml'
|
||||||
require 'net/ldap'
|
require 'net/ldap'
|
||||||
require 'English'
|
require 'English'
|
||||||
|
|
||||||
@configuration_file = '/etc/unipoly-mlmmj-ldap-sync.toml'
|
@configuration_file = '/etc/mlmmj-ldap-sync.toml'
|
||||||
@configuration = nil
|
@configuration = nil
|
||||||
|
|
||||||
def read_configuration(path)
|
def read_configuration(path)
|
7
mlmmj-ldap-sync.service
Normal file
7
mlmmj-ldap-sync.service
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Synchronize mlmmj mailing lists with LDAP groups
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/usr/bin/mlmmj-ldap-sync
|
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Synchronize Unipoly's mailing lists with their LDAP groups once a day
|
Description=Synchronize mlmmj mailing lists with LDAP groups once a day
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnCalendar=*-*-* 3:00:00
|
OnCalendar=*-*-* 3:00:00
|
|
@ -1,7 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Synchronize Unipoly's mailing lists with their LDAP groups
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
ExecStart=/usr/bin/unipoly-mlmmj-ldap-sync
|
|
Loading…
Reference in a new issue