Rename from unipoly-mlmmj-ldap-sync to mlmmj-ldap-sync

This commit is contained in:
Timothée Floure 2019-10-30 12:21:16 +01:00
parent 9262f358cc
commit 6c169ab3a1
7 changed files with 25 additions and 18 deletions

View File

@ -4,6 +4,6 @@ build:
install:
mkdir -p $(DESTDIR)$(PREFIX)/bin /etc /lib/systemd/system
install -m755 unipoly-mlmmj-ldap-sync $(DESTDIR)$(PREFIX)/bin/unipoly-mlmmj-ldap-sync
install -m644 conf.example.toml /etc/unipoly-mlmmj-ldap-sync.toml
install -m644 unipoly-mlmmj-ldap-sync.service unipoly-mlmmj-ldap-sync.timer /lib/systemd/system
install -m755 mlmmj-ldap-sync $(DESTDIR)$(PREFIX)/bin/mlmmj-ldap-sync
install -m644 conf.example.toml /etc/mlmmj-ldap-sync.toml
install -m644 mlmmj-ldap-sync.service mlmmj-ldap-sync.timer /lib/systemd/system

7
debian/changelog vendored
View File

@ -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
* Fix typo in remove_subscriber_from

12
debian/control vendored
View File

@ -1,15 +1,15 @@
Source: unipoly-mlmmj-ldap-sync
Source: mlmmj-ldap-sync
Section: admin
Priority: optional
Maintainer: Timothée Floure <timothee.floure@epfl.ch>
Build-Depends: debhelper (>= 9)
Standards-Version: 4.1.1
Homepage: https://gitlab.gnugen.ch/gnugen-externs/unipoly/mlmmj-ldap-sync
Vcs-Git: git://gitlab.gnugen.ch/gnugen-extenrs/unipoly/mlmmj-ldap-sync.git
Homepage: https://gitlab.gnugen.ch/gnugen/mlmmj-ldap-sync
Vcs-Git: git://gitlab.gnugen.ch/gnugen/mlmmj-ldap-sync.git
Package: unipoly-mlmmj-ldap-sync
Architecture: all
Depends: ruby, ruby-net-ldap, ruby-toml, ${misc:Depends}
Description: Cronjobs to maintain the synchronization of Unipoly's mailing lists.
This package installs cronjobs to maintain the synchronization between
unipoly's LDAP tree and mailing lists.
Description: Cronjobs to maintain the synchronization of mlmmj mailing lists.
This package installs cronjobs to maintain the synchronization between LDAP
groups and mailing lists.

View File

@ -4,7 +4,7 @@ require 'toml'
require 'net/ldap'
require 'English'
@configuration_file = '/etc/unipoly-mlmmj-ldap-sync.toml'
@configuration_file = '/etc/mlmmj-ldap-sync.toml'
@configuration = nil
def read_configuration(path)

7
mlmmj-ldap-sync.service Normal file
View 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

View File

@ -1,5 +1,5 @@
[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]
OnCalendar=*-*-* 3:00:00

View File

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