Re: NEW: www/sfeed and www/sfeed_curses (RSS/Atom tool and reader)

2021-09-08 Thread Frederic Cambus
On Mon, Sep 06, 2021 at 06:49:03PM +, Brian Callahan wrote:
> > 
> > It would be nice if it is packaged in the OpenBSD 7.0 release.
> 
> If someone wants to import with my ok too, go ahead. I won't be able to get
> around to this myself for the next several days.

This has now been committed, thanks for your submissions Hiltjo!



Re: NEW: www/sfeed and www/sfeed_curses (RSS/Atom tool and reader)

2021-09-06 Thread Brian Callahan

Hello --

On 09/06/2021 02:19 PM, Hiltjo Posthuma wrote:

On Fri, Sep 03, 2021 at 02:16:31PM +0200, Frederic Cambus wrote:

On Sun, Aug 29, 2021 at 03:36:40PM +0200, Hiltjo Posthuma wrote:

> > Other than that, both look good and following your readmes and sample
> > sfeedrc gets everything working on my machine.

Same here, works as advertised on my machine.

> I've attached an updated tarball of the ports with your recommended changes.

Looks good to me, OK fcambus@ to import.


Hi,

Sorry if I'm impatient, is it possible to import it now? :)

It would be nice if it is packaged in the OpenBSD 7.0 release.

Thanks,


If someone wants to import with my ok too, go ahead. I won't be able to 
get around to this myself for the next several days.


~Brian



Re: NEW: www/sfeed and www/sfeed_curses (RSS/Atom tool and reader)

2021-09-06 Thread Hiltjo Posthuma
On Fri, Sep 03, 2021 at 02:16:31PM +0200, Frederic Cambus wrote:
> On Sun, Aug 29, 2021 at 03:36:40PM +0200, Hiltjo Posthuma wrote:
> 
> > > Other than that, both look good and following your readmes and sample
> > > sfeedrc gets everything working on my machine.
> 
> Same here, works as advertised on my machine.
> 
> > I've attached an updated tarball of the ports with your recommended changes.
> 
> Looks good to me, OK fcambus@ to import.

Hi,

Sorry if I'm impatient, is it possible to import it now? :)

It would be nice if it is packaged in the OpenBSD 7.0 release.

Thanks,

-- 
Kind regards,
Hiltjo



Re: NEW: www/sfeed and www/sfeed_curses (RSS/Atom tool and reader)

2021-09-03 Thread Frederic Cambus
On Sun, Aug 29, 2021 at 03:36:40PM +0200, Hiltjo Posthuma wrote:

> > Other than that, both look good and following your readmes and sample
> > sfeedrc gets everything working on my machine.

Same here, works as advertised on my machine.

> I've attached an updated tarball of the ports with your recommended changes.

Looks good to me, OK fcambus@ to import.



Re: NEW: www/sfeed and www/sfeed_curses (RSS/Atom tool and reader)

2021-08-29 Thread nathanael
hi

Hiltjo Posthuma  wrote:
> I'd like to submit my project sfeed (www/sfeed) and sfeed_curses
> (www/sfeed_curses) as a port for OpenBSD.

i am using sfeed and sfeed_curses daily and would love to see this accepted 
into ports

thanks for your work hiltjo!

regards
nathanael



Re: NEW: www/sfeed and www/sfeed_curses (RSS/Atom tool and reader)

2021-08-29 Thread Hiltjo Posthuma
On Sun, Aug 29, 2021 at 01:08:17PM +, Brian Callahan wrote:
> Hi Hiltjo --
> 
> On 08/29/2021 07:34 AM, nathanael wrote:
> > hi
> > 
> > Hiltjo Posthuma  wrote:
> > > I'd like to submit my project sfeed (www/sfeed) and sfeed_curses
> > > (www/sfeed_curses) as a port for OpenBSD.
> > 
> 
> Thanks for the port.
> www/sfeed is ok for me, perhaps with HOMEPAGE set to
> https://codemadness.org/sfeed.html since it seems like that's where the info
> for the program lives.
> 
> For www/sfeed_curses, same perhaps with HOMEPAGE it should be set to
> https://codemadness.org/sfeed_curses-ui.html
> Also, WANTLIB needs curses, since it links with curses.
> Finally, it seems like adding an RDEP on sfeed makes sense. While it seems
> like one could use sfeed_curses without sfeed installed (by writing out
> sfeed-style RSS entries by hand), you don't actually intend for sfeed_curses
> to be used like that.
> 
> Other than that, both look good and following your readmes and sample
> sfeedrc gets everything working on my machine.
> 
> Thanks.
> 
> ~Brian

Thanks a lot for the feedback!

I've attached an updated tarball of the ports with your recommended changes.

-- 
Kind regards,
Hiltjo


www_sfeed.tgz
Description: application/tar-gz


Re: NEW: www/sfeed and www/sfeed_curses (RSS/Atom tool and reader)

2021-08-29 Thread Brian Callahan

Hi Hiltjo --

On 08/29/2021 07:34 AM, nathanael wrote:

hi

Hiltjo Posthuma  wrote:

I'd like to submit my project sfeed (www/sfeed) and sfeed_curses
(www/sfeed_curses) as a port for OpenBSD.




Thanks for the port.
www/sfeed is ok for me, perhaps with HOMEPAGE set to 
https://codemadness.org/sfeed.html since it seems like that's where the 
info for the program lives.


For www/sfeed_curses, same perhaps with HOMEPAGE it should be set to 
https://codemadness.org/sfeed_curses-ui.html

Also, WANTLIB needs curses, since it links with curses.
Finally, it seems like adding an RDEP on sfeed makes sense. While it 
seems like one could use sfeed_curses without sfeed installed (by 
writing out sfeed-style RSS entries by hand), you don't actually intend 
for sfeed_curses to be used like that.


Other than that, both look good and following your readmes and sample 
sfeedrc gets everything working on my machine.


Thanks.

~Brian



Re: NEW: www/sfeed and www/sfeed_curses (RSS/Atom tool and reader)

2021-08-28 Thread prx
Hi,
This was on my to-do list d'or a while.
I use sfeed daily through a cron job and ftp for fetching feeds.
It works like a charm, I just had to increase the summary lenght for 
sfeed_plain.
Thank you for sfeed, and suggesting a port.

Le 28 août 2021 13:23:21 GMT+02:00, Hiltjo Posthuma  a 
écrit :
>Hi,
>
>I'd like to submit my project sfeed (www/sfeed) and sfeed_curses
>(www/sfeed_curses) as a port for OpenBSD.
>
>The attached gzipped tarball contains both ports.
>
>
>sfeed
>-
>
>sfeed is a RSS and Atom parser (and some format programs).
>
>It converts RSS or Atom feeds from XML to a TAB-separated file. There are
>formatting programs included to convert this TAB-separated format to various
>other formats. There are also some programs and scripts included to import and
>export OPML and to fetch, filter, merge and order feed items.
>
>This simple text format works well with standard UNIX tools such as awk(1).
>
>The programs make use of pledge(2) with few promises, for example the core
>sfeed parser program has a pledge("stdio", NULL) and parses data from stdin, it
>is network protocol-agnostic and can be used easily for example with the
>OpenBSD ftp(1) program of the base system.
>
>Like so:
>   ftp -M -V -w 15 -o - 'https://undeadly.org/cgi?action=rss' | \
>   sfeed | \
>   sfeed_plain
>
>This command fetches the undeadly.org RSS feed, pipes it to sfeed which
>converts it from XML to TSV then pipes it to the formatting program sfeed_plain
>which formats it to a plain-text list.
>
>It has few dependencies and should work on all OpenBSD architectures.
>
>Blog post: https://codemadness.org/sfeed.html
>README:https://git.codemadness.org/sfeed/file/README.html
>Git repo:  git://git.codemadness.org/sfeed/
>Releases:  https://codemadness.org/releases/sfeed/
>Releases feed: https://git.codemadness.org/sfeed/tags.xml
>
>
>sfeed_curses
>
>
>sfeed_curses is a curses UI front-end for sfeed.
>
>It shows the TAB-separated feed items in a graphical command-line UI. The
>interface has a look inspired by the mutt mail client. It has a sidebar panel
>for the feeds, a panel with a listing of the items and a small statusbar for
>the selected item/url. Some functions like searching and scrolling are
>integrated in the interface itself.
>
>Blog post: https://codemadness.org/sfeed_curses.html
>README:https://git.codemadness.org/sfeed_curses/file/README.html
>Git repo:  git://git.codemadness.org/sfeed_curses/
>Releases:  https://codemadness.org/releases/sfeed_curses/
>Releases feed: https://git.codemadness.org/sfeed_curses/tags.xml
>



NEW: www/sfeed and www/sfeed_curses (RSS/Atom tool and reader)

2021-08-28 Thread Hiltjo Posthuma
Hi,

I'd like to submit my project sfeed (www/sfeed) and sfeed_curses
(www/sfeed_curses) as a port for OpenBSD.

The attached gzipped tarball contains both ports.


sfeed
-

sfeed is a RSS and Atom parser (and some format programs).

It converts RSS or Atom feeds from XML to a TAB-separated file. There are
formatting programs included to convert this TAB-separated format to various
other formats. There are also some programs and scripts included to import and
export OPML and to fetch, filter, merge and order feed items.

This simple text format works well with standard UNIX tools such as awk(1).

The programs make use of pledge(2) with few promises, for example the core
sfeed parser program has a pledge("stdio", NULL) and parses data from stdin, it
is network protocol-agnostic and can be used easily for example with the
OpenBSD ftp(1) program of the base system.

Like so:
ftp -M -V -w 15 -o - 'https://undeadly.org/cgi?action=rss' | \
sfeed | \
sfeed_plain

This command fetches the undeadly.org RSS feed, pipes it to sfeed which
converts it from XML to TSV then pipes it to the formatting program sfeed_plain
which formats it to a plain-text list.

It has few dependencies and should work on all OpenBSD architectures.

Blog post: https://codemadness.org/sfeed.html
README:https://git.codemadness.org/sfeed/file/README.html
Git repo:  git://git.codemadness.org/sfeed/
Releases:  https://codemadness.org/releases/sfeed/
Releases feed: https://git.codemadness.org/sfeed/tags.xml


sfeed_curses


sfeed_curses is a curses UI front-end for sfeed.

It shows the TAB-separated feed items in a graphical command-line UI. The
interface has a look inspired by the mutt mail client. It has a sidebar panel
for the feeds, a panel with a listing of the items and a small statusbar for
the selected item/url. Some functions like searching and scrolling are
integrated in the interface itself.

Blog post: https://codemadness.org/sfeed_curses.html
README:https://git.codemadness.org/sfeed_curses/file/README.html
Git repo:  git://git.codemadness.org/sfeed_curses/
Releases:  https://codemadness.org/releases/sfeed_curses/
Releases feed: https://git.codemadness.org/sfeed_curses/tags.xml

-- 
Kind regards,
Hiltjo


www_sfeed.tgz
Description: application/tar-gz