Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/ii ii: Update to 1.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cf063cba7952
branches:  trunk
changeset: 431840:cf063cba7952
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat May 16 18:14:20 2020 +0000

description:
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.

diffstat:

 chat/ii/Makefile                |  13 ++++---------
 chat/ii/PLIST                   |   3 +--
 chat/ii/distinfo                |  11 ++++++-----
 chat/ii/patches/patch-config.mk |  14 ++++++++++++++
 4 files changed, 25 insertions(+), 16 deletions(-)

diffs (75 lines):

diff -r 0b90c0a81069 -r cf063cba7952 chat/ii/Makefile
--- a/chat/ii/Makefile  Sat May 16 18:09:17 2020 +0000
+++ b/chat/ii/Makefile  Sat May 16 18:14:20 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2017/09/08 06:16:15 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/16 18:14:20 nia Exp $
 
-DISTNAME=      ii-1.7
+DISTNAME=      ii-1.8
 CATEGORIES=    chat
 MASTER_SITES=  https://dl.suckless.org/tools/
 
@@ -9,13 +9,8 @@
 COMMENT=       Minimalist FIFO and filesystem-based IRC client
 LICENSE=       mit
 
-SUBST_CLASSES+=                makefile
-SUBST_STAGE.makefile=  pre-build
-SUBST_MESSAGE.makefile=        Fixing config.mk
-SUBST_FILES.makefile=  config.mk
-SUBST_SED.makefile=    -e 's,/usr/local,${PREFIX},g'
-SUBST_SED.makefile+=   -e 's,share/man,${PKGMANDIR},g'
-SUBST_SED.makefile+=   -e 's,^LDFLAGS,\#LDFLAGS,g'
+MAKE_FLAGS+=   PREFIX=${PREFIX}
+MAKE_FLAGS+=   MANDIR=${PREFIX}/${PKGMANDIR}
 
 LDFLAGS.SunOS+=        -lsocket -lnsl
 
diff -r 0b90c0a81069 -r cf063cba7952 chat/ii/PLIST
--- a/chat/ii/PLIST     Sat May 16 18:09:17 2020 +0000
+++ b/chat/ii/PLIST     Sat May 16 18:14:20 2020 +0000
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1 2015/06/04 20:17:42 youri Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/05/16 18:14:20 nia Exp $
 bin/ii
 man/man1/ii.1
 share/doc/ii/CHANGES
 share/doc/ii/FAQ
 share/doc/ii/LICENSE
 share/doc/ii/README
-share/doc/ii/query.sh
diff -r 0b90c0a81069 -r cf063cba7952 chat/ii/distinfo
--- a/chat/ii/distinfo  Sat May 16 18:09:17 2020 +0000
+++ b/chat/ii/distinfo  Sat May 16 18:14:20 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 01:20:20 agc Exp $
+$NetBSD: distinfo,v 1.3 2020/05/16 18:14:20 nia Exp $
 
-SHA1 (ii-1.7.tar.gz) = 499f40b8d9cac6d2de0c27b1db087de6b819e279
-RMD160 (ii-1.7.tar.gz) = b107bf4b62ad77a91e383fd7b25dbf54d6238d43
-SHA512 (ii-1.7.tar.gz) = 1fa744bc9b4291b5c6c56e023d982aad59001137db6c7682284a2d63e649a32d558adbb85ae3407e312ae5436852b4278c2c522d4ef03f47cf54ea3a1f13ca90
-Size (ii-1.7.tar.gz) = 10174 bytes
+SHA1 (ii-1.8.tar.gz) = 143a8fbf5d3b5db1edb796c7a0679d107c13a4fa
+RMD160 (ii-1.8.tar.gz) = 9d6def21ef5edd4280aa59c3a2bc64d5a8dd6cd3
+SHA512 (ii-1.8.tar.gz) = 2b41a0611ac76612c9333e8490709ee22d17506f0c5d7e680a0d8f3f8b511bd5b279555cf609c1543aba71948819369a3c306b1168086890aa49c145b7860e17
+Size (ii-1.8.tar.gz) = 12326 bytes
+SHA1 (patch-config.mk) = 3b307c3ba351242cdefece01d154bb0da315b8b8
diff -r 0b90c0a81069 -r cf063cba7952 chat/ii/patches/patch-config.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/ii/patches/patch-config.mk   Sat May 16 18:14:20 2020 +0000
@@ -0,0 +1,14 @@
+$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}



Home | Main Index | Thread Index | Old Index