diff --git a/news/tin/Makefile b/news/tin/Makefile index 157068918083..cfc2434c08f6 100644 --- a/news/tin/Makefile +++ b/news/tin/Makefile @@ -1,108 +1,112 @@ PORTNAME= tin -DISTVERSION= 2.6.5 -PORTREVISION= 1 +DISTVERSION= 2.6.6 CATEGORIES= news MASTER_SITES= https://ftp.icm.edu.pl/pub/unix/news/tin/v${DISTVERSION:R}/ \ ftp://ftp.tin.org/pub/news/clients/tin/v${DISTVERSION:R}/ MAINTAINER= kbowling@FreeBSD.org COMMENT= Easy-to-use threaded newsreader with NOV/NNTP support WWW= http://www.tin.org/ LICENSE= BSD3CLAUSE -LIB_DEPENDS= libicuuc.so:devel/icu \ +LIB_DEPENDS= libexttextcat-2.0.so:textproc/libexttextcat \ + libicuuc.so:devel/icu \ + libidn2.so:dns/libidn2 \ libpcre2-8.so:devel/pcre2 \ + liburiparser.so:net/uriparser \ libuu.so:converters/uulib RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:misc/mime-support USES= gmake iconv localbase:ldflags ncurses pkgconfig shebangfix \ tar:xz SHEBANG_FILES= tools/*.pl GNU_CONFIGURE= yes TIN_EDITOR?= /usr/bin/ee TIN_SCREEN?= ncursesw ALL_TARGET= build CFLAGS+= -DNNTP_SERVER_FILE=\\\"${PREFIX}/etc/nntpserver\\\" MAKE_ARGS+= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --with-editor=${TIN_EDITOR} \ --with-libdir=${PREFIX}/news/lib \ --with-spooldir=/var/news \ --with-screen=${TIN_SCREEN} \ --with-pcre2-config=${PREFIX}/bin/pcre2-config \ --with-nntp-default-server=news \ --enable-break-long-lines \ + --enable-language-guessing \ --with-mime-default-charset=US-ASCII \ --with-defaults-dir=${PREFIX}/etc \ + --with-url-normalization=uriparser \ --enable-ipv6 \ ${ICONV_CONFIGURE_ARG} OPTIONS_DEFINE= CANLOCK GNUPG ISPELL METAMAIL NLS NNTP_ONLY \ NNTPS SLRNFACE OPTIONS_DEFAULT= CANLOCK GNUPG ISPELL METAMAIL NNTPS OPTIONS_SUB= yes CANLOCK_DESC= Enable Cancel-Lock key support via libcanlock METAMAIL_DESC= Use metamail to handle MIME attachments NNTP_ONLY_DESC= Only read news via NNTP (no spool dir support) NNTPS_DESC= Enable NNTPS SLRNFACE_DESC= Use slrnface to displace sender images CANLOCK_LIB_DEPENDS= libcanlock.so:news/libcanlock CANLOCK_CONFIGURE_ENABLE= cancel-locks CANLOCK_CONFIGURE_ON= --with-canlock=yes ISPELL_RUN_DEPENDS= ispell:textproc/aspell-ispell ISPELL_CONFIGURE_ON= --with-ispell=${LOCALBASE}/bin/ispell GNUPG_RUN_DEPENDS= gpg:security/gnupg GNUPG_CONFIGURE_ON= --with-gpg=${LOCALBASE}/bin/gpg \ --without-pgp \ --without-pgpk GNUPG_CONFIGURE_OFF= --disable-pgp-gpg METAMAIL_RUN_DEPENDS= metamail:mail/metamail METAMAIL_CONFIGURE_ON= --with-metamail=${LOCALBASE}/bin/metamail NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NNTP_ONLY_CONFIGURE_ENABLE= nntp-only NNTPS_USES= ssl NNTPS_CONFIGURE_ON= --with-nntps SLRNFACE_BUILD_DEPENDS= slrnface:news/slrnface SLRNFACE_RUN_DEPENDS= slrnface:news/slrnface SLRNFACE_CONFIGURE_WITH= slrnface=slrnface post-patch: ${REINPLACE_CMD} -Ee 's:5/(mmdf|mbox):5/tin_\1:g' \ ${WRKSRC}/src/Makefile.in ${REINPLACE_CMD} -e 's:/var/spool/news:/var/news:g' \ -e 's:/etc/nntpserver:${PREFIX}/etc/nntpserver:g' \ -e 's:/usr/lib/news:${PREFIX}/news/lib:g' \ -e 's:/etc/mime\.types:${PREFIX}/etc/mime.types:g' \ -e 's:url_handler\.pl:tinurl_handler.pl:g' \ ${WRKSRC}/doc/tin.1 ${WRKSRC}/doc/tin.5 ${REINPLACE_CMD} \ -e 's:/etc/mime\.types:${PREFIX}/etc/mime.types:g' \ ${WRKSRC}/src/mimetypes.c ${REINPLACE_CMD} \ -e 's:url_handler\.pl:tinurl_handler.pl:g' \ ${WRKSRC}/src/Makefile.in ${WRKSRC}/include/tin.h ${MV} ${WRKSRC}/tools/url_handler.pl \ ${WRKSRC}/tools/tinurl_handler.pl post-install: ${INSTALL_DATA} ${WRKSRC}/doc/tin.defaults \ ${STAGEDIR}${PREFIX}/etc/tin.defaults.sample ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tin ${RLN} tin ${STAGEDIR}${PREFIX}/bin/rtin .include diff --git a/news/tin/distinfo b/news/tin/distinfo index d70ef86ea5d4..fe0718aed92f 100644 --- a/news/tin/distinfo +++ b/news/tin/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1766557388 -SHA256 (tin-2.6.5.tar.xz) = 91384d133d72671863494dd9742bc622b4089ea8ea760884a5b8c34095d76dc5 -SIZE (tin-2.6.5.tar.xz) = 1802328 +TIMESTAMP = 1787561628 +SHA256 (tin-2.6.6.tar.xz) = bf8a2ed051bc33d0bfce8bf2163ac80691c91ab3bbe380dce764481f0aae6338 +SIZE (tin-2.6.6.tar.xz) = 1977860 diff --git a/news/tin/files/patch-configure b/news/tin/files/patch-configure index 1e68b4be7106..bbde5ce2e5f9 100644 --- a/news/tin/files/patch-configure +++ b/news/tin/files/patch-configure @@ -1,49 +1,43 @@ ---- configure.orig 2025-12-23 23:14:33 UTC +--- configure.orig 2026-08-23 06:35:09 UTC +++ configure -@@ -15340,7 +15340,7 @@ case "$host_os" in +@@ -15421,7 +15421,7 @@ case "$host_os" in fi case "$host_os" in -freebsd*) +XXXfreebsd*) # This is only necessary if you are linking against an obsolete # version of ncurses (but it should do no harm, since it is static). if test "$cf_nculib_root" = ncurses ; then -@@ -17672,7 +17672,7 @@ case "$host_os" in +@@ -17753,7 +17753,7 @@ case "$host_os" in fi case "$host_os" in -freebsd*) +XXXfreebsd*) # This is only necessary if you are linking against an obsolete # version of ncurses (but it should do no harm, since it is static). if test "$cf_nculib_root" = ncurses ; then -@@ -18539,7 +18539,7 @@ case "$host_os" in - +@@ -18621,3 +18621,3 @@ if test "$cf_result" = no ; then case "$host_os" in -freebsd*) +XXXfreebsd*) - echo "$as_me:18543: checking for tgoto in -lmytinfo" >&5 - echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6 - if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then -@@ -23147,13 +23147,15 @@ echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6 - echo "$as_me:23147: checking for OpenSSL" >&5 +@@ -23228,13 +23228,13 @@ echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6 + echo "$as_me:23228: checking for OpenSSL" >&5 echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6 -if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "openssl"; then - test -n "$verbose" && echo " found package openssl" 1>&6 -+## FreeBSD: Work around stupidity where base doesn't ship openssl pkg-config data -+#if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "openssl"; then -+# test -n "$verbose" && echo " found package openssl" 1>&6 ++# FreeBSD base does not provide openssl.pc. +if true; then - echo "${as_me:-configure}:23153: testing found package openssl ..." 1>&5 + echo "${as_me:-configure}:23234: testing found package openssl ..." 1>&5 - cf_pkgconfig_incs="`$PKG_CONFIG --cflags "openssl" 2>/dev/null`" - cf_pkgconfig_libs="`$PKG_CONFIG --libs "openssl" 2>/dev/null`" + cf_pkgconfig_incs="" + cf_pkgconfig_libs="-lssl -lcrypto" test -n "$verbose" && echo " package openssl CFLAGS: $cf_pkgconfig_incs" 1>&6 - echo "${as_me:-configure}:23159: testing package openssl CFLAGS: $cf_pkgconfig_incs ..." 1>&5 + echo "${as_me:-configure}:23240: testing package openssl CFLAGS: $cf_pkgconfig_incs ..." 1>&5 diff --git a/news/tin/pkg-plist b/news/tin/pkg-plist index 6fe3eddbbc4e..328e08728e72 100644 --- a/news/tin/pkg-plist +++ b/news/tin/pkg-plist @@ -1,30 +1,31 @@ bin/metamutt bin/opt-case.pl bin/rtin bin/tin bin/tinews.pl bin/tinurl_handler.pl bin/w2r.pl @sample etc/tin.defaults.sample %%NLS%%share/locale/da/LC_MESSAGES/tin.mo %%NLS%%share/locale/de/LC_MESSAGES/tin.mo %%NLS%%share/locale/en_GB/LC_MESSAGES/tin.mo %%NLS%%share/locale/es/LC_MESSAGES/tin.mo %%NLS%%share/locale/et/LC_MESSAGES/tin.mo %%NLS%%share/locale/fr/LC_MESSAGES/tin.mo +%%NLS%%share/locale/ka/LC_MESSAGES/tin.mo %%NLS%%share/locale/ro/LC_MESSAGES/tin.mo %%NLS%%share/locale/ru/LC_MESSAGES/tin.mo %%NLS%%share/locale/sv/LC_MESSAGES/tin.mo %%NLS%%share/locale/tr/LC_MESSAGES/tin.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/tin.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/tin.mo share/man/man1/opt-case.pl.1.gz share/man/man1/rtin.1.gz share/man/man1/tin.1.gz share/man/man1/tinews.pl.1.gz share/man/man1/tinurl_handler.pl.1.gz share/man/man1/w2r.pl.1.gz share/man/man5/rtin.5.gz share/man/man5/tin.5.gz share/man/man5/tin_mbox.5.gz share/man/man5/tin_mmdf.5.gz