diff --git a/news/tin/Makefile b/news/tin/Makefile index 1ce4e1b63977..fc99a1bb3969 100644 --- a/news/tin/Makefile +++ b/news/tin/Makefile @@ -1,107 +1,106 @@ PORTNAME= tin -PORTVERSION= 2.6.2 -PORTREVISION= 2 +PORTVERSION= 2.6.3 CATEGORIES+= news MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/v${PORTVERSION:R}/ \ ftp://ftp.sunet.se/pub/news/readers/tin/v${PORTVERSION:R}/ \ ftp://sunsite.icm.edu.pl/pub/unix/news/tin/v${PORTVERSION:R}/ \ ftp://ftp.ka.nu/pub/news/clients/tin/v${PORTVERSION:R}/ \ ftp://ftp.tau.ac.il/pub/unix/news/tin/v${PORTVERSION:R}/ \ ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/v${PORTVERSION:R}/ \ ftp://ftp.funet.fi/pub/unix/news/tin-unoff/ \ ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/ \ ftp://ftp.karlsruhe.org/pub/news/clients/tin/v${PORTVERSION:R}/ \ ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin/v${PORTVERSION:R}/ \ ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/v${PORTVERSION:R}/ \ ftp://ftp.informatik.uni-hamburg.de/pub/soft/news/tin/v${PORTVERSION: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 \ libpcre2-8.so:devel/pcre2 \ libuu.so:converters/uulib RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:misc/mime-support USES= gmake iconv ncurses pkgconfig shebangfix tar:bzip2 GNU_CONFIGURE= yes SHEBANG_FILES= tools/opt-case.pl tools/tinews.pl tools/url_handler.pl \ tools/w2r.pl TIN_EDITOR?= /usr/bin/ee TIN_SCREEN?= ncursesw OPTIONS_DEFINE= CANLOCK GNUPG ISPELL METAMAIL NLS NNTP_ONLY \ NNTPS SLRNFACE OPTIONS_DEFAULT= GNUPG ISPELL METAMAIL NNTPS OPTIONS_SUB= yes NNTP_ONLY_DESC= Only read news via NNTP (no spool dir support) NNTP_ONLY_CONFIGURE_ENABLE= nntp-only NNTPS_DESC= Enable NNTPS NNTPS_USES= ssl NNTPS_CONFIGURE_ON= --with-nntps GNUPG_RUN_DEPENDS= gpg:security/gnupg GNUPG_CONFIGURE_ON= --with-gpg=${LOCALBASE}/bin/gpg \ --without-pgp \ --without-pgpk GNUPG_CONFIGURE_OFF= --disable-pgp-gpg ISPELL_RUN_DEPENDS= ispell:textproc/aspell-ispell ISPELL_CONFIGURE_ON= --with-ispell=${LOCALBASE}/bin/ispell METAMAIL_DESC?= Use metamail to handle MIME attachments METAMAIL_RUN_DEPENDS= metamail:mail/metamail METAMAIL_CONFIGURE_ON= --with-metamail=${LOCALBASE}/bin/metamail CANLOCK_DESC= Enable Cancel-Lock key support via libcanlock CANLOCK_CONFIGURE_ENABLE= cancel-locks NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext SLRNFACE_DESC?= Use slrnface to displace sender images SLRNFACE_CONFIGURE_WITH= slrnface=slrnface SLRNFACE_BUILD_DEPENDS= slrnface:news/slrnface SLRNFACE_RUN_DEPENDS= slrnface:news/slrnface # --with-mime-default-charset=US-ASCII needed to build tin in the non-ascii # national environment. CONFIGURE_ARGS+= ${ICONV_CONFIGURE_ARG} \ --enable-break-long-lines \ --enable-ipv6 \ --with-defaults-dir=${PREFIX}/etc \ --with-editor=${TIN_EDITOR} \ --with-libdir=${PREFIX}/news/lib \ --with-mime-default-charset=US-ASCII \ --with-nntp-default-server=news \ --with-pcre2-config=${PREFIX}/bin/pcre2-config \ --with-screen=${TIN_SCREEN} \ --with-spooldir=/var/news MAKE_ARGS+= MAKE=${MAKE_CMD} CFLAGS+= -DNNTP_SERVER_FILE=\\\"${PREFIX}/etc/nntpserver\\\" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ALL_TARGET= build 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 ${LN} -sf tin ${STAGEDIR}${PREFIX}/bin/rtin .include diff --git a/news/tin/distinfo b/news/tin/distinfo index 576f03e07925..fe4024288891 100644 --- a/news/tin/distinfo +++ b/news/tin/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1674691088 -SHA256 (tin-2.6.2.tar.bz2) = f2a161c026c78f91536c33bd5fdf83f6fc140fbedd972fba353f2b9fa94c182a -SIZE (tin-2.6.2.tar.bz2) = 2280375 +TIMESTAMP = 1705619907 +SHA256 (tin-2.6.3.tar.bz2) = 2dc3fcd9779f6deae455d830ed965da492f4c5f3f4176358c59625a46934cca9 +SIZE (tin-2.6.3.tar.bz2) = 2359812 diff --git a/news/tin/files/patch-configure b/news/tin/files/patch-configure index 9ffb404a5c78..e9fa9640d679 100644 --- a/news/tin/files/patch-configure +++ b/news/tin/files/patch-configure @@ -1,49 +1,49 @@ ---- configure.orig 2022-12-24 23:00:29 UTC +--- configure.orig 2023-12-23 23:38:33 UTC +++ configure -@@ -13804,7 +13804,7 @@ case "$host_os" in +@@ -14931,7 +14931,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 -@@ -16120,7 +16120,7 @@ case "$host_os" in +@@ -17249,7 +17249,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 -@@ -16983,7 +16983,7 @@ case "$host_os" in +@@ -18116,7 +18116,7 @@ case "$host_os" in if test "$cf_result" = no ; then case "$host_os" in -freebsd*) +XXXfreebsd*) - echo "$as_me:16987: checking for tgoto in -lmytinfo" >&5 + echo "$as_me:18120: 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 -@@ -21363,13 +21363,15 @@ fi - - if test "$enable_nntps" = "yes" && test "$have_libtls" = "no" || test "$enable_nntps" = "openssl"; then +@@ -22699,13 +22699,15 @@ echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6 + echo "$as_me:22699: 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 +if true; then - echo "${as_me:-configure}:21369: testing found package openssl ..." 1>&5 + echo "${as_me:-configure}:22705: 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}:21375: testing package openssl CFLAGS: $cf_pkgconfig_incs ..." 1>&5 + echo "${as_me:-configure}:22711: testing package openssl CFLAGS: $cf_pkgconfig_incs ..." 1>&5