Browse Source

network/rss2email: New maintainer.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/249/head
B. Watson 1 year ago
committed by Willy Sudiarto Raharjo
parent
commit
b1ed33174e
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 7
      network/rss2email/README
  2. 52
      network/rss2email/rss2email.SlackBuild
  3. 4
      network/rss2email/rss2email.info
  4. 4
      network/rss2email/slack-desc

7
network/rss2email/README

@ -1,6 +1,11 @@
rss2email (rss to email gateway)
A python script that forward RSS feeds to your email address. This
allows you to view RSS feeds in an interface you are already familiar
with and to apply filters to incoming feeds.
with, and to apply filters to incoming feeds. Normally, you'll want
to run it from your crontab.
It is the community maintained successor to the rss2email by Aaron
Swartz.
The executable and man page are called r2e.

52
network/rss2email/rss2email.SlackBuild

@ -2,25 +2,15 @@
# Slackware build script for rss2email
# Copyright 2020-2022, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Original author: Alexander Verbovetsky, Moscow, Russia
# Now maintained by B. Watson <urchlay@slackware.uk>.
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20241008 bkw:
# - take over maintenance.
# - relicense as WTFPL.
# - simplify script a bit (no change to package).
# - tweak README and slack-desc.
cd $(dirname $0) ; CWD=$(pwd)
@ -47,19 +37,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
# 20241008 bkw: no need for SLKCFLAGS or LIBDIRSUFFIX.
set -e
@ -71,17 +49,11 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/man/man1
gzip -c9 r2e.1 > $PKG/usr/man/man1/r2e.1.gz

4
network/rss2email/rss2email.info

@ -6,5 +6,5 @@ MD5SUM="68ed27825b1a7fb7fa7c3396954ed654"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="feedparser html2text"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
MAINTAINER="B. Watson"
EMAIL="urchlay@slackware.uk"

4
network/rss2email/slack-desc

@ -8,11 +8,11 @@
|-----handy-ruler------------------------------------------------------|
rss2email: rss2email (rss to email gateway)
rss2email:
rss2email: A python script that forward RSS feeds to your email address.
rss2email: A python script that forwards RSS feeds to your email address.
rss2email:
rss2email: Homepage: https://github.com/rss2email/rss2email
rss2email:
rss2email:
rss2email: Homepage: https://github.com/rss2email/rss2email
rss2email:
rss2email:
rss2email:

Loading…
Cancel
Save