From 5b17fceb71213d1e1f263dd7242f1bdeea5a819a Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Fri, 7 Nov 2014 14:54:04 +0100 Subject: [PATCH 1/6] debian packaging (/debian only) --- README.source | 9 +++++++++ changelog | 5 +++++ compat | 1 + control | 15 +++++++++++++++ copyright | 28 ++++++++++++++++++++++++++++ dirs | 2 ++ docs | 1 + files | 1 + rules | 32 ++++++++++++++++++++++++++++++++ slapd-supann.debhelper.log | 18 ++++++++++++++++++ slapd-supann.substvars | 1 + source/format | 1 + 12 files changed, 114 insertions(+) create mode 100644 README.source create mode 100644 changelog create mode 100644 compat create mode 100644 control create mode 100644 copyright create mode 100644 dirs create mode 100644 docs create mode 100644 files create mode 100755 rules create mode 100644 slapd-supann.debhelper.log create mode 100644 slapd-supann.substvars create mode 100644 source/format diff --git a/README.source b/README.source new file mode 100644 index 0000000..03ea61b --- /dev/null +++ b/README.source @@ -0,0 +1,9 @@ +slapd-supann for Debian +----------------------- + +Tools for SupAnn support in slapd (openldap) + +Sources from http://repos.entrouvert.org/slapd-supann.git/ + + -- Thomas NOEL Fri, 07 Nov 2014 14:24:42 +0100 + diff --git a/changelog b/changelog new file mode 100644 index 0000000..2b47613 --- /dev/null +++ b/changelog @@ -0,0 +1,5 @@ +slapd-supann (0.0.0-1) unstable; urgency=low + + * Initial release + + -- Thomas NOEL Fri, 07 Nov 2014 14:24:42 +0100 diff --git a/compat b/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +9 diff --git a/control b/control new file mode 100644 index 0000000..3986f20 --- /dev/null +++ b/control @@ -0,0 +1,15 @@ +Source: slapd-supann +Section: net +Priority: optional +Maintainer: Thomas NOEL +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.5 +Homepage: http://repos.entrouvert.org/slapd-supann.git +Vcs-Git: git://repos.entrouvert.org/slapd-supann.git +Vcs-Browser: http://repos.entrouvert.org/slapd-supann.git + +Package: slapd-supann +Architecture: all +Depends: ${misc:Depends}, slapd, ldap-utils, ldapvi +Description: Tools for SupAnn support in slapd + SupAnn support in slapd: config files, utils, etc. diff --git a/copyright b/copyright new file mode 100644 index 0000000..53044fd --- /dev/null +++ b/copyright @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: slapd-supann +Source: + +Files: * +Copyright: 2014 Entr'ouvert +License: GPL-3.0+ + +Files: debian/* +Copyright: 2014 Entr'ouvert +License: GPL-3.0+ + +License: GPL-3.0+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package 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. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/dirs b/dirs new file mode 100644 index 0000000..98d1583 --- /dev/null +++ b/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 diff --git a/docs b/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/docs @@ -0,0 +1 @@ +README diff --git a/files b/files new file mode 100644 index 0000000..3d9c048 --- /dev/null +++ b/files @@ -0,0 +1 @@ +slapd-supann_0.0.0-1_all.deb net optional diff --git a/rules b/rules new file mode 100755 index 0000000..ce15cce --- /dev/null +++ b/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + + +# main packaging script based on dh7 syntax +%: + dh $@ + +# debmake generated override targets +# This is example for Cmake (See http://bugs.debian.org/641051 ) +#override_dh_auto_configure: +# dh_auto_configure -- \ +# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) + + + + diff --git a/slapd-supann.debhelper.log b/slapd-supann.debhelper.log new file mode 100644 index 0000000..66e15cf --- /dev/null +++ b/slapd-supann.debhelper.log @@ -0,0 +1,18 @@ +dh_auto_configure +dh_auto_build +dh_auto_test +dh_prep +dh_installdirs +dh_auto_install +dh_installdocs +dh_installchangelogs +dh_installman +dh_perl +dh_link +dh_compress +dh_fixperms +dh_installdeb +dh_gencontrol +dh_md5sums +dh_builddeb +dh_builddeb diff --git a/slapd-supann.substvars b/slapd-supann.substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/slapd-supann.substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) From 6f133b9a834a682da6d148a3d79ab65e91754a00 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Fri, 7 Nov 2014 14:57:34 +0100 Subject: [PATCH 2/6] remove useless files (debuild working files) --- slapd-supann.debhelper.log | 18 ------------------ slapd-supann.substvars | 1 - 2 files changed, 19 deletions(-) delete mode 100644 slapd-supann.debhelper.log delete mode 100644 slapd-supann.substvars diff --git a/slapd-supann.debhelper.log b/slapd-supann.debhelper.log deleted file mode 100644 index 66e15cf..0000000 --- a/slapd-supann.debhelper.log +++ /dev/null @@ -1,18 +0,0 @@ -dh_auto_configure -dh_auto_build -dh_auto_test -dh_prep -dh_installdirs -dh_auto_install -dh_installdocs -dh_installchangelogs -dh_installman -dh_perl -dh_link -dh_compress -dh_fixperms -dh_installdeb -dh_gencontrol -dh_md5sums -dh_builddeb -dh_builddeb diff --git a/slapd-supann.substvars b/slapd-supann.substvars deleted file mode 100644 index abd3ebe..0000000 --- a/slapd-supann.substvars +++ /dev/null @@ -1 +0,0 @@ -misc:Depends= From 34f22ed71ef913c3cf6d3611db6eb5377dde7ee7 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Fri, 7 Nov 2014 15:21:43 +0100 Subject: [PATCH 3/6] changelog: starts with version "0" --- changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog b/changelog index 2b47613..9701fb1 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,4 @@ -slapd-supann (0.0.0-1) unstable; urgency=low +slapd-supann (0-1) unstable; urgency=low * Initial release From 9f923887abedd386c6a76321bb968844d9e6793c Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Sun, 9 Nov 2014 22:07:40 +0100 Subject: [PATCH 4/6] add dirs --- dirs | 2 ++ files | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 files diff --git a/dirs b/dirs index 98d1583..79e844a 100644 --- a/dirs +++ b/dirs @@ -1,2 +1,4 @@ usr/bin +usr/lib/slapd-supann usr/share/man/man1 +usr/share/slapd-supann diff --git a/files b/files deleted file mode 100644 index 3d9c048..0000000 --- a/files +++ /dev/null @@ -1 +0,0 @@ -slapd-supann_0.0.0-1_all.deb net optional From 7378761160fecdb51d470f02c2a13c846f0344c4 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Mon, 10 Nov 2014 14:32:26 +0100 Subject: [PATCH 5/6] debian: depends on gnutls-bin --- control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control b/control index 3986f20..ce6b915 100644 --- a/control +++ b/control @@ -10,6 +10,6 @@ Vcs-Browser: http://repos.entrouvert.org/slapd-supann.git Package: slapd-supann Architecture: all -Depends: ${misc:Depends}, slapd, ldap-utils, ldapvi +Depends: ${misc:Depends}, slapd, ldap-utils, ldapvi, gnutls-bin Description: Tools for SupAnn support in slapd SupAnn support in slapd: config files, utils, etc. From 93e74445f017166ee1c318cbb440fdf93f74fcd7 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 30 Jan 2015 16:52:28 +0100 Subject: [PATCH 6/6] Add dependency toward python-ldap for the import utility --- control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control b/control index ce6b915..a6e3d6a 100644 --- a/control +++ b/control @@ -10,6 +10,6 @@ Vcs-Browser: http://repos.entrouvert.org/slapd-supann.git Package: slapd-supann Architecture: all -Depends: ${misc:Depends}, slapd, ldap-utils, ldapvi, gnutls-bin +Depends: ${misc:Depends}, slapd, ldap-utils, ldapvi, gnutls-bin, python-ldap Description: Tools for SupAnn support in slapd SupAnn support in slapd: config files, utils, etc.