Date: Mon, 22 Oct 2001 18:49:12 -0700 (PDT) From: John Merryweather Cooper <john_m_cooper@yahoo.com> To: FreeBSD-gnats-submit@freebsd.org Cc: lioux@freebsd.org Subject: ports/31440: [NEW PORT] makepatch--a patch maintenance tool Message-ID: <20011023014912.295AF15504@johncoop.MSHOME>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011023014912.295AF15504>