From owner-freebsd-ports Mon Oct 22 18:50: 8 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 59AC537B407 for ; Mon, 22 Oct 2001 18:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9N1o1A26766; Mon, 22 Oct 2001 18:50:01 -0700 (PDT) (envelope-from gnats) Received: from yoda.bmi.net (yoda.bmi.net [204.57.191.163]) by hub.freebsd.org (Postfix) with ESMTP id 9F1CD37B403; Mon, 22 Oct 2001 18:49:20 -0700 (PDT) Received: from johncoop.MSHOME (drumheller-router.bmi.net [206.63.201.3] (may be forged)) by yoda.bmi.net (Pro-8.9.3/Pro-8.9.3) with ESMTP id SAA22178; Mon, 22 Oct 2001 18:46:50 -0700 Received: by johncoop.MSHOME (Postfix, from userid 0) id 295AF15504; Mon, 22 Oct 2001 18:49:12 -0700 (PDT) Message-Id: <20011023014912.295AF15504@johncoop.MSHOME> Date: Mon, 22 Oct 2001 18:49:12 -0700 (PDT) From: John Merryweather Cooper Reply-To: John Merryweather Cooper To: FreeBSD-gnats-submit@freebsd.org Cc: lioux@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/31440: [NEW PORT] makepatch--a patch maintenance tool Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31440 >Category: ports >Synopsis: [NEW PORT] makepatch--a patch maintenance tool >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Oct 22 18:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: John Merryweather Cooper >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD johncoop.MSHOME 4.4-STABLE FreeBSD 4.4-STABLE #32: Sun Oct 21 01:27:58 PDT 2001 jmcoopr@johncoop.MSHOME:/usr/obj/usr/src/sys/JOHNCOOP i386 >Description: Thomas Dickey, the ncurses guy, was discussing the use of diffstat and makepatch to make the generation of diff-generated patches easier. I found diffstat had been ported, but makepatch had not. Therefore, here goes . . . >How-To-Repeat: N/A >Fix: The dread shell archive follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./Makefile # ./distinfo # ./pkg-comment # ./pkg-descr # ./pkg-plist # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: makepatch X# Date created: 22 October 2001 X# Whom: John Merryweather Cooper X# X# $FreeBSD$ X# X XPORTNAME= makepatch XPORTVERSION= 2.00a XCATEGORIES= textproc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= ../../authors/id/JV X XMAINTAINER= jmcoopr@webmail.bmi.net X XPERL_CONFIGURE= yes X XMAN1= makepatch.1 applypatch.1 X Xpre-build: X @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig X @${SED} -e 's#/usr/local/#${PREFIX}/#' \ X ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile X X.include END-of-./Makefile echo x - ./distinfo sed 's/^X//' >./distinfo << 'END-of-./distinfo' XMD5 (makepatch-2.00a.tar.gz) = 7750d7b64d42d243cfe832d5d1d1e8e8 END-of-./distinfo echo x - ./pkg-comment sed 's/^X//' >./pkg-comment << 'END-of-./pkg-comment' XPerl scripts to assist in the generation and application of patches. X END-of-./pkg-comment echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' X'makepatch', containing a pair of programs, makepatch and applypatch, to Xassist in the generation and application of patch kits to synchronise Xsource trees. X X-- jmc Xjmcoopr@webmail.bmi.net X XWWW: www.squirrel.nl/people/jvromans/tpj0403-0016.html END-of-./pkg-descr echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' Xbin/applypatch Xbin/makepatch Xlib/perl5/site_perl/5.005/i386-freebsd/auto/makepatch/.packlist X@dirrm lib/perl5/site_perl/5.005/i386-freebsd/auto/makepatch END-of-./pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message