[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / news / tin

File: [cvs.NetBSD.org] / pkgsrc / news / tin / Makefile (download)

Revision 1.46, Wed Nov 30 21:22:41 2011 UTC (8 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.45: +4 -5 lines

Update to new stable release 2.0.0.

-- 2.0.0 release 20110823 "Ardenistiel" --

U029) Thomas E. Dickey <dickey@invisible-island.net>
      ADD. update configure macros; switch to 2.13.20110430
      ADD. --with-pkg-config configure switch
      ADD. --with-textdomain configure switch
      ADD. don't use hardcoded number of available colors; don't try to set
           colors out of identified range
      FIX. color.c, curses.c, init.c, main.c, tcurses.c, autoconf.h[in]
           proto.h aclocal.m4, configure[.in], Makefile, Makefile.in
           install-sh

U028) Dennis Preiser <dennis@d--p.de>
      BUG. used preprocessor directives within snprintf which may be
           implemented as a macro
      BUG. fixed a typo
      BUG. fixed several display problems in the !USE_CURSES case
      BUG. fixed several display problems with non default foreground and
           background colors.
      BUG. dead increment
      BUG. didn't unfold structured news_headers_to_display before calling
           convert_to_printable which replaces \n with ?
      BUG. scopes with just quick_{kill,select}_* rules got lost when
           entering the scopes menu
      BUG. last option in options 'M'enu may be invisible
      BUG. unnecessary screen redraw in options 'M'enu
      ADD. reject out of range background colors in menu/tinrc
      ADD. removed some unnecessary variables
      ADD. PageToggleAllHeaders
      ADD. do not strip tabs from Subject or Organization in page header
      ADD. tinrc.utf8_graphics to use UTF-8 characters for various graphics
      FIX. extern.h, keymap.h, proto.h, tcurses.h, tin.h, tinrc.h, art.c
           attrib.c, charset.c, color.c, config.c, cook.c, curses.c, feed.c
           filter.c, group.c, help.c, init.c, keymap.c, lang.c, mail.c, misc.c
           nntplib.c, options_menu.c, page.c, pgp.c, post.c, prompt.c, read.c
           rfc2046.c, save.c, screen.c, select.c, string.c, tcurses.c, thread.c
           tincfg.tbl, tin.1, tin.5, keymap.sample

U027) Urs Janssen <urs@tin.org>
      BUG. used preprocessor directives within snprintf which may be
           implemented as a macro
      BUG. tinrc.ask_for_metamail had no effect
      BUG. CHECK_SIGN for gpg was wrong (at least for gpg 1.4.x)
      BUG. .so TLD wasn't allowed but is in use since 11/2010
      BUG. .xxx gTLD wasn't allowed but is in use since 04/2011
      BUG. .yu TLD was still allowed but is defunct since 04/2010
      BUG. forged supersedes (-DFORGERY) were only allowed via 'x'(repost)
           but not via 'D'(cancel)
      BUG. superseding own articles in forgery conf. didn't add Cancel-Key
      BUG. possible double fclose
      ADD. allow -- in domain names in URL_REGEX and NEWS_REGEX
      ADD. allow new IDN ccTLDs of Algeria, India, Korea, Morocco, Serbia
           Singapore and Syria
      REM. Kinyarwanda po files
      REM. configure check for unused getpass(3)
      ADD. cache getenv("NNTPSERVER") result early
      ADD. -4 / -6 cmd. line switch
      ADD. config.guess, config.sub update
      ADD. configure check for stdint.h and inttypes.h
      ADD. configure check for fsync()
      FIX. help.c, init.c, lang.c, main.c, newsrc.c, nntplib.c, pgp.c, post.c
           prompt.c save.c, extern.h, policy.h, tin.h, tincfg.tbl
           Makefile[.in], autoconf.h[in], configure[.in], config.guess
           config.sub, tin.1, rw.po

U026) Matt Anton <tin@syrius.org>
      ADD. updated french translation
      FIX. fr.po

-- 1.9.6 release 20101126 "Burnside" --

U025) Matt Anton <tin@syrius.org>
      ADD. updated french translation
      FIX. fr.po

U024) Toomas Soome <Toomas.Soome@microlink.ee>
      ADD. updated estonian translation
      FIX. et.po

U023) Joe Hansen <joedalton2@yahoo.dk>
      ADD. updated danish translation
      FIX. da.po

U022) Thomas E. Dickey <dickey@invisible-island.net>
      BUG. _XOPEN_SOURCE was defined on darwin
      ADD. CF_SIGWINCH - compile check for SIGWINCH
      FIX. aclocal.m4, configure[.in], Makefile[.in]

U021) Dennis Preiser <dennis@d--p.de>
      BUG. SIGWINCH at page level after a connection timeout lead to a crash
      BUG. no SIGWINCH hadling in setup_check_article()
      BUG. comments in references were not skipped
      BUG. fixed some display problems in the !USE_CURSES case
      ADD. info message on SearchRepeat without previous search
      ADD. attachment level 'V' at the article-pager
      ADD. URL level 'U' at the article-pager
      ADD. cancel article 'D' to the group and thread level
      ADD. shell escape '!' to the 'M'enu
      ADD. workaround for buggy isspace() implementations
      ADD. tinrc.abbreviate_groupname option
      ADD. don't take a copy of the article in raw mode when reading from
           local-spool
      ADD. skip over text/plain parts in multibyte charsets which may contain
           null-bytes
      ADD. message/rfc822 mime-parts are now parsed and included text/plain
           parts are shown to the user
      BUG. highlighting for SearchBody didn't work
      BUG. depending on used terminal highlighting sometimes ran too far
      BUG. fixed several sorting/threading/filtering options which did not
           instantly reflect changes when not beeing in select level
      BUG. help string was truncated at cCOLS without checking if inside a
           multibyte sequence
      BUG. build_gline() miscalculates free space for utf-8 groups &
           descriptions
      FIX. art.c, attrib.c, color.c, config.c, cook.c, curses.c, filter.c
           group.c, help.c, init.c, keymap.c, lang.c, mail.c, main.c, misc.c
           newsrc.c, nntplib.c, options_menu.c, page.c, post.c, prompt.c
           refs.c, rfc2046.c, rfc2047.c, save.c, screen.c, select.c, signal.c
           string.c, tags.c, thread.c, extern.h, keymap.h, proto.h, rfc2046.h
           tin.h, tinrc.h, tincfg.tbl, tin.1, tin.5, keymap.sample

U020) Urs Janssen <urs@tin.org>
      ADD. minor manpage tweaking
      ADD. config.guess, config.sub update
      ADD. disallow postings to 'j' groups
      ADD. disallow 198.51.100.0/24 and 203.0.113.0/24 in gnksa-checks
      ADD. forbid "poster" in Newsgroups, warn about "example" in Newsgroups
      ADD. forbid "poster" and a groupname in Followup-To, warn about "example"
           in Followup-To
      ADD. allow IDN ccTLDs in 'GNKSA'-parser
      ADD. keep failed article in dead.article is server closes the
           connection and no reconnection is done.
      BUG. DEFAULT_VERBATIM_BEGIN_REGEX / DEFAULT_VERBATIM_END_REGEX allowed
           tailing text in the line
      BUG. da.po was missing from the tarball
      BUG. x-posting to an unexisting group named first in Newsgroups caused
           a crash
      BUG. remembered capabilities over reconnects, they are flushed now
      BUG. memleak on duplicated overview fields
      BUG. don't send GROUP for groups not listed in the servers active file
           when newsrc_active && list_active is set
      FIX. active.c, art.c, attrib.c, config.c, curses.c, filter.c, init.c
           lang.c, misc.c, newsrc.c, nntplib.c, post.c, rfc2047.c, save.c
           select.c, sigfile.c, string.c, tcurses.c, thread.c, extern.h
           nntplib.h, policy.h, tin.h, Makefile, tin.1, tin.5, config.guess
           config.sub

-- 1.9.5 release 20091224 "Lochruan" --

U019) Urs Janssen <urs@tin.org>
      ADD. MarkFeedRead ^X / MarkFeedUnread ^Y to thread-level
      ADD. configure check for gethostbyname in libnetwork (Haiku)
      ADD. check if SIGBUS == SIGSEGV (Haiku)
      ADD. don't define HAVE_LINK on Haiku
      ADD. config.guess, config.sub update
      FIX. help.c, keymap.c, signal.c, thread.c, extern.h, tin.1, tin.5
           configure.in, aclocal.m4, config.guess, config.sub

U018) Frederic Briere <fbriere@fbriere.net>
      ADD. MarkFeedRead ^X / MarkFeedUnread ^W to page-level
      FIX. feed.c, group.c, help.c, keymap.c, lang.c, extern.h, keymap.h, tin.h

U017) Joe Hansen <joedalton2@yahoo.dk>
      ADD. initial danish translation
      FIX. da.po

U016) Volker Borchert <v.borchert@vistecprivat.de>
      BUG. used towupper() in the !MULTIBYTE_ABLE case
      ADD. fallback for missing sys_errlist declaration
      FIX. prompt.c, string.c, pcre/Makefile[.in]

U015) Dennis Preiser <dennis@d--p.de>
      ADD. scope and attributes menu
      ADD. help pages to the various menus
      ADD. PageSkipIncludedText now skips over the next quoted block
      ADD. runtime calculation of the filter file offset
      ADD. '-w' now suggests the first given cmd-line group to post to
      ADD. '-s', '-m' and '-G' cmd-line switches no longer change the
           corresponding tinrc values
      ADD. -G for the !NNTP-case
      ADD. disable creation of cached overviews in getart_limit case
      ADD. disable getart_limit in -u case
      ADD. mail/pipe/print articles now work on ranges
      ADD. NNTP read timeout
      BUG. maildirs starting with '=' caused tin to hang after 's'aving an
           article to a mailbox
      BUG. savedirs starting with '+' caused tin to hang after 's'aving an
           article to a file
      BUG. in rare cases (aborted article load or '-' after cancel) one
           article was incorrectly marked as unavailable
      BUG. memleaks in canlock operations
      BUG. fix a long overflow in print_bitmap_seq() when xmax = __LONG_MAX__
      BUG. didn't create Message-ID when cancelling own article when
           configured as FORGERY + EVIL_INSIDE
      BUG. batch mode wasn't as quitet/as verbose as it could be
      BUG. aborted prompt_getart_limit() lost previous value
      BUG. MARK_FEED_READ/MARK_FEED_UNREAD in thread level with no selected
           or tagged arts and selecting 'a' marks the base-art read/unead
      BUG. signal handler not unset while piping
      BUG. sort_article_type didn't always work correct with
           thread_articles={2,3}
      BUG. realloc in expand_ctrl_chars() caused a crash
      FIX. active.c, art.c, attrib.c, auth.c, config.c, cook.c, curses.c
           feed.c, filter.c, group.c, help.c, inews.c, init.c, keymap.c, lang.c
           mail.c, main.c, makecfg.c, memory.c, misc.c, newsrc.c, nntplib.c
           nrctbl.c, options_menu.c, page.c, post.c, prompt.c, read.c
           rfc1524.c, rfc2046.c, save.c, select.c, sigfile.c, signal.c
           tcurses.c, thread.c, tincfg.tbl, extern.h, keymap.h, nntplib.h
           proto.h, tcurses.h, tin.h, tinrc.h, tin.1, tin.5

U014) Urs Janssen <urs@tin.org>
      ADD. minor code cleanup
      ADD. assume pid_t is long instead of int
      ADD. comment out trace.o dependeny-rule if not configured --with-trace
      ADD. disable abort-posting for cursor-keys on check-article screen
           (debian bug #231070)
      ADD. try AUTHINFO USER/PASS on -A if CAPABILITIES didn't announce any
           supported auth methods
      ADD. config.guess, config.sub update
      ADD. configure check for towupper(), wcscat(), wcscpy() and wctomb() in
           AM_MULTIBYTE_ABLE
      ADD. disallow 192.0.2.0/24 in gnksa-checks
      ADD. convert MOTD from UTF-8 to local-charset
      ADD. warn about aliased groups
      ADD. reduce number of "LIST ACTIVE grp" cmds send with -n if server
           announces "LIST ACTIVE" capabillity
      ADD. reduce number of "LIST NEWSGROUPS grp" cmds send with -n if server
           announces "LIST NEWSGROUPS" capabillity
      ADD. prefer "LIST COUNTS" over "LIST ACTIVE" when announced via
           CAPABILITIES
      BUG. NULL was only allowed once to unbound a keymapping
      BUG. don't de/encode header(-fields) which can not hold RFC2047-encoded
           words (but strings which may look like encoded words)
      BUG. memleaks in cancel_article(), submit_mail_file(),
           create_normal_article_headers()
      BUG. expand_ctrl_chars() misscalculated tabexpansion on multiline input
      BUG. uuencoded parts might get 'V'iewd twice
      BUG. when pipelinming GROUP cmds. and server requires auth for some groups
           tin got confused
      BUG. attributes autoupdate on version change didn't work
      BUG. entered wrong group at startup if a groupname was given on the
           cmd.-line and there were new groups on the server
      REM. AUTHINFO GENERIC support
      FIX. active.c, art.c, attrib.c, auth.c, charset.c, color.c, config.c
           cook.c, debug.c, filter.c, init.c, keymap.c, lang.c, mail.c, main.c
           memory.c, misc.c, my_tmpfile.c, newsrc.c, nntplib.c, pgp.c, post.c
           prompt.c, refs.c, rfc2047.c, save.c, select.c, xref.c, extern.h
           nntplib.h, proto.h, tin.h, configure[.in], src/Makefile[.in]
           aclocal.m4, tin.1, tin.5

# $NetBSD: Makefile,v 1.46 2011/11/30 21:22:41 wiz Exp $
#

DISTNAME=	tin-2.0.0
CATEGORIES=	news
MASTER_SITES=	ftp://ftp.tin.org/pub/news/clients/tin/stable/ \
		ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/stable/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	wiz@NetBSD.org
HOMEPAGE=	http://www.tin.org/
COMMENT=	TIN newsreader (termcap based)
# See src/nntplib.c, vms/vms.c
LICENSE=	tin-license

RESTRICTED=	Profit from use, sale, trade, or reproduction disallowed
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}

GNU_CONFIGURE=	yes
USE_PKGLOCALEDIR=yes

INSTALLATION_DIRS=	share/doc/tin
PKG_DESTDIR_SUPPORT=	user-destdir

# 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-forgery
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=${PREFIX}/etc
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:${PREFIX}/etc/nntp/server:'

post-configure:
	${ECHO} '#define NNTP_SERVER_FILE "${PREFIX}/etc/nntp/server"' >>${WRKSRC}/include/autoconf.h
	${ECHO} '#define SMTP_SERVER_FILE "${PREFIX}/etc/smtpserver"' >>${WRKSRC}/include/autoconf.h

post-install:
	${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/tin

.include "../../converters/libiconv/buildlink3.mk"
.include "../../converters/uulib/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"