Mon Aug 20 12:57:34 2018 UTC ()
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.
(wiz)
diff -r0 -r1.1 pkgsrc/news/flnews/DESCR
diff -r0 -r1.1 pkgsrc/news/flnews/Makefile
diff -r0 -r1.1 pkgsrc/news/flnews/PLIST
diff -r0 -r1.1 pkgsrc/news/flnews/README
diff -r0 -r1.1 pkgsrc/news/flnews/distinfo
diff -r0 -r1.1 pkgsrc/news/flnews/options.mk
diff -r0 -r1.1 pkgsrc/news/flnews/files/CONFIG
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)
# $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
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"
@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
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)
$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
# $NetBSD: options.mk,v 1.1 2018/08/20 12:57:34 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.flnews
PKG_SUPPORTED_OPTIONS= inet6 nls xdbe xdg-utils
PKG_SUGGESTED_OPTIONS= xdbe xdg-utils
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
# inet6: Optional support for Internet Protocol Version 6 (IPv6)
# Requires an OS with POSIX.1-2001 API and IP6 option
.if !empty(PKG_OPTIONS:Minet6)
FLNEWS_OPT_DISABLE_IP6= 0
.else
FLNEWS_OPT_DISABLE_IP6= 1
.endif
# nls: Optional support for National Language Support (NLS)
# Requires an OS with X/Open XSI extension API (SUSv2) and the gencat utility
# Note: Only locales with UTF-8, ISO-8859-1 or US-ASCII codeset are supported!
PLIST_VARS+= nls
.if !empty(PKG_OPTIONS:Mnls)
PLIST.nls= yes
FLNEWS_OPT_DISABLE_NLS= 0
.else
FLNEWS_OPT_DISABLE_NLS= 1
.endif
# xdbe: Optional support for X11 Double Buffer Extension (XDBE)
# This option should be disabled for slow machines
.if !empty(PKG_OPTIONS:Mxdbe)
FLNEWS_OPT_DISABLE_XDBE= 0
.else
FLNEWS_OPT_DISABLE_XDBE= 1
.endif
# xdg-utils: Create dependency for xdg-utils (Portland project)
# xdg-utils are used for WWW-Browser and eMail redirection
.if !empty(PKG_OPTIONS:Mxdg-utils)
DEPENDS+= xdg-utils>=1.1:../../misc/xdg-utils
.endif
#
# 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@"
# Installation path for man page
# (must be an absolute path without trailing slash)
# The FHS defines "/usr[/local]/share/man". The location "/usr/local/man" is
# explicitly marked deprecated.
CFG_MAN_PATH="@MAN_PATH@/man1"
# Installation path for license file
# (must be an absolute path without trailing slash)
CFG_LICENSE_PATH="$CFG_PREFIX/share/$CFG_NAME"
# Installation path for National Language Support (NLS) catalogs
# (must be an absolute path without trailing slash)
# The FHS defines "/usr[/local]/share/nls" for NLS catalogs but the whole
# hierarchy below "share" is dedicated to files that are portable between
# architectures - what our catalogs are not!
CFG_NLS_PATH="$CFG_PREFIX/lib/$CFG_NAME/nls"
# ==============================================================================
# EOF