Skip to content

Commit c873c55

Browse files
author
William Herrin
committed
basic debian packaging for mrt tools
1 parent 9cf57f2 commit c873c55

File tree

6 files changed

+57
-0
lines changed

6 files changed

+57
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ test/misalignment
44
test/mrt-header
55
test/shift
66
*.swp
7+
debian/.debhelper
8+
debian/debhelper-build-stamp
9+
debian/files
10+
debian/mrt-tools.substvars
11+
debian/mrt-tools

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
mrt-tools (0.1-1) unstable; urgency=medium
2+
3+
* MRT dissector tool (bgp-explain) working for MRT update files
4+
5+
-- William Herrin <herrin@caida.org> Sat, 1 Mar 2025 23:53:42 -0700

debian/control

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Source: mrt-tools
2+
Section: net
3+
Priority: optional
4+
Maintainer: William Herrin <herrin@caida.org>
5+
Build-Depends: debhelper-compat (= 12), make
6+
Standards-Version: 4.4.1
7+
Homepage: https://www.caida.org/
8+
9+
Package: mrt-tools
10+
Architecture: any
11+
Depends: ${misc:Depends}
12+
Description: Tools for working with BGP MRT data files
13+
currently includes bgp-explain

debian/copyright

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: natp-ssh
3+
Upstream-Contact: ark-info@caida.org
4+
Source: https://www.caida.org/projects/ark/
5+
6+
Files: *
7+
Copyright: 2015-2022 The Regents of the University of California.
8+
License: UNKNOWN

debian/mrt-tools.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/bgp-explain usr/bin

debian/rules

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/make -f
2+
# See debhelper(7) (uncomment to enable)
3+
# output every command that modifies files on the build system.
4+
# export DH_VERBOSE = 1
5+
6+
%:
7+
dh $@
8+
9+
#override_dh_install:
10+
# dh_install --all
11+
12+
#override_dh_installdeb:
13+
# dh_installdeb --all
14+
# # could not figure out why dh_installdeb is not using the conffiles
15+
# # on its own
16+
# cat debian/natp-sshd.conffiles >> debian/natp-sshd/DEBIAN/conffiles
17+
18+
#override_dh_fixperms:
19+
# dh_fixperms --all
20+
# chmod 700 debian/natp-sshd/opt/natp-ssh/etc/private-keys \
21+
# debian/natp-sshd/opt/natp-ssh/etc/deb
22+
23+
#override_dh_installsystemd:
24+
# dh_installsystemd --no-enable --no-start --restart-after-upgrade
25+

0 commit comments

Comments
 (0)