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
|
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 |
|
0 | 15 |
getdns (1.5.2-3) unstable; urgency=medium
|
1 | 16 |
|
2 | 17 |
* Team upload.
|
7 | 7 |
Build-Depends:
|
8 | 8 |
check,
|
9 | 9 |
debhelper (>= 11~),
|
10 | |
doxygen,
|
11 | 10 |
libbsd-dev,
|
12 | 11 |
libev-dev,
|
13 | 12 |
libevent-dev,
|
1 | 1 |
|
2 | 2 |
include /usr/share/dpkg/pkg-info.mk
|
3 | 3 |
|
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")
|
5 | 5 |
|
6 | 6 |
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
|
7 | 7 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
10 | 10 |
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
11 | 11 |
RuntimeDirectory=stubby
|
12 | 12 |
DynamicUser=true
|
|
13 |
Restart=on-failure
|
|
14 |
RestartSec=1
|
13 | 15 |
|
14 | 16 |
[Install]
|
15 | 17 |
WantedBy=multi-user.target
|
0 | 0 |
Tests: stubby
|
1 | |
Depends: stubby, knot-dnsutils
|
|
1 |
Depends: stubby, knot-dnsutils, procps
|
2 | 2 |
Restrictions: allow-stderr
|
23 | 23 |
getpid
|
24 | 24 |
stubby -C $(dirname $0)/stubby.yml &
|
25 | 25 |
[ -n "$PID" ] && kill $PID
|
|
26 |
|
|
27 |
# ==== test round 0 ====
|
26 | 28 |
echo Test stubby started by systemd service
|
27 | 29 |
test_stubby 53
|
28 | 30 |
getpid
|
29 | 31 |
echo $error "time(s) error out of $counter times run."
|
30 | 32 |
|
31 | 33 |
echo
|
|
34 |
# ==== test round 1 ====
|
32 | 35 |
echo Test stubby started by ourselves
|
33 | 36 |
echo PID of stubby: $PID
|
34 | 37 |
test_stubby 5533
|
35 | 38 |
[ -n "$PID" ] && kill $PID
|
36 | 39 |
sleep 1
|
37 | 40 |
echo $error "time(s) error out of $counter times run."
|
|
41 |
|
|
42 |
# ==== test result ====
|
38 | 43 |
[ $error -le $((counter/2)) ] && error=0
|
39 | 44 |
exit $error
|