Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 10:35:41 GMT
From:      Dirk Jagdmann<doj@cubic.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/104614: New port: devel/quilt a collection of bash scripts to manage a series of patches
Message-ID:  <200610201035.k9KAZfXn055863@www.freebsd.org>
Resent-Message-ID: <200610201040.k9KAeKNS020460@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         104614
>Category:       ports
>Synopsis:       New port: devel/quilt  a collection of bash scripts to manage a series of patches
>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:   Fri Oct 20 10:40:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Jagdmann
>Release:        6.1
>Organization:
Cubic
>Environment:
>Description:
quilt is a collection of bash scripts to manage a series of patches by
keeping track of the changes each patch makes. Patches can be applied,
un-applied, refreshed, etc.
The key philosophical concept is that your primary output is
patches. Not ".c" files, not ".h" files. But patches. So patches are
the first-class object here.
Quilt was originally based on Andrew Morton's patch scripts published
on the linux kernel mailing list a while ago, but where heavily
modified since then.

WWW: http://savannah.nongnu.org/projects/quilt
>How-To-Repeat:

>Fix:
# 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:
#
#	quilt
#	quilt/Makefile
#	quilt/pkg-descr
#	quilt/pkg-plist
#	quilt/files
#	quilt/files/patch-Makefile.in
#	quilt/distinfo
#
echo c - quilt
mkdir -p quilt > /dev/null 2>&1
echo x - quilt/Makefile
sed 's/^X//' >quilt/Makefile << 'END-of-quilt/Makefile'
X# New ports collection makefile for: quilt
X# Date created:        20 Oct 2006
X# Whom:                Dirk Jagdmann <doj@cubic.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	quilt
XPORTVERSION=	0.46
XCATEGORIES=	devel
XMASTER_SITES=	http://download.savannah.gnu.org/releases/quilt/
X
XMAINTAINER=	doj@cubic.org
XCOMMENT=	A collection of bash scripts to ease working with patch files
X
XBUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash \
X		gcp:${PORTSDIR}/sysutils/coreutils \
X		gsed:${PORTSDIR}/textproc/gsed \
X		gpatch:${PORTSDIR}/devel/patch \
X		diffstat:${PORTSDIR}/textproc/diffstat \
X		rpm:${PORTSDIR}/archivers/rpm
X
XUSE_GMAKE=	yes
XUSE_GETTEXT=	yes
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-sed=${LOCALBASE}/bin/gsed --without-getopt --with-patch=${LOCALBASE}/bin/gpatch
X
XMAN1=		guards.1 quilt.1
XPORTDOCS=	README* quilt.pdf
X
Xpost-install:
X	@if [ ! -f ${PREFIX}/etc/quilt.quiltrc ]; then \
X		${CP} -p ${PREFIX}/etc/quilt.quiltrc.sample ${PREFIX}/etc/quilt.quiltrc ; \
X	fi
X
X.include <bsd.port.mk>
END-of-quilt/Makefile
echo x - quilt/pkg-descr
sed 's/^X//' >quilt/pkg-descr << 'END-of-quilt/pkg-descr'
Xquilt is a collection of bash scripts to manage a series of patches by
Xkeeping track of the changes each patch makes. Patches can be applied,
Xun-applied, refreshed, etc.
XThe key philosophical concept is that your primary output is
Xpatches. Not ".c" files, not ".h" files. But patches. So patches are
Xthe first-class object here.
XQuilt was originally based on Andrew Morton's patch scripts published
Xon the linux kernel mailing list a while ago, but where heavily
Xmodified since then.
X
XWWW: http://savannah.nongnu.org/projects/quilt
END-of-quilt/pkg-descr
echo x - quilt/pkg-plist
sed 's/^X//' >quilt/pkg-plist << 'END-of-quilt/pkg-plist'
Xbin/guards
Xbin/quilt
Xetc/bash_completion.d/quilt
Xetc/quilt.quiltrc
Xetc/quilt.quiltrc.sample
Xshare/libexec/quilt/add
Xshare/libexec/quilt/annotate
Xshare/libexec/quilt/applied
Xshare/libexec/quilt/backup-files
Xshare/libexec/quilt/compat/cp
Xshare/libexec/quilt/compat/date
Xshare/libexec/quilt/compat/getopt
Xshare/libexec/quilt/compat/patch
Xshare/libexec/quilt/compat/rpmbuild
Xshare/libexec/quilt/compat/sed
Xshare/libexec/quilt/compat/sendmail
Xshare/libexec/quilt/delete
Xshare/libexec/quilt/diff
Xshare/libexec/quilt/edit
Xshare/libexec/quilt/files
Xshare/libexec/quilt/fold
Xshare/libexec/quilt/fork
Xshare/libexec/quilt/graph
Xshare/libexec/quilt/grep
Xshare/libexec/quilt/header
Xshare/libexec/quilt/import
Xshare/libexec/quilt/mail
Xshare/libexec/quilt/new
Xshare/libexec/quilt/next
Xshare/libexec/quilt/patches
Xshare/libexec/quilt/pop
Xshare/libexec/quilt/previous
Xshare/libexec/quilt/push
Xshare/libexec/quilt/refresh
Xshare/libexec/quilt/remove
Xshare/libexec/quilt/rename
Xshare/libexec/quilt/scripts/dependency-graph
Xshare/libexec/quilt/scripts/edmail
Xshare/libexec/quilt/scripts/inspect
Xshare/libexec/quilt/scripts/parse-patch
Xshare/libexec/quilt/scripts/patchfns
Xshare/libexec/quilt/scripts/remove-trailing-ws
Xshare/libexec/quilt/series
Xshare/libexec/quilt/setup
Xshare/libexec/quilt/snapshot
Xshare/libexec/quilt/top
Xshare/libexec/quilt/unapplied
Xshare/libexec/quilt/upgrade
Xshare/libexec/quilt/wrapper/patch
Xshare/locale/de/LC_MESSAGES/quilt.mo
Xshare/locale/fr/LC_MESSAGES/quilt.mo
Xshare/locale/ja/LC_MESSAGES/quilt.mo
X@dirrm share/libexec/quilt/wrapper
X@dirrm share/libexec/quilt/scripts
X@dirrm share/libexec/quilt/compat
X@dirrm share/libexec/quilt
X@dirrm share/libexec
X@dirrm etc/bash_completion.d
END-of-quilt/pkg-plist
echo c - quilt/files
mkdir -p quilt/files > /dev/null 2>&1
echo x - quilt/files/patch-Makefile.in
sed 's/^X//' >quilt/files/patch-Makefile.in << 'END-of-quilt/files/patch-Makefile.in'
X--- Makefile.in.orig	Fri Oct 20 10:56:34 2006
X+++ Makefile.in	Fri Oct 20 11:00:56 2006
X@@ -6,12 +6,12 @@
X prefix :=	@prefix@
X exec_prefix :=	@exec_prefix@
X bindir :=	@bindir@
X-libdir :=	@libdir@
X+libdir :=	@datadir@/libexec
X datarootdir :=	@datarootdir@
X-datadir :=	@datadir@
X-docdir :=	@docdir@
X+datadir :=	@datadir@/libexec
X+docdir :=	$(prefix)/share/doc/
X mandir :=	@mandir@
X-localedir :=	$(datadir)/locale
X+localedir :=	@datadir@/locale
X etcdir :=	$(subst /usr/etc,/etc,$(prefix)/etc)
X 
X INSTALL :=	@INSTALL@
X@@ -257,7 +257,7 @@
X 		-e 's:@VERSION''@:$(VERSION):g'				\
X 		-e 's:@RELEASE''@:$(RELEASE):g'				\
X 		-e 's:@LOCALEDIR''@:$(localedir):g'			\
X-		-e 's:@DOCSUBDIR''@:$(docdir)/$(PACKAGE)-$(VERSION):g'	\
X+		-e 's:@DOCSUBDIR''@:$(docdir)/$(PACKAGE):g'		\
X 		$< > $@
X 	@$(if $(filter-out $<,$(NON_EXEC_IN)),chmod +x $@)
X 
X@@ -312,15 +312,14 @@
X 	$(INSTALL) -m 755 bin/patch-wrapper				\
X 		   $(BUILD_ROOT)$(datadir)/$(PACKAGE)/wrapper/patch
X endif
X-	
X 	$(INSTALL) -d $(BUILD_ROOT)$(libdir)/$(PACKAGE)
X 	$(INSTALL) -m 755 $(LIB:%=lib/%) $(BUILD_ROOT)$(libdir)/$(PACKAGE)/
X 
X-	$(INSTALL) -d $(BUILD_ROOT)$(docdir)/$(PACKAGE)-$(VERSION)/
X+	$(INSTALL) -d $(BUILD_ROOT)$(docdir)/$(PACKAGE)/
X 	$(INSTALL) -m 644 doc/README					\
X-		   $(BUILD_ROOT)$(docdir)/$(PACKAGE)-$(VERSION)/
X+		   $(BUILD_ROOT)$(docdir)/$(PACKAGE)/
X 	$(INSTALL) -m 644 doc/quilt.pdf doc/README.MAIL			\
X-		   $(BUILD_ROOT)$(docdir)/$(PACKAGE)-$(VERSION)/
X+		   $(BUILD_ROOT)$(docdir)/$(PACKAGE)/
X 
X 	$(INSTALL) -d $(BUILD_ROOT)$(mandir)/man1
X 	$(INSTALL) -m 644 $(MAN1) $(BUILD_ROOT)$(mandir)/man1/
X@@ -329,7 +328,7 @@
X 	$(INSTALL) -d $(BUILD_ROOT)$(etcdir)/bash_completion.d
X 	$(INSTALL) -m 644 bash_completion				\
X 		   $(BUILD_ROOT)$(etcdir)/bash_completion.d/quilt
X-	$(INSTALL) -m 644 quilt.quiltrc $(BUILD_ROOT)$(etcdir)/
X+	$(INSTALL) -m 644 quilt.quiltrc $(BUILD_ROOT)$(etcdir)/quilt.quiltrc.sample
X 
X install-compat: install-compat1 $(COMPAT_SYMLINKS:%=install-compat-symlink-%)
X install-compat-symlink-% :: install-compat1
X@@ -355,8 +354,8 @@
X 	       $(patsubst %,$(BUILD_ROOT)$(mandir)/man1/%,		\
X 		   $(notdir $(MAN1)))					\
X 	       $(BUILD_ROOT)$(etcdir)/bash_completion.d/quilt		\
X-	       $(BUILD_ROOT)$(etcdir)/quilt.quiltrc			\
X-	       $(BUILD_ROOT)$(docdir)/$(PACKAGE)-$(VERSION)/
X+	       $(BUILD_ROOT)$(etcdir)/quilt.quiltrc.sample		\
X+	       $(BUILD_ROOT)$(docdir)/$(PACKAGE)/
X 
X check: $(TESTS:test/%.test=test/.%.ok)
X check-all: $(TESTS:test/%.test=check-%)
END-of-quilt/files/patch-Makefile.in
echo x - quilt/distinfo
sed 's/^X//' >quilt/distinfo << 'END-of-quilt/distinfo'
XMD5 (quilt-0.46.tar.gz) = 4508546d1ed0257ef7c128b6121b7208
XSHA256 (quilt-0.46.tar.gz) = 47bf030565bb462840db694acc183273455714028c74974c5b3a3bd4ad29ad89
XSIZE (quilt-0.46.tar.gz) = 403984
END-of-quilt/distinfo
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610201035.k9KAZfXn055863>