debian: Housekeep location.install and changelog

Message ID 20230712185700.38696-2-valter.jansons@gmail.com
State Accepted
Commit a879eb838ff52a1eb3974e624cfd79420c6b02b4
Headers
Series debian: Housekeep location.install and changelog |

Commit Message

Valters Jansons July 12, 2023, 6:57 p.m. UTC
  In order to run `debuild` for an easy Debian package locally, the
debian/*.install files must list all build results. For version 0.9.16
there is a new pre-built database.db file that belongs with `location`
package, and the `man8` pages have been moved to `man1`.

Additionally, the changelog is added for version 0.9.16 as to maintain
the centralized reference (inside this upstream repository). The
author/timestamp is based on the 0.9.16 tag metadata tracked in Git.
---
This commit simply aims to have this repository buildable directly.
If the intention is not to maintain files in debian/ and instead rely
on external/downstream packaging entirely, then the debian/ files
should be removed from this repository enitrely as to avoid confusion.

 debian/changelog        | 30 ++++++++++++++++++++++++++++++
 debian/location.install |  3 ++-
 2 files changed, 32 insertions(+), 1 deletion(-)
  

Comments

Michael Tremer July 13, 2023, 9:57 a.m. UTC | #1
Hello Valters,

Thank you very much. I merged your patch straight away.

Best,
-Michael

> On 12 Jul 2023, at 19:57, Valters Jansons <valter.jansons@gmail.com> wrote:
> 
> In order to run `debuild` for an easy Debian package locally, the
> debian/*.install files must list all build results. For version 0.9.16
> there is a new pre-built database.db file that belongs with `location`
> package, and the `man8` pages have been moved to `man1`.
> 
> Additionally, the changelog is added for version 0.9.16 as to maintain
> the centralized reference (inside this upstream repository). The
> author/timestamp is based on the 0.9.16 tag metadata tracked in Git.
> ---
> This commit simply aims to have this repository buildable directly.
> If the intention is not to maintain files in debian/ and instead rely
> on external/downstream packaging entirely, then the debian/ files
> should be removed from this repository enitrely as to avoid confusion.
> 
> debian/changelog        | 30 ++++++++++++++++++++++++++++++
> debian/location.install |  3 ++-
> 2 files changed, 32 insertions(+), 1 deletion(-)
> 
> diff --git a/debian/changelog b/debian/changelog
> index 87699a3..eff5c1d 100644
> --- a/debian/changelog
> +++ b/debian/changelog
> @@ -1,3 +1,33 @@
> +libloc (0.9.16-1) unstable; urgency=medium
> +
> +  [ Peter Müller ]
> +  * location-importer.in: Conduct sanity checks per DROP list
> +  * location-importer.in: Add new Amazon region codes
> +
> +  [ Michael Tremer ]
> +  * importer: Fix potential SQL command injection
> +  * configure: Fix incorrect database path
> +  * python: Export __version__ in location module
> +  * writer: Add an empty string to the stringpool
> +  * export: Fix generating file names for ipset output
> +  * database: Ship a recent default database
> +  * tests: Drop the test database and use the distributed one
> +  * database: Correct error code on verification
> +  * writer: Fix typo in signature variable
> +  * writer: Assign correct file descriptor for private keys
> +  * database: Fix check if a signature is set
> +  * configure: Drop superfluous bracket
> +  * configure: Bump version to 0.9.16
> +
> +  [ Petr Písař ]
> +  * Move location manual from section 8 to section 1
> +  * Remove shebangs from Python modules
> +  * Move location manual from section 8 to section 1 in location-
> +    update.service
> +  * Install Perl files to Perl vendor directory
> +
> + -- Michael Tremer <michael.tremer@ipfire.org>  Sat, 29 Oct 2022 13:25:36 +0000
> +
> libloc (0.9.15-1) unstable; urgency=medium
> 
>   [ Peter Müller ]
> diff --git a/debian/location.install b/debian/location.install
> index f9cb894..cde47cd 100644
> --- a/debian/location.install
> +++ b/debian/location.install
> @@ -1,4 +1,5 @@
> usr/bin
> +var/lib/location/database.db
> var/lib/location/signing-key.pem
> lib/systemd/system
> -usr/share/man/man8
> +usr/share/man/man1
> -- 
> 2.41.0
>
  

Patch

diff --git a/debian/changelog b/debian/changelog
index 87699a3..eff5c1d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,33 @@ 
+libloc (0.9.16-1) unstable; urgency=medium
+
+  [ Peter Müller ]
+  * location-importer.in: Conduct sanity checks per DROP list
+  * location-importer.in: Add new Amazon region codes
+
+  [ Michael Tremer ]
+  * importer: Fix potential SQL command injection
+  * configure: Fix incorrect database path
+  * python: Export __version__ in location module
+  * writer: Add an empty string to the stringpool
+  * export: Fix generating file names for ipset output
+  * database: Ship a recent default database
+  * tests: Drop the test database and use the distributed one
+  * database: Correct error code on verification
+  * writer: Fix typo in signature variable
+  * writer: Assign correct file descriptor for private keys
+  * database: Fix check if a signature is set
+  * configure: Drop superfluous bracket
+  * configure: Bump version to 0.9.16
+
+  [ Petr Písař ]
+  * Move location manual from section 8 to section 1
+  * Remove shebangs from Python modules
+  * Move location manual from section 8 to section 1 in location-
+    update.service
+  * Install Perl files to Perl vendor directory
+
+ -- Michael Tremer <michael.tremer@ipfire.org>  Sat, 29 Oct 2022 13:25:36 +0000
+
 libloc (0.9.15-1) unstable; urgency=medium
 
   [ Peter Müller ]
diff --git a/debian/location.install b/debian/location.install
index f9cb894..cde47cd 100644
--- a/debian/location.install
+++ b/debian/location.install
@@ -1,4 +1,5 @@ 
 usr/bin
+var/lib/location/database.db
 var/lib/location/signing-key.pem
 lib/systemd/system
-usr/share/man/man8
+usr/share/man/man1