Sat May 16 18:14:21 2020 UTC ()
ii: Update to 1.8

1.8 (2018-02-04):
    - prevent nick collisions by only setting the nick after the server
      accepted it and print a message about change to server log.
    - remove query.sh.
    - add OpenBSD pledge(2) support.
    - fix QUIT message string.
    - raw IRC output to stdout.
    - add quit command (/q [string]).
    - write timestamp in outfile as UNIX timestamp (UTC+0).
    - server host (-s) doesn't default to irc.freenode and is now required.
    - add option (-u) to connect directly to a UNIX domain socket, this
      is useful for tunneling connections.
    - remove "in" file when leaving a channel (enabled commented code).
    - remove "in" files on exit.
    - use IRC_MAX (512), instead of PIPE_BUF (4096) on most systems.
      PIPE_BUF is guaranteed to be atleast 512 bytes for atomic operations.
    - Makefile: always be verbose.
    - use C99 and -D_DEFAULT_SOURCE
    - remove obsolete gethostbyname, use getaddrinfo.
    - IPV6 support.
    - timeout now uses separate exit statuscode 2.
    - cleanup:
        - use arg.h for command-line option parsing.
        - use sbase util functions (estrtol, eprintf).
        - use and import OpenBSD strlcpy().
        - man page typos.
    - style:
        - linewrap to 79 characters.
        - coding style fixes.
        - non-roman numerals for LICENSE period.


(nia)
diff -r1.3 -r1.4 pkgsrc/chat/ii/Makefile
diff -r1.1 -r1.2 pkgsrc/chat/ii/PLIST
diff -r1.2 -r1.3 pkgsrc/chat/ii/distinfo
diff -r0 -r1.1 pkgsrc/chat/ii/patches/patch-config.mk

cvs diff -r1.3 -r1.4 pkgsrc/chat/ii/Makefile (expand / switch to unified diff)

--- pkgsrc/chat/ii/Makefile 2017/09/08 06:16:15 1.3
+++ pkgsrc/chat/ii/Makefile 2020/05/16 18:14:20 1.4
@@ -1,22 +1,17 @@ @@ -1,22 +1,17 @@
1# $NetBSD: Makefile,v 1.3 2017/09/08 06:16:15 wiz Exp $ 1# $NetBSD: Makefile,v 1.4 2020/05/16 18:14:20 nia Exp $
2 2
3DISTNAME= ii-1.7 3DISTNAME= ii-1.8
4CATEGORIES= chat 4CATEGORIES= chat
5MASTER_SITES= https://dl.suckless.org/tools/ 5MASTER_SITES= https://dl.suckless.org/tools/
6 6
7MAINTAINER= youri@NetBSD.org 7MAINTAINER= youri@NetBSD.org
8HOMEPAGE= https://dl.suckless.org/tools/ 8HOMEPAGE= https://dl.suckless.org/tools/
9COMMENT= Minimalist FIFO and filesystem-based IRC client 9COMMENT= Minimalist FIFO and filesystem-based IRC client
10LICENSE= mit 10LICENSE= mit
11 11
12SUBST_CLASSES+= makefile 12MAKE_FLAGS+= PREFIX=${PREFIX}
13SUBST_STAGE.makefile= pre-build 13MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
14SUBST_MESSAGE.makefile= Fixing config.mk 
15SUBST_FILES.makefile= config.mk 
16SUBST_SED.makefile= -e 's,/usr/local,${PREFIX},g' 
17SUBST_SED.makefile+= -e 's,share/man,${PKGMANDIR},g' 
18SUBST_SED.makefile+= -e 's,^LDFLAGS,\#LDFLAGS,g' 
19 14
20LDFLAGS.SunOS+= -lsocket -lnsl 15LDFLAGS.SunOS+= -lsocket -lnsl
21 16
22.include "../../mk/bsd.pkg.mk" 17.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/chat/ii/PLIST (expand / switch to unified diff)

--- pkgsrc/chat/ii/PLIST 2015/06/04 20:17:42 1.1
+++ pkgsrc/chat/ii/PLIST 2020/05/16 18:14:20 1.2
@@ -1,8 +1,7 @@ @@ -1,8 +1,7 @@
1@comment $NetBSD: PLIST,v 1.1 2015/06/04 20:17:42 youri Exp $ 1@comment $NetBSD: PLIST,v 1.2 2020/05/16 18:14:20 nia Exp $
2bin/ii 2bin/ii
3man/man1/ii.1 3man/man1/ii.1
4share/doc/ii/CHANGES 4share/doc/ii/CHANGES
5share/doc/ii/FAQ 5share/doc/ii/FAQ
6share/doc/ii/LICENSE 6share/doc/ii/LICENSE
7share/doc/ii/README 7share/doc/ii/README
8share/doc/ii/query.sh 

cvs diff -r1.2 -r1.3 pkgsrc/chat/ii/distinfo (expand / switch to unified diff)

--- pkgsrc/chat/ii/distinfo 2015/11/03 01:20:20 1.2
+++ pkgsrc/chat/ii/distinfo 2020/05/16 18:14:20 1.3
@@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
1$NetBSD: distinfo,v 1.2 2015/11/03 01:20:20 agc Exp $ 1$NetBSD: distinfo,v 1.3 2020/05/16 18:14:20 nia Exp $
2 2
3SHA1 (ii-1.7.tar.gz) = 499f40b8d9cac6d2de0c27b1db087de6b819e279 3SHA1 (ii-1.8.tar.gz) = 143a8fbf5d3b5db1edb796c7a0679d107c13a4fa
4RMD160 (ii-1.7.tar.gz) = b107bf4b62ad77a91e383fd7b25dbf54d6238d43 4RMD160 (ii-1.8.tar.gz) = 9d6def21ef5edd4280aa59c3a2bc64d5a8dd6cd3
5SHA512 (ii-1.7.tar.gz) = 1fa744bc9b4291b5c6c56e023d982aad59001137db6c7682284a2d63e649a32d558adbb85ae3407e312ae5436852b4278c2c522d4ef03f47cf54ea3a1f13ca90 5SHA512 (ii-1.8.tar.gz) = 2b41a0611ac76612c9333e8490709ee22d17506f0c5d7e680a0d8f3f8b511bd5b279555cf609c1543aba71948819369a3c306b1168086890aa49c145b7860e17
6Size (ii-1.7.tar.gz) = 10174 bytes 6Size (ii-1.8.tar.gz) = 12326 bytes
 7SHA1 (patch-config.mk) = 3b307c3ba351242cdefece01d154bb0da315b8b8

File Added: pkgsrc/chat/ii/patches/patch-config.mk
$NetBSD: patch-config.mk,v 1.1 2020/05/16 18:14:20 nia Exp $

Don't override CFLAGS/LDFLAGS

--- config.mk.orig	2018-02-04 13:36:09.000000000 +0000
+++ config.mk
@@ -21,5 +21,5 @@ CC       = cc
 #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
+LDFLAGS += -s ${LIBS}