Add debian package for puppet-ldap module

Openldap seems to be bumped to 2.4.57 in Debian from 2.4.40 in CentOS.
Use the same version for puppet-ldap as on CentOS.
Another candidate is
https://github.com/voxpupuli/puppet-openldap/tree/2.0.0.

Did build puppet-ldap. There was no patch to port.
Did build iso.

Story: 2009101
Task: 43391
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: Ic5b7a4af4f69a2cd78f509179547dd4c85744750
This commit is contained in:
Dan Voiculeasa 2021-09-22 16:10:25 +03:00
parent 5997bdc453
commit 698c14ccef
10 changed files with 107 additions and 0 deletions

View File

@ -0,0 +1,5 @@
puppet-ldap (0.2.4-0) unstable; urgency=medium
* Initial release
-- Dan Voiculeasa <dan.voiculeasa@windriver.com> Wed, 08 Sep 2021 11:50:43 +0000

View File

@ -0,0 +1,13 @@
Source: puppet-ldap
Section: admin
Priority: optional
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.4.1
Homepage: https://www.starlingx.io
Package: puppet-ldap
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, puppet
Description: Puppet module named puppet-ldap
A Puppet module to manage client and server configuration for OpenLdap

View File

@ -0,0 +1,28 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: puppet-ldap
Upstream-Contact: Emiliano Castagnari ecastag@gmail.com (a.k.a. Torian)
Source: https://github.com/torian/puppet-ldap
Files: *
Copyright: Copyleft (C) 2012 Emiliano Castagnari ecastag@gmail.com (a.k.a. Torian)
License: GPL-2
Upstream-Name: puppet-ldap
Upstream-Contact: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Source: https://opendev.org/starlingx/integ/src/branch/master/config/puppet-modules/puppet-ldap
Files: debian/*
Copyright: (c) 2021 Wind River Systems, Inc.
License: GPL-2
License: GPL-2
You can redistribute this software and/or modify it under the terms of
the GNU General Public License as published by the Free Software
Foundation; version 2 dated June, 1991.
.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
.
On Debian systems, the complete text of the GNU General Public License
can be found in /usr/share/common-licenses/GPL-2 file.

View File

@ -0,0 +1,4 @@
manifests usr/share/puppet/modules.available/puppet-ldap
metadata.json usr/share/puppet/modules.available/puppet-ldap
spec usr/share/puppet/modules.available/puppet-ldap
templates usr/share/puppet/modules.available/puppet-ldap

View File

@ -0,0 +1,13 @@
#!/bin/sh
# see: dh_installdeb(1)
set -e
if [ "${1}" = "configure" ] ; then
update-alternatives --install /usr/share/puppet/modules/ldap puppet-module-ldap \
/usr/share/puppet/modules.available/puppet-ldap 500
fi
#DEBHELPER#
exit 0

View File

@ -0,0 +1,13 @@
#!/bin/sh
# see: dh_installdeb(1)
set -e
if [ "${1}" = "remove" ] || [ "${1}" = "disappear" ]; then
update-alternatives --remove puppet-module-ldap \
/usr/share/puppet/modules.available/puppet-ldap
fi
#DEBHELPER#
exit 0

View File

@ -0,0 +1,13 @@
#!/bin/sh
# see: dh_installdeb(1)
set -e
if [ "${1}" = "remove" ] || [ "${1}" = "upgrade" || [ "${1}" = "deconfigure" ]; then
update-alternatives --remove puppet-module-ldap \
/usr/share/puppet/modules.available/puppet-ldap
fi
#DEBHELPER#
exit 0

View File

@ -0,0 +1,7 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
%:
dh $@

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,10 @@
---
debname: puppet-ldap
debver: 0.2.4-0
dl_path:
name: puppet-ldap-0.2.4-0.tar.gz
url: https://codeload.github.com/torian/puppet-ldap/tar.gz/480f13af6d17d1d3fcf0dc7b4bd04b49fa4099e1
md5sum: 9d6f59802e1f2855bee2167c370cf796
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true