From 5dabd21de05f6e994cba40650fbe218c085d17ca Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 24 Feb 2016 19:12:10 +0100 Subject: Debianization --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 22 ++++++++++++++++++++++ debian/copyright | 26 ++++++++++++++++++++++++++ debian/install | 1 + debian/rules | 16 ++++++++++++++++ debian/source/format | 1 + 7 files changed, 72 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/install create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..dd273ad --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +slapd-service-passwords (0.1) UNRELEASED; urgency=low + + * Initial release. + + -- Alexander Sulfrian Wed, 24 Feb 2016 19:09:33 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..fee765a --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: slapd-service-passwords +Section: net +Priority: extra +Maintainer: Alexander Sulfrian +Uploaders: Alexander Sulfrian +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 7.2.11), libldap2-dev +Homepage: http://git.spline.inf.fu-berlin.de/accounts/ldap-plugin/ +Vcs-Browser: http://git.spline.inf.fu-berlin.de/accounts/ldap-plugin/ +Vcs-Git: git://git.spline.inf.fu-berlin.de/accounts/ldap-plugin + +Package: slapd-service-passwords +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: SLAPI plugin to manage different passwords + This is a SLAPI plugin to manage different passwords for different + services without duplicating all the user information. + . + This plugins works, by prefixing the user dn with a virtual service + entry (during an authenticated search with a service account) and + removes this virtual prefix during bind and search requests to get + the user information. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e9a2549 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,26 @@ +This work was packaged for Debian by: + + Alexander Sulfrian + +It was downloaded from: + + http://git.spline.inf.fu-berlin.de/accounts/ldap-plugin/ + +Upstream Author(s): + + Alexander Sulfrian + +Copyright: + + Copyright (C) 2016 Alexander Sulfrian + +License: + + as-is + +The Debian packaging is: + + Copyright (C) 2016 Alexander Sulfrian + +and is licensed under the GPL version 3, +see "/usr/share/common-licenses/GPL-3". diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..e9168a2 --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +service_passwords.so usr/lib/ldap/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..0663742 --- /dev/null +++ b/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +OPENLDAP_SOURCE=debian/tmp/openldap-source/openldap + +%: + dh $@ + +override_dh_auto_configure: + $(RM) -r $(OPENLDAP_SOURCE) + mkdir -p $(dir $(OPENLDAP_SOURCE)) + cd $(dir $(OPENLDAP_SOURCE)); \ + apt-get source slapd + mv $(dir $(OPENLDAP_SOURCE))openldap-*/ $(OPENLDAP_SOURCE) + +override_dh_auto_build: + dh_auto_build -- OPENLDAP_SOURCE=$(OPENLDAP_SOURCE) diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- cgit v1.2.3-1-g7c22