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

12
devel/codeville/DESCR Normal file
View File

@@ -0,0 +1,12 @@
Why yet another version control system? All other version control systems
require that you keep careful track of the relationships between branches so
as not have to repeatedly merge the same conflicts. Codeville is much more
anarchic. It allows you to update from or commit to any repository at any time
with no unnecessary re-merges.
Codeville works by creating an identifier for each change which is done, and
remembering the list of all changes which have been applied to each file and
the last change which modified each line in each file. When there's a conflict,
it checks to see if one of the two sides has already been applied to the other
one, and if so makes the other side win automatically. When there's an actual
not automatically mergeable version conflict, Codeville behaves in almost
exactly the same way as CVS.

42
devel/codeville/Makefile Normal file
View File

@@ -0,0 +1,42 @@
# $NetBSD: Makefile,v 1.25 2012/10/31 11:16:47 asau Exp $
DISTNAME= Codeville-0.8.0
PKGNAME= codeville-0.8.0
PKGREVISION= 6
CATEGORIES= devel scm
MASTER_SITES= http://codeville.org/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://codeville.org/
COMMENT= Distributed revision control system
LICENSE= modified-bsd
REPLACE_PYTHON= *.py
REPLACE_PYTHON+= */*.py
BUILD_DEFS+= VARBASE
BUILD_DEFS_EFFECTS+= CODEVILLE_DATADIR
CODEVILLE_DATADIR?= ${VARBASE}/db/cdv
# XXX Could create a user for the server, rc script, server directory hier, etc.
CONF_FILES= ${EGDIR}/cdvserver.conf \
${PKG_SYSCONFDIR}/cdvserver.conf
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
SUBST_CLASSES+= paths
SUBST_FILES.paths= cdvserver.conf.sample cdvpasswd cdvserver
SUBST_MESSAGE.paths= performing pathname substitutions
SUBST_STAGE.paths= pre-configure
SUBST_VARS.paths= CODEVILLE_DATADIR VARBASE PKG_SYSCONFDIR
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/cdvserver.conf.sample \
${DESTDIR}${EGDIR}/cdvserver.conf
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../databases/py-bsddb3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

96
devel/codeville/PLIST Normal file
View File

@@ -0,0 +1,96 @@
@comment $NetBSD: PLIST,v 1.9 2012/04/08 20:21:44 wiz Exp $
bin/cdv
bin/cdv-agent
bin/cdvpasswd
bin/cdvserver
bin/cdvupgrade
${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/Codeville/DFS.py
${PYSITELIB}/Codeville/DFS.pyc
${PYSITELIB}/Codeville/DFS.pyo
${PYSITELIB}/Codeville/RawServer.py
${PYSITELIB}/Codeville/RawServer.pyc
${PYSITELIB}/Codeville/RawServer.pyo
${PYSITELIB}/Codeville/SRP.py
${PYSITELIB}/Codeville/SRP.pyc
${PYSITELIB}/Codeville/SRP.pyo
${PYSITELIB}/Codeville/__init__.py
${PYSITELIB}/Codeville/__init__.pyc
${PYSITELIB}/Codeville/__init__.pyo
${PYSITELIB}/Codeville/agent.py
${PYSITELIB}/Codeville/agent.pyc
${PYSITELIB}/Codeville/agent.pyo
${PYSITELIB}/Codeville/auth.py
${PYSITELIB}/Codeville/auth.pyc
${PYSITELIB}/Codeville/auth.pyo
${PYSITELIB}/Codeville/bencode.py
${PYSITELIB}/Codeville/bencode.pyc
${PYSITELIB}/Codeville/bencode.pyo
${PYSITELIB}/Codeville/cdv_glob.py
${PYSITELIB}/Codeville/cdv_glob.pyc
${PYSITELIB}/Codeville/cdv_glob.pyo
${PYSITELIB}/Codeville/client.py
${PYSITELIB}/Codeville/client.pyc
${PYSITELIB}/Codeville/client.pyo
${PYSITELIB}/Codeville/client_helpers.py
${PYSITELIB}/Codeville/client_helpers.pyc
${PYSITELIB}/Codeville/client_helpers.pyo
${PYSITELIB}/Codeville/client_net.py
${PYSITELIB}/Codeville/client_net.pyc
${PYSITELIB}/Codeville/client_net.pyo
${PYSITELIB}/Codeville/crypt.py
${PYSITELIB}/Codeville/crypt.pyc
${PYSITELIB}/Codeville/crypt.pyo
${PYSITELIB}/Codeville/db.py
${PYSITELIB}/Codeville/db.pyc
${PYSITELIB}/Codeville/db.pyo
${PYSITELIB}/Codeville/diff.py
${PYSITELIB}/Codeville/diff.pyc
${PYSITELIB}/Codeville/diff.pyo
${PYSITELIB}/Codeville/entropy.py
${PYSITELIB}/Codeville/entropy.pyc
${PYSITELIB}/Codeville/entropy.pyo
${PYSITELIB}/Codeville/history.py
${PYSITELIB}/Codeville/history.pyc
${PYSITELIB}/Codeville/history.pyo
${PYSITELIB}/Codeville/lcsmatch.py
${PYSITELIB}/Codeville/lcsmatch.pyc
${PYSITELIB}/Codeville/lcsmatch.pyo
${PYSITELIB}/Codeville/merge.py
${PYSITELIB}/Codeville/merge.pyc
${PYSITELIB}/Codeville/merge.pyo
${PYSITELIB}/Codeville/mergelcs.py
${PYSITELIB}/Codeville/mergelcs.pyc
${PYSITELIB}/Codeville/mergelcs.pyo
${PYSITELIB}/Codeville/network.py
${PYSITELIB}/Codeville/network.pyc
${PYSITELIB}/Codeville/network.pyo
${PYSITELIB}/Codeville/old/__init__.py
${PYSITELIB}/Codeville/old/__init__.pyc
${PYSITELIB}/Codeville/old/__init__.pyo
${PYSITELIB}/Codeville/old/history.py
${PYSITELIB}/Codeville/old/history.pyc
${PYSITELIB}/Codeville/old/history.pyo
${PYSITELIB}/Codeville/old/merge.py
${PYSITELIB}/Codeville/old/merge.pyc
${PYSITELIB}/Codeville/old/merge.pyo
${PYSITELIB}/Codeville/passwd.py
${PYSITELIB}/Codeville/passwd.pyc
${PYSITELIB}/Codeville/passwd.pyo
${PYSITELIB}/Codeville/path.py
${PYSITELIB}/Codeville/path.pyc
${PYSITELIB}/Codeville/path.pyo
${PYSITELIB}/Codeville/selectpoll.py
${PYSITELIB}/Codeville/selectpoll.pyc
${PYSITELIB}/Codeville/selectpoll.pyo
${PYSITELIB}/Codeville/server.py
${PYSITELIB}/Codeville/server.pyc
${PYSITELIB}/Codeville/server.pyo
${PYSITELIB}/Codeville/testtest.py
${PYSITELIB}/Codeville/testtest.pyc
${PYSITELIB}/Codeville/testtest.pyo
${PYSITELIB}/Codeville/upgrade.py
${PYSITELIB}/Codeville/upgrade.pyc
${PYSITELIB}/Codeville/upgrade.pyo
share/doc/Codeville-${PKGVERSION}/LICENSE.txt
share/examples/codeville/cdvserver.conf

9
devel/codeville/distinfo Normal file
View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.9 2008/06/13 05:57:07 bjs Exp $
SHA1 (Codeville-0.8.0.tar.gz) = 5f3bbbf80dd07d34ad0f95c0f7f1aea44d21e257
RMD160 (Codeville-0.8.0.tar.gz) = 283e822460f802eb22391b3dddda1726c895e77a
Size (Codeville-0.8.0.tar.gz) = 93779 bytes
SHA1 (patch-aa) = 48812e477622a984190b3c2b2e79f647b073df24
SHA1 (patch-ab) = 7c9d5526741589dde60aa39bfbccdd71daa215a8
SHA1 (patch-ac) = 19811e55ae4b631dc2dc61357f6dc184ed3ec011
SHA1 (patch-ad) = 6613f1888b8f1fa6485f807dcd2b568b5c182483

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-aa,v 1.4 2008/06/13 05:57:07 bjs Exp $
--- cdvpasswd.orig 2005-11-20 19:33:02.000000000 -0500
+++ cdvpasswd
@@ -36,7 +36,7 @@ def run(args):
if platform == 'win32':
noconfig = True
else:
- config_file = '/etc/cdvserver.conf'
+ config_file = '@PKG_SYSCONFDIR@/cdvserver.conf'
# do a first pass of the command line to pick up an alternate config
for (opt, arg) in optlist:
@@ -51,7 +51,7 @@ def run(args):
if platform == 'win32':
config.set('control', 'datadir', getcwd())
else:
- config.set('control', 'datadir', '/var/lib/cdvserver')
+ config.set('control', 'datadir', '@CODEVILLE_DATADIR@')
if not noconfig:
try:

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-ab,v 1.2 2008/06/13 05:57:07 bjs Exp $
--- cdvserver.conf.sample.orig 2005-11-20 19:33:02.000000000 -0500
+++ cdvserver.conf.sample
@@ -1,12 +1,12 @@
[control]
-#datadir=/var/lib/cdvserver
-#pidfile=/var/run/cdvserver.pid
-#logfile=/var/log/cdvserver.log
-#backup=False
-#port=6601
+#datadir=@CODEVILLE_DATADIR@
+#pidfile=@VARBASE@/run/cdvserver.pid
+#logfile=@VARBASE@/log/cdvserver.log
+#backup=False
+#port=6601
user=cdv
[post-commit]
# keys are regular expression matching repository names
# values are programs which will be sent XML through stdin
-#.*=cat >> /var/log/cdvcommits.log
+#.*=cat >> @VARBASE@/log/cdvcommits.log

View File

@@ -0,0 +1,31 @@
$NetBSD: patch-ac,v 1.2 2008/06/13 05:57:07 bjs Exp $
--- cdvserver.orig 2006-02-23 15:44:13.000000000 -0500
+++ cdvserver
@@ -45,7 +45,7 @@ def run(args):
else:
daemonize = True
noconfig = False
- configfile = '/etc/cdvserver.conf'
+ configfile = '@PKG_SYSCONFDIR@/cdvserver.conf'
# parse command line arguments
initialize = False
@@ -78,14 +78,14 @@ def run(args):
# set the defaults
config.add_section('control')
- config.set('control', 'pidfile', '/var/run/cdvserver.pid')
+ config.set('control', 'pidfile', '@VARBASE@/run/cdvserver.pid')
config.set('control', 'backup', 'False')
config.set('control', 'port', '6601')
if sys.platform == 'win32':
config.set('control', 'datadir', os.getcwd())
else:
- config.set('control', 'datadir', '/var/lib/cdvserver')
- config.set('control', 'logfile', '/var/log/cdvserver.log')
+ config.set('control', 'datadir', '@CODEVILLE_DATADIR@')
+ config.set('control', 'logfile', '@VARBASE@/log/cdvserver.log')
config.add_section('post-commit')
# next read the config file

View File

@@ -0,0 +1,28 @@
$NetBSD: patch-ad,v 1.1 2008/06/13 04:55:53 bjs Exp $
--- setup.py.orig 2007-07-13 14:51:23.000000000 -0400
+++ setup.py
@@ -13,22 +13,9 @@ scripts = ["cdv", "cdvserver", "cdvpassw
plat_ext = []
data_files = [('share/doc/Codeville-' + Codeville.version, ['LICENSE.txt'])]
-if sys.platform == 'win32':
- from distutils.core import Extension
- if sys.version < '2.4':
- plat_ext = [Extension("Codeville.winrandom",
- libraries = ['ws2_32', 'advapi32'],
- sources = ["src/winrand.c"])]
- for i in xrange(len(scripts)):
- shutil.copy(scripts[i], scripts[i] + '.py')
- scripts[i] = scripts[i] + '.py'
- #os.copy('bin/winrandom.pyd', 'Codeville/winrandom.pyd')
-else:
- data_files[0][1].append('cdvserver.conf.sample')
-
for arg in sys.argv:
if arg.find('wininst') >= 0:
- data_files = [('', ['LICENSE.txt'])]
+ data_files = [(['LICENSE.txt'])]
for i in xrange(len(scripts)):
shutil.copy(scripts[i], scripts[i] + '.py')
scripts[i] = scripts[i] + '.py'