Browse Source

Automatically generate debian changelog

pull/1147/head
Hamish Coleman 1 year ago
parent
commit
0385d4fcbe
  1. 1
      .github/workflows/tests.yml
  2. 1
      .gitignore
  3. 1
      packages/debian/Makefile.in
  4. 2
      packages/debian/README
  5. 4
      packages/debian/configure.in
  6. 4
      packages/debian/debian/changelog
  7. 4
      packages/debian/debian/changelog.in

1
.github/workflows/tests.yml

@ -410,6 +410,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install debhelper build-essential \
devscripts \
crossbuild-essential-${{ matrix.arch }}
- name: Configure

1
.gitignore

@ -24,7 +24,6 @@ build
.idea
.vscode
.vs
packages/debian/debian/changelog
packages/debian/debian/control
packages/debian/debian/files
packages/debian/debian/rules

1
packages/debian/Makefile.in

@ -19,6 +19,7 @@ pkg:
install -m644 ../../community.list ${N2N_BUILD}/usr/share/doc/n2n/examples/
install -m644 ../../doc/*.md ${N2N_BUILD}/usr/share/doc/n2n/
@/bin/rm -f ../n2n*.deb
DEBEMAIL=builder@example.com dch -v @N2N_VERSION@ --no-auto-nmu Auto Build
dpkg-buildpackage -rfakeroot -d -us -uc -a@EXTN@
-dpkg-sig --sign builder -k D1EB60BE ../n2n_*deb
@\rm -f ../n2n_*dsc ../n2n_*.gz ../n2n_*changes

2
packages/debian/README

@ -1,6 +1,6 @@
Prerequisites
-------------
apt-get install debhelper fakeroot dpkg-sig
apt-get install debhelper fakeroot dpkg-sig devscripts
EdgeOS
------

4
packages/debian/configure.in

@ -32,13 +32,9 @@ if test "${with_edgex+set}" = set; then
EXTN="mipsel"
fi
DATE=`date -R`
AC_SUBST(N2N_VERSION)
AC_SUBST(EXTN)
AC_SUBST(DATE)
AC_CONFIG_FILES(debian/changelog)
AC_CONFIG_FILES(debian/files)
AC_CONFIG_FILES(debian/control)
AC_CONFIG_FILES(debian/rules)

4
packages/debian/debian/changelog

@ -0,0 +1,4 @@
n2n (3.0) table; urgency=high
* Last stable release
-- Luca Deri <deri@ntop.org> Wed, 27 Oct 2021 20:43:08 +0200

4
packages/debian/debian/changelog.in

@ -1,4 +0,0 @@
n2n (@N2N_VERSION@) table; urgency=high
* Last packaged version
-- Luca Deri <deri@ntop.org> @DATE@
Loading…
Cancel
Save