1
0

4 コミット 9be21544c7 ... 58ae45ac64

作者 SHA1 メッセージ 日付
  Christoph Biedl 58ae45ac64 bgpdump 1.6.2-3 3 ヶ月 前
  Christoph Biedl 139f20b1f5 Packaging cleanup 3 ヶ月 前
  Christoph Biedl ff9791115e Properly cleanup in clean target. Closes: #1043891 3 ヶ月 前
  Christoph Biedl 5b4f80c906 Switch manpage generation from asciidoctor to scdoc 10 ヶ月 前

+ 108 - 0
debian/bgpdump.scd

@@ -0,0 +1,108 @@
+bgpdump(1)
+
+# NAME
+
+bgpdump - translate MRT format files into readable output
+
+
+# VERSION
+
+Version 1.4.99.15+hg127
+
+
+# SYNOPSIS
+
+Usage:
+
+```
+bgpdump [-m|-M] [-t dump|-t change] [-O <output-file>] <input-file>
+```
+
+
+# OPTIONS
+
+Output mode:
+
+*-H*
+	multi-line, human-readable (the default)
+
+*-m*
+	one-line per entry with unix timestamps
+
+*-M*
+	one-line per entry with human readable timestamps in the form
+	MM/DD/YY HH:MM:SS (there are other differences between -m and -M)
+
+Common options:
+
+*-O* file
+	output to 'file' instead of STDOUT
+
+*-s*
+	log to syslog (the default)
+
+*-v*
+	log to STDERR
+
+
+Options for -m and -M modes:
+
+*-t* _dump_
+	timestamps for RIB dumps reflect the time of the dump (the default)
+
+*-t* _change_
+	timestamps for RIB dumps reflect the last route modification
+
+*-p*
+	show packet index at second position
+
+Special options:
+
+*-T*
+	run internal tests and exit
+
+
+# INPUT FORMATS
+
+- MRT routing table dump entries in TABLE_DUMP or TABLE_DUMP_V2 types
+- Zebra/Quagga BGP records:
+	- BGP messages (OPEN, UPDATE, NOTIFY, KEEPALIVE)
+	- BGP state changes
+- File may be gzipped or bzip2'd and/or passed in through stdin
+
+
+The file format is described in the Internet Draft grow-mrt-13:
+<https://tools.ietf.org/html/draft-ietf-grow-mrt-13>
+
+
+# BUGS
+
+If a single update message contains more than 8192 added or
+withdrawn prefixes, all those above that number are ignored.
+
+Files with a name longer than 999 characters cannot be processed.
+
+The bgpdump program is not y2038 compliant. This is inherited from
+the file format.
+
+
+# DEBIAN
+
+Besides bug fixes, the following changes were done in the packaging
+for the Debian distribution:
+
+- The maximum number of prefixes processed from a single update
+    messages was raised from 2050 to 8192.
+
+
+# AUTHOR
+
+bgpdump was originally written by Dan Ardelean and the RIPE NCC
+took over maintenance in 2005.
+
+bgpdump is Copyright (C) 2007-2011 RIPE NCC
+
+This manpage is based on bgpdump's usage output, the bgpdump's
+homepage, and other sources. It was written for the Debian project
+by Christoph Biedl <debian.axhn@manchmal.in-ulm.de> but may be used
+by others.

+ 0 - 121
debian/bgpdump.txt

@@ -1,121 +0,0 @@
-
-BGPDUMP(1)
-==========
-
-NAME
-----
-bgpdump - translate MRT format files into readable output
-
-VERSION
--------
-Version 1.4.99.15+hg127
-
-SYNOPSIS
---------
-
-Usage:
-
-----
-    bgpdump [-m|-M] [-t dump|-t change] [-O <output-file>] <input-file>
-----
-
-OPTIONS
--------
-Output mode:
-
-*-H*::
-
-multi-line, human-readable (the default)
-
-*-m*::
-
-one-line per entry with unix timestamps
-
-*-M*::
-
-one-line per entry with human readable timestamps in the form
-MM/DD/YY HH:MM:SS (there are other differences between -m and -M)
-
-Common options:
-
-*-O 'file'*::
-
-output to 'file' instead of STDOUT
-
-*-s*::
-
-log to syslog (the default)
-
-*-v*::
-
-log to STDERR
-
-
-Options for -m and -M modes:
-
-*-t dump*::
-
-timestamps for RIB dumps reflect the time of the dump (the default)
-
-*-t change*::
-
-timestamps for RIB dumps reflect the last route modification
-
-*-p*::
-
-show packet index at second position
-
-Special options:
-
-*-T*::
-
-run internal tests and exit
-
-
-INPUT FORMATS
--------------
-
-* MRT routing table dump entries in TABLE_DUMP or TABLE_DUMP_V2 types
-* Zebra/Quagga BGP records:
-  ** BGP messages (OPEN, UPDATE, NOTIFY, KEEPALIVE)
-  ** BGP state changes
-* File may be gzipped or bzip2'd and/or passed in through stdin
-
-The file format is described in the Internet Draft grow-mrt-13:
-<https://tools.ietf.org/html/draft-ietf-grow-mrt-13>
-
-
-BUGS
-----
-
-If a single update message contains more than 8192 added or
-withdrawn prefixes, all those above that number are ignored.
-
-Files with a name longer than 999 characters cannot be processed.
-
-The bgpdump program is not y2038 compliant. This is inherited from
-the file format.
-
-
-DEBIAN
-------
-
-Besides bug fixes, the following changes were done in the packaging
-for the Debian distribution:
-
-* The maximum number of prefixes processed from a single update
-  messages was raised from 2050 to 8192.
-
-
-AUTHOR
-------
-
-bgpdump was originally written by Dan Ardelean and the RIPE NCC
-took over maintenance in 2005.
-
-bgpdump is Copyright (C) 2007-2011 RIPE NCC
-
-This manpage is based on bgpdump's usage output, the bgpdump's
-homepage, and other sources. It was written for the Debian project
-by Christoph Biedl <debian.axhn@manchmal.in-ulm.de> but may be used
-by others.

+ 7 - 0
debian/changelog

@@ -1,3 +1,10 @@
+bgpdump (1.6.2-3) unstable; urgency=medium
+
+  * Switch manpage generation from asciidoctor to scdoc
+  * Properly cleanup in clean target. Closes: #1043891
+
+ -- Christoph Biedl <debian.axhn@manchmal.in-ulm.de>  Sat, 31 Aug 2024 20:57:27 +0200
+
 bgpdump (1.6.2-2) unstable; urgency=medium
 
   * Packaging cleanup

+ 2 - 2
debian/control

@@ -1,13 +1,13 @@
 Source: bgpdump
 Maintainer: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
 Homepage: https://github.com/RIPE-NCC/bgpdump
-Standards-Version: 4.6.0
+Standards-Version: 4.7.0
 Vcs-Browser: https://git.in-ulm.de/cbiedl/bgpdump
 Vcs-Git: https://git.in-ulm.de/cbiedl/bgpdump.git
 Build-Depends: debhelper-compat (= 13),
-    asciidoctor,
     libbsd-dev,
     libbz2-dev,
+    scdoc,
     zlib1g-dev,
 Priority: optional
 Rules-Requires-Root: no

+ 1 - 0
debian/patches/series

@@ -4,6 +4,7 @@
 upstream.use-cppflags.patch
 upstream.fix-crash-on-huge-prefix-lists.patch
 upstream.fix-unaligned-memory-access.patch
+upstream.properly-clean-up.patch
 
 # local modifications
 local.disable-cfr_strerror.patch

+ 17 - 0
debian/patches/upstream.properly-clean-up.patch

@@ -0,0 +1,17 @@
+Description: Properly clean up in clean target
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Bug-Debian: https://bugs.debian.org/1043891
+Forwarded: no
+Last-Update: 2024-08-31
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -44,7 +44,7 @@
+ 	./test.sh
+ 
+ clean: check-clean
+-	rm -f libbgpdump.so libbgpdump.a example bgpdump $(LIB_O)
++	rm -f libbgpdump.so libbgpdump.a example bgpdump $(LIB_O) test bgpdump.spec
+ 
+ distclean: clean
+ 	rm -Rf config.log config.status *.dSYM core *.core autom4te.cache bgpdump-config.h Makefile

+ 5 - 0
debian/patches/upstream.use-cppflags.patch

@@ -1,3 +1,8 @@
+Description: Add CPPFLAGS to compiler options (reported by blhc)
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Forwarded: No
+Last-Update: 2020-04-30
+
 --- a/Makefile.in
 +++ b/Makefile.in
 @@ -1,7 +1,7 @@

+ 1 - 1
debian/rules

@@ -24,5 +24,5 @@ override_dh_install:
 	rm -rf debian/bgpdump/usr/include/
 
 override_dh_installman:
-	asciidoctor --attribute reproducible --backend=manpage debian/bgpdump.txt
+	scdoc <debian/bgpdump.scd >debian/bgpdump.1
 	dh_installman

+ 5 - 3
debian/watch

@@ -1,4 +1,6 @@
+
 version=4
-https://github.com/RIPE-NCC/bgpdump/releases \
-    /RIPE-NCC/bgpdump/releases/download/v([0-9.]+)/libbgpdump-[0-9.]+\.tgz \
-    debian uupdate
+opts="searchmode=plain, \
+    oversionmangle=s/$/+ds/" \
+    https://api.github.com/repos/RIPE-NCC/@PACKAGE@/releases \
+        /RIPE-NCC/@PACKAGE@/releases/download/[^/]+/lib@PACKAGE@-([0-9][.0-9]*)@ARCHIVE_EXT@