diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..73a45da --- /dev/null +++ b/debian/changelog @@ -0,0 +1,11 @@ +ldaptool (0.1-1) unstable; urgency=medium + + * Initial release. + + -- Stefan Bühler Fri, 28 Apr 2023 12:09:30 +0200 + +ldaptool (0.1-0) unstable; urgency=medium + + * Stub ITP lintian. + + -- Stefan Bühler Fri, 28 Apr 2023 12:09:29 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7ed6589 --- /dev/null +++ b/debian/control @@ -0,0 +1,42 @@ +Source: ldaptool +Section: net +Priority: optional +Maintainer: Stefan Bühler +Rules-Requires-Root: no +Build-Depends: + debhelper-compat (= 13), + pybuild-plugin-pyproject, + flit, + dh-sequence-python3, + python3, + python3-ldap, + python3-yaml, + python3-pykeepass, +#Testsuite: autopkgtest-pkg-python +Standards-Version: 4.6.2 +Homepage: https://git-nks-public.tik.uni-stuttgart.de/net/ldaptool + +Package: python3-ldaptool +Architecture: all +Depends: + ${python3:Depends}, + ${misc:Depends}, +Recommends: + python3-pykeepass, +Description: CLI tool to run ldap queries + CLI tool to query LDAP/AD servers, featuring various output formats + and a configuration for different realms. + . + This package installs the library for Python 3. + +Package: ldaptool +Architecture: all +Depends: + python3-ldaptool (=${binary:Version}), + ${python3:Depends}, + ${misc:Depends}, +Description: CLI tool to run ldap queries + CLI tool to query LDAP/AD servers, featuring various output formats + and a configuration for different realms. + . + This package installs the script. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..24339c2 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,27 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: +Upstream-Name: ldaptool + +Files: + * +Copyright: + 2023 Stefan Bühler + 2023 Daniel Dizdarevic +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..b936c63 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,5 @@ +[DEFAULT] +pristine-tar = False +upstream-branch = main +debian-branch = debian +upstream-tag = ldaptool-%(version)s diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1a39d0d --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=ldaptool + +%: + dh $@ --buildsystem=pybuild + +# we want /usr/bin/ldaptool in a separate package +override_dh_auto_install: + dh_auto_install + + mkdir -p debian/ldaptool/usr + mv debian/python3-ldaptool/usr/bin debian/ldaptool/usr/ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..de47f2c --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore = "^[^/]*[.]egg-info/|^[.]vscode|/__pycache__/|^venv/|^.mypy_cache/"