From e6968b67d06fbd8b746746960693eb00cc152b6e Mon Sep 17 00:00:00 2001
From: Andre Noll <maan@tuebingen.mpg.de>
Date: Sat, 11 May 2024 21:08:29 +0200
Subject: [PATCH] Remove debian/.

Debian-related changes no longer happen in master. Instead, a
dedicated branch will be created whose commits may only modify
files below debian/. Whenever a new release is cut from the master
branch, the master branch will be merged into the debian branch and
debian/changelog will be updated accordingly.

Suggested-by: Andreas Metzler <ametzler@bebt.de>
---
 debian/Makefile.debian                 |  0
 debian/changelog                       | 36 --------------
 debian/compat                          |  1 -
 debian/control                         | 42 ----------------
 debian/copyright                       | 16 ------
 debian/liblopsub-dev.install           |  5 --
 debian/liblopsub1t64.install           |  2 -
 debian/liblopsub1t64.lintian-overrides |  1 -
 debian/liblopsub1t64.symbols           | 63 ------------------------
 debian/rules                           | 68 --------------------------
 debian/source/format                   |  1 -
 debian/upstream/signing-key.asc        | 39 ---------------
 debian/watch                           |  5 --
 13 files changed, 279 deletions(-)
 delete mode 100644 debian/Makefile.debian
 delete mode 100644 debian/changelog
 delete mode 100644 debian/compat
 delete mode 100644 debian/control
 delete mode 100644 debian/copyright
 delete mode 100644 debian/liblopsub-dev.install
 delete mode 100644 debian/liblopsub1t64.install
 delete mode 100644 debian/liblopsub1t64.lintian-overrides
 delete mode 100644 debian/liblopsub1t64.symbols
 delete mode 100755 debian/rules
 delete mode 100644 debian/source/format
 delete mode 100644 debian/upstream/signing-key.asc
 delete mode 100644 debian/watch

diff --git a/debian/Makefile.debian b/debian/Makefile.debian
deleted file mode 100644
index e69de29..0000000
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index 53995e3..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,36 +0,0 @@
-liblopsub (1.0.4-1.1) unstable; urgency=medium
-
-  * Non-maintainer upload.
-  * Rename libraries for 64-bit time_t transition.  Closes: #1062407
-
- -- Steve Langasek <vorlon@debian.org>  Fri, 01 Mar 2024 05:37:06 +0000
-
-liblopsub (1.0.4-1) unstable; urgency=low
-
-  * Make the build reproducible (Chris Lamb, Vagrant Cascadian). Closes:
-    #1039617, #1039618
-  * Avoid crash due to a NULL pointer dereference in certain cases
-  * Minor cleanups and fixes, see NEWS for details.
-
- -- Andre Noll <maan@tuebingen.mpg.de>  Sun, 02 Jul 2023 14:12:13 +0200
-
-liblopsub (1.0.3-2) unstable; urgency=low
-
-  * Make the output of lopsubgen reproducible.
-  * Don't embed compile-time timestamps into generated files.
-
- -- Andre Noll <maan@tuebingen.mpg.de>  Fri, 12 Jul 2019 20:55:26 +0200
-
-liblopsub (1.0.3-1) unstable; urgency=low
-
-  * The only change relative to 1.0.2-1 is the update of the standards
-    version field in debian/control. See NEWS for the changes between
-    1.0.2 and 1.0.3.
-
- -- Andre Noll <maan@tuebingen.mpg.de>  Sun, 19 May 2019 16:58:44 +0100
-
-liblopsub (1.0.2-1) unstable; urgency=low
-
-  * Initial Release. Closes: #925911
-
- -- Andre Noll <maan@tuebingen.mpg.de>  Sun, 3 Mar 2019 00:37:31 +0100
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 0216b98..0000000
--- a/debian/control
+++ /dev/null
@@ -1,42 +0,0 @@
-Source: liblopsub
-Section: libdevel
-Priority: optional
-Maintainer: Andre Noll <maan@tuebingen.mpg.de>
-Build-Depends: dpkg-dev (>= 1.22.5), m4, flex, debhelper (>= 10.0)
-Standards-Version: 4.6.2
-Homepage: https://people.tuebingen.mpg.de/maan/lopsub
-Vcs-Browser: https://git.tuebingen.mpg.de/lopsub.git
-Vcs-Git: https://git.tuebingen.mpg.de/lopsub.git
-
-Package: liblopsub1t64
-Section: libs
-Provides: ${t64:Provides}
-Replaces: liblopsub1
-Breaks: liblopsub1 (<< ${source:Version})
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Long Option Parser for Subcommands
- Lopsub  is  an  open  source library written in C which aims to ease
- the task of creating, documenting and parsing the options of Unix
- command line utilities. It is suitable for simple commands as well
- as complex command line utilities with many subcommands where  each
- subcommand  has its own set of options. Options and documentation are
- kept together in a single file which can be translated to C code (to
- be included in the application), or to a manual page.  The library
- supports single-character short options and GNU-style long  options.
- The public API is well documented and stable.
-
-Package: liblopsub-dev
-Architecture: any
-Depends: ${shlibs:Depends}, liblopsub1t64 (= ${binary:Version}), ${misc:Depends}
-Description: Long Option Parser for Subcommand - headers
- Lopsub  is  an  open  source library written in C which aims to ease
- the task of creating, documenting and parsing the options of Unix
- command line utilities. It is suitable for simple commands as well
- as complex command line utilities with many subcommands where  each
- subcommand  has its own set of options. Options and documentation are
- kept together in a single file which can be translated to C code (to
- be included in the application), or to a manual page.  The library
- supports single-character short options and GNU-style long  options.
- The public API is well documented and stable.
- This package contains the development environment for the lopsub library.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index ee4fb2b..0000000
--- a/debian/copyright
+++ /dev/null
@@ -1,16 +0,0 @@
-Copyright 2016-2023 Andre Noll <maan@tuebingen.mpg.de>
-
-This package is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License, version 3
-(lopsubgen), or the GNU Library General Public License, version 3
-(liblopsub).
-
-On Debian GNU systems, the complete text of the GNU General Public
-License can be found in `/usr/share/common-licenses/GPL-3'. The
-complete text of the GNU Library General Public License can be found in
-'/usr/share/common-licenses/LGPL-3'.
-
-The examples and all code generated by the utilities are in the
-public domain. You are free to do anything you like with the generated
-code, including incorporating it into or linking it with proprietary
-software.
diff --git a/debian/liblopsub-dev.install b/debian/liblopsub-dev.install
deleted file mode 100644
index 8e6c62d..0000000
--- a/debian/liblopsub-dev.install
+++ /dev/null
@@ -1,5 +0,0 @@
-usr/include/*
-usr/lib/*/liblopsub.so
-usr/bin/lopsubgen
-usr/share/man/man1/lopsubgen*
-usr/share/man/man5/lopsub-suite*
diff --git a/debian/liblopsub1t64.install b/debian/liblopsub1t64.install
deleted file mode 100644
index 6234859..0000000
--- a/debian/liblopsub1t64.install
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/share/man/man7/*
-debian/tmp/usr/lib/*/liblopsub.so.*
diff --git a/debian/liblopsub1t64.lintian-overrides b/debian/liblopsub1t64.lintian-overrides
deleted file mode 100644
index bac78b9..0000000
--- a/debian/liblopsub1t64.lintian-overrides
+++ /dev/null
@@ -1 +0,0 @@
-liblopsub1t64: package-name-doesnt-match-sonames liblopsub1
diff --git a/debian/liblopsub1t64.symbols b/debian/liblopsub1t64.symbols
deleted file mode 100644
index 9ea3e23..0000000
--- a/debian/liblopsub1t64.symbols
+++ /dev/null
@@ -1,63 +0,0 @@
-liblopsub.so.1 liblopsub1t64 #MINVER#
-* Build-Depends-Package: liblopsub-dev
- lls_abi_version2@Base 1.0.4
- lls_check_arg_count@Base 1.0.4
- lls_cmd@Base 1.0.4
- lls_command_name@Base 1.0.4
- lls_convert_config@Base 1.0.4
- lls_deserialize_parse_result@Base 1.0.4
- lls_dump_parse_result@Base 1.0.4
- lls_enum_string_val@Base 1.0.4
- lls_free_argv@Base 1.0.4
- lls_free_parse_result@Base 1.0.4
- lls_input@Base 1.0.4
- lls_int32_val@Base 1.0.4
- lls_int64_val@Base 1.0.4
- lls_long_help@Base 1.0.4
- lls_lookup_subcmd@Base 1.0.4
- lls_merge@Base 1.0.4
- lls_num_inputs@Base 1.0.4
- lls_opt@Base 1.0.4
- lls_opt_given@Base 1.0.4
- lls_opt_result@Base 1.0.4
- lls_parse@Base 1.0.4
- lls_purpose@Base 1.0.4
- lls_serialize_parse_result@Base 1.0.4
- lls_short_help@Base 1.0.4
- lls_strerror@Base 1.0.4
- lls_string_val@Base 1.0.4
- lls_uint32_val@Base 1.0.4
- lls_uint64_val@Base 1.0.4
- lls_user_data@Base 1.0.4
- lls_version@Base 1.0.4
- lls_yy_create_buffer@Base 1.0.4
- lls_yy_delete_buffer@Base 1.0.4
- lls_yy_flush_buffer@Base 1.0.4
- lls_yy_scan_buffer@Base 1.0.4
- lls_yy_scan_bytes@Base 1.0.4
- lls_yy_scan_string@Base 1.0.4
- lls_yy_switch_to_buffer@Base 1.0.4
- lls_yyalloc@Base 1.0.4
- lls_yyfree@Base 1.0.4
- lls_yyget_column@Base 1.0.4
- lls_yyget_debug@Base 1.0.4
- lls_yyget_extra@Base 1.0.4
- lls_yyget_in@Base 1.0.4
- lls_yyget_leng@Base 1.0.4
- lls_yyget_lineno@Base 1.0.4
- lls_yyget_out@Base 1.0.4
- lls_yyget_text@Base 1.0.4
- lls_yylex@Base 1.0.4
- lls_yylex_destroy@Base 1.0.4
- lls_yylex_init@Base 1.0.4
- lls_yylex_init_extra@Base 1.0.4
- lls_yypop_buffer_state@Base 1.0.4
- lls_yypush_buffer_state@Base 1.0.4
- lls_yyrealloc@Base 1.0.4
- lls_yyrestart@Base 1.0.4
- lls_yyset_column@Base 1.0.4
- lls_yyset_debug@Base 1.0.4
- lls_yyset_extra@Base 1.0.4
- lls_yyset_in@Base 1.0.4
- lls_yyset_lineno@Base 1.0.4
- lls_yyset_out@Base 1.0.4
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index ddb503d..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/usr/bin/make -f
-# Invoke each target with `./debian/rules <target>'.  All targets should be
-# invoked with the package root as the current directory.
-
-package := liblopsub1t64
-devpackage := liblopsub-dev
-
-define checkdir
-	@test -f debian/rules -a -f lopsub.c || \
-	(echo Not in correct source directory; exit 1)
-endef
-
-SRCTOP := $(shell pwd)
-TMPDIR := $(SRCTOP)/debian/tmp
-DESTDIR := $(SRCTOP)/debian/$(package)
-DEVDIR := $(SRCTOP)/debian/$(devpackage)
-DOCS_DIR := $(DESTDIR)/usr/share/doc/$(package)
-DEVDOCS_DIR := $(DEVDIR)/usr/share/doc/$(devpackage)
-TRIPLET := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-
-# activate the dh sequencer
-%:
-	dh "$@"
-
-build-arch:
-	$(checkdir)
-	$(MAKE) $(shell DEB_BUILD_MAINT_OPTIONS=hardening=+all \
-		dpkg-buildflags --export=cmdline)
-build-indep:
-build: build-indep build-arch
-
-clean:
-	$(checkdir)
-	-rm -f debian/substvars
-	$(MAKE) distclean
-	dh_clean
-
-INST_OWN = -o root -g root
-MAKE_DIR = install -p -d $(INST_OWN) -m 755
-INST_FILE = install -c $(INST_OWN) -m 644
-
-binary: build
-	$(checkdir)
-	$(MAKE) PREFIX=/usr install DESTDIR=$(TMPDIR)
-	mv $(TMPDIR)/usr/lib $(TMPDIR)/usr/lib-$(TRIPLET)
-	$(MAKE_DIR) $(TMPDIR)/usr/lib
-	mv $(TMPDIR)/usr/lib-$(TRIPLET) $(TMPDIR)/usr/lib/$(TRIPLET)
-	dh_install -p $(package)
-	dh_install -p $(devpackage)
-	dh_lintian
-	$(MAKE_DIR) $(DESTDIR)/DEBIAN $(DOCS_DIR) $(DEVDOCS_DIR)
-	echo 'activate-noawait ldconfig' > $(DESTDIR)/DEBIAN/triggers
-	$(INST_FILE) debian/copyright $(DOCS_DIR)/copyright
-	$(INST_FILE) debian/copyright $(DEVDOCS_DIR)/copyright
-	$(INST_FILE) debian/changelog $(DOCS_DIR)/changelog.Debian
-	$(INST_FILE) debian/changelog $(DEVDOCS_DIR)/changelog.Debian
-	gzip -fn9 $(DOCS_DIR)/changelog.Debian
-	gzip -fn9 $(DEVDOCS_DIR)/changelog.Debian
-	dh_makeshlibs
-	dh_shlibdeps
-	dh_strip
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary-indep binary-arch: binary
-.PHONY: clean build binary-arch binary-indep binary
diff --git a/debian/source/format b/debian/source/format
deleted file mode 100644
index 163aaf8..0000000
--- a/debian/source/format
+++ /dev/null
@@ -1 +0,0 @@
-3.0 (quilt)
diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc
deleted file mode 100644
index 662fe7b..0000000
--- a/debian/upstream/signing-key.asc
+++ /dev/null
@@ -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Se8k3dfcMcy
-Vyd5pbHbMfQ4VgeMidmK0C63EBvrUS48F7ZbSFicbNVplMg3al8AiabFjxNx84hG
-BBgRAgAGBQI+80d5AAoJEFraNUAxAJMPO0wAn36g5Ni4MOXbLx+tDiJYq+oUYg78
-AKCO0h1mPhmUGIBgcCsk6XIVg4uNbA==
-=6OYZ
------END PGP PUBLIC KEY BLOCK-----
diff --git a/debian/watch b/debian/watch
deleted file mode 100644
index 94ee548..0000000
--- a/debian/watch
+++ /dev/null
@@ -1,5 +0,0 @@
-version=4
-opts="mode=git, gitmode=full, pgpmode=gittag" \
-	https://git.tuebingen.mpg.de/lopsub/ \
-	refs/tags/v@ANY_VERSION@
-
-- 
2.39.5