Import quilt 0.60

Quilt allows you to easily manage large numbers of patches by keeping
track of the changes each patch makes. Patches can be applied,
un-applied, refreshed, and more.

whith help from sthen and aja, ok aja
This commit is contained in:
rpe 2012-10-08 15:14:25 +00:00
parent d0e8ebff12
commit 81d0293866
6 changed files with 162 additions and 0 deletions

56
devel/quilt/Makefile Normal file
View File

@ -0,0 +1,56 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/10/08 15:14:25 rpe Exp $
COMMENT= quilt
DISTNAME= quilt-0.60
CATEGORIES= devel
HOMEPAGE= http://savannah.nongnu.org/projects/quilt/
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=quilt/}
MODULE= devel/gettext
USE_GMAKE= Yes
RUN_DEPENDS= devel/gpatch \
lang/gawk \
mail/procmail \
misc/findutils \
misc/gnugetopt \
shells/bash \
sysutils/coreutils \
sysutils/ggrep \
textproc/diffstat \
textproc/gdiff \
textproc/gsed
BUILD_DEPENDS= ${RUN_DEPENDS}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-date=${LOCALBASE}/bin/gdate \
--with-diff=${LOCALBASE}/bin/gdiff \
--with-find=${LOCALBASE}/bin/gfind \
--with-getopt=${LOCALBASE}/bin/gnugetopt \
--with-grep=${LOCALBASE}/bin/ggrep \
--with-patch=${LOCALBASE}/bin/gpatch \
--with-sed=${LOCALBASE}/bin/gsed \
--without-patch-wrapper \
--without-rpmbuild
FAKE_FLAGS= BUILD_ROOT=${WRKINST} \
etcdir=${PREFIX}/share/examples/quilt
post-configure:
${SUBST_CMD} ${WRKSRC}/test/delete.test
.include <bsd.port.mk>

2
devel/quilt/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (quilt-0.60.tar.gz) = PXKikuQyvrmnP50Kz+OnfJtNfkIgmRm7JE6ZWMfP5ks=
SIZE (quilt-0.60.tar.gz) = 442369

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2012/10/08 15:14:25 rpe Exp $
--- Makefile.in.orig Sun Sep 2 19:19:00 2012
+++ Makefile.in Sun Sep 2 19:19:16 2012
@@ -13,7 +13,7 @@ docdir := @docdir@
mandir := @mandir@
localedir := $(datadir)/locale
emacsdir := $(datadir)/emacs/site-lisp
-etcdir := $(subst /usr/etc,/etc,$(prefix)/etc)
+etcdir := ${SYSCONFDIR}
INSTALL := @INSTALL@
POD2MAN := @POD2MAN@

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-test_delete_test,v 1.1.1.1 2012/10/08 15:14:25 rpe Exp $
--- test/delete.test.orig Sun Sep 2 21:40:18 2012
+++ test/delete.test Sun Sep 2 21:40:26 2012
@@ -1,3 +1,4 @@
+# >~ find: `?\./dir'?: Permission denied
Test the delete command.
$ mkdir patches
@@ -77,7 +78,7 @@ Test the delete command.
$ quilt delete "test3"
> Removing patch %{P}test3
- >~ find: `?\./dir'?: Permission denied
+ > ${LOCALBASE}/bin/gfind: `./dir': Permission denied
$ chmod a+rx .pc/test3/dir

3
devel/quilt/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
Quilt allows you to easily manage large numbers of patches by keeping
track of the changes each patch makes. Patches can be applied,
un-applied, refreshed, and more.

72
devel/quilt/pkg/PLIST Normal file
View File

@ -0,0 +1,72 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/08 15:14:25 rpe Exp $
bin/guards
bin/quilt
@man man/man1/guards.1
@man man/man1/quilt.1
share/doc/quilt/
share/doc/quilt/README
share/doc/quilt/README.MAIL
share/doc/quilt/quilt.pdf
share/emacs/site-lisp/quilt.el
share/examples/quilt/
share/examples/quilt/bash_completion.d/
@sample ${SYSCONFDIR}/bash_completion.d/
share/examples/quilt/bash_completion.d/quilt
@sample ${SYSCONFDIR}/bash_completion.d/quilt
share/examples/quilt/quilt.quiltrc
@sample ${SYSCONFDIR}/quilt.quiltrc
share/locale/de/LC_MESSAGES/quilt.mo
share/locale/fr/LC_MESSAGES/quilt.mo
share/locale/ja/LC_MESSAGES/quilt.mo
share/locale/ru/LC_MESSAGES/quilt.mo
share/quilt/
share/quilt/add
share/quilt/annotate
share/quilt/applied
share/quilt/compat/
share/quilt/compat/awk
share/quilt/compat/date
share/quilt/compat/diff
share/quilt/compat/find
share/quilt/compat/getopt
share/quilt/compat/grep
share/quilt/compat/patch
share/quilt/compat/sed
share/quilt/compat/sendmail
share/quilt/delete
share/quilt/diff
share/quilt/edit
share/quilt/files
share/quilt/fold
share/quilt/fork
share/quilt/graph
share/quilt/grep
share/quilt/header
share/quilt/import
share/quilt/mail
share/quilt/new
share/quilt/next
share/quilt/patches
share/quilt/pop
share/quilt/previous
share/quilt/push
share/quilt/refresh
share/quilt/remove
share/quilt/rename
share/quilt/revert
share/quilt/scripts/
share/quilt/scripts/backup-files
share/quilt/scripts/dependency-graph
share/quilt/scripts/edmail
share/quilt/scripts/inspect
share/quilt/scripts/patchfns
share/quilt/scripts/remove-trailing-ws
share/quilt/scripts/utilfns
share/quilt/series
share/quilt/setup
share/quilt/snapshot
share/quilt/top
share/quilt/unapplied
share/quilt/upgrade
share/quilt/wrapper/
share/quilt/wrapper/patch