diff options
-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. |