Skip to content

Commit 2bba26f

Browse files
stokitomwarning
authored andcommitted
debian: use dh-sequence-installnss for libnss-kadnode
1 parent 297ce14 commit 2bba26f

7 files changed

+6
-26
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ build
66
cmake-build-debug
77
/debian/.debhelper
88
/debian/kadnode.substvars
9+
/debian/kadnode.postinst.debhelper
910
/debian/kadnode.postrm.debhelper
11+
/debian/kadnode.preinst.debhelper
1012
/debian/files
1113
/debian/debhelper-build-stamp

debian/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ To create a [Debian](https://www.debian.org) package of KadNode (a \*.deb file),
44
you first need to have installed the following programs and libraries:
55

66
```
7-
apt install build-essential debhelper devscripts
7+
apt install build-essential debhelper devscripts dh-sequence-installnss
88
apt install libmbedtls-dev libnatpmp-dev libminiupnpc-dev
99
```
1010

debian/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Source: kadnode
22
Section: net
33
Priority: optional
44
Maintainer: Moritz Warning <[email protected]>
5-
Build-Depends: debhelper-compat (= 13), libmbedtls-dev, libnatpmp-dev, libminiupnpc-dev
5+
Build-Depends: debhelper-compat (= 13), dh-sequence-installnss, libmbedtls-dev, libnatpmp-dev, libminiupnpc-dev
66
Standards-Version: 4.1.4
77
Homepage: https://github.com/mwarning/kadnode
88
Vcs-Git: https://github.com/mwarning/kadnode.git

debian/kadnode.nss

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
hosts before=dns kadnode
2+
hosts remove-only kadnode

debian/kadnode.postinst

-4
This file was deleted.

debian/kadnode.postrm

-10
This file was deleted.

debian/kadnode.preinst

-10
This file was deleted.

0 commit comments

Comments
 (0)