Your message dated Thu, 09 Aug 2018 13:19:07 +0000
with message-id <[email protected]>
and subject line Bug#890995: fixed in ii 1.8-1
has caused the Debian Bug report #890995,
regarding ii: new upstream version
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
890995: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890995
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ii
Severity: wishlist
Tags: patch

Dear Maintainer,

thanks for maintaining ii.

As of 2018-02-04 ii version 1.8 is available. Please consider packaging it. Feel
free to use the patch attached as you think fit to do so (no attribution
required). [1]

Regards,
itd
--
[1]: Intended patch usage:
mkdir ii-1.8
wget https://deb.debian.org/debian/pool/main/i/ii/ii_1.7-2.debian.tar.gz
tar -xf ii_1.7-2.debian.tar.gz -C ii-1.8
cd ii-1.8
patch -p2 < ../0001-ii-1.8-update.patch
origtargz
# build package
>From 40126542ca841266b4efd080cad701201189d4fc Mon Sep 17 00:00:00 2001
From: itd <[email protected]>
Date: Wed, 21 Feb 2018 10:11:14 +0100
Subject: [PATCH] ii-1.8 update

---
 ii/debian/changelog                                | 14 +++++
 ii/debian/compat                                   |  2 +-
 ii/debian/control                                  |  6 +-
 ii/debian/copyright                                | 72 ++++++++++------------
 .../remove_static_lib_search_path_includes.patch   | 26 --------
 ii/debian/patches/respect_dpkg_buildflags.patch    | 18 +++---
 ii/debian/patches/series                           |  1 -
 ii/debian/rules                                    |  1 +
 ii/debian/tests/control                            |  2 +
 ii/debian/tests/smoke-test                         | 15 +++++
 ii/debian/watch                                    |  2 +-
 11 files changed, 79 insertions(+), 80 deletions(-)
 delete mode 100644 
ii/debian/patches/remove_static_lib_search_path_includes.patch
 create mode 100644 ii/debian/tests/control
 create mode 100644 ii/debian/tests/smoke-test

diff --git a/ii/debian/changelog b/ii/debian/changelog
index 65d2a45..eaaf878 100644
--- a/ii/debian/changelog
+++ b/ii/debian/changelog
@@ -1,3 +1,17 @@
+ii (1.8-1.1) unstable; urgency=medium
+
+  * New upstream release.
+  * Fix watchfile (upstream URL changed).
+  * Bump compat level and debhelper dependency to 11.
+  * Bump standards version.
+  * Update patch respect_dpkg_buildflags.patch.
+  * Enable hardening (requires dpkg-dev >= 1.16.1.1).
+  * Switch to machine-readable copyright file.
+  * Experimental autopkgtest smoke-test.
+  * Switch to HTTPS upstream links.
+
+ -- Nico Golde <[email protected]>  Wed, 21 Feb 2018 10:11:53 +0100
+
 ii (1.7-2) unstable; urgency=high
 
   * Enable hardening options.
diff --git a/ii/debian/compat b/ii/debian/compat
index 7f8f011..b4de394 100644
--- a/ii/debian/compat
+++ b/ii/debian/compat
@@ -1 +1 @@
-7
+11
diff --git a/ii/debian/control b/ii/debian/control
index 82e55cd..e1a7611 100644
--- a/ii/debian/control
+++ b/ii/debian/control
@@ -2,9 +2,9 @@ Source: ii
 Section: net
 Priority: optional
 Maintainer: Nico Golde <[email protected]>
-Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.16.1~)
-Standards-Version: 3.9.4
-Homepage: http://tools.suckless.org/ii/
+Build-Depends: debhelper (>= 11~), dpkg-dev (>= 1.16.1.1)
+Standards-Version: 4.1.3
+Homepage: https://tools.suckless.org/ii/
 
 Package: ii
 Architecture: any
diff --git a/ii/debian/copyright b/ii/debian/copyright
index 1fa15ca..545b620 100644
--- a/ii/debian/copyright
+++ b/ii/debian/copyright
@@ -1,39 +1,33 @@
-This package was debianized by Daniel Baumann <[email protected]> on
-Sat,  3 Feb 2007 19:08:00 +0100 and is now maintained by
-Nico Golde <[email protected]>
-
-It was downloaded from <http://www.suckless.org/download>.
-
-Upstream Author: Nico Golde and Anselm Garbe <[email protected]>
-
-Copyright: 2005-2007 Nico Golde
-           2005-2006 and Anselm Garbe
-
-License:
-
-  MIT/X Consortium License
-
-  Copyright (C) 2005-2007 Nico Golde <[email protected]>
-  Copyright (C) 2005-2006 Anselm R. Garbe <[email protected]>
-
-  Permission is hereby granted, free of charge, to any person obtaining a
-  copy of this software and associated documentation files (the
-  "Software"), to deal in the Software without restriction, including
-  without limitation the rights to use, copy, modify, merge, publish,
-  distribute, sublicense, and/or sell copies of the Software, and to
-  permit persons to whom the Software is furnished to do so, subject to
-  the following conditions:
-
-  The above copyright notice and this permission notice shall be included
-  in all copies or substantial portions of the Software.
-
-  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-The Debian packaging is Copyright (C) 2007-2009, Nico Golde <[email protected]> 
and
-is licensed under the GPL-2, see `/usr/share/common-licenses/GPL-2'.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ii
+Source: https://tools.suckless.org/ii/
+
+Files:     *
+Copyright: 2014-2018 Hiltjo Posthuma <[email protected]>
+           2005-2006 Anselm R. Garbe <[email protected]>
+           2005-2011 Nico Golde <[email protected]>
+ .
+License:   MIT/X-Consortium-License
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+Files:     debian/*
+Copyright: 2007-2009 Nico Golde <[email protected]>
+License:   GPL-2
+ On Debian systems a copy of this license may be found at
+ '`/usr/share/common-licenses/GPL-2'.
diff --git a/ii/debian/patches/remove_static_lib_search_path_includes.patch 
b/ii/debian/patches/remove_static_lib_search_path_includes.patch
deleted file mode 100644
index 80e6e2b..0000000
--- a/ii/debian/patches/remove_static_lib_search_path_includes.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Description: do not include static library paths in the search path
-This package has one or more -L/usr/lib in its build system,
-which will make it ftbfs if there is libraries under /usr/lib,
-while is not the default architecture, mips* for example.
- .
- ii (1.7-2) unstable; urgency=high
- .
-   * Enable hardening options.
-   * Introduce build-arch and build-indep targets to rules.
-   * Fix upstream homepage (Closes: #693116).
-   * Do not explicitely include /usr/lib as library search path,
-     but just use the default (Closes: #722784).
-Author: Nico Golde <[email protected]>
-Bug-Debian: http://bugs.debian.org/722784
-
---- ii-1.7.orig/config.mk
-+++ ii-1.7/config.mk
-@@ -16,7 +16,7 @@ VERSION     = 1.7
- 
- # includes and libs
- INCLUDES    = -I. -I${INCDIR} -I/usr/include
--LIBS        = -L${LIBDIR} -L/usr/lib -lc
-+LIBS        = -lc
- # uncomment and comment other variables for compiling on Solaris
- #LIBS = -L${LIBDIR} -L/usr/lib -lc -lsocket -lnsl
- #CFLAGS      = -g ${INCLUDES} -DVERSION=\"${VERSION}\"
diff --git a/ii/debian/patches/respect_dpkg_buildflags.patch 
b/ii/debian/patches/respect_dpkg_buildflags.patch
index 9b764c5..0308802 100644
--- a/ii/debian/patches/respect_dpkg_buildflags.patch
+++ b/ii/debian/patches/respect_dpkg_buildflags.patch
@@ -1,12 +1,12 @@
 Author: Nico Golde <[email protected]>
 Description: Respect dpkg-buildflags
---- ii-1.7.orig/config.mk
-+++ ii-1.7/config.mk
-@@ -23,5 +23,5 @@ LIBS        = -lc
+--- ii-1.8.orig/config.mk
++++ ii-1.8/config.mk
+@@ -21,5 +21,5 @@
+ #LDFLAGS = ${LIBS}
  
- # compiler
- CC          = cc
--CFLAGS      = -g -O0 -W -Wall ${INCLUDES} -DVERSION=\"${VERSION}\"
--LDFLAGS     = ${LIBS}
-+CFLAGS      += -g -O0 -W -Wall ${INCLUDES} -DVERSION=\"${VERSION}\"
-+LDFLAGS     += ${LIBS}
+ # release
+-CFLAGS   = -Os ${INCLUDES} -DVERSION=\"${VERSION}\" -std=c99 -D_DEFAULT_SOURCE
+-LDFLAGS  = -s ${LIBS}
++CFLAGS   += ${INCLUDES} -DVERSION=\"${VERSION}\" -std=c99 -D_DEFAULT_SOURCE 
-D_FORTIFY_SOURCE=2
++LDFLAGS  += ${LIBS}
diff --git a/ii/debian/patches/series b/ii/debian/patches/series
index 3fe74cb..72c0739 100644
--- a/ii/debian/patches/series
+++ b/ii/debian/patches/series
@@ -1,2 +1 @@
-remove_static_lib_search_path_includes.patch
 respect_dpkg_buildflags.patch
diff --git a/ii/debian/rules b/ii/debian/rules
index 33eabe6..3f3985e 100755
--- a/ii/debian/rules
+++ b/ii/debian/rules
@@ -3,6 +3,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 
diff --git a/ii/debian/tests/control b/ii/debian/tests/control
new file mode 100644
index 0000000..9cb0db0
--- /dev/null
+++ b/ii/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: smoke-test
+Depends: @, shunit2
diff --git a/ii/debian/tests/smoke-test b/ii/debian/tests/smoke-test
new file mode 100644
index 0000000..33af27a
--- /dev/null
+++ b/ii/debian/tests/smoke-test
@@ -0,0 +1,15 @@
+#!/bin/bash
+# smoke-test: try running ii
+exec 2>&1
+
+test_connect_to_localhost() {
+       out=$(ii -s localhost -p 0 2>&1)
+       code=$?
+       set -e
+       # ii set its exit code to 1
+       assertEquals 1 "${code}"
+       # ii failed to connect with below message (but execution succeeded)
+       assertEquals 'ii: could not connect to localhost:0: Connection refused' 
"${out}"
+}
+
+. shunit2
diff --git a/ii/debian/watch b/ii/debian/watch
index a691fa4..5c8e940 100644
--- a/ii/debian/watch
+++ b/ii/debian/watch
@@ -1,2 +1,2 @@
 version=3
-http://code.suckless.org/dl/tools/ii-(.*)\.tar\.gz
+https://dl.suckless.org/tools/ii-(.*)\.tar\.gz
-- 
2.11.0


--- End Message ---
--- Begin Message ---
Source: ii
Source-Version: 1.8-1

We believe that the bug you reported is fixed in the latest version of
ii, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
itd <[email protected]> (supplier of updated ii package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 09 Aug 2018 14:28:03 +0200
Source: ii
Binary: ii
Architecture: source
Version: 1.8-1
Distribution: unstable
Urgency: medium
Maintainer: itd <[email protected]>
Changed-By: itd <[email protected]>
Description:
 ii         - minimalist FIFO and filesystem-based IRC client
Closes: 890995
Changes:
 ii (1.8-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #890995).
   * Set myself as Maintainer. (Nico Golde has retired. Thanks for your work!)
   * Relicense patches to match upstream's license. (See: #902225)
   * Fix watchfile (upstream URL changed).
   * Bump compat level to 11 and debhelper dependency (>= 11.3.2~).
   * Bump standards version to 4.2.0.
   * Update patch respect_dpkg_buildflags.patch.
   * Update hardening option (requires dpkg-dev >= 1.16.1.1).
   * Switch to machine-readable copyright file.
   * Trivial autopkgtest smoke-test.
   * Switch to HTTPS upstream links.
   * Switch to "dh7" style rules file.
   * Set 'Rules-Requires-Root: no'.
   * Use libbsd-dev's strlcpy(3).
Checksums-Sha1:
 655b1d24cbfd95456d517ce80ad349320f1c3374 1813 ii_1.8-1.dsc
 0a6a8ed46eca5da24786218352d17a2a025f7f0c 11988 ii_1.8.orig.tar.gz
 f03356c15a55366c9dd14448006eee9216618083 4972 ii_1.8-1.debian.tar.xz
 06f707724472a729549d8fe4346153ad9ad900fd 5266 ii_1.8-1_source.buildinfo
Checksums-Sha256:
 4afca78760c30b405328af831c099a9d59415365a7bb3f1821287086993458ea 1813 
ii_1.8-1.dsc
 e942958e4e9097648faf8d3808f224d6f85802e0e1b39655ac701666844229d1 11988 
ii_1.8.orig.tar.gz
 e619d53bf376f6bf234de2aa0299ed80f9562834ff9016f43ed8bdd659572625 4972 
ii_1.8-1.debian.tar.xz
 f3a69227ec31e93a1a2cdb87fe88864a07aa60ba0b7972d50b99c5bd9170c3eb 5266 
ii_1.8-1_source.buildinfo
Files:
 0dbc1c87e60a4afb27b9d7c75b275942 1813 net optional ii_1.8-1.dsc
 4447ab337586b5ef555fa2f81e6b43b0 11988 net optional ii_1.8.orig.tar.gz
 2daf962e9fac276c93b3de6495831bba 4972 net optional ii_1.8-1.debian.tar.xz
 e77a54f1550181ef26132bbf402309b8 5266 net optional ii_1.8-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEsxMaRR2/33ygW0GXBUu7n32AZEIFAltsOkcACgkQBUu7n32A
ZELGaw//QFOmpnkgOgFNcL30Q+3rz/2RuPUg+oU8fywDU7tbdFK9DBgt6TcQscq0
hA09lwEA/QXhCJGKKKPNcQaNBJATSyv3R2YwY61I4q0WFIsrJZ32DNHFEXai41SA
sMJul1YtrIT6jLvnblyjyUGmm9dv8h+BV+W1kfvjK4sndusaO882QD269RUdK3OG
LhVQULqeTnEprN08qDO9Lhde83pUHkhMxrJfQGZPizDAf8/NXtsz6OCJ8NWay1V1
qYwGIjFzA8ZhnXqacLWdY8+3DFekkc/O3G1Ymaw2HVaQZ+cl2PERxC7qdEkVGHef
GMIeiLRZKuNVoEn+PE6GmumcygtmqrpoXnMUP2XeZ6/F9NnAlwgR+Onq/UR7wLRK
hnPz/TPvERv/Pu1oji+F5sqAwB9DZBKcgkIzHsbsocqp/XReGWGgQpMSxnG6IRAL
QvNhzsjduzTW4x9Proob7UV+iV7lkrAlx25i/Hkv6g+wxnTPQ940gT5hGfny7Wl7
yp0dZBMpteux+zPQ5wmnPSotaTIOnmgA2T/YmuemWOFoiQVrK76I6bBWYmH/rIca
CZz36PnBCWOP422GnSGY77Y2idkZj0QmpZZc2LeUDAOBoSi+jjcbmCE7TnIyDHXk
ILwQ/4Ij7ghbje+Ky+SkQpKV+/C6Si00Bbe6GdVWV27edr16L+E=
=SE5T
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to