From owner-dev-commits-ports-main@freebsd.org Thu Jul 1 13:40:34 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0461266479D; Thu, 1 Jul 2021 13:40:34 +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 4GFzqj6nCyz3qDy; Thu, 1 Jul 2021 13:40:33 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 D12932162D; Thu, 1 Jul 2021 13:40:33 +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 161DeXa6016823; Thu, 1 Jul 2021 13:40:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 161DeXiY016822; Thu, 1 Jul 2021 13:40:33 GMT (envelope-from git) Date: Thu, 1 Jul 2021 13:40:33 GMT Message-Id: <202107011340.161DeXiY016822@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Juraj Lutter Subject: git: 09b9b34473ac - main - misc/pinfo: Update to 0.6.13 and take maintainership MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: otis X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 09b9b34473ac7efae714589e296510a3d9ac8a19 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2021 13:40:34 -0000 The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=09b9b34473ac7efae714589e296510a3d9ac8a19 commit 09b9b34473ac7efae714589e296510a3d9ac8a19 Author: Juraj Lutter AuthorDate: 2021-07-01 13:30:49 +0000 Commit: Juraj Lutter CommitDate: 2021-07-01 13:40:21 +0000 misc/pinfo: Update to 0.6.13 and take maintainership --- misc/pinfo/Makefile | 34 +++++++++++++++++------------- misc/pinfo/distinfo | 5 +++-- misc/pinfo/files/patch-macros_curses.m4 | 15 ------------- misc/pinfo/files/patch-parse_config.h | 11 ---------- misc/pinfo/files/patch-src_manual.c | 11 ++++++++++ misc/pinfo/files/patch-src_parse__config.h | 11 ++++++++++ misc/pinfo/files/patch-src_utils.c | 10 +++++++++ 7 files changed, 54 insertions(+), 43 deletions(-) diff --git a/misc/pinfo/Makefile b/misc/pinfo/Makefile index f0a7bade7d10..cd7384625a1a 100644 --- a/misc/pinfo/Makefile +++ b/misc/pinfo/Makefile @@ -1,42 +1,46 @@ # Created by: Thomas Gellekum PORTNAME= pinfo -PORTVERSION= 0.6.10 -PORTREVISION= 5 +DISTVERSION= 0.6.13 CATEGORIES= misc -MASTER_SITES= GENTOO \ - http://alioth.debian.org/frs/download.php/file/3351/ +MASTER_SITES= -MAINTAINER= ports@FreeBSD.org +MAINTAINER= otis@FreeBSD.org COMMENT= Ncurses based, lynx style info documentation browser LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_aarch64= Fails to link: missing sbrk -BROKEN_riscv64= Fails to link: missing sbrk +#BROKEN_aarch64= Fails to link: missing sbrk +#BROKEN_riscv64= Fails to link: missing sbrk + +USES= autoreconf gettext-tools libtool localbase makeinfo ncurses +USE_GITHUB= yes +GH_ACCOUNT= baszoetekouw +GH_TAGNAME= v${DISTVERSION} -USES= autoreconf gettext-tools libtool localbase makeinfo ncurses tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-curses=${NCURSESBASE} INFO= pinfo -PLIST_FILES= bin/pinfo etc/pinforc man/man1/pinfo.1.gz +PLIST_FILES= bin/pinfo \ + etc/pinforc \ + man/man1/pinfo.1.gz -OPTIONS_DEFINE= READLINE NLS -OPTIONS_DEFAULT=READLINE -READLINE_USES= readline +OPTIONS_DEFINE= NLS READLINE +OPTIONS_DEFAULT= READLINE +READLINE_USES= readline READLINE_CONFIGURE_WITH= readline .include .if ${PORT_OPTIONS:MNLS} -USES+= gettext-runtime +USES+= gettext-runtime .for lang in cs de eu ja nl pl pt_BR ro ru sv vi -PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/pinfo.mo +PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/pinfo.mo .endfor .else -CONFIGURE_ARGS+=--disable-nls +CONFIGURE_ARGS+= --disable-nls .endif .include diff --git a/misc/pinfo/distinfo b/misc/pinfo/distinfo index f770742032f4..1f818f6ac018 100644 --- a/misc/pinfo/distinfo +++ b/misc/pinfo/distinfo @@ -1,2 +1,3 @@ -SHA256 (pinfo-0.6.10.tar.bz2) = 122180a0c23d11bc9eb569a4de3ff97d3052af96e32466fa62f2daf46ff61c5d -SIZE (pinfo-0.6.10.tar.bz2) = 133059 +TIMESTAMP = 1625145544 +SHA256 (baszoetekouw-pinfo-0.6.13-v0.6.13_GH0.tar.gz) = 9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217 +SIZE (baszoetekouw-pinfo-0.6.13-v0.6.13_GH0.tar.gz) = 157103 diff --git a/misc/pinfo/files/patch-macros_curses.m4 b/misc/pinfo/files/patch-macros_curses.m4 deleted file mode 100644 index ab83a943c5ba..000000000000 --- a/misc/pinfo/files/patch-macros_curses.m4 +++ /dev/null @@ -1,15 +0,0 @@ ---- macros/curses.m4.orig 2006-03-09 19:44:48 UTC -+++ macros/curses.m4 -@@ -182,6 +182,12 @@ AC_DEFUN([AC_SEARCH_CURSES_H], [ - if test "x$curses_location" != "xfalse" - then - dnl check this particular location -+ AC_SEARCH_CURSES_FILE($curses_location/include, ncurses/ncurses.h, -+ -L$curses_location/lib -lncursesw, -+ -I$curses_location/include ) -+ AC_SEARCH_CURSES_FILE($curses_location/include, ncurses.h, -+ -L$curses_location/lib -lncursesw, -+ -I$curses_location/include ) - AC_SEARCH_CURSES_FILE($curses_location/include, ncursesw/ncurses.h, - -L$curses_location/lib -lncursesw, - -I$curses_location/include ) diff --git a/misc/pinfo/files/patch-parse_config.h b/misc/pinfo/files/patch-parse_config.h deleted file mode 100644 index 2ecddb1e78dd..000000000000 --- a/misc/pinfo/files/patch-parse_config.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/parse_config.h.orig 2020-08-21 00:28:18.377783000 +0700 -+++ src/parse_config.h 2020-08-21 00:28:12.579209000 +0700 -@@ -85,7 +85,7 @@ - colours; - #endif /* NO_COLOR_CURSES */ - --int use_manual; -+extern int use_manual; - - int parse_config (void); - int parse_line (char *line); diff --git a/misc/pinfo/files/patch-src_manual.c b/misc/pinfo/files/patch-src_manual.c new file mode 100644 index 000000000000..8bdd8fa3fec1 --- /dev/null +++ b/misc/pinfo/files/patch-src_manual.c @@ -0,0 +1,11 @@ +--- src/manual.c.orig 2021-07-01 13:36:26 UTC ++++ src/manual.c +@@ -182,7 +182,7 @@ set_initial_history(char *name) + char buf[1024]; + char *str, *lastSlash, *lastButOneSlash; + FILE *pathFile; +- snprintf(buf, sizeof(buf), "man -w -W %s %s", ManOptions, name); ++ snprintf(buf, sizeof(buf), "man -w %s %s", ManOptions, name); + pathFile = popen(buf, "r"); + if (fgets(buf, sizeof(buf), pathFile)==NULL) + { diff --git a/misc/pinfo/files/patch-src_parse__config.h b/misc/pinfo/files/patch-src_parse__config.h new file mode 100644 index 000000000000..6e2b9a797351 --- /dev/null +++ b/misc/pinfo/files/patch-src_parse__config.h @@ -0,0 +1,11 @@ +--- src/parse_config.h.orig 2021-07-01 13:25:26 UTC ++++ src/parse_config.h +@@ -85,7 +85,7 @@ typedef struct colours + colours; + #endif /* HAVE_CURSES_COLOR */ + +-int use_manual; ++extern int use_manual; + + int parse_config (void); + int parse_line (char *line); diff --git a/misc/pinfo/files/patch-src_utils.c b/misc/pinfo/files/patch-src_utils.c new file mode 100644 index 000000000000..6031a8c66027 --- /dev/null +++ b/misc/pinfo/files/patch-src_utils.c @@ -0,0 +1,10 @@ +--- src/utils.c.orig 2021-07-01 13:24:17 UTC ++++ src/utils.c +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + + #ifdef USE_WCHAR + #include