From 5b17fceb71213d1e1f263dd7242f1bdeea5a819a Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Fri, 7 Nov 2014 14:54:04 +0100 Subject: [PATCH] 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)