From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 5 06:00:27 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44EA437B404 for ; Mon, 5 May 2003 06:00:26 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A64D43FDD for ; Mon, 5 May 2003 06:00:21 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h45D0LUp077434 for ; Mon, 5 May 2003 06:00:21 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h45D0KxO077433; Mon, 5 May 2003 06:00:20 -0700 (PDT) Resent-Date: Mon, 5 May 2003 06:00:20 -0700 (PDT) Resent-Message-Id: <200305051300.h45D0KxO077433@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Cyrille Lefevre Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B931737B401 for ; Mon, 5 May 2003 05:57:50 -0700 (PDT) Received: from smtp.noos.fr (nan-smtp-03.noos.net [212.198.2.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6376943F3F for ; Mon, 5 May 2003 05:57:49 -0700 (PDT) (envelope-from cyrille.lefevre@laposte.net) Received: (qmail 35657041 invoked by uid 0); 5 May 2003 12:57:47 -0000 Received: from unknown (HELO mail.gits.dyndns.org) ([212.198.231.104]) (envelope-sender ) by 212.198.2.72 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 5 May 2003 12:57:47 -0000 Received: from gits.gits.fr.invalid (7b3msad6wcsl5iqd@localhost [127.0.0.1]) h45CvhZ9099237 for ; Mon, 5 May 2003 14:57:44 +0200 (CEST) (envelope-from cyrille.lefevre@laposte.net) Received: by gits.gits.fr.invalid (tmda-inject, from uid 0); Mon, 05 May 2003 14:57:43 +0200 Message-Id: <20030505125738.GA57622@gits.dyndns.org> Date: Mon, 5 May 2003 14:57:38 +0200 From: Cyrille Lefevre To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: tg@FreeBSD.org Subject: ports/51791: Change-request: shell/pdksh (pdksh-5.2.14p2 -> pdksh-5.2.14.p2) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Cyrille Lefevre List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 13:00:27 -0000 >Number: 51791 >Category: ports >Synopsis: Change-request: shell/pdksh (pdksh-5.2.14p2 -> pdksh-5.2.14.p2) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 05 06:00:20 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Cyrille Lefevre >Release: FreeBSD 5.0-RELEASE-p4 i386 >Organization: ACME >Environment: System: FreeBSD gits 5.0-RELEASE-p4 FreeBSD 5.0-RELEASE-p4 #8: Thu Apr 24 19:09:07 CEST 2003 root@gits:/disk3/freebsd/current/obj/disk3/freebsd/current/src/sys/CUSTOM i386 >Description: regarding the porters handbook, this port should be named pdksh-5.2.14.p2 and not pdksh-5.2.14p2. see the following URL for details : http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-naming.html#PORTING-PKGNAME Makefile PORTVERSION and DISTNAME changed USE_REINPLACE added "ed" changed to REINPLACE_CMD >How-To-Repeat: n/a >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/shells/pdksh/Makefile,v retrieving revision 1.28 diff -u -I$Id.*$ -I$.+BSD.*$ -r1.28 Makefile --- Makefile 7 Mar 2003 06:10:39 -0000 1.28 +++ Makefile 29 Apr 2003 06:23:06 -0000 @@ -6,14 +6,14 @@ # PORTNAME= pdksh -PORTVERSION= 5.2.14p2 +PORTVERSION= 5.2.14.p2 CATEGORIES= shells MASTER_SITES= ftp://ftp.cs.mun.ca/pub/pdksh/ \ http://gd.tuwien.ac.at/utils/shells/pdksh/ \ ftp://ftp.lip6.fr/pub/unix/shells/pdksh/ \ ftp://ftp.demon.net/pub/mirrors/pdksh/ \ ftp://ftp.rge.com/pub/shells/pdksh/ -DISTNAME= ${PORTNAME}-${PORTVERSION:C/p.*//} +DISTNAME= ${PORTNAME}-${PORTVERSION:R} PATCH_SITES= ${MASTER_SITES} PATCHFILES= ${DISTNAME}-patches.1 ${DISTNAME}-patches.2 @@ -22,13 +22,17 @@ MAINTAINER= tg@FreeBSD.org COMMENT= The Public Domain Korn Shell +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= LDSTATIC=-static MAN1= ksh.1 post-patch: - @(${ECHO_CMD} ",s/v${PORTVERSION:C/p.*//}/v${PORTVERSION:S/p/./}/"; \ - ${ECHO_CMD} "wq") | ed -s ${WRKSRC}/version.c +.for file in ksh.Man version.c + @${REINPLACE_CMD} -e \ + "s/v${PORTVERSION:N*p*}${PORTVERSION:M*p*:R} /v${PORTVERSION:S/p//} /"\ + ${WRKSRC}/${file} +.endfor post-install: @${ECHO} "Updating /etc/shells" >Release-Note: >Audit-Trail: >Unformatted: