From ef110b018109655633a52b08472b1453fe61068a Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sun, 27 Oct 2024 20:38:15 +0000 Subject: [PATCH] Update Debian package metadata --- contrib/deb/generate.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/contrib/deb/generate.sh b/contrib/deb/generate.sh index 8d39eb1dc..5731827c7 100644 --- a/contrib/deb/generate.sh +++ b/contrib/deb/generate.sh @@ -50,11 +50,12 @@ echo 9 > /tmp/$PKGNAME/debian/compat cat > /tmp/$PKGNAME/debian/control << EOF Package: $PKGNAME Version: $PKGVERSION -Section: contrib/net -Priority: extra +Section: golang +Priority: optional Architecture: $PKGARCH Replaces: $PKGREPLACES Conflicts: $PKGREPLACES +Depends: systemd Maintainer: Neil Alexander Description: Yggdrasil Network Yggdrasil is an early-stage implementation of a fully end-to-end encrypted IPv6 @@ -102,7 +103,7 @@ then echo "Normalising and updating /etc/yggdrasil/yggdrasil.conf" /usr/bin/yggdrasil -useconf -normaliseconf < /var/backups/yggdrasil.conf.`date +%Y%m%d` > /etc/yggdrasil/yggdrasil.conf - + chown root:yggdrasil /etc/yggdrasil/yggdrasil.conf chmod 640 /etc/yggdrasil/yggdrasil.conf else