Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2004 18:17:27 -0500 (EST)
From:      "Mark A. Wicks" <mwicks@kettering.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mwicks@kettering.edu
Subject:   ports/62554: [NEW PORT] devel/monotone: The monotone distributed version control system
Message-ID:  <200402082317.i18NHR3A004200@gaspra.kettering.edu>
Resent-Message-ID: <200402082320.i18NKApO047704@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62554
>Category:       ports
>Synopsis:       [NEW PORT] devel/monotone: The monotone distributed version control system
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 08 15:20:10 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mark A. Wicks <mwicks@kettering.edu>
>Release:        FreeBSD 5.2.1-RC i386
>Organization:
Kettering University
>Environment:
System: FreeBSD gaspra.kettering.edu 5.2.1-RC FreeBSD 5.2.1-RC #2: Wed Feb 4 09:13:33 EST 2004 mwicks@gaspra.kettering.edu:/usr/obj/usr/src/sys/gaspra-5.2 i386


	
>Description:
	Monotone is a distributed version control system.
	For a complete description see http://www.venge.net/monotone/
>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	monotone
#	monotone/distinfo
#	monotone/pkg-descr
#	monotone/files
#	monotone/files/patch-address.cpp
#	monotone/files/patch-protocol.cpp
#	monotone/files/patch-interface.cpp
#	monotone/files/patch-monotone.cc
#	monotone/files/patch-sanity.hh
#	monotone/files/patch-configure
#	monotone/files/patch-aclocal.m4
#	monotone/files/patch-Makefile.in
#	monotone/Makefile
#	monotone/pkg-plist
#
echo c - monotone
mkdir -p monotone > /dev/null 2>&1
echo x - monotone/distinfo
sed 's/^X//' >monotone/distinfo << 'END-of-monotone/distinfo'
XMD5 (monotone-0.9.tar.gz) = 78fc58529a923615090cb1063e8ebfb7
XMD5 (monotone-0.9.patch1.gz) = 4cc29916df89874c5e6b21e6d974632e
END-of-monotone/distinfo
echo x - monotone/pkg-descr
sed 's/^X//' >monotone/pkg-descr << 'END-of-monotone/pkg-descr'
XMonotone is a distributed version control tool. It can help automate
Xmany tedious and error-prone tasks in group software development.
X
X    * Store multiple versions of files you are working on efficiently.
X    * Transmit changes to files between you and your colleagues.
X    * Merge changes you make with those your colleagues make.
X    * Make notes about your opinion of the quality of versions of files.
X    * Make decisions about using or ignoring versions, depending on
X       the notes you receive from others.
END-of-monotone/pkg-descr
echo c - monotone/files
mkdir -p monotone/files > /dev/null 2>&1
echo x - monotone/files/patch-address.cpp
sed 's/^X//' >monotone/files/patch-address.cpp << 'END-of-monotone/files/patch-address.cpp'
X--- boost/socket/src/ip4/address.cpp.orig	Wed Jan  7 18:57:36 2004
X+++ boost/socket/src/ip4/address.cpp	Thu Feb  5 19:56:59 2004
X@@ -49,9 +49,12 @@
X #include <netinet/in_systm.h>
X #endif
X 
X+#include <sys/socket.h>
X #include <netinet/in.h>
X+#include <netinet/in_systm.h>
X #include <netinet/ip.h>
X #include <netdb.h>
X+#include <netinet/in_systm.h>
X #include <arpa/inet.h>
X 
X #endif
END-of-monotone/files/patch-address.cpp
echo x - monotone/files/patch-protocol.cpp
sed 's/^X//' >monotone/files/patch-protocol.cpp << 'END-of-monotone/files/patch-protocol.cpp'
X--- boost/socket/src/ip4/protocol.cpp.orig	Wed Jan  7 18:57:36 2004
X+++ boost/socket/src/ip4/protocol.cpp	Thu Feb  5 19:56:59 2004
X@@ -37,6 +37,8 @@
X #include <netinet/in_systm.h>
X #endif
X 
X+#include <sys/socket.h>
X+#include <netinet/in_systm.h>
X #include <netinet/in.h>
X #include <netinet/ip.h>
X #include <netdb.h>
END-of-monotone/files/patch-protocol.cpp
echo x - monotone/files/patch-interface.cpp
sed 's/^X//' >monotone/files/patch-interface.cpp << 'END-of-monotone/files/patch-interface.cpp'
X--- boost/socket/src/interface.cpp.orig	Wed Jan  7 18:57:36 2004
X+++ boost/socket/src/interface.cpp	Thu Feb  5 19:56:59 2004
X@@ -326,7 +326,7 @@
X         // Netmask address
X         if (ioctl(socket, SIOCGIFNETMASK, (char *) ifr) < 0)
X           continue;
X-        iface->iiNetmask.set(&ifr->ifr_netmask,sizeof(::sockaddr));
X+        iface->iiNetmask.set(&ifr->ifr_addr,sizeof(::sockaddr));
X #endif
X 
X //         // Hardware address
END-of-monotone/files/patch-interface.cpp
echo x - monotone/files/patch-monotone.cc
sed 's/^X//' >monotone/files/patch-monotone.cc << 'END-of-monotone/files/patch-monotone.cc'
X--- monotone.cc-orig	Fri Feb  6 15:33:07 2004
X+++ monotone.cc	Fri Feb  6 15:33:48 2004
X@@ -129,8 +129,11 @@
X 
X   setlocale(LC_CTYPE, "");
X   setlocale(LC_MESSAGES, "");
X+
X+#ifdef ENABLE_NLS
X   bindtextdomain(PACKAGE, LOCALEDIR);
X   textdomain(PACKAGE);
X+#endif
X 
X   // decode all argv values into a UTF-8 array
X 
END-of-monotone/files/patch-monotone.cc
echo x - monotone/files/patch-sanity.hh
sed 's/^X//' >monotone/files/patch-sanity.hh << 'END-of-monotone/files/patch-sanity.hh'
X--- sanity.hh-orig	Fri Feb  6 15:31:58 2004
X+++ sanity.hh	Fri Feb  6 15:32:49 2004
X@@ -58,7 +58,11 @@
X extern sanity global_sanity;
X 
X // F is for when you want to build a boost formatter
X+#ifdef ENABLE_NLS
X #define F(str) boost::format(gettext(str))
X+#else
X+#define F(str) boost::format((str))
X+#endif
X 
X // L is for logging, you can log all you want
X #define L(fmt) global_sanity.log(fmt)
END-of-monotone/files/patch-sanity.hh
echo x - monotone/files/patch-configure
sed 's/^X//' >monotone/files/patch-configure << 'END-of-monotone/files/patch-configure'
X--- configure.orig	Sat Feb  7 10:31:17 2004
X+++ configure	Sat Feb  7 10:31:42 2004
X@@ -4911,7 +4911,7 @@
X #ifdef __cplusplus
X "C"
X #endif
X-const char *_nl_expand_alias ();
X+const char *_nl_expand_alias (char *);
X int
X main ()
X {
END-of-monotone/files/patch-configure
echo x - monotone/files/patch-aclocal.m4
sed 's/^X//' >monotone/files/patch-aclocal.m4 << 'END-of-monotone/files/patch-aclocal.m4'
X--- aclocal.m4.orig	Sat Feb  7 10:32:38 2004
X+++ aclocal.m4	Sat Feb  7 10:32:53 2004
X@@ -1745,7 +1745,7 @@
X #ifdef __cplusplus
X "C"
X #endif
X-const char *_nl_expand_alias ();],
X+const char *_nl_expand_alias (char *);],
X               [bindtextdomain ("", "");
X return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
X               gt_cv_func_gnugettext_libintl=yes,
X@@ -1766,7 +1766,7 @@
X #ifdef __cplusplus
X "C"
X #endif
X-const char *_nl_expand_alias ();],
X+const char *_nl_expand_alias (char *);],
X                 [bindtextdomain ("", "");
X return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
X                [LIBINTL="$LIBINTL $LIBICONV"
END-of-monotone/files/patch-aclocal.m4
echo x - monotone/files/patch-Makefile.in
sed 's/^X//' >monotone/files/patch-Makefile.in << 'END-of-monotone/files/patch-Makefile.in'
X--- Makefile.in.orig	Wed Jan  7 18:26:05 2004
X+++ Makefile.in	Sat Feb  7 11:17:42 2004
X@@ -1046,7 +1046,7 @@
X 	$(CXXLINK) $(depot_cgi_LDFLAGS) $(depot_cgi_OBJECTS) $(depot_cgi_LDADD) $(LIBS)
X monotone$(EXEEXT): $(monotone_OBJECTS) $(monotone_DEPENDENCIES) 
X 	@rm -f monotone$(EXEEXT)
X-	$(CXXLINK) $(monotone_LDFLAGS) $(monotone_OBJECTS) $(monotone_LDADD) $(LIBS)
X+	$(CXXLINK) $(monotone_LDFLAGS) $(monotone_OBJECTS) $(monotone_LDADD) $(LIBS) $(LTLIBINTL) $(LTLIBICONV)
X unit_tests$(EXEEXT): $(unit_tests_OBJECTS) $(unit_tests_DEPENDENCIES) 
X 	@rm -f unit_tests$(EXEEXT)
X 	$(CXXLINK) $(unit_tests_LDFLAGS) $(unit_tests_OBJECTS) $(unit_tests_LDADD) $(LIBS)
END-of-monotone/files/patch-Makefile.in
echo x - monotone/Makefile
sed 's/^X//' >monotone/Makefile << 'END-of-monotone/Makefile'
X# New ports collection makefile for:   monotone
X# Date created:                05 Feb 2004
X# Whom:                        Mark A. Wicks <mwicks@kettering.edu>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	monotone
XPORTVERSION=	0.9
XCATEGORIES=	devel
XMASTER_SITES=	http://www.venge.net/monotone/ \
X		http://norton.kettering.edu/freebsd/
X
XMAINTAINER=	mwicks@kettering.edu
XCOMMENT=	A distributed version control system
X
XBUILD_DEPENDS=	${LOCALBASE}/include/boost/any.hpp:${PORTSDIR}/devel/boost
XLIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt \
X		iconv.3:${PORTSDIR}/converters/libiconv
X.if !defined(WITHOUT_NLS)
XLIB_DEPENDS+=	intl.5:${PORTSDIR}/devel/gettext-old
X.endif
XRUN_DEPENDS=	${LOCALBASE}/lib/libboost_regex.so:${PORTSDIR}/devel/boost
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XCXXFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
XLDFLAGS+=	-L${LOCALBASE}/lib
XCFLAGS+=	-I${LOCALBASE}/include
X
XINFO=		monotone
XMAN1=		monotone.1
X
X.if defined(WITHOUT_NLS)
XCONFIGURE_ARGS=	--disable-nls
X.endif
X
Xpost-patch:
X	${TOUCH} ${WRKDIR}/${DISTNAME}/config.h.in
X
X.include <bsd.port.mk>
END-of-monotone/Makefile
echo x - monotone/pkg-plist
sed 's/^X//' >monotone/pkg-plist << 'END-of-monotone/pkg-plist'
Xbin/depot.cgi
Xbin/monotone
END-of-monotone/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402082317.i18NHR3A004200>