[Midnightbsd-cvs] mports: mports/devel: Add cvstrac, a patch monitoring, wiki, and bug

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Apr 6 14:02:27 EDT 2008


Log Message:
-----------
Add cvstrac, a patch monitoring, wiki, and bug reporting addon for cvs repos

Modified Files:
--------------
    mports/devel:
        Makefile (r1.206 -> r1.207)

Added Files:
-----------
    mports/devel/cvstrac:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-message (r1.1)
    mports/devel/cvstrac/files:
        patch-Makefile (r1.1)
        patch-db.c (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.206
retrieving revision 1.207
diff -L devel/Makefile -L devel/Makefile -u -r1.206 -r1.207
--- devel/Makefile
+++ devel/Makefile
@@ -37,6 +37,7 @@
     SUBDIR += cvsnt
     SUBDIR += cvsps
     SUBDIR += cvsps-devel
+    SUBDIR += cvstrac
     SUBDIR += cvsweb
     SUBDIR += cvsweb3
     SUBDIR += dbus
--- /dev/null
+++ devel/cvstrac/pkg-message
@@ -0,0 +1,5 @@
+This port will install the cvstrac binary in ${PREFIX}/bin. Please follow
+the detailed installation instructions in the CVSTrac Wiki at
+http://www.cvstrac.org/cvstrac/wiki?p=CvstracInstallation for
+information on how to get CVSTrac up and running in your preferred
+configuration.
--- /dev/null
+++ devel/cvstrac/pkg-descr
@@ -0,0 +1,8 @@
+CVSTrac is a bug and patch-set tracking system for use with CVS
+appropriate for use on projects with up to a few hundred developers.
+CVSTrac is designed for low-ceremony development - it provides
+mechanisms for tracking changes and bugs without unnecessary
+restrictions. It has a built-in Wiki and ticketing system. Both
+of these functions can be linked to the CVS tree.
+
+WWW: http://www.cvstrac.org/
--- /dev/null
+++ devel/cvstrac/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for:	cvstrac
+# Date created:				29 August 2002
+# Whom:					Bruce M Simpson <bms at spc.org>
+#
+# $MidnightBSD: mports/devel/cvstrac/Makefile,v 1.1 2008/04/06 18:02:25 laffer1 Exp $
+# $FreeBSD: ports/devel/cvstrac/Makefile,v 1.10 2007/04/02 16:48:47 rafan Exp $
+#
+
+PORTNAME=	cvstrac
+PORTVERSION=	2.0.0
+CATEGORIES=	devel
+MASTER_SITES=	http://www.cvstrac.org/
+DISTNAME=	${PORTNAME}-${PORTVERSION}
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Web-Based Bug And Patch-Set Tracking System For CVS
+LICENSE=	gpl2
+
+USE_SQLITE=	yes
+
+USE_GMAKE=	yes
+
+MAKE_ARGS=	SRCDIR=${WRKSRC} PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
+
+NOMAN=
+PLIST_FILES=	bin/cvstrac
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/cvstrac ${PREFIX}/bin
+
+.include <bsd.port.mk>
--- /dev/null
+++ devel/cvstrac/distinfo
@@ -0,0 +1,3 @@
+MD5 (cvstrac-2.0.0.tar.gz) = 434b7c19a2990e8a3d6b17e3e97f1668
+SHA256 (cvstrac-2.0.0.tar.gz) = 7e1d4125a7624ff192016a88aa4bb1f92202f81d8bbccb4af70ec3b49207f575
+SIZE (cvstrac-2.0.0.tar.gz) = 283011
--- /dev/null
+++ devel/cvstrac/files/patch-Makefile
@@ -0,0 +1,37 @@
+--- Makefile.orig	Thu May  8 10:58:17 2003
++++ Makefile	Thu May  8 10:58:32 2003
+@@ -0,0 +1,34 @@
++#!/usr/bin/make
++#
++#### The toplevel directory of the source tree.
++#
++#SRCDIR = /home/drh/cvstrac/cvstrac
++
++#### C Compiler and options for use in building executables that
++#    will run on the platform that is doing the build.
++#
++BCC = gcc -g -O2 -I$(LOCALBASE)/include
++
++#### The suffix to add to executable files.  ".exe" for windows.
++#    Nothing for unix.
++#
++E =
++
++#### C Compile and options for use in building executables that 
++#    will run on the target platform.  This is usually the same
++#    as BCC, unless you are cross-compiling.
++#
++TCC = gcc -g -O0 -Wall -I$(LOCALBASE)/include -lm
++
++#### Extra arguments for linking against SQLite
++#
++LIBSQLITE = -L$(LOCALBASE)/lib -lsqlite3 -lcrypt
++
++#### Installation directory
++#
++INSTALLDIR = $(PREFIX)/bin
++
++
++# You should not need to change anything below this line
++###############################################################################
++include $(SRCDIR)/main.mk
--- /dev/null
+++ devel/cvstrac/files/patch-db.c
@@ -0,0 +1,11 @@
+--- db.c.org	Wed Dec 27 11:14:31 2006
++++ db.c	Wed Dec 27 11:15:09 2006
+@@ -107,6 +107,8 @@
+   extern int sqlite3StrICmp(const char*, const char*);
+   if( type==SQLITE_SELECT ){
+     return SQLITE_OK;
++  }else if( type==SQLITE_FUNCTION ){
++    return SQLITE_OK;
+   }else if( type==SQLITE_READ ){
+     if( sqlite3StrICmp(zArg1,"user")==0 ){
+       if( sqlite3StrICmp(zArg2,"passwd")==0 || sqlite3StrICmp(zArg2,"email")==0 ){


More information about the Midnightbsd-cvs mailing list