diff options
author | B. Watson <urchlay@slackware.uk> | 2024-10-08 04:23:42 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-10-12 11:34:43 +0700 |
commit | b1ed33174e4f57785a355044f789182125655874 (patch) | |
tree | f2ed4d2fda2ffbedcd52148e16c2cc1a21fe3ab3 /network | |
parent | 14d4883ce882e4c452dcd549ccccdc81a87f26bd (diff) |
network/rss2email: New maintainer.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/rss2email/README | 7 | ||||
-rw-r--r-- | network/rss2email/rss2email.SlackBuild | 52 | ||||
-rw-r--r-- | network/rss2email/rss2email.info | 4 | ||||
-rw-r--r-- | network/rss2email/slack-desc | 4 |
4 files changed, 22 insertions, 45 deletions
diff --git a/network/rss2email/README b/network/rss2email/README index d21b699b77944..9580d87469371 100644 --- a/network/rss2email/README +++ b/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. diff --git a/network/rss2email/rss2email.SlackBuild b/network/rss2email/rss2email.SlackBuild index e5aa792998ef7..ac13e7c622bce 100644 --- a/network/rss2email/rss2email.SlackBuild +++ b/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 diff --git a/network/rss2email/rss2email.info b/network/rss2email/rss2email.info index 8d14e4d85632d..85d53b0486fe9 100644 --- a/network/rss2email/rss2email.info +++ b/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" diff --git a/network/rss2email/slack-desc b/network/rss2email/slack-desc index 63a31dbb532ec..21529183aff7c 100644 --- a/network/rss2email/slack-desc +++ b/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: |