/aclocal.m4
/libtool
/libtool.orig
-/debian/changelog-auto
/test-driver
/Makefile
AC_CONFIG_FILES([
config.version
- debian/changelog-auto
redhat/frr.spec
alpine/APKBUILD
snapcraft/snapcraft.yaml
+++ /dev/null
-frr (@VERSION@-0) UNRELEASED; urgency=medium
-
- * autoconf changelog entry -- for git autobuilds only.
- remove and replace when creating releases!
- (tools/tarsource.sh will handle this)
-
- -- FRRouting-Dev <dev@lists.frrouting.org> @DATE@
Alternatively, you can manually install build dependencies for your
platform as outlined in :ref:`building`.
-4. Run ``tools/tarsource.sh -V``:
+4. Install `git-buildpackage` package:
.. code-block:: shell
- ./tools/tarsource.sh -V
-
- This script sets up the ``debian/changelog-auto`` file with proper version
- information.
+ sudo apt-get install git-buildpackage
5. (optional) Append a distribution identifier if needed (see below under
:ref:`multi-dist`.)
.. code-block:: shell
- dpkg-buildpackage $options
+ gbp-buildpackage --git-builder=debuild $options
Where `$options` may contain any or all of the following items:
if $debian; then
if ! $adjchangelog; then
- GIT_DATE=$(git log --format=format:%ad -1 --date=rfc)
- sed -e "s/@DATE@/$GIT_DATE/" \
- < debian/changelog-auto \
- > "$tmpdir/debian/changelog"
+ dch --force-bad-version \
+ --force-distribution \
+ --preserve \
+ --newversion "$DEBVER" \
+ "autoconf changelog entry -- for git autobuilds only."
fi
cat debian/changelog >> "$tmpdir/debian/changelog"
DEBVER="`dpkg-parsechangelog -l\"$tmpdir/debian/changelog\" -SVersion`"
eval $debsrc | tar -cho $taropt \
- --exclude debian/changelog \
- --exclude debian/subdir.am \
-T - -f ../frr_${DEBVER}.debian.tar
# add specially prepared files from above
tar -uf ../frr_${DEBVER}.debian.tar $taropt -C "$tmpdir" debian/changelog