From owner-freebsd-ports Tue Oct 19 10: 0: 5 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BBA2A176EC for ; Tue, 19 Oct 1999 10:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA67865; Tue, 19 Oct 1999 10:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mail.dinoex.sub.org (mail.dinoex.sub.de [195.243.29.14]) by hub.freebsd.org (Postfix) with ESMTP id 6CEEC1502C for ; Tue, 19 Oct 1999 09:53:49 -0700 (PDT) (envelope-from dm@home.dinoex.sub.org) Received: (from uucp@localhost) by mail.dinoex.sub.org (8.9.3/8.9.3) with UUCP id SAA13986 for FreeBSD-gnats-submit@freebsd.org; Tue, 19 Oct 1999 18:53:20 +0200 (CEST) Received: (from uucp@localhost) by net2.dinoex.sub.org (8.9.3/8.9.3) with UUCP id QAA26646 for FreeBSD-gnats-submit@freebsd.org; Tue, 19 Oct 1999 16:36:49 +0200 (CEST) Received: (from dm@localhost) by home.dinoex.sub.org (8.9.3/8.9.3) id PAA71533; Tue, 19 Oct 1999 15:44:54 +0200 (CEST) Message-Id: <199910191344.PAA71533@home.dinoex.sub.org> Date: Tue, 19 Oct 1999 15:44:54 +0200 (CEST) From: dirk.meyer@dinoex.sub.org Reply-To: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/14420: news/cnews is broken with awk 3.0.3 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14420 >Category: ports >Synopsis: news/cnews is broken with awk 3.0.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 19 10:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 3.3-RELEASE i386 >Organization: privat >Environment: FreeBSD 3.2 FreeBSD 3.3 system awk (gawk 3.0.3) >Description: Regression check fails (make r) News system crash, cause awk corrupts output >How-To-Repeat: >Fix: use akw 2.15 or awk 3.0.4 and apply this patches diff cnews/Makefile cnews-cr.g/Makefile --- cnews/Makefile Sat Oct 2 06:06:49 1999 +++ cnews-cr.g/Makefile Tue Oct 19 15:39:36 1999 @@ -44,6 +44,7 @@ mkhistory.8cn newsaux.8cn newsbatch.8cn newsmail.8cn \ newsmaint.8cn newsoverview.8 relaynews.8cn report.8cn \ rnews.8cn +PLIST= ${WRKDIR}/.PLIST.sed MODIFY= conf/quiz.def \ conf/substitutions \ @@ -55,6 +56,13 @@ NEWSOV?= /var/news/over.view PGPVERIFY?= pgpverify-1.12 +.include + +.if ${OSVERSION} < 300000 +.else +BROKEN= gawk need to be updated to 3.0.4 +.endif + pre-patch: @${CP} ${DISTDIR}/${DIST_SUBDIR}/${PGPVERIFY} ${WRKSRC}/${PGPVERIFY} @@ -70,6 +78,10 @@ -e "s=/usr/local/bin=${PREFIX}/bin=" \ ${WRKSRC}/${i}.sed >${WRKSRC}/${i} .endfor + @${SED} \ + -e "s=news/cnewsbin=${NEWSBIN:S=${PREFIX}/==}=" \ + -e "s=news/lib=${NEWSCTL:S=${PREFIX}/==}=" \ + ${PKGDIR}/PLIST >${PLIST} do-install: ${RM} -f ${PREFIX}/bin/inews @@ -106,4 +118,4 @@ @${ECHO} "!!!!!!!!" @${ECHO} "" -.include +.include diff cnews/pkg/PLIST cnews-cr.g/pkg/PLIST --- cnews/pkg/PLIST Sat Oct 2 06:06:49 1999 +++ cnews-cr.g/pkg/PLIST Tue Oct 19 15:18:42 1999 @@ -150,5 +150,7 @@ @dirrm news/cnewsbin/maint @dirrm news/cnewsbin/nov @dirrm news/cnewsbin/relay -@dirrm news/lib/bin @dirrm news/cnewsbin +@dirrm news/lib/bin +@dirrm news/lib +@dirrm news >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message