head	1.29;
access;
symbols
	pkgsrc-2026Q1:1.28.0.2
	pkgsrc-2026Q1-base:1.28
	pkgsrc-2025Q4:1.25.0.2
	pkgsrc-2025Q4-base:1.25
	pkgsrc-2025Q3:1.23.0.2
	pkgsrc-2025Q3-base:1.23
	pkgsrc-2025Q2:1.21.0.2
	pkgsrc-2025Q2-base:1.21
	pkgsrc-2025Q1:1.16.0.2
	pkgsrc-2025Q1-base:1.16
	pkgsrc-2024Q4:1.14.0.2
	pkgsrc-2024Q4-base:1.14
	pkgsrc-2024Q3:1.9.0.4
	pkgsrc-2024Q3-base:1.9
	pkgsrc-2024Q2:1.9.0.2
	pkgsrc-2024Q2-base:1.9
	pkgsrc-2024Q1:1.2.0.2
	pkgsrc-2024Q1-base:1.2;
locks; strict;
comment	@# @;


1.29
date	2026.04.02.02.00.53;	author ktnb;	state Exp;
branches;
next	1.28;
commitid	csskyUbx3wulhkAG;

1.28
date	2026.02.06.10.05.41;	author wiz;	state Exp;
branches;
next	1.27;
commitid	MwQEYCXeWSFvIitG;

1.27
date	2026.01.07.08.48.31;	author wiz;	state Exp;
branches;
next	1.26;
commitid	1wQ3ICD8eebefrpG;

1.26
date	2026.01.02.14.21.53;	author ktnb;	state Exp;
branches;
next	1.25;
commitid	DWBtkmIY6bJUgPoG;

1.25
date	2025.10.07.13.22.43;	author ktnb;	state Exp;
branches;
next	1.24;
commitid	JL7SRRmdQo40KDdG;

1.24
date	2025.10.05.19.26.14;	author js;	state Exp;
branches;
next	1.23;
commitid	U70EDQkwOmfbOpdG;

1.23
date	2025.08.04.01.51.14;	author ktnb;	state Exp;
branches;
next	1.22;
commitid	Y0UL8x9NpkikYl5G;

1.22
date	2025.06.30.11.09.38;	author ktnb;	state Exp;
branches;
next	1.21;
commitid	Kaudb2SAamkDbU0G;

1.21
date	2025.05.16.14.02.56;	author ktnb;	state Exp;
branches;
next	1.20;
commitid	CVDGVIBk7zPLA8VF;

1.20
date	2025.04.19.07.58.16;	author wiz;	state Exp;
branches;
next	1.19;
commitid	8J0gu7BGAw8XqDRF;

1.19
date	2025.04.17.21.52.07;	author wiz;	state Exp;
branches;
next	1.18;
commitid	xcIXAVA292fk6sRF;

1.18
date	2025.04.10.22.21.34;	author nia;	state Exp;
branches;
next	1.17;
commitid	bHTDoyriXi7IuyQF;

1.17
date	2025.03.31.13.52.18;	author ktnb;	state Exp;
branches;
next	1.16;
commitid	FAANbIkwDGCN0ePF;

1.16
date	2025.01.07.02.11.38;	author ktnb;	state Exp;
branches;
next	1.15;
commitid	eEBsGDR0hCgQNuEF;

1.15
date	2025.01.05.22.37.06;	author wiz;	state Exp;
branches;
next	1.14;
commitid	9UIDfIHlvIvaElEF;

1.14
date	2024.11.14.22.21.20;	author wiz;	state Exp;
branches;
next	1.13;
commitid	JmuDYqwL4erbdFxF;

1.13
date	2024.11.01.12.54.06;	author wiz;	state Exp;
branches;
next	1.12;
commitid	QB4Wk02mZPuBuWvF;

1.12
date	2024.11.01.00.53.19;	author wiz;	state Exp;
branches;
next	1.11;
commitid	QT27BdVP362gvSvF;

1.11
date	2024.10.07.15.26.04;	author ktnb;	state Exp;
branches;
next	1.10;
commitid	oD2FkFXwHqHI9KsF;

1.10
date	2024.10.01.01.16.54;	author ktnb;	state Exp;
branches;
next	1.9;
commitid	MJTS3HwQCKNmETrF;

1.9
date	2024.06.13.11.40.09;	author ktnb;	state Exp;
branches;
next	1.8;
commitid	S7kWMHYCHCJoDOdF;

1.8
date	2024.05.29.16.34.07;	author adam;	state Exp;
branches;
next	1.7;
commitid	n8aFyEjEVZA0JUbF;

1.7
date	2024.05.16.06.15.26;	author wiz;	state Exp;
branches;
next	1.6;
commitid	kYKPUni8AkogJbaF;

1.6
date	2024.05.06.08.40.31;	author jperkin;	state Exp;
branches;
next	1.5;
commitid	Xm6R3peSH7EgRU8F;

1.5
date	2024.05.06.08.27.55;	author jperkin;	state Exp;
branches;
next	1.4;
commitid	YcrhyZVPKZ0TMU8F;

1.4
date	2024.04.03.13.42.59;	author ktnb;	state Exp;
branches;
next	1.3;
commitid	qS3quBGqwoMsAH4F;

1.3
date	2024.04.03.00.55.28;	author ktnb;	state Exp;
branches;
next	1.2;
commitid	mavkyhmIFQeslD4F;

1.2
date	2024.03.14.09.17.49;	author wiz;	state Exp;
branches;
next	1.1;
commitid	L9Di4DuazmgML62F;

1.1
date	2024.02.19.01.38.56;	author gdt;	state Exp;
branches;
next	;
commitid	lT3qp3N2zo8k0ZYE;


desc
@@


1.29
log
@newsraft: update to 0.36

- fix year 2038 overflow in If-Modified-Since header
- set window title with an escape sequence
- update build instructions for macOS
- cancel search input with ^C key
- discard search query text on search input canceling
- extend menu-responsiveness setting to feeds and sections
- update items menu on mark-read-all regardless of menu-responsiveness
- respect RFC 3986 when detecting links in pager
@
text
@# $NetBSD: Makefile,v 1.28 2026/02/06 10:05:41 wiz Exp $

DISTNAME=	newsraft-0.36
CATEGORIES=	news
MASTER_SITES=	https://codeberg.org/newsraft/newsraft/archive/

MAINTAINER=	ktnb@@NetBSD.org
HOMEPAGE=	https://codeberg.org/newsraft
COMMENT=	Terminal based feed reader
LICENSE=	isc

WRKSRC=	${WRKDIR}/newsraft

USE_TOOLS+=	pkg-config pax
TOOL_DEPENDS+=	scdoc-[0-9]*:../../textproc/scdoc

MAKE_FILE=	makefile

EGDIR=			${PREFIX}/share/examples/newsraft

INSTALLATION_DIRS+=	bin man/man1 share/examples/newsraft

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/newsraft ${DESTDIR}${PREFIX}/bin && \
	${INSTALL_MAN} ${WRKSRC}/doc/newsraft.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
	cd ${WRKSRC}/doc/examples && ${PAX} -wr . ${DESTDIR}${EGDIR}

.include "../../databases/sqlite3/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../www/gumbo-parser/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.28
log
@*: recursive bump for nettle 4.0 shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2026/01/07 08:48:31 wiz Exp $
d3 1
a3 2
DISTNAME=	newsraft-0.35
PKGREVISION=	2
@


1.27
log
@*: recursive bump for icu 78.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2026/01/02 14:21:53 ktnb Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.26
log
@newsraft: update to 0.35

- add support for soft hyphens in pager
- fallback to attachment url if there is no item link
- fix nested parentheses parsing in $(...) feeds
- include categories when exporting/importing feeds to/from OPML
- exit early on invalid locale settings
- add hint about converting encodings to error message
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2025/10/07 13:22:43 ktnb Exp $
d4 1
@


1.25
log
@newsraft: update to 0.34

- add read-on-arrival setting
- add scrollwrap setting
- add color-list-item-selected setting
- add color-list-feed-selected setting
- add color-list-section-selected setting
- fix colorN value offset by 1 in color settings
- gracefully handle zero size state of terminal emulator
- apply search cumulatively instead of overwriting previous query
- don't remove trailing slashes from feed urls
- store feed urls without trailing slashes in the database
- let go of terminal control while executing commands
- add total items count specifier to menu-feed-entry-format
- provide update error for generator feeds on failed command
- use esc mode only when escape key is bound
- add items sorting by download time
- bind ? to exec man newsraft by default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2025/10/05 19:26:14 js Exp $
d3 1
a3 1
DISTNAME=	newsraft-0.34
@


1.24
log
@*: rev bump for curl
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2025/08/04 01:51:14 ktnb Exp $
d3 1
a3 2
DISTNAME=	newsraft-0.32
PKGREVISION=	1
@


1.23
log
@newsraft: 0.32

- add toggle-read action
- add toggle-important action
- add global-section-hide setting
- make FEATURECFLAGS in makefile universally correct for most
  platforms
- fix termbox2 behavior to handle TERMINFO environment variable as in
  ncurses
- provide more log information during termbox2 initialization
- prefer a link to webpage instead of feed URL when converting
  relative item links to absolute notation
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2025/06/30 11:09:38 ktnb Exp $
d4 1
@


1.22
log
@newsraft: update to 0.31

- removed curses in favor of termbox
- add download-max-connections setting
- add ignore-no-color setting
- add sort-by-time-update action
- add sort-by-time-publication action
- fallback to open in open-in-browser-command setting on macOS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2025/05/16 14:02:56 ktnb Exp $
d3 1
a3 1
DISTNAME=	newsraft-0.31
@


1.21
log
@newsraft: update to 0.30

- added edit action
- added find action
- added user_data column to feeds and items database tables
- added DB commands
- added next-error action
- added prev-error action
- added convert-opml-to-feeds scenario (argument for -e)
- added convert-feeds-to-opml scenario (argument for -e)
- added database-batch-transactions setting
- added REGEXP operator to item-rule setting
- report error when item-rule setting is invalid
- make items counting respect applied item-rule setting
- fallback to OSC 9 in notification-command setting
- fallback to OSC 52 in copy-to-clipboard-command setting
- rename analyze-database-on-startup setting to database-analyze-on-startup
- clarify that only one specifier can be put per field in item-content-format (#184 [9])
- delete yajl dependency, use json_tree() from sqlite to parse json
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2025/04/19 07:58:16 wiz Exp $
d3 1
a3 1
DISTNAME=	newsraft-0.30
a18 3
MAKE_FLAGS+=	CURSES_CFLAGS=-I${BUILDLINK_PREFIX.curses:Q}/include
MAKE_FLAGS+=	CURSES_LIBS=${BUILDLINK_LDADD.curses:Q}

a32 1
.include "../../mk/curses.buildlink3.mk"
@


1.20
log
@*: recursive bump for default Kerberos implementation switch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2025/04/17 21:52:07 wiz Exp $
d3 1
a3 2
DISTNAME=	newsraft-0.29
PKGREVISION=	3
a32 1
.include "../../devel/yajl/buildlink3.mk"
@


1.19
log
@*: recursive bump for icu 77 and libxml2 2.14
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2025/04/10 22:21:34 nia Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.18
log
@newsraft: Add support for NetBSD curses. Fix build on non-NetBSD.

This has a missing dependency on expat, which is builtin on
NetBSD, so it silently worked there.

The problem was identified by drecklypkg ci, which verified that
the build works on OpenBSD/FreeBSD/Linux/macOS. It's broken
on SunOS due to misusing _XOPEN_SOURCE_EXTENDED, but once that's
fixed another problem pops up.

Bump PKGREVISION for shared library change on NetBSD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/11/14 22:21:20 wiz Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.17
log
@newsraft: update to 0.29

- removed global pager for status messages
  - status messages related to each feed will be saved for each feed.
- add suppress-errors setting
- add menu-section-sorting setting
- add menu-responsiveness setting
- add color-list-feed-failed setting
- add color-list-section-failed setting
- add view-errors action (v key)
- add sort-by-initial action (z key)
- add select-next-page-half action (^D key)
- add select-prev-page-half action (^U key)
- delete status-history-menu action
- delete status-messages-count-limit setting
- make mark-item-read-on-hover setting scalable
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2025/01/07 02:11:38 ktnb Exp $
d4 1
a14 1
USE_LANGUAGES=	c
d20 3
d35 1
a35 1
.include "../../devel/ncurses/buildlink3.mk"
d38 1
@


1.16
log
@newsraft: udpate to 0.28

- add item-rule setting
- add item-rule setting
- add download-max-host-connections setting
- add sort-by-rowid action
- make notification-command setting scalable
- make color settings scalable
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2025/01/05 22:37:06 wiz Exp $
d3 1
a3 1
DISTNAME=	newsraft-0.28
@


1.15
log
@*: recursive bump for shlib major change in gumbo-parser 0.13.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/11/14 22:21:20 wiz Exp $
d3 1
a3 2
DISTNAME=	newsraft-0.27
PKGREVISION=	4
@


1.14
log
@*: recursive bump for icu 76 shlib major version bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2024/11/01 12:54:06 wiz Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.13
log
@*: revbump for icu downgrade
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2024/11/01 00:53:19 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.12
log
@*: recursive bump for icu 76.1 shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2024/10/07 15:26:04 ktnb Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.11
log
@newsraft: udpate to 0.27

bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2024/10/01 01:16:54 ktnb Exp $
d4 1
@


1.10
log
@newsraft: update to 0.26

- add tab characters rendering in plain text content
- add -e option to execute certain actions without getting into the
  menus
- add support for rdf-namespaced rss 1.0 feeds
- add support for relative links in feed elements
- add support for yyyy-mm-dd and yyyy/mm/dd dates in feeds
- add support for style attributes within cells of html tables
- make items menu regenerate upon returning from items menu obtained
  via goto-feed action
- make date parsing less strict
- report exit status of failed shell commands
- fix storing http headers behavior according to rfc9111 (4.3.4)
- fix difference in compiler flags between primary executable and test programs
- delete update-threads-count setting
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2024/06/13 11:40:09 ktnb Exp $
d3 1
a3 1
DISTNAME=	newsraft-0.26
@


1.9
log
@newsraft: update to 0.25

- add status-show-menu-path setting
- add status-placeholder setting
- add color-status setting
- add clean-status action
- delete color-status-good setting
- set human readable names for enter, escape and backspace keys
- fix crash when jumping to non-existent unread items within pager
- fix incorrect ttl element handling which could result in non-updating feeds
- simplify linking in tests/run-check.sh
- small improvements and reforms
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2024/05/29 16:34:07 adam Exp $
d3 1
a3 1
DISTNAME=	newsraft-0.25
@


1.8
log
@revbump after icu and protobuf updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2024/05/16 06:15:26 wiz Exp $
d3 1
a3 2
DISTNAME=	newsraft-0.24
PKGREVISION=	3
@


1.7
log
@*: recursive bump for gnutls p11-kit option

(existing installations need the bl3.mk included, but it's now only
optionally included)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2024/05/06 08:40:31 jperkin Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.6
log
@*: Revision bumps for ncurses 6.5 overhaul.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2024/05/06 08:27:55 jperkin Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.5
log
@*: Switch packages to combined ncurses package.

CURSES_TYPE=ncursesw is no longer valid, update matches to use ncurses.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2024/04/03 13:42:59 ktnb Exp $
d4 1
@


1.4
log
@newsraft: update to 0.24

- implement per-feed settings
- implement per-feed binds
- add reload-period setting
- add item-limit setting
- add pager-centering setting
- add mark-item-unread-on-change setting
- add item-content-link-format setting
- add goto-feed action
- add sort-by-important action
- add support for setting lines without set keyword at the beginning
- apply search filter to item content as well
- rebind mark-important and mark-unimportant to f and F
- fallback to updated date in item entries for publication date
  specifier
- remove send-user-agent-header setting
- make use of gperf hashing to slightly speed up feed parsing
- make use of CC environment variable for compiler in tests
- small improvements and reforms

https://codeberg.org/newsraft/newsraft/releases/tag/newsraft-0.24
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2024/04/03 00:55:28 ktnb Exp $
d32 1
a32 1
.include "../../devel/ncursesw/buildlink3.mk"
@


1.3
log
@updated to use my NetBSD address
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2024/03/14 09:17:49 wiz Exp $
d3 1
a3 1
DISTNAME=	newsraft-0.23
@


1.2
log
@news/newsraft: Update to 0.23

Provided by Kevin Bloom via wip.

- set limits to feeds/sections with curly brackets in feeds config
- add system notifications via notification-command setting
- add pager-width setting, set it to 100
- add sorting to feeds menu
- add shift-west, shift-east and shift-reset actions
- remove items-count-limit setting
- remove initial-unread-first-sorting setting
- remove toggle-unread-first-sorting action
- merge foreground and background color settings
- bind toggle-explore-mode action to tab (^I)
- bind scroll down to select-next, bind scroll up to select-prev
- fix ignoring search query when marking items read/unread
- fix poor termination after invalid terminal size
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2024/02/19 01:38:56 gdt Exp $
d7 1
a7 1
MAINTAINER=	ktnb@@posteo.net
@


1.1
log
@news/newsraft: Add newsraft version 0.22

Prepared in wip by Kevin Bloom.

newsraft is a feed reader with a ncurses user interface. It attempts
to be lightweight version newsboat. newsraft supports parallel
downloads, section-based feeds grouping, opening links in any
program, viewing news from all feeds with explore mode, automatic
updates for feeds and sections, multiple actions key bindings,
support for feed generating scripts, text search by news titles,
and interactive interface for viewing news content.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	newsraft-0.22
d7 1
a7 1
MAINTAINER=	kevin.bloom@@posteo.net
@

