Codebase list getdns / ee22473
Prepare to release 1.5.2-4 to unstable * debian/control: - B-D: Remove doxygen, seems not used at all. * debian/stubby.service: - Update from upstream (cherry-pick from 1.6.0). * debian/rules: - Fix CURRENT_DATE setting. * debian/tests: - Add procps as tests dependency, since we use "ps" command. - Add more comments in stubby test script. Roger Shimizu 3 years ago
6 changed file(s) with 24 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
0 getdns (1.5.2-4) unstable; urgency=medium
1
2 * Team upload.
3 * debian/control:
4 - B-D: Remove doxygen, seems not used at all.
5 * debian/stubby.service:
6 - Update from upstream.
7 * debian/rules:
8 - Fix CURRENT_DATE setting.
9 * debian/tests:
10 - Add procps as tests dependency, since we use "ps" command.
11 - Add more comments in stubby test script.
12
13 -- Roger Shimizu <rosh@debian.org> Sun, 31 May 2020 19:53:16 +0900
14
015 getdns (1.5.2-3) unstable; urgency=medium
116
217 * Team upload.
77 Build-Depends:
88 check,
99 debhelper (>= 11~),
10 doxygen,
1110 libbsd-dev,
1211 libev-dev,
1312 libevent-dev,
11
22 include /usr/share/dpkg/pkg-info.mk
33
4 CURRENT_DATE=$(shell date -u --rfc-3339=seconds --date "@$SOURCE_DATE_EPOCH")
4 CURRENT_DATE=$(shell date -u --rfc-3339=seconds --date "@$$SOURCE_DATE_EPOCH")
55
66 export DPKG_GENSYMBOLS_CHECK_LEVEL=4
77 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
1010 CapabilityBoundingSet=CAP_NET_BIND_SERVICE
1111 RuntimeDirectory=stubby
1212 DynamicUser=true
13 Restart=on-failure
14 RestartSec=1
1315
1416 [Install]
1517 WantedBy=multi-user.target
00 Tests: stubby
1 Depends: stubby, knot-dnsutils
1 Depends: stubby, knot-dnsutils, procps
22 Restrictions: allow-stderr
2323 getpid
2424 stubby -C $(dirname $0)/stubby.yml &
2525 [ -n "$PID" ] && kill $PID
26
27 # ==== test round 0 ====
2628 echo Test stubby started by systemd service
2729 test_stubby 53
2830 getpid
2931 echo $error "time(s) error out of $counter times run."
3032
3133 echo
34 # ==== test round 1 ====
3235 echo Test stubby started by ourselves
3336 echo PID of stubby: $PID
3437 test_stubby 5533
3538 [ -n "$PID" ] && kill $PID
3639 sleep 1
3740 echo $error "time(s) error out of $counter times run."
41
42 # ==== test result ====
3843 [ $error -le $((counter/2)) ] && error=0
3944 exit $error