diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-03-11 12:18:12 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-03-11 12:18:12 +0100 |
commit | cb6927807304b7129610af72c61ed35c8b742fac (patch) | |
tree | e669bebdcee271fd4992b163a4c547065400f957 | |
parent | e6d7a1ec24144312102b0e48fef36ec4393904c6 (diff) | |
download | bashtard-cb6927807304b7129610af72c61ed35c8b742fac.tar.gz bashtard-cb6927807304b7129610af72c61ed35c8b742fac.tar.bz2 |
Extend pkg-debian target
Lintian still complains about the changelog format, but I currently have no
good means of converting the existing changelog into Debian's preferred format.
I also have no intention to rewrite it completely to comply with Debian's
preferences.
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Makefile | 14 | ||||
-rw-r--r-- | etc/debian/control | 13 |
3 files changed, 26 insertions, 4 deletions
@@ -1,5 +1,6 @@ -# SPDX-FileCopyrightText: 2022 Patrick Spek <p.spek@tyil.nl> +# SPDX-FileCopyrightText: 2023 Patrick Spek <p.spek@tyil.nl> # # SPDX-License-Identifier: AGPL-3.0-or-later +dist tmp @@ -59,8 +59,18 @@ pkg-debian: # Copy Debian's control file mkdir -pv -- "$(PKG_ROOT)/DEBIAN" - grep -v '^\#' ./etc/debian/control > "$(PKG_ROOT)/DEBIAN/control" - printf "Version: %s\n" "$(PKG_VERSION)" >> "$(PKG_ROOT)/DEBIAN/control" + printf "Version: %s\n" "$(PKG_VERSION)" > "$(PKG_ROOT)/DEBIAN/control" + grep -v '^\#' ./etc/debian/control >> "$(PKG_ROOT)/DEBIAN/control" + + # Include the changelog + mkdir -pv -- "$(PKG_ROOT)/usr/share/doc/bashtard" + gzip -9n < CHANGELOG.md > "$(PKG_ROOT)/usr/share/doc/bashtard/changelog.gz" + + # Include license + cp -v -- LICENSES/AGPL-3.0-or-later.txt "$(PKG_ROOT)/usr/share/doc/bashtard/copyright" + + # Debian wants all .bash files to be +x + find "$(PKG_ROOT)" -type f -iname "*.bash" | xargs chmod +x # Generate the .deb file mkdir -pv -- "dist" diff --git a/etc/debian/control b/etc/debian/control index 8115703..91cab85 100644 --- a/etc/debian/control +++ b/etc/debian/control @@ -3,5 +3,16 @@ #SPDX-License-Identifier: AGPL-3.0-or-later Package: bashtard Architecture: all -Maintainer: p.spek@tyil.nl +Maintainer: Patrick Spek <p.spek@tyil.nl> +Priority: optional +Section: admin Description: Configuration Management System in Bash + Bashtard is a configuration management system built on the idea of simplicity + for the user. It lets you write reasonably simple Bash scripts to configure + your systems, while providing just enough abstractions to make it easy to + work with various base systems. + It is similar in purpose as other configuration management tools, such as + Ansible and Puppet, however Bashtard tries to keep dependencies to a minimum + while still providing some abstractions to make the process easier. This + allows Bashtard to run in more constrained environments, with the abstractions + allowing it to manage a varied array of systems in a single network. |