+hostname (3.20) unstable; urgency=medium
+
+ * Removed old alioth list from maintainers field.
+
+ -- Michael Meskes <meskes@debian.org> Wed, 31 Jan 2018 13:08:15 +0100
+
+hostname (3.19) unstable; urgency=medium
+
+ * Bumped Standards-Version to 4.1.3, no changes needed.
+ * Switched to debhelper 11
+ * Fix lintian warnings.
+
+ -- Michael Meskes <meskes@debian.org> Tue, 30 Jan 2018 11:34:44 +0100
+
hostname (3.18) unstable; urgency=medium
* Make sure memory is initialized to zero before attempting to read hostname.
Source: hostname
Section: admin
Priority: required
-Maintainer: Debian Hostname Team <hostname-devel@lists.alioth.debian.org>
-Uploaders: Michael Meskes <meskes@debian.org>
-Standards-Version: 3.9.8
-Build-Depends: debhelper (>= 9)
+Maintainer: Michael Meskes <meskes@debian.org>
+Standards-Version: 4.1.3
+Build-Depends: debhelper (>= 11)
Package: hostname
Architecture: any
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-DEBVERSION := $(shell dpkg-parsechangelog | awk '/Version:/ { print substr($$2,1,4)}')
+include /usr/share/dpkg/pkg-info.mk
PRGVERSION := $(shell awk '/define VERSION/ { print substr($$3,2,length($$3)-2)}' hostname.c)
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
CFLAGS = `dpkg-buildflags --get CFLAGS`
CFLAGS += -Wall
LDFLAGS = `dpkg-buildflags --get LDFLAGS`
CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
-DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
CROSS=CC=$(DEB_HOST_GNU_TYPE)-gcc
dh_testdir
# Building package
- [ "$(DEBVERSION)" = "$(PRGVERSION)" ] || exit 1
+ [ "$(DEB_VERSION)" = "$(PRGVERSION)" ] || exit 1
CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE) $(CROSS)
touch build-stamp
#include <ctype.h>
#include <err.h>
-#define VERSION "3.18"
+#define VERSION "3.20"
enum type_t { DEFAULT, DNS, FQDN, SHORT, ALIAS, IP, NIS, NIS_DEF, ALL_FQDNS, ALL_IPS };