diff --git a/news/newsx/Makefile b/news/newsx/Makefile index 596f8cc6fa0f..9dfa56081bd7 100644 --- a/news/newsx/Makefile +++ b/news/newsx/Makefile @@ -1,63 +1,66 @@ PORTNAME= newsx PORTVERSION= 1.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= news MASTER_SITES= LOCAL/thierry +PATCH_SITES= https://src.fedoraproject.org/rpms/newsx/raw/rawhide/f/ +PATCHFILES= newsx-stack.patch:-p1 + MAINTAINER= thierry@FreeBSD.org COMMENT= Program to fetch news from and post news to a remote NNTP server WWW= https://web.archive.org/web/20220208213916/http://www.kvaleberg.no/newsx.html LICENSE= GPLv2 .if defined(WITH_CNEWS) BUILD_DEPENDS= ${LOCALBASE}/news/lib/libcnews.a:news/cnews .elif !defined(WITHOUT_INN_2-X) BUILD_DEPENDS= ${LOCALBASE}/news/lib/libinn.so:news/inn RUN_DEPENDS= ${LOCALBASE}/news/lib/libinn.so:news/inn .endif USES= cpe GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CFLAGS+= -fcommon CONFLICTS= leafnode-1.* OPTIONS_DEFINE= DOCS .if !defined(WITH_CNEWS) .if !defined(WITHOUT_INN_2-X) CPPFLAGS+= -I${LOCALBASE}/news/include/inn .endif .endif .if defined(PACKAGE_BUILDING) CONFIGURE_ARGS+= --without-history .endif PORTDOCS= AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO .include pre-configure: ${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${WRKSRC}/configure @${ECHO} "*********************************************************" @${ECHO} "If the configure step fails, then you probably don't have" @${ECHO} "a news server package installed. Try installing INN from" @${ECHO} "${PORTSDIR}/news/inn, and then try building this port" @${ECHO} "again." @${ECHO} "*********************************************************" post-build: .if !defined(WITH_DEBUG) ${STRIP_CMD} ${WRKSRC}/src/newsx .endif post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/news/newsx/distinfo b/news/newsx/distinfo index bc19e1f2ce70..a694e2079233 100644 --- a/news/newsx/distinfo +++ b/news/newsx/distinfo @@ -1,2 +1,5 @@ +TIMESTAMP = 1780046636 SHA256 (newsx-1.6.tar.gz) = 0256fcb3086382e7c94ad2b87d69684e3dc28fb7493a37fdd0115b1621bdd3f2 SIZE (newsx-1.6.tar.gz) = 302821 +SHA256 (newsx-stack.patch) = 2df5920b46f83ceef691b69469b1732bda9edfb9a330f82cb52697870c3e0944 +SIZE (newsx-stack.patch) = 678