-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Coutadeur
committed
Jan 31, 2024
1 parent
6b0b6b9
commit 9676519
Showing
8 changed files
with
55 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
lsc (2.2.0-1) unstable; urgency=low | ||
|
||
* Update to 2.2.0 | ||
|
||
-- Clement Oudot (LTB-project) <[email protected]> Tue, 24 Aug 2021 12:00:00 +0100 | ||
|
||
lsc (2.1.6-1) unstable; urgency=low | ||
|
||
* Update to 2.1.6 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
doc/man/man1/lsc.1 | ||
doc/man/man1/lsc-agent.1 | ||
doc/man/man5/lsc.properties.5 | ||
doc/man/man5/lsc.xml.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
lsc_logdir=/var/log/lsc | ||
lsc_user=lsc | ||
lsc_group=lsc | ||
|
||
getent group ${lsc_group} > /dev/null 2>&1 || groupadd --system ${lsc_group} | ||
getent passwd ${lsc_user} > /dev/null 2>&1 || useradd --system --gid ${lsc_group} --home-dir /var/lib/lsc --shell "/sbin/nologin" --comment "LDAP Synchronization Connector user" ${lsc_user} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
## nagios | ||
bin/check_lsc* usr/lib/nagios/plugins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
override_dh_compress: | ||
|
||
override_dh_testdir: | ||
## systemd | ||
# systemd | ||
cp -f lib/systemd/system/lsc-async.service debian/ | ||
cp -f lib/systemd/system/[email protected] debian/ | ||
cp -f lib/systemd/system/lsc-sync.service debian/ | ||
|
@@ -25,3 +25,16 @@ override_dh_installsystemd: | |
dh_installsystemd --no-start --no-enable --no-stop-on-upgrade --name=lsc-sync | ||
dh_installsystemd --no-start --no-enable --no-stop-on-upgrade --name=lsc-sync@ | ||
dh_installsystemd --name=lsc-sync.timer | ||
|
||
|
||
override_dh_install: | ||
dh_install | ||
# Copy configuration files | ||
mkdir -p `pwd`/debian/lsc/var/lib/lsc | ||
mkdir -p `pwd`/debian/lsc/etc/lsc/sql-map-config.d | ||
cp -a etc/logback.xml `pwd`/debian/lsc/etc/lsc/logback.xml | ||
cp -a etc/lsc.xml-sample `pwd`/debian/lsc/etc/lsc/lsc.xml | ||
cp -a etc/sql-map-config.xml-sample `pwd`/debian/lsc/etc/lsc/sql-map-config.xml | ||
cp -a etc/sql-map-config.d/InetOrgPerson.xml-sample `pwd`/debian/lsc/etc/lsc/sql-map-config.d/InetOrgPerson.xml | ||
# Remove useless windows .bat files | ||
find debian/lsc -type f -name '*.bat' -delete |