Initial import of tla-1.2

tla is an Arch CLI written in C.

Arch is a revision control system, i.e. a system that makes it easy to
track changes to computer files, mostly the source code to complex
software systems.

It has the following features that set it apart from other revision
control systems, such as CVS, Subversion or Bitkeeper:

- distributed repositories
- advanced merging capabilities
- low barrier of entry : everybody can easily publish their changes to
  others projects. Repositories can be hosted on HTTP, FTP SFTP and
  WebDav server.
- renames handled
- archive signing and integrity checking : a facility by which the
  integrity of a publicly accessible archive can be verified.

Submitted and maintained by Laurent Cheylus <foxy ta free tod fr>
This commit is contained in:
xsa 2004-06-10 07:50:43 +00:00
parent ee4a3c96ef
commit 3eb1bd12b2
10 changed files with 191 additions and 0 deletions

47
devel/tla/Makefile Normal file
View File

@ -0,0 +1,47 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/06/10 07:50:43 xsa Exp $
COMMENT= "original Arch source control management CLI written in C"
DISTNAME= tla-1.2
CATEGORIES= devel
HOMEPAGE= http://www.gnuarch.org/
MAINTAINER= Laurent Cheylus <foxy@free.fr>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU:=gnu-arch/} \
http://regexps.srparish.net/src/tla/
RUN_DEPENDS= ::textproc/gdiff \
::archivers/gtar
BUILD_DEPENDS= ${RUN_DEPENDS}
USE_GMAKE= Yes
WRKDIST= ${WRKDIR}/${DISTNAME}/src
WRKBUILD= ${WRKSRC}/=build
REGRESS_TARGET= test
DOCDIR= ${PREFIX}/share/doc/tla
do-configure:
cd ${WRKBUILD}; \
../configure --prefix=${PREFIX} --destdir=${DESTDIR} \
--with-gnu-diff ${LOCALBASE}/bin/gdiff \
--with-gnu-diff3 ${LOCALBASE}/bin/gdiff3 \
--with-gnu-tar ${LOCALBASE}/bin/gtar \
--with-cc ${CC}
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs-tla/html/*.html ${DOCDIR}
${STRIP} ${PREFIX}/bin/tla
.include <bsd.port.mk>

3
devel/tla/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (tla-1.2.tar.gz) = 1fbc9cd83c37ad6e88e9e6a5f0b62871
RMD160 (tla-1.2.tar.gz) = b41f99d7174ad5e27f4e8a9342b3a5ec42f2eb7f
SHA1 (tla-1.2.tar.gz) = c69b2fb612a8bc983e1f8f62fc6ab62e0205bb0a

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-tla_libneon_ne_207_c,v 1.1.1.1 2004/06/10 07:50:43 xsa Exp $
--- tla/libneon/ne_207.c.orig 2003-12-06 20:35:28.000000000 +0100
+++ tla/libneon/ne_207.c 2004-06-09 23:27:35.000000000 +0200
@@ -320,12 +320,12 @@ int ne_simple_request(ne_session *sess,
if (ne_get_status(req)->code == 207) {
if (!ne_xml_valid(p)) {
/* The parse was invalid */
- ne_set_error(sess, ne_xml_get_error(p));
+ ne_set_error(sess, "%s", ne_xml_get_error(p));
ret = NE_ERROR;
} else if (ctx.is_error) {
/* If we've actually got any error information
* from the 207, then set that as the error */
- ne_set_error(sess, ctx.buf->data);
+ ne_set_error(sess, "%s", ctx.buf->data);
ret = NE_ERROR;
}
} else if (ne_get_status(req)->klass != 2) {

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-tla_libneon_ne_auth_c,v 1.1.1.1 2004/06/10 07:50:43 xsa Exp $
--- tla/libneon/ne_auth.c.orig 2003-12-06 20:35:28.000000000 +0100
+++ tla/libneon/ne_auth.c 2004-06-09 23:27:35.000000000 +0200
@@ -950,7 +950,7 @@ static int ah_post_send(ne_request *req,
if (areq->auth_info_hdr != NULL &&
verify_response(areq, sess, areq->auth_info_hdr)) {
NE_DEBUG(NE_DBG_HTTPAUTH, "Response authentication invalid.\n");
- ne_set_error(sess->sess, _(sess->spec->fail_msg));
+ ne_set_error(sess->sess, "%s", _(sess->spec->fail_msg));
ret = NE_ERROR;
} else if (status->code == sess->spec->status_code &&
areq->auth_hdr != NULL) {

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-tla_libneon_ne_locks_c,v 1.1.1.1 2004/06/10 07:50:43 xsa Exp $
--- tla/libneon/ne_locks.c.orig 2003-12-06 20:35:28.000000000 +0100
+++ tla/libneon/ne_locks.c 2004-06-09 23:27:36.000000000 +0200
@@ -734,7 +734,7 @@ int ne_lock(ne_session *sess, struct ne_
}
else if (parse_failed) {
ret = NE_ERROR;
- ne_set_error(sess, ne_xml_get_error(parser));
+ ne_set_error(sess, "%s", ne_xml_get_error(parser));
}
else if (ne_get_status(req)->code == 207) {
ret = NE_ERROR;
@@ -802,7 +802,7 @@ int ne_lock_refresh(ne_session *sess, st
if (ret == NE_OK && ne_get_status(req)->klass == 2) {
if (parse_failed) {
ret = NE_ERROR;
- ne_set_error(sess, ne_xml_get_error(parser));
+ ne_set_error(sess, "%s", ne_xml_get_error(parser));
}
else if (ne_get_status(req)->code == 207) {
ret = NE_ERROR;

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-tla_libneon_ne_props_c,v 1.1.1.1 2004/06/10 07:50:43 xsa Exp $
--- tla/libneon/ne_props.c.orig 2003-12-06 20:35:28.000000000 +0100
+++ tla/libneon/ne_props.c 2004-06-09 23:27:36.000000000 +0200
@@ -142,7 +142,7 @@ static int propfind(ne_propfind_handler
if (ret == NE_OK && ne_get_status(req)->klass != 2) {
ret = NE_ERROR;
} else if (!ne_xml_valid(handler->parser)) {
- ne_set_error(handler->sess, ne_xml_get_error(handler->parser));
+ ne_set_error(handler->sess, "%s", ne_xml_get_error(handler->parser));
ret = NE_ERROR;
}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-tla_libneon_ne_xml_c,v 1.1.1.1 2004/06/10 07:50:43 xsa Exp $
--- tla/libneon/ne_xml.c.orig 2003-12-06 20:35:29.000000000 +0100
+++ tla/libneon/ne_xml.c 2004-06-09 23:27:36.000000000 +0200
@@ -538,7 +538,7 @@ void ne_xml_destroy(ne_xml_parser *p)
void ne_xml_set_error(ne_xml_parser *p, const char *msg)
{
- ne_snprintf(p->error, ERR_SIZE, msg);
+ ne_snprintf(p->error, ERR_SIZE, "%s", msg);
}
#ifdef HAVE_LIBXML

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-tla_tests_test-framework,v 1.1.1.1 2004/06/10 07:50:43 xsa Exp $
--- tla/tests/test-framework.orig 2004-02-26 23:01:32.000000000 +0100
+++ tla/tests/test-framework 2004-06-09 23:45:41.000000000 +0200
@@ -177,7 +177,6 @@ setup_with_somewhat_interesting_explicit
copy_tree () {
tar_prog=$("$srcroot/build-tools/scripts/option" gnu-tar)
- export $tar_prog
(cd $1 ; "$tar_prog" cf - .) | (mkdir -p $2 ; cd $2 ; "$tar_prog" xf -)
}

17
devel/tla/pkg/DESCR Normal file
View File

@ -0,0 +1,17 @@
tla is an Arch CLI written in C.
Arch is a revision control system, i.e. a system that makes it easy to
track changes to computer files, mostly the source code to complex
software systems.
It has the following features that set it apart from other revision
control systems, such as CVS, Subversion or Bitkeeper:
- distributed repositories
- advanced merging capabilities
- low barrier of entry : everybody can easily publish their changes to
others projects. Repositories can be hosted on HTTP, FTP SFTP and
WebDav server.
- renames handled
- archive signing and integrity checking : a facility by which the
integrity of a publicly accessible archive can be verified.

38
devel/tla/pkg/PLIST Normal file
View File

@ -0,0 +1,38 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/06/10 07:50:43 xsa Exp $
bin/tla
share/doc/tla/advanced-revision-libraries.html
share/doc/tla/arch.html
share/doc/tla/archive-caching.html
share/doc/tla/changeset-format.html
share/doc/tla/checking-in-changes.html
share/doc/tla/cherrypicking-changes.html
share/doc/tla/development-branches.html
share/doc/tla/elementary-branches.html
share/doc/tla/exploring-changesets.html
share/doc/tla/importing-first.html
share/doc/tla/in-general.html
share/doc/tla/indexes.html
share/doc/tla/introducing-changesets.html
share/doc/tla/introducing-replay.html
share/doc/tla/introducing-yourself.html
share/doc/tla/introduction.html
share/doc/tla/inventories.html
share/doc/tla/inventory-ids.html
share/doc/tla/little-help.html
share/doc/tla/multi-tree-projects.html
share/doc/tla/naming-conventions.html
share/doc/tla/new-archive.html
share/doc/tla/new-project.html
share/doc/tla/new-source.html
share/doc/tla/project-management.html
share/doc/tla/retrieving-earlier-revisions.html
share/doc/tla/revision-libraries.html
share/doc/tla/selected-files-commits.html
share/doc/tla/shared-and-public-archives.html
share/doc/tla/source-license.html
share/doc/tla/symbolic-tags.html
share/doc/tla/system-requirements.html
share/doc/tla/tree-history.html
share/doc/tla/update-commit.html
share/doc/tla/using-hooks.html
@dirrm share/doc/tla