pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/ii



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat May 16 18:14:21 UTC 2020

Modified Files:
        pkgsrc/chat/ii: Makefile PLIST distinfo
Added Files:
        pkgsrc/chat/ii/patches: patch-config.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/chat/ii/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/chat/ii/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/chat/ii/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/ii/patches/patch-config.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/ii/Makefile
diff -u pkgsrc/chat/ii/Makefile:1.3 pkgsrc/chat/ii/Makefile:1.4
--- pkgsrc/chat/ii/Makefile:1.3 Fri Sep  8 06:16:15 2017
+++ pkgsrc/chat/ii/Makefile     Sat May 16 18:14:20 2020
@@ -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 @@ HOMEPAGE=      https://dl.suckless.org/tools/
 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
 

Index: pkgsrc/chat/ii/PLIST
diff -u pkgsrc/chat/ii/PLIST:1.1 pkgsrc/chat/ii/PLIST:1.2
--- pkgsrc/chat/ii/PLIST:1.1    Thu Jun  4 20:17:42 2015
+++ pkgsrc/chat/ii/PLIST        Sat May 16 18:14:20 2020
@@ -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

Index: pkgsrc/chat/ii/distinfo
diff -u pkgsrc/chat/ii/distinfo:1.2 pkgsrc/chat/ii/distinfo:1.3
--- pkgsrc/chat/ii/distinfo:1.2 Tue Nov  3 01:20:20 2015
+++ pkgsrc/chat/ii/distinfo     Sat May 16 18:14:20 2020
@@ -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

Added files:

Index: pkgsrc/chat/ii/patches/patch-config.mk
diff -u /dev/null pkgsrc/chat/ii/patches/patch-config.mk:1.1
--- /dev/null   Sat May 16 18:14:21 2020
+++ pkgsrc/chat/ii/patches/patch-config.mk      Sat May 16 18:14:20 2020
@@ -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