From nobody Wed Mar 8 10:19:32 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PWpFw61rbz3wCXQ; Wed, 8 Mar 2023 10:19:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PWpFw5cQ8z42n8; Wed, 8 Mar 2023 10:19:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678270772; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kzk8iWmgr73mHwd9ZvDpvCI5xZxmN9QPRlELJncItc4=; b=Om2r1IzRmbWkHpQt91igwHMUDxdfXlveTyn6iAs4weTl2vw+FwwdJ5cx73WJFuRSwFPBcv +LN8r/LEeD4hso4U1xD2KkIH6nGI/qqq777uYZsnwOgrPMBSIUXFTCi4y5ER4HnMlh88xO PSy3/A7Y//C+xtE9kyLNO5e0k5XR9lG5u9mw2vNfvD7GUZIrvPzVRGbKxXG84mXQYnMlAI pUj7TQh+G4r18/9vhz7gylAFCnfoYsg7O7Qj6D8Ky9GkJafLUdzsXJWOO04ssgM7yOqWuL W+/b1az32y4clmT9JfqBcCbPY3D5eTUyIaGpQ/n+O632wi8P1QsvjPFIZhK2lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678270772; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kzk8iWmgr73mHwd9ZvDpvCI5xZxmN9QPRlELJncItc4=; b=ApjhTnnILurv5n6x9d7/NeQsEt/bzDaY945rztZSqUf97EXNHtg/G28j5oIymOeKmpXHF3 Fe0GNeBxNKfsZbnbKRL2ncHE4Ke+gLryA4wIytum0jCIPfvT8WtpEFbtUXcZOZaW/jZzhQ 5hGwS/2TqBPpIL58RidwJiEMOROcIROUQxuheS1KzNmzw4PiiaNlzSYVpLlxj2/N3yOUsj F78yXwHl2YEDRkHGENLYAvbYnWz2jmRG8hWeL43nilbbl9NzxE6pS30SZ6E+Gn0MOoiRh/ Z5QzAMlMNyhDMhvMPxCSVyfUkWHdm0EhTslQ2mbgapO7Uq14m0KrHFqgNJu3iw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678270772; a=rsa-sha256; cv=none; b=XAh3nula7ZxmusRMKULu9AesvXNMdBHFHy0+2q7Mwmcitn9/G9F3mFMO8GBTdls+czp+ub yErNs5yGPrl9MNPv/ZMNQQ0PylPpGJmSsBT62YYTQdYNxp+6eZEFQfXL3Xlzb97nJon7OA yCYfo16J/j6VVZt7oW8DWGR9E9Vzxwqf5213ZmjMnBsaS3njLrGfJbJZq6toNYAbIPJJwS rLPg5LktlopXfbMeva3gJmZHMfqY1GU+r7lnOj/bmL8yJ4mgRFyng31XB/b5WeyJhrjjVo 80+Uwkq6Eu4XlhWlI/ebMTyjZLDDWU8xptKu3a+j5z2n3pwDof6Ou2wsuhywDg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PWpFw4hZCzMm4; Wed, 8 Mar 2023 10:19:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 328AJWu8038070; Wed, 8 Mar 2023 10:19:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 328AJWJV038069; Wed, 8 Mar 2023 10:19:32 GMT (envelope-from git) Date: Wed, 8 Mar 2023 10:19:32 GMT Message-Id: <202303081019.328AJWJV038069@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 9a7c9aad1d57 - main - irc/simpleirc: Update to 1.3 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9a7c9aad1d57fd84c403c2e643bff9a8a098b545 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=9a7c9aad1d57fd84c403c2e643bff9a8a098b545 commit 9a7c9aad1d57fd84c403c2e643bff9a8a098b545 Author: Clockwork6400 AuthorDate: 2023-03-05 08:29:02 +0000 Commit: Robert Clausecker CommitDate: 2023-03-08 10:10:17 +0000 irc/simpleirc: Update to 1.3 Changelog: https://git.suckless.org/sic/log.html PR: 269944 --- irc/simpleirc/Makefile | 13 ++++---- irc/simpleirc/distinfo | 5 ++-- irc/simpleirc/files/patch-Makefile | 59 ++++++++++++++++++++++++------------- irc/simpleirc/files/patch-config.mk | 26 ---------------- 4 files changed, 49 insertions(+), 54 deletions(-) diff --git a/irc/simpleirc/Makefile b/irc/simpleirc/Makefile index b33f761e8897..3cbe5e677628 100644 --- a/irc/simpleirc/Makefile +++ b/irc/simpleirc/Makefile @@ -1,11 +1,11 @@ PORTNAME= simpleirc -PORTVERSION= 1.2 +DISTVERSION= 1.3 CATEGORIES= irc -MASTER_SITES= http://dl.suckless.org/tools/ \ - LOCAL/dhn -DISTNAME= sic-${PORTVERSION} +MASTER_SITES= http://dl.suckless.org/tools/ -MAINTAINER= ports@FreeBSD.org +DISTNAME= sic-${DISTVERSION} + +MAINTAINER= Clockwork6400@protonmail.com COMMENT= Extremely simple IRC client WWW= http://www.suckless.org/programs/sic.html @@ -17,6 +17,9 @@ PORTDOCS= README OPTIONS_DEFINE= DOCS +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/simpleirc + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} diff --git a/irc/simpleirc/distinfo b/irc/simpleirc/distinfo index 0c4115f77635..213aded0785d 100644 --- a/irc/simpleirc/distinfo +++ b/irc/simpleirc/distinfo @@ -1,2 +1,3 @@ -SHA256 (sic-1.2.tar.gz) = ac07f905995e13ba2c43912d7a035fbbe78a628d7ba1c256f4ca1372fb565185 -SIZE (sic-1.2.tar.gz) = 4563 +TIMESTAMP = 1677860610 +SHA256 (sic-1.3.tar.gz) = 30478fab3ebc75f2eb5d08cbb5b2fedcaf489116e75a2dd7197e3e9c733d65d2 +SIZE (sic-1.3.tar.gz) = 5740 diff --git a/irc/simpleirc/files/patch-Makefile b/irc/simpleirc/files/patch-Makefile index fe1f52d1e903..3971b2b4b8f7 100644 --- a/irc/simpleirc/files/patch-Makefile +++ b/irc/simpleirc/files/patch-Makefile @@ -1,26 +1,43 @@ ---- Makefile.orig 2013-06-16 06:03:32 UTC +--- Makefile.orig 2022-10-04 17:34:08 UTC +++ Makefile -@@ -38,17 +38,18 @@ dist: clean +@@ -4,13 +4,13 @@ NAME = sic + VERSION = 1.3 + + # paths +-PREFIX = /usr/local +-MANPREFIX = ${PREFIX}/share/man ++PREFIX ?= /usr/local ++MANPREFIX = ${PREFIX}/man + + # use system flags. +-SIC_CFLAGS = ${CFLAGS} +-SIC_LDFLAGS = ${LDFLAGS} +-SIC_CPPFLAGS = ${LDFLAGS} -DVERSION=\"${VERSION}\" -D_GNU_SOURCE ++SIC_CFLAGS += ${CFLAGS} ++SIC_LDFLAGS += ${LDFLAGS} ++SIC_CPPFLAGS += ${LDFLAGS} -DVERSION=\"${VERSION}\" -D_GNU_SOURCE + + BIN = sic + SRC = ${BIN:=.c} +@@ -45,15 +45,15 @@ dist: + install: all - @echo installing executable file to ${DESTDIR}${PREFIX}/bin - @mkdir -p ${DESTDIR}${PREFIX}/bin -- @cp -f sic ${DESTDIR}${PREFIX}/bin -- @chmod 755 ${DESTDIR}${PREFIX}/bin/sic -+ @cp -f sic ${DESTDIR}${PREFIX}/bin/simpleirc -+ @chmod 755 ${DESTDIR}${PREFIX}/bin/simpleirc - @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 - @mkdir -p ${DESTDIR}${MANPREFIX}/man1 - @sed "s/VERSION/${VERSION}/g" < sic.1 > ${DESTDIR}${MANPREFIX}/man1/sic.1 -- @chmod 644 ${DESTDIR}${MANPREFIX}/man1/sic.1 -+ @mv ${DESTDIR}${MANPREFIX}/man1/sic.1 ${DESTDIR}${MANPREFIX}/man1/simpleirc.1 -+ @chmod 644 ${DESTDIR}${MANPREFIX}/man1/simpleirc.1 + mkdir -p ${DESTDIR}${PREFIX}/bin +- cp -f ${BIN} "${DESTDIR}${PREFIX}/bin" +- chmod 755 "${DESTDIR}${PREFIX}/bin/${BIN}" ++ cp -f sic ${DESTDIR}${PREFIX}/bin/simpleirc ++ chmod 755 ${DESTDIR}${PREFIX}/bin/simpleirc + mkdir -p "${DESTDIR}${MANPREFIX}/man1" + sed "s/VERSION/${VERSION}/g" < ${MAN1} > "${DESTDIR}${MANPREFIX}/man1/${MAN1}" +- chmod 644 "${DESTDIR}${MANPREFIX}/man1/${MAN1}" ++ mv ${DESTDIR}${MANPREFIX}/man1/sic.1 ${DESTDIR}${MANPREFIX}/man1/simpleirc.1 ++ chmod 644 ${DESTDIR}${MANPREFIX}/man1/simpleirc.1 uninstall: - @echo removing executable file from ${DESTDIR}${PREFIX}/bin -- @rm -f ${DESTDIR}${PREFIX}/bin/sic -+ @rm -f ${DESTDIR}${PREFIX}/bin/simpleirc - @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1 -- @rm -f ${DESTDIR}${MANPREFIX}/man1/sic.1 -+ @rm -f ${DESTDIR}${MANPREFIX}/man1/simpleirc.1 +- rm -f \ +- "${DESTDIR}${PREFIX}/bin/${BIN}"\ +- "${DESTDIR}${MANPREFIX}/man1/${MAN1}" ++ rm -f ${DESTDIR}${PREFIX}/bin/simpleirc ++ rm -f ${DESTDIR}${MANPREFIX}/man1/simpleirc.1 - .PHONY: all options clean dist install uninstall + .PHONY: all clean dist install uninstall diff --git a/irc/simpleirc/files/patch-config.mk b/irc/simpleirc/files/patch-config.mk deleted file mode 100644 index c880b9540b6e..000000000000 --- a/irc/simpleirc/files/patch-config.mk +++ /dev/null @@ -1,26 +0,0 @@ ---- config.mk.orig 2013-06-16 06:03:32 UTC -+++ config.mk -@@ -4,17 +4,17 @@ VERSION = 1.2 - # Customize below to fit your system - - # paths --PREFIX = /usr/local --MANPREFIX = ${PREFIX}/share/man -+PREFIX ?= /usr/local -+MANPREFIX = ${PREFIX}/man - - # includes and libs - INCS = -I. -I/usr/include - LIBS = -L/usr/lib -lc - - # flags --CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE --CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} --LDFLAGS = -s ${LIBS} -+CPPFLAGS += -DVERSION=\"${VERSION}\" -D_GNU_SOURCE -+CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -+LDFLAGS += -s ${LIBS} - - # compiler and linker --CC = cc -+CC ?= cc