pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/news/flnews news/flnews: import flnews-0.15



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59232ab1f3a4
branches:  trunk
changeset: 384268:59232ab1f3a4
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Aug 20 12:57:34 2018 +0000

description:
news/flnews: import flnews-0.15

flnews is a client with graphical user interface to read USENET newsgroups.
It is intended for POSIX compliant operating systems running the X window
system.

The main development goals are (in order of importance):
- No bloat
- Support for old workstations
- Standard compliance
- Be conservative in what you do, be liberal in what you accept from others
- Compatibility with other newsreaders
- Usable X display redirection via network (or ssh tunnel)
- Warn users about things that are not forbidden but considered "bad practice"

Features that are currently not implemented (or not usable yet):
- UUCP
- Multiple servers
- Offline mode (for network connection via dialup line)

Packaged for wip by Michael B?uerle.

diffstat:

 news/flnews/DESCR        |   17 +++++
 news/flnews/Makefile     |   69 ++++++++++++++++++++
 news/flnews/PLIST        |    5 +
 news/flnews/README       |   44 +++++++++++++
 news/flnews/distinfo     |    6 +
 news/flnews/files/CONFIG |  156 +++++++++++++++++++++++++++++++++++++++++++++++
 news/flnews/options.mk   |   41 ++++++++++++
 7 files changed, 338 insertions(+), 0 deletions(-)

diffs (truncated from 366 to 300 lines):

diff -r e6466b1e3988 -r 59232ab1f3a4 news/flnews/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/news/flnews/DESCR Mon Aug 20 12:57:34 2018 +0000
@@ -0,0 +1,17 @@
+flnews is a client with graphical user interface to read USENET newsgroups.
+It is intended for POSIX compliant operating systems running the X window
+system.
+
+The main development goals are (in order of importance):
+- No bloat
+- Support for old workstations
+- Standard compliance
+- Be conservative in what you do, be liberal in what you accept from others
+- Compatibility with other newsreaders
+- Usable X display redirection via network (or ssh tunnel)
+- Warn users about things that are not forbidden but considered "bad practice"
+
+Features that are currently not implemented (or not usable yet):
+- UUCP
+- Multiple servers
+- Offline mode (for network connection via dialup line)
diff -r e6466b1e3988 -r 59232ab1f3a4 news/flnews/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/news/flnews/Makefile      Mon Aug 20 12:57:34 2018 +0000
@@ -0,0 +1,69 @@
+# $NetBSD: Makefile,v 1.1 2018/08/20 12:57:34 wiz Exp $
+
+DISTNAME=      flnews-0.15
+CATEGORIES=    news
+MASTER_SITES=  http://micha.freeshell.org/flnews/src/
+MASTER_SITES+= http://www.ybtra.de/flnews-mirror/src/
+MASTER_SITES+= http://www.southcity.de/flnews/src/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    michael.baeuerle%gmx.net@localhost
+HOMEPAGE=      http://micha.freeshell.org/flnews/
+COMMENT=       Fast and lightweight USENET newsreader with GUI
+LICENSE=       modified-bsd AND 2-clause-bsd AND unicode
+
+USE_LANGUAGES= c c++
+
+NO_CONFIGURE=  yes
+TEST_TARGET=   test
+
+# Bug report contact address used for GUI
+FLNEWS_MAINTAINER=     ${MAINTAINER}
+
+.include "options.mk"
+
+# Old SunPro compilers cannot create dependencies (use makedepend instead)
+.if ${OPSYS} == "SunOS" && ${PKGSRC_COMPILER:Msunpro}
+FLNEWS_DEP_MD= 1
+BUILD_DEPENDS+=        makedepend-[0-9]*:../../devel/makedepend
+.endif
+
+# Prepare CONFIG file
+SUBST_CLASSES+=                        edit-config
+SUBST_STAGE.edit-config=       pre-build
+SUBST_MESSAGE.edit-config=     Preparing CONFIG file ...
+SUBST_FILES.edit-config=       CONFIG
+SUBST_SED.edit-config=         -e 's,@PREFIX@,${PREFIX},g'
+SUBST_SED.edit-config+=                -e 's,@MAINT@,${FLNEWS_MAINTAINER},g'
+SUBST_SED.edit-config+=                -e 's,@IP6@,${FLNEWS_OPT_DISABLE_IP6},g'
+SUBST_SED.edit-config+=                -e 's,@NLS@,${FLNEWS_OPT_DISABLE_NLS},g'
+SUBST_SED.edit-config+=                -e 's,@XDBE@,${FLNEWS_OPT_DISABLE_XDBE},g'
+# NetBSD report X/Open XSI extension as not available (getconf _XOPEN_VERSION)
+# but has a sufficient implementation => Force using it
+.if ${OPSYS} == "NetBSD"
+SUBST_SED.edit-config+=                -e 's,@XSI@,1,g'
+.else
+SUBST_SED.edit-config+=                -e 's,@XSI@,0,g'
+.endif
+.if defined(FLNEWS_DEP_MD)
+SUBST_SED.edit-config+=                -e 's,@DEP_MD@,,g'
+SUBST_SED.edit-config+=                -e 's,@DEP_COMP@,\#,g'
+.else
+SUBST_SED.edit-config+=                -e 's,@DEP_MD@,\#,g'
+SUBST_SED.edit-config+=                -e 's,@DEP_COMP@,,g'
+.endif
+SUBST_SED.edit-config+=                -e 's,@MAN_PATH@,${PREFIX}/${PKGMANDIR},g'
+
+post-patch:
+       ${CP} ${FILESDIR}/CONFIG ${WRKSRC}
+
+BUILDLINK_API_DEPENDS.zlib+=   zlib>=1.2.3
+.include "../../devel/zlib/buildlink3.mk"
+# OpenSSL 1.1 API is required for signature algorithm negotiation
+# OpenSSL 1.1 API is required for TLSv1.2 FFDHE group check
+BUILDLINK_API_DEPENDS.openssl+=        openssl>=1.0.0
+.include "../../security/openssl/buildlink3.mk"
+# FLTK must be compiled with multithreading support
+# FLTK version 1.4 is supported (should be compiled with pango support)
+.include "../../x11/fltk13/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e6466b1e3988 -r 59232ab1f3a4 news/flnews/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/news/flnews/PLIST Mon Aug 20 12:57:34 2018 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/20 12:57:34 wiz Exp $
+bin/flnews
+man/man1/flnews.1
+share/flnews/license.txt
+${PLIST.nls}lib/flnews/nls/de_DE.cat
diff -r e6466b1e3988 -r 59232ab1f3a4 news/flnews/README
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/news/flnews/README        Mon Aug 20 12:57:34 2018 +0000
@@ -0,0 +1,44 @@
+Mandatory:
+- Operating system that provide the following interfaces:
+  - POSIX.1-1990
+  - POSIX.1b-1993 Realtime extention, Timers (TMR) option
+  - POSIX.1c-1996 Threads (THR) extension
+  - 4.3BSD socket API (with a 'select()' implementation that supports sockets)
+  - POSIX.2-1992 compliant shell and utilities
+  - POSIX.2a-1992 User Portability Utilities (UP) extension
+- getconf
+  Utility from X/Open Portability Guide Issue 4 (XPG4) to query system variables
+- C/C++ compiler
+  Should be a matching pair that is C90/C++98 compliant.
+- FLTK 1.3 (compiled with multithreading support enabled)
+
+Optional:
+- POSIX.2-1992 C language binding (CLB)
+  Required if the filter (scoring) subsystem should handle regular expressions
+  Required if the filter (scoring) subsystem should handle group wildmats
+- POSIX.1b-1993 realtime extention, File Synchronization (FSC) option
+  If available, 'fsync()' is executed on config, group and database files after
+  changes
+- POSIX.1-2001
+  If available, the timestamp in the "Date" headerfield is created in local time
+- Operating system with X/Open System Interface (XSI) extension
+  (with a 'poll()' implementation that supports sockets)
+  Required for National Language Support (NLS)
+  Required for automatic TLS certificate CRL maintenance (EXPERIMENTAL)
+- OpenSSL 1.x or LibreSSL 2.x
+  Required for Transport Layer Security (TLS) support
+  Required for generation of Cancel-Lock and Cancel-Key header fields
+- zlib
+  Sourcecode for zlib can be downloaded from <http://zlib.net/>
+  Required for NNTP compression extension (DEFLATE algorithm)
+- xdg-utils
+  Required for sending e-mail and clicking on hyperlinks that cannot be
+  handled internally
+- makedepend
+  Required if the compilers preprocessor can't create dependencies
+- troff2html (from the troffcvt package)
+  Required to build the HTML version of the man page
+- doxygen
+  Required to build the documentation (except the manual page)
+- LaTeX
+  Required to build the documentation (except the manual page)
diff -r e6466b1e3988 -r 59232ab1f3a4 news/flnews/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/news/flnews/distinfo      Mon Aug 20 12:57:34 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/08/20 12:57:34 wiz Exp $
+
+SHA1 (flnews-0.15.tar.bz2) = 55e55e3d8462f6b3c7b133d702d5ec0401e31862
+RMD160 (flnews-0.15.tar.bz2) = 2e32faa93754368faebad5c4e8f54928382c114b
+SHA512 (flnews-0.15.tar.bz2) = 68e8fd2479756d35d61c10140b89207049136107bd42a37d862e45211dad0ae27abf7e87160d137a4cf4edc956926966007f6f5d6ca89447b99c8e44bed7d0b2
+Size (flnews-0.15.tar.bz2) = 1052606 bytes
diff -r e6466b1e3988 -r 59232ab1f3a4 news/flnews/files/CONFIG
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/news/flnews/files/CONFIG  Mon Aug 20 12:57:34 2018 +0000
@@ -0,0 +1,156 @@
+#
+# Config file for pkgsrc
+# ======================
+#
+# This file is intended to customize the program. Any changes made to this file
+# don't create a modified version of the program in terms of the license.
+#
+# This file will be parsed by a POSIX shell. Therefore all lines starting with
+# the character '#' are comments and ignored.
+
+
+# User configuration
+# ==============================================================================
+# Installation prefix (must be an absolute path without trailing slash)
+# The environment variable 'PREFIX' will override this entry if present!
+# The environment variable 'DESTDIR' will be prepended to this entry if present!
+CFG_PREFIX="@PREFIX@"
+
+# Disable IPv6
+# Set this to 1 to disable the usage of IPv6 and POSIX.1g API even if system
+# report IPv6 option (IP6) as available
+CFG_IP6_DISABLE=@IP6@
+
+# Disable compression
+# Set this to 1 if NNTP COMPRESS extension should never be used, even if the
+# required libraries (currently libz) are installed and usable.
+# Otherwise the compression negotiation can be enabled and disabled in the GUI
+# (disabled by default)
+CFG_CMPR_DISABLE=0
+
+# Disable X11 double buffering
+# DB is slow. On fast machines this can be set to 0 to reduce flicker in the GUI
+CFG_DB_DISABLE=@XDBE@
+
+# Disable National Language Support (NLS)
+# Set this to 1 to disable NLS even if system report it as available.
+CFG_NLS_DISABLE=@NLS@
+
+# The TLS module can do some simple checks and generate warnings if it thinks
+# that underlaying libraries contain known security vulnerabilities
+# Set this to 1 if you don't want to get such warnings
+CFG_TLS_WARNING_DISABLE=1
+# ==============================================================================
+
+
+# Force usage of REQUIRED facilities that system reports as not available
+# ==============================================================================
+# Force usage of POSIX.1b realtime extension, timers (TMR) option even if system
+# reports TMR option as not available
+# Set this to 1 if your system report no sufficient TMR option, but you want to
+# try anyway
+CFG_FORCE_TMR=1
+
+# Force usage of POSIX.1c thread (THR) extension even if system reports THR
+# extension as not available
+# Set this to 1 if your system report no sufficient THR extension, but you want
+# to try anyway
+CFG_FORCE_THR=1
+
+# Force usage of POSIX.2a user portability (UP) utilities even if system reports
+# UP extension as not available
+# Set this to 1 if your system report no sufficient UP extension, but you want
+# to try anyway
+CFG_FORCE_UP=1
+# ==============================================================================
+
+
+# Force usage of OPTIONAL facilities that system reports as not available
+# ==============================================================================
+# Force usage of X/Open System Interface (XSI) even if system reports XSI
+# extension as not available or too old (at least SUSv2 is required)
+# Set this to 1 if your system report no sufficient XSI extension, but you want
+# to try anyway
+CFG_FORCE_XSI=@XSI@
+# ==============================================================================
+
+
+# Dependency creation (try the defaults if in doubt)
+# ==============================================================================
+# Commands to create dependencies
+# If the compilers preprocessor don't support '-M' use makedepend like this:
+@DEP_MD@CFG_CC_DEP_COMMAND='makedepend -f- -- $(CFLAGS) -- $$file'
+@DEP_MD@CFG_CXX_DEP_COMMAND='makedepend -f- -- $(CXXFLAGS) $(FLTK_CXXFLAGS) -- $$file'
+@DEP_COMP@CFG_CC_DEP_COMMAND='$(CC) $(CFLAGS) -M $$file'
+@DEP_COMP@CFG_CXX_DEP_COMMAND='$(CXX) $(CXXFLAGS) $(FLTK_CXXFLAGS) -M $$file'
+# ==============================================================================
+
+
+# Utilities (modify only if the versions of your system are too old or broken)
+# ==============================================================================
+# POSIX.2 compliant standard utilities
+UTIL_AWK="awk"
+UTIL_CAT="cat"
+UTIL_CHMOD="chmod"
+UTIL_DATE="date"
+UTIL_GREP="grep"
+UTIL_HEAD="head"
+UTIL_MKDIR="mkdir"
+UTIL_PWD="pwd"
+UTIL_RM="rm"
+UTIL_SED="sed"
+UTIL_SH="sh"
+UTIL_SLEEP="sleep"
+UTIL_TOUCH="touch"
+UTIL_STRIP="strip"
+UTIL_TR="tr"
+UTIL_UNAME="uname"
+# ==============================================================================
+# List of all tools in this section
+CFG_UTILS="$UTIL_AWK $UTIL_CAT $UTIL_CHMOD $UTIL_DATE $UTIL_GREP $UTIL_HEAD \
+           $UTIL_MKDIR $UTIL_PWD $UTIL_RM $UTIL_SED $UTIL_SH $UTIL_SLEEP \
+           $UTIL_TOUCH $UTIL_STRIP $UTIL_TR $UTIL_UNAME"
+
+
+# This is for the package maintainer (do not change as user)
+CFG_PREFIX=${PREFIX:-$CFG_PREFIX}
+# ==============================================================================
+# Program name (printable characters from POSIX portable character set only)
+CFG_NAME="flnews"
+
+# Version (printable characters from POSIX portable character set only)
+# Must start with major number followed by '.'
+CFG_VERSION="0.15"
+
+# If a modified version should be redistributed, set this to '1' if you want to
+# keep the original program name. This will automatically insert the prominent
+# modification notice that is required by the license.
+# Alternatively you can set this to '0' and change the program name with the
+# variable "CFG_NAME" above.
+CFG_MODIFIED=0
+
+# Contact information of package maintainer
+# If a modified version should be redistributed, the following maintainer
+# contact information must be replaced. Read "src/LICENSE" file for details.
+CFG_MAINTAINER="mailto:@MAINT@";



Home | Main Index | Thread Index | Old Index