Update provided by Michael Bäuerle in wip/tin. -- 2.4.3 release 20181224 "Glen Mhor" -- 012) Thomas E. Dickey <dickey@invisible-island.net> ADD. update configure macros ADD. check for va_copy() for pre C99 systems FIX. aclocal.m4, configure[.in], autoconf.h[in], tin.h, memory.c screen.c, string.c, tcurses.c 011) Francisco Javier Serrador <fserrador@gmail.com> ADD. spanish translation FIX. es.po 010) Matt Anton <tin@lv223.org> ADD. updated french translation FIX. fr.po 009) Dennis Preiser <dennis@d--p.de> BUG. ensure destination of match_string() is NULL terminated BUG. possible buffer overflows with long translations BUG. fixed length buffer in rfc1522_decode() may overflow ADD. don't idna_decode() strings which are not IDNA encoded ADD. ability to filter on Path:-header FIX. art.c, config.c, feed.c, filter.c, getline.c, help.c, lang.c main.c, memory.c, nntplib.c, page.c, rfc2047.c, save.c, screen.c extern.h, nntplib.h, proto.h, tin.h, tin.5 008) Urs Janssen <urs@tin.org> ADD. config.guess, config.sub update ADD. checks for explicit_bzero(), explicit_memset(), memset_s() ADD. check for unicode/unorm2.h to favor unorm2_normalize() over unorm_normalize() if found ADD. NFKC_case_fold normalization if unicode/unorm2.h is found ADD. don't strip binray with "make install" ADD. match_string()/match_item() now stop on first '\n' ADD. don't show broken active file messages if not running with -D 1 ADD. accept arbitrary line length in mail.active file ADD. allow (multiple) -v for debug mode ADD. honor NDEBUG in assert() replacement BUG. possible buffer overflow when prompting for a wildcard search pattern in get_search_pattern() BUG. possible buffer overflows with long translations BUG. pointer arithmetic with possible NULL pointer BUG. didn't recheck CAPABILITIES after auth BUG. transport-padding on mime boundaries wasn't ignored BUG. get_group_from_list() used in 'L'lookup_msgid() couldn't handle FWS as of RFC 5536 3.1.4. ADD. rename FOLLOW_USEFOR_DRAFT to ALLOW_FWS_IN_NEWSGROUPLIST ADD. remove some redundant assigns ADD. switch from autoconf-2.13.20110430 to autoconf-2.52.20181006 ADD. be more verbose on connections errors when get_tcp6_socket() is used (debian bug #232924) FIX. active.c, art.c, auth.c, config.c, cook.c, debug.c, feed.c getline.c, group.c, header.c, help.c, init.c, keymap.c, lang.c list.c, mail.c, main.c, misc.c, newsrc.c, nntplib.c, options_menu.c page.c, post.c, read.c, rfc1524.c, rfc2045.c, rfc2046.c, rfc2047.c save.c, search.c, screen.c, select.c, signal.c, sigfile.c strftime.c, string.c, extern.h, proto.h, tin.h, config.guess config.sub, aclocal.m4, configure[.in], autoconf.h[in] Makefile[.in], tin.1, tin.5
64 lines
2.2 KiB
Makefile
64 lines
2.2 KiB
Makefile
# $NetBSD: Makefile,v 1.83 2019/01/15 15:48:17 wiz Exp $
|
|
|
|
DISTNAME= tin-2.4.3
|
|
CATEGORIES= news
|
|
MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/
|
|
MASTER_SITES+= ftp://ftp.funet.fi/pub/unix/news/tin-unoff/
|
|
MASTER_SITES+= ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/
|
|
MASTER_SITES+= ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/stable/
|
|
MASTER_SITES+= ftp://sunsite.icm.edu.pl/pub/unix/news/tin/stable/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.tin.org/
|
|
COMMENT= USENET newsreader (termcap based)
|
|
# See src/nntplib.c, vms/vms.c
|
|
LICENSE= tin-license
|
|
|
|
RESTRICTED= Profit from use, sale, trade, or reproduction disallowed
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_PKGLOCALEDIR=yes
|
|
|
|
INSTALLATION_DIRS= share/doc/tin
|
|
|
|
# for tinews.pl
|
|
USE_TOOLS+= msgfmt perl:run yacc
|
|
REPLACE_PERL= tools/*.pl
|
|
BUILD_TARGET= build
|
|
|
|
.include "options.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-nntp-default-server=news
|
|
CONFIGURE_ARGS+= --with-mime-default-charset=ISO-8859-1
|
|
CONFIGURE_ARGS+= --enable-break-long-lines
|
|
CONFIGURE_ARGS+= --with-gpg=${PREFIX}/bin/gpg
|
|
CONFIGURE_ARGS+= --with-ispell=${PREFIX}/bin/ispell
|
|
CONFIGURE_ARGS+= --with-metamail=${PREFIX}/bin/metamail
|
|
CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre}
|
|
CONFIGURE_ARGS+= --disable-mime-strict-charset
|
|
CONFIGURE_ARGS+= --with-defaults-dir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --enable-mh-mail-handling
|
|
CONFIGURE_ARGS+= --with-coffee
|
|
|
|
SUBST_CLASSES+= tin
|
|
SUBST_STAGE.tin= pre-configure
|
|
SUBST_MESSAGE.tin= Adjusting path to the configuration directory.
|
|
SUBST_FILES.tin= doc/tin.1
|
|
SUBST_SED.tin= -e 's:/etc/nntpserver:${PKG_SYSCONFDIR}/nntp/server:'
|
|
|
|
post-configure:
|
|
${ECHO} '#define NNTP_SERVER_FILE "${PKG_SYSCONFDIR}/nntp/server"' >>${WRKSRC}/include/autoconf.h
|
|
${ECHO} '#define SMTP_SERVER_FILE "${PKG_SYSCONFDIR}/smtpserver"' >>${WRKSRC}/include/autoconf.h
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/tin
|
|
${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/mmdf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/tin-mmdf.5
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../converters/uulib/buildlink3.mk"
|
|
.include "../../devel/libidn/buildlink3.mk"
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|