Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

11
devel/stgit/DESCR Normal file
View File

@@ -0,0 +1,11 @@
StGIT is a Python application providing similar functionality to Quilt
(i.e. pushing/popping patches to/from a stack) on top of GIT. These
operations are performed using GIT commands and the patches are stored
as GIT commit objects, allowing easy merging of the StGIT patches into
other repositories using standard GIT functionality.
Note that StGIT is not an SCM interface on top of GIT and it expects a
previously initialised GIT repository (unless it is cloned using StGIT
directly). For standard SCM operations, either use plain GIT commands
or the Cogito tool but it is not recommended to mix them with the
StGIT commands.

65
devel/stgit/Makefile Normal file
View File

@@ -0,0 +1,65 @@
# $NetBSD: Makefile,v 1.21 2013/05/31 12:40:57 wiz Exp $
DISTNAME= stgit-0.14.3
PKGREVISION= 6
CATEGORIES= devel
MASTER_SITES= http://homepage.ntlworld.com/cmarinas/stgit/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.procode.org/stgit/
COMMENT= Stacked GIT
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
DEPENDS+= scmgit-base>=1.5.2:../../devel/scmgit-base
AUTO_MKDIRS= yes
USE_TOOLS+= bash:run perl gmake
USE_LANGUAGES= #none
REPLACE_PERL= Documentation/build-docdep.perl
REPLACE_BASH= contrib/stg-*
PYTHON_PATCH_SCRIPTS= *.py stgit/*.py stg
PYSETUPINSTALLARGS= --prefix=${PREFIX}
MAKE_ENV+= ASCIIDOC=${PREFIX}/bin/asciidoc
MAKE_ENV+= ASCIIDOC_EXTRA=${ASCIIDOC_EXTRA:M*:Q}
.include "../../mk/bsd.prefs.mk"
.for d in asciidoc docbook-xsl
GITDOCDEP.${d}= ${${${PKG_INFO} -E ${d} || echo:L:sh}:L:C/[^[0-9]]*/ /g:[1..3]:ts.}
.endfor
ASCIIDOC_EXTRA= # empty
.if !empty(GITDOCDEP.asciidoc:M[8]*)
ASCIIDOC_EXTRA+= -a ascidoc7compatible
.endif
.if !empty(GITDOCDEP.docbook-xsl:M1.7[2-9]*)
ASCIIDOC_EXTRA+= -a docbook-xsl-172
.endif
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
pre-build:
cd ${WRKSRC}/Documentation && \
${SETENV} ${MAKE_ENV} ${GMAKE} all
pre-install:
${CHMOD} a-x ${WRKSRC}/contrib/stgbashprompt.sh
post-install:
cd ${WRKSRC}/contrib && \
${RM} -f *.orig && \
${INSTALL_SCRIPT} stg-* ${DESTDIR}${PREFIX}/bin
cd ${WRKSRC}/Documentation && \
${INSTALL_MAN} *.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
${INSTALL_DATA} *.html \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/html
.include "../../mk/bsd.pkg.mk"

207
devel/stgit/PLIST Normal file
View File

@@ -0,0 +1,207 @@
@comment $NetBSD: PLIST,v 1.9 2012/04/08 20:21:48 wiz Exp $
bin/stg
bin/stg-cvs
bin/stg-dispatch
bin/stg-fold-files-from
bin/stg-gitk
bin/stg-k
bin/stg-mdiff
bin/stg-show
bin/stg-show-old
bin/stg-swallow
bin/stg-unnew
bin/stg-whatchanged
${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/stgit/__init__.py
${PYSITELIB}/stgit/__init__.pyc
${PYSITELIB}/stgit/__init__.pyo
${PYSITELIB}/stgit/basedir.py
${PYSITELIB}/stgit/basedir.pyc
${PYSITELIB}/stgit/basedir.pyo
${PYSITELIB}/stgit/commands/__init__.py
${PYSITELIB}/stgit/commands/__init__.pyc
${PYSITELIB}/stgit/commands/__init__.pyo
${PYSITELIB}/stgit/commands/add.py
${PYSITELIB}/stgit/commands/add.pyc
${PYSITELIB}/stgit/commands/add.pyo
${PYSITELIB}/stgit/commands/applied.py
${PYSITELIB}/stgit/commands/applied.pyc
${PYSITELIB}/stgit/commands/applied.pyo
${PYSITELIB}/stgit/commands/branch.py
${PYSITELIB}/stgit/commands/branch.pyc
${PYSITELIB}/stgit/commands/branch.pyo
${PYSITELIB}/stgit/commands/clean.py
${PYSITELIB}/stgit/commands/clean.pyc
${PYSITELIB}/stgit/commands/clean.pyo
${PYSITELIB}/stgit/commands/clone.py
${PYSITELIB}/stgit/commands/clone.pyc
${PYSITELIB}/stgit/commands/clone.pyo
${PYSITELIB}/stgit/commands/commit.py
${PYSITELIB}/stgit/commands/commit.pyc
${PYSITELIB}/stgit/commands/commit.pyo
${PYSITELIB}/stgit/commands/common.py
${PYSITELIB}/stgit/commands/common.pyc
${PYSITELIB}/stgit/commands/common.pyo
${PYSITELIB}/stgit/commands/copy.py
${PYSITELIB}/stgit/commands/copy.pyc
${PYSITELIB}/stgit/commands/copy.pyo
${PYSITELIB}/stgit/commands/delete.py
${PYSITELIB}/stgit/commands/delete.pyc
${PYSITELIB}/stgit/commands/delete.pyo
${PYSITELIB}/stgit/commands/diff.py
${PYSITELIB}/stgit/commands/diff.pyc
${PYSITELIB}/stgit/commands/diff.pyo
${PYSITELIB}/stgit/commands/edit.py
${PYSITELIB}/stgit/commands/edit.pyc
${PYSITELIB}/stgit/commands/edit.pyo
${PYSITELIB}/stgit/commands/export.py
${PYSITELIB}/stgit/commands/export.pyc
${PYSITELIB}/stgit/commands/export.pyo
${PYSITELIB}/stgit/commands/files.py
${PYSITELIB}/stgit/commands/files.pyc
${PYSITELIB}/stgit/commands/files.pyo
${PYSITELIB}/stgit/commands/float.py
${PYSITELIB}/stgit/commands/float.pyc
${PYSITELIB}/stgit/commands/float.pyo
${PYSITELIB}/stgit/commands/fold.py
${PYSITELIB}/stgit/commands/fold.pyc
${PYSITELIB}/stgit/commands/fold.pyo
${PYSITELIB}/stgit/commands/goto.py
${PYSITELIB}/stgit/commands/goto.pyc
${PYSITELIB}/stgit/commands/goto.pyo
${PYSITELIB}/stgit/commands/hide.py
${PYSITELIB}/stgit/commands/hide.pyc
${PYSITELIB}/stgit/commands/hide.pyo
${PYSITELIB}/stgit/commands/id.py
${PYSITELIB}/stgit/commands/id.pyc
${PYSITELIB}/stgit/commands/id.pyo
${PYSITELIB}/stgit/commands/imprt.py
${PYSITELIB}/stgit/commands/imprt.pyc
${PYSITELIB}/stgit/commands/imprt.pyo
${PYSITELIB}/stgit/commands/init.py
${PYSITELIB}/stgit/commands/init.pyc
${PYSITELIB}/stgit/commands/init.pyo
${PYSITELIB}/stgit/commands/log.py
${PYSITELIB}/stgit/commands/log.pyc
${PYSITELIB}/stgit/commands/log.pyo
${PYSITELIB}/stgit/commands/mail.py
${PYSITELIB}/stgit/commands/mail.pyc
${PYSITELIB}/stgit/commands/mail.pyo
${PYSITELIB}/stgit/commands/new.py
${PYSITELIB}/stgit/commands/new.pyc
${PYSITELIB}/stgit/commands/new.pyo
${PYSITELIB}/stgit/commands/patches.py
${PYSITELIB}/stgit/commands/patches.pyc
${PYSITELIB}/stgit/commands/patches.pyo
${PYSITELIB}/stgit/commands/pick.py
${PYSITELIB}/stgit/commands/pick.pyc
${PYSITELIB}/stgit/commands/pick.pyo
${PYSITELIB}/stgit/commands/pop.py
${PYSITELIB}/stgit/commands/pop.pyc
${PYSITELIB}/stgit/commands/pop.pyo
${PYSITELIB}/stgit/commands/pull.py
${PYSITELIB}/stgit/commands/pull.pyc
${PYSITELIB}/stgit/commands/pull.pyo
${PYSITELIB}/stgit/commands/push.py
${PYSITELIB}/stgit/commands/push.pyc
${PYSITELIB}/stgit/commands/push.pyo
${PYSITELIB}/stgit/commands/rebase.py
${PYSITELIB}/stgit/commands/rebase.pyc
${PYSITELIB}/stgit/commands/rebase.pyo
${PYSITELIB}/stgit/commands/refresh.py
${PYSITELIB}/stgit/commands/refresh.pyc
${PYSITELIB}/stgit/commands/refresh.pyo
${PYSITELIB}/stgit/commands/rename.py
${PYSITELIB}/stgit/commands/rename.pyc
${PYSITELIB}/stgit/commands/rename.pyo
${PYSITELIB}/stgit/commands/repair.py
${PYSITELIB}/stgit/commands/repair.pyc
${PYSITELIB}/stgit/commands/repair.pyo
${PYSITELIB}/stgit/commands/resolved.py
${PYSITELIB}/stgit/commands/resolved.pyc
${PYSITELIB}/stgit/commands/resolved.pyo
${PYSITELIB}/stgit/commands/rm.py
${PYSITELIB}/stgit/commands/rm.pyc
${PYSITELIB}/stgit/commands/rm.pyo
${PYSITELIB}/stgit/commands/series.py
${PYSITELIB}/stgit/commands/series.pyc
${PYSITELIB}/stgit/commands/series.pyo
${PYSITELIB}/stgit/commands/show.py
${PYSITELIB}/stgit/commands/show.pyc
${PYSITELIB}/stgit/commands/show.pyo
${PYSITELIB}/stgit/commands/sink.py
${PYSITELIB}/stgit/commands/sink.pyc
${PYSITELIB}/stgit/commands/sink.pyo
${PYSITELIB}/stgit/commands/status.py
${PYSITELIB}/stgit/commands/status.pyc
${PYSITELIB}/stgit/commands/status.pyo
${PYSITELIB}/stgit/commands/sync.py
${PYSITELIB}/stgit/commands/sync.pyc
${PYSITELIB}/stgit/commands/sync.pyo
${PYSITELIB}/stgit/commands/top.py
${PYSITELIB}/stgit/commands/top.pyc
${PYSITELIB}/stgit/commands/top.pyo
${PYSITELIB}/stgit/commands/unapplied.py
${PYSITELIB}/stgit/commands/unapplied.pyc
${PYSITELIB}/stgit/commands/unapplied.pyo
${PYSITELIB}/stgit/commands/uncommit.py
${PYSITELIB}/stgit/commands/uncommit.pyc
${PYSITELIB}/stgit/commands/uncommit.pyo
${PYSITELIB}/stgit/commands/unhide.py
${PYSITELIB}/stgit/commands/unhide.pyc
${PYSITELIB}/stgit/commands/unhide.pyo
${PYSITELIB}/stgit/config.py
${PYSITELIB}/stgit/config.pyc
${PYSITELIB}/stgit/config.pyo
${PYSITELIB}/stgit/exception.py
${PYSITELIB}/stgit/exception.pyc
${PYSITELIB}/stgit/exception.pyo
${PYSITELIB}/stgit/git.py
${PYSITELIB}/stgit/git.pyc
${PYSITELIB}/stgit/git.pyo
${PYSITELIB}/stgit/gitmergeonefile.py
${PYSITELIB}/stgit/gitmergeonefile.pyc
${PYSITELIB}/stgit/gitmergeonefile.pyo
${PYSITELIB}/stgit/main.py
${PYSITELIB}/stgit/main.pyc
${PYSITELIB}/stgit/main.pyo
${PYSITELIB}/stgit/out.py
${PYSITELIB}/stgit/out.pyc
${PYSITELIB}/stgit/out.pyo
${PYSITELIB}/stgit/run.py
${PYSITELIB}/stgit/run.pyc
${PYSITELIB}/stgit/run.pyo
${PYSITELIB}/stgit/stack.py
${PYSITELIB}/stgit/stack.pyc
${PYSITELIB}/stgit/stack.pyo
${PYSITELIB}/stgit/templates.py
${PYSITELIB}/stgit/templates.pyc
${PYSITELIB}/stgit/templates.pyo
${PYSITELIB}/stgit/utils.py
${PYSITELIB}/stgit/utils.pyc
${PYSITELIB}/stgit/utils.pyo
${PYSITELIB}/stgit/version.py
${PYSITELIB}/stgit/version.pyc
${PYSITELIB}/stgit/version.pyo
man/man1/stg-branch.1
man/man1/stg-clone.1
man/man1/stg-cp.1
man/man1/stg-init.1
man/man1/stg-new.1
man/man1/stg-sink.1
man/man1/stg.1
share/doc/stgit/html/stg-branch.html
share/doc/stgit/html/stg-clone.html
share/doc/stgit/html/stg-cp.html
share/doc/stgit/html/stg-init.html
share/doc/stgit/html/stg-new.html
share/doc/stgit/html/stg-sink.html
share/doc/stgit/html/stg.html
share/doc/stgit/html/tutorial.html
share/examples/stgit/gitconfig
share/stgit/contrib/stgbashprompt.sh
share/stgit/contrib/stgit-completion.bash
share/stgit/templates/covermail.tmpl
share/stgit/templates/mailattch.tmpl
share/stgit/templates/patchexport.tmpl
share/stgit/templates/patchmail.tmpl

9
devel/stgit/distinfo Normal file
View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.9 2011/01/21 13:09:51 dmcmahill Exp $
SHA1 (stgit-0.14.3.tar.gz) = 9ea2e859281f8fe3cbb7f2bd9fd83b9846923cbe
RMD160 (stgit-0.14.3.tar.gz) = 5ed7ab18a3f98269c3fc29e4d1dd353171add7d9
Size (stgit-0.14.3.tar.gz) = 227645 bytes
SHA1 (patch-aa) = 364103963f8e74eee12dbd548b4ed48b349b662f
SHA1 (patch-ab) = 4808d98409c39cd6af33aad1b318a8df41c9cfec
SHA1 (patch-ac) = ce1df6ab709c4c4e27b96491a8fc37669c593cb0
SHA1 (patch-ad) = 71d7a3c7e71512a84231f08574713390f1db300d

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-aa,v 1.1 2008/01/10 06:35:49 bjs Exp $
--- contrib/stg-gitk.orig 2007-12-11 18:54:04.000000000 -0500
+++ contrib/stg-gitk
@@ -48,10 +48,10 @@ if [ $allbranches = 1 ]; then
refdirs="$GIT_DIR/refs"
else
# default to current branch
- if [ "$branches" == "" ]; then
+ if [ "$branches" = "" ]; then
branches="$(stg branch)"
fi
- if [ "$branches" == "" ]; then
+ if [ "$branches" = "" ]; then
echo >&2 "ERROR: cannot find current branch."
exit 1
fi

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-ab,v 1.2 2008/04/10 12:11:34 bjs Exp $
--- setup.py.orig 2008-03-24 15:21:30.000000000 -0400
+++ setup.py
@@ -62,10 +62,8 @@ setup(name = 'stgit',
scripts = ['stg'],
packages = ['stgit', 'stgit.commands'],
data_files = [('share/stgit/templates', glob.glob('templates/*.tmpl')),
- ('share/stgit/examples', glob.glob('examples/*.tmpl')),
- ('share/stgit/examples', ['examples/gitconfig']),
- ('share/stgit/contrib', ['contrib/diffcol.sh',
- 'contrib/stgbashprompt.sh',
+ ('share/examples/stgit', ['examples/gitconfig']),
+ ('share/stgit/contrib', ['contrib/stgbashprompt.sh',
'contrib/stgit-completion.bash']),
('share/doc/stgit', glob.glob('doc/*.txt'))]
)

View File

@@ -0,0 +1,31 @@
$NetBSD: patch-ac,v 1.2 2008/07/25 04:00:59 bjs Exp $
--- Documentation/Makefile.orig 2007-07-25 19:49:46.000000000 -0400
+++ Documentation/Makefile 2008-02-11 14:55:30.000000000 -0500
@@ -20,7 +20,7 @@
# DESTDIR=
ASCIIDOC=asciidoc --unsafe
-ASCIIDOC_EXTRA =
+#ASCIIDOC_EXTRA =
INSTALL?=install
#
@@ -44,9 +44,14 @@
man7: $(DOC_MAN7)
install: man
- $(INSTALL) -d -m755 $(DESTDIR)$(man1dir) $(DESTDIR)$(man7dir)
- $(INSTALL) -m644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
- $(INSTALL) -m644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(man1dir)
+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(man7dir)
+ for fn in $(DOC_MAN1); do \
+ $(BSD_INSTALL_MAN) $$fn $(DESTDIR)$(man1dir); \
+ done
+ for fn in $(DOC_MAN7); do \
+ $(BSD_INSTALL_MAN) $$fn $(DESTDIR)$(man7dir); \
+ done
#
# Determine "include::" file references in asciidoc files.
#

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ad,v 1.1 2011/01/21 13:09:51 dmcmahill Exp $
Remove level 0 markup which is not allowed for an 'article' document.
--- Documentation/tutorial.txt.orig 2011-01-21 12:56:56.000000000 +0000
+++ Documentation/tutorial.txt 2011-01-21 12:57:06.000000000 +0000
@@ -1,4 +1,4 @@
StGIT Tutorial
-##############
+===============