From 2344d929e407cd4e0263baea79b738cbe8fb9061 Mon Sep 17 00:00:00 2001 From: Ark74 <ark@switnet.org> Date: Tue, 5 Dec 2023 11:48:39 -0600 Subject: [PATCH] openssh: fix version number and changelogs discrepancy --- helpers/make-openssh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/helpers/make-openssh b/helpers/make-openssh index 2ea37eba..68131f63 100644 --- a/helpers/make-openssh +++ b/helpers/make-openssh @@ -17,15 +17,20 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=2 +VERSION=3 NETINST=true . ./config +#FIXME:T12 +# Set version number due to source origin change +export FULLVERSION="$(sed 's|ubuntu0.4||' <<< $FULLVERSION)" + sed 's:Ubuntu:Trisquel\ GNU/Linux:g' -i debian/rules sed "s|^SSH_EXTRAVERSION.*|SSH_EXTRAVERSION := Trisquel_GNU/Linux_$REVISION-$VERSION|" -i debian/rules changelog "Rebranded for Trisquel" +head -n1 debian/changelog | grep -q ubuntu && echo "error: update upstream version" && exit package -- GitLab