pkgsrc-WIP-changes archive

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

flnews-devel: Update to 1.2.1pre0



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Mon Jun 12 15:45:48 2023 +0200
Changeset:	cabbc5fef64e4aef5c780aaa36e3fd02e5097e85

Modified Files:
	flnews-devel/Makefile
	flnews-devel/distinfo
Added Files:
	flnews-devel/Makefile.new

Log Message:
flnews-devel: Update to 1.2.1pre0

Bug fixes:
- GUI: Inconsistent permissions of created files fixed (reported by
  Marcel Logen).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cabbc5fef64e4aef5c780aaa36e3fd02e5097e85

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 flnews-devel/Makefile     |  2 +-
 flnews-devel/Makefile.new | 92 +++++++++++++++++++++++++++++++++++++++++++++++
 flnews-devel/distinfo     |  6 ++--
 3 files changed, 96 insertions(+), 4 deletions(-)

diffs:
diff --git a/flnews-devel/Makefile b/flnews-devel/Makefile
index d42021bab6..4a52e48b53 100644
--- a/flnews-devel/Makefile
+++ b/flnews-devel/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-FLNEWS_VERSION=	1.2.0
+FLNEWS_VERSION=	1.2.1pre0
 
 DISTNAME=	flnews-${FLNEWS_VERSION}
 CATEGORIES=	news
diff --git a/flnews-devel/Makefile.new b/flnews-devel/Makefile.new
new file mode 100644
index 0000000000..d42021bab6
--- /dev/null
+++ b/flnews-devel/Makefile.new
@@ -0,0 +1,92 @@
+# $NetBSD$
+
+FLNEWS_VERSION=	1.2.0
+
+DISTNAME=	flnews-${FLNEWS_VERSION}
+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=	micha%NetBSD.org@localhost
+HOMEPAGE=	https://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++
+
+TEST_TARGET=	test
+
+# https://reproducible-builds.org/specs/source-date-epoch/
+CONFIGURE_ENV=	SOURCE_DATE_EPOCH=1654099540
+
+# Bug report contact address used for GUI
+FLNEWS_MAINTAINER=	${MAINTAINER}
+
+.include "options.mk"
+
+# Prepare CONFIG file
+SUBST_CLASSES+=			edit-config
+SUBST_STAGE.edit-config=	pre-configure
+SUBST_MESSAGE.edit-config=	Preparing CONFIG file ...
+SUBST_FILES.edit-config=	CONFIG
+SUBST_SED.edit-config=		-e 's,@VERSION@,${FLNEWS_VERSION},g'
+SUBST_VARS.edit-config=		PREFIX
+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'
+SUBST_SED.edit-config+=		-e 's,@MAN_PATH@,${PREFIX}/${PKGMANDIR},g'
+.if ${FLNEWS_OPT_DISABLE_XDG} == 0
+SUBST_SED.edit-config+=		-e 's,@XDG@,0,g'
+.else
+SUBST_SED.edit-config+=		-e 's,@XDG@,1,g'
+.endif
+# NetBSD reports X/Open XSI extension as not available using the POSIX
+# sysconf(_SC_XOPEN_VERSION) call, but has a sufficient implementation
+# => Force using it
+.if ${OPSYS} == "NetBSD"
+SUBST_SED.edit-config+=		-e 's,@FORCE_XSI@,1,g'
+.else
+SUBST_SED.edit-config+=		-e 's,@FORCE_XSI@,0,g'
+.endif
+# NetBSD reports IPv6 as not available using the POSIX sysconf(_SC_IPV6)
+# call, but has a sufficient implementation
+# => Force using it if inet6 option of pkgsrc package is selected
+.if ${OPSYS} == "NetBSD" && ${FLNEWS_OPT_DISABLE_IP6} == 0
+SUBST_SED.edit-config+=		-e 's,@FORCE_IP6@,1,g'
+.else
+SUBST_SED.edit-config+=		-e 's,@FORCE_IP6@,0,g'
+.endif
+# Old SunPro compilers cannot create dependencies with the "-M" option
+# => Use makedepend instead for all SunPro compilers
+.if ${OPSYS} == "SunOS" && ${PKGSRC_COMPILER:Msunpro}
+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
+
+post-extract:
+	${CP} ${FILESDIR}/CONFIG ${WRKSRC}
+
+do-configure:
+	cd ${WRKSRC} && \
+		${SETENV} ${CONFIGURE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} config
+
+.if ${OPSYS} == "SunOS" && ${PKGSRC_COMPILER:Msunpro}
+BUILD_DEPENDS+=			makedepend-[0-9]*:../../devel/makedepend
+.endif
+
+BUILDLINK_API_DEPENDS.zlib+=	zlib>=1.2.3
+.include "../../devel/zlib/buildlink3.mk"
+# OpenSSL 3 API is required for RFC 7919 FFDHE group negotiation
+.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 "../../wip/fltk14-devel/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/flnews-devel/distinfo b/flnews-devel/distinfo
index b9e0749a52..7d7c4a4070 100644
--- a/flnews-devel/distinfo
+++ b/flnews-devel/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (flnews-1.2.0.tar.bz2) = d29a766f8401041c7347f184b443894a2b8d22853c03d8bc6ac2a31ea8db911a
-SHA512 (flnews-1.2.0.tar.bz2) = 36f17ff3e393082cc88bf8dd402ae1e008b0e2da6b92b82d56fdefbba151a303f9c211f0ce56f88cee09fb6fd3edd7b6abeb7953c12062f1e419faf85ece25a8
-Size (flnews-1.2.0.tar.bz2) = 1216868 bytes
+BLAKE2s (flnews-1.2.1pre0.tar.bz2) = 0972254df72f6bb0770b0c8c48003b4667b99ff90920c204435e8172fa58575f
+SHA512 (flnews-1.2.1pre0.tar.bz2) = 8d49a23636e7900e1aad35426772c5025c24cfc0b91f7098ac4d1776eef3af3f6505ae97c1d8c92c5c9581413b62e709d5aeae3b4bad7c40d320f5c720e7d9a7
+Size (flnews-1.2.1pre0.tar.bz2) = 1217181 bytes


Home | Main Index | Thread Index | Old Index