From mohacsi@evil.ki.iif.hu  Tue Oct  1 03:09:25 2002
Return-Path: <mohacsi@evil.ki.iif.hu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9C12C37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  1 Oct 2002 03:09:25 -0700 (PDT)
Received: from evil.ki.iif.hu (evil.ki.iif.hu [193.225.13.42])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B7CAF43E3B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  1 Oct 2002 03:09:24 -0700 (PDT)
	(envelope-from mohacsi@evil.ki.iif.hu)
Received: (from root@localhost)
	by evil.ki.iif.hu (8.11.6/8.11.6) id g91A9Nb38471;
	Tue, 1 Oct 2002 12:09:23 +0200 (CEST)
	(envelope-from mohacsi)
Message-Id: <200210011009.g91A9Nb38471@evil.ki.iif.hu>
Date: Tue, 1 Oct 2002 12:09:23 +0200 (CEST)
From: mohacsi@niif.hu
Reply-To: Janos Mohacsi <janos.mohacsi@bsd.hu>
To: FreeBSD-gnats-submit@freebsd.org
Cc: rooneg@electricjellyfish.net
Subject: New port or update: subversion server r3200 (version 0.14.3)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43554
>Category:       ports
>Synopsis:       New port or update: subversion server r3200 (version 0.14.3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 01 03:10:02 PDT 2002
>Closed-Date:    Tue Nov 05 04:04:42 PST 2002
>Last-Modified:  Tue Nov 05 04:04:42 PST 2002
>Originator:     Janos Mohacsi <janos.mohacsi@bsd.hu>
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
NIIF
>Environment:
System: FreeBSD evil.ki.iif.hu 4.6-STABLE FreeBSD 4.6-STABLE #0: Wed Aug 7 17:21:59 CEST 2002 root@evil.ki.iif.hu:/usr/src/sys/compile/EVIL i386

>Description:

	New version of subversion is attached to this e-mail. This version
	is a bit different from devel/subversion:
	It is installing manual pages.
	It is installing mod_dav_svn for apache2.
	Fixing bug installing shared library.

	Therefore its requirements is different a bit: 
	It requires www/apache2 version 2.0.42 instead of devel/apr.
	It should be istalled in www/mod_dav_svn or something similar.
	
	In the same time it is the latest stable version of subversion that is 
	available in tarball.

	The maintainer of devel/subversion should decide to take maintainership
	this 'semi-new' port and update accordingly.

	I need the subversion server, that is why I decided to patch and make 
	new version of subversion in the name www/mod_dav_svn.

>How-To-Repeat:
	Apply this shar.
>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:
#
#	mod_dav_svn
#	mod_dav_svn/pkg-plist
#	mod_dav_svn/pkg-message
#	mod_dav_svn/pkg-descr
#	mod_dav_svn/pkg-comment
#	mod_dav_svn/distinfo
#	mod_dav_svn/Makefile
#
echo c - mod_dav_svn
mkdir -p mod_dav_svn > /dev/null 2>&1
echo x - mod_dav_svn/pkg-plist
sed 's/^X//' >mod_dav_svn/pkg-plist << 'END-of-mod_dav_svn/pkg-plist'
Xbin/svn
Xbin/svn-config
Xbin/svnadmin
Xbin/svnlook
Xinclude/subversion-1/svn_auth.h
Xinclude/subversion-1/svn_base64.h
Xinclude/subversion-1/svn_client.h
Xinclude/subversion-1/svn_config.h
Xinclude/subversion-1/svn_dav.h
Xinclude/subversion-1/svn_delta.h
Xinclude/subversion-1/svn_diff.h
Xinclude/subversion-1/svn_error.h
Xinclude/subversion-1/svn_error_codes.h
Xinclude/subversion-1/svn_fs.h
Xinclude/subversion-1/svn_hash.h
Xinclude/subversion-1/svn_io.h
Xinclude/subversion-1/svn_path.h
Xinclude/subversion-1/svn_pools.h
Xinclude/subversion-1/svn_props.h
Xinclude/subversion-1/svn_quoprint.h
Xinclude/subversion-1/svn_ra.h
Xinclude/subversion-1/svn_repos.h
Xinclude/subversion-1/svn_sorts.h
Xinclude/subversion-1/svn_string.h
Xinclude/subversion-1/svn_test.h
Xinclude/subversion-1/svn_time.h
Xinclude/subversion-1/svn_types.h
Xinclude/subversion-1/svn_utf.h
Xinclude/subversion-1/svn_version.h
Xinclude/subversion-1/svn_wc.h
Xinclude/subversion-1/svn_xml.h
Xlib/libsvn_auth-1.a
Xlib/libsvn_auth-1.la
Xlib/libsvn_auth-1.so
Xlib/libsvn_auth-1.so.0
Xlib/libsvn_client-1.a
Xlib/libsvn_client-1.la
Xlib/libsvn_client-1.so
Xlib/libsvn_client-1.so.0
Xlib/libsvn_delta-1.a
Xlib/libsvn_delta-1.la
Xlib/libsvn_delta-1.so
Xlib/libsvn_delta-1.so.0
Xlib/libsvn_fs-1.a
Xlib/libsvn_fs-1.la
Xlib/libsvn_fs-1.so
Xlib/libsvn_fs-1.so.0
Xlib/libsvn_ra-1.a
Xlib/libsvn_ra-1.la
Xlib/libsvn_ra-1.so
Xlib/libsvn_ra-1.so.0
Xlib/libsvn_ra_dav-1.a
Xlib/libsvn_ra_dav-1.la
Xlib/libsvn_ra_dav-1.so
Xlib/libsvn_ra_dav-1.so.0
Xlib/libsvn_ra_local-1.a
Xlib/libsvn_ra_local-1.la
Xlib/libsvn_ra_local-1.so
Xlib/libsvn_ra_local-1.so.0
Xlib/libsvn_repos-1.a
Xlib/libsvn_repos-1.la
Xlib/libsvn_repos-1.so
Xlib/libsvn_repos-1.so.0
Xlib/libsvn_subr-1.a
Xlib/libsvn_subr-1.la
Xlib/libsvn_subr-1.so
Xlib/libsvn_subr-1.so.0
Xlib/libsvn_wc-1.a
Xlib/libsvn_wc-1.la
Xlib/libsvn_wc-1.so
Xlib/libsvn_wc-1.so.0
Xlibexec/apache2/mod_dav_svn.so
X@dirrm include/subversion-1
END-of-mod_dav_svn/pkg-plist
echo x - mod_dav_svn/pkg-message
sed 's/^X//' >mod_dav_svn/pkg-message << 'END-of-mod_dav_svn/pkg-message'
X
X                              WARNING!!!
X
XSubversion is still beta software and should not be used in anything
Xeven approaching a production environment.  The working copy and repository
Xformats are almost certainly going to change in ways that are not backwards
Xcompatable, and Murphy's Law says that you will be the one that runs into
Xthe nasty bug that munges all your data in a completely non-recoverable way.
X
XIf this hasn't scared you off yet, please use this port to download the most
Xrecent development code from the main Subversion repository located at
Xhttp://svn.collab.net/repos/svn/trunk, and report any bugs you encounter to
Xthe development mailing list at dev@subversion.tigris.org.
X
XTo enable subversion server add dav directives to your apache config.
END-of-mod_dav_svn/pkg-message
echo x - mod_dav_svn/pkg-descr
sed 's/^X//' >mod_dav_svn/pkg-descr << 'END-of-mod_dav_svn/pkg-descr'
XSubversion is a version control system designed to be as similar to cvs(1) 
Xas possible, while fixing many outstanding problems with cvs(1).
X
XThis version also adds mod_dav_svn to apache2.
X
XWWW: http://subversion.tigris.org/
END-of-mod_dav_svn/pkg-descr
echo x - mod_dav_svn/pkg-comment
sed 's/^X//' >mod_dav_svn/pkg-comment << 'END-of-mod_dav_svn/pkg-comment'
XVersion control system
END-of-mod_dav_svn/pkg-comment
echo x - mod_dav_svn/distinfo
sed 's/^X//' >mod_dav_svn/distinfo << 'END-of-mod_dav_svn/distinfo'
XMD5 (subversion-r3200.tar.gz) = 22afd8046d45049904aeb9f96f4c6afe
END-of-mod_dav_svn/distinfo
echo x - mod_dav_svn/Makefile
sed 's/^X//' >mod_dav_svn/Makefile << 'END-of-mod_dav_svn/Makefile'
X# New ports collection makefile for:	subversion
X# Date created:				10 September 2001
X# Whom:					rooneg@electricjellyfish.net
X# Modified for subversion dav server	janos.mohacsi@bsd.hu
X#
X# $FreeBSD$
X
XPORTNAME=	subversion
XPORTVERSION=	r3200	# 0.14.3
XCATEGORIES=	devel
XMASTER_SITES=	http://subversion.tigris.org/files/documents/15/841/
X
XMAINTAINER=	rooneg@electricjellyfish.net
X
XLIB_DEPENDS=	db4:${PORTSDIR}/databases/db4 \
X		neon.22:${PORTSDIR}/www/neon \
X		expat.4:${PORTSDIR}/textproc/expat2
XRUN_DEPENDS=	gdiff3:${PORTSDIR}/textproc/diffutils \
X		${LOCALBASE}/etc/apache2/httpd.conf:${PORTSDIR}/www/apache2
XBUILD_DEPENDS=	gdiff3:${PORTSDIR}/textproc/diffutils \
X		${LOCALBASE}/etc/apache2/httpd.conf:${PORTSDIR}/www/apache2
X
XWRKSRC=	${WRKDIR}/subversion-${PORTVERSION}
XGNU_CONFIGURE=	yes
XUSE_REINPLACE=	yes
XCONFIGURE_ARGS=	--with-ssl \
X		--with-neon=${LOCALBASE} \
X		--with-berkeley-db=${LOCALBASE}/include/db4:${LOCALBASE}/lib \
X		--with-apr=${LOCALBASE} \
X		--with-apr-util=${LOCALBASE} \
X		--with-apxs=${LOCALBASE}/sbin/apxs
X
XMAN1=		svn.1 svnadmin.1
XINSTALLS_SHLIB=	yes
X
Xpost-extract:
X	@${REINPLACE_CMD} 's/ldb/ldb4/g' ${WRKSRC}/configure
X
X	@${RM} -r ${WRKSRC}/neon
X	@${RM} -r ${WRKSRC}/apr
X	@${RM} -r ${WRKSRC}/apr-util
X
Xpost-configure:
X	@${REINPLACE_CMD} 's/install-swig-py-lib//g' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} 's/swig-py-lib//g' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} 's/install-info//g' ${WRKSRC}/Makefile
X
X.include <bsd.port.mk>
END-of-mod_dav_svn/Makefile
exit

>Release-Note:
>Audit-Trail:

From: Giorgos Keramidas <keramida@freebsd.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/43554: New port or update: subversion server r3200 (version 0.14.3)
Date: Thu, 3 Oct 2002 12:54:34 +0300

 Adding to audit trail:
 
 :-----
 : Message-Id: <76D0C0F6-D53A-11D6-999E-00039364885A@electricjellyfish.net>
 : Date: Tue, 1 Oct 2002 08:36:53 -0400
 : From: Garrett Rooney <rooneg@electricjellyfish.net>
 :
 : i like the idea of having a subversion server port, but i'd prefer to
 : see it done as an option to the main port, rather than having two
 : versions of the port in the tree, especially when the port named
 : 'mod_dav_svn' actually installs all of subversion, not just the
 : module.
 :
 : i'd suggest reworking this as a patch to the devel/subversion port,
 : with it conditionally depending on apache2 and building the server if
 : a variable (BUILD_SVN_SERVER or something like that) is defined.
 :
 : -garrett
 
 
 :-----
 : Message-Id: <20021002174043.Q42393-100000@evil.ki.iif.hu>
 : Date: Wed, 2 Oct 2002 17:42:39 +0200 (CEST)
 : From: Janos Mohacsi <mohacsi@niif.hu>
 :
 : > i like the idea of having a subversion server port, but i'd prefer
 : > to see it done as an option to the main port, rather than having two
 : > versions of the port in the tree, especially when the port named
 : > 'mod_dav_svn' actually installs all of subversion, not just the
 : > module.
 : >
 : > i'd suggest reworking this as a patch to the devel/subversion port,
 : > with it conditionally depending on apache2 and building the server
 : > if a variable (BUILD_SVN_SERVER or something like that) is defined.
 :
 : I agree.
 : Do you want me to create the patch or test your patch?
 
 
 :-----
 : Message-Id: <3D9B166F.1070102@electricjellyfish.net>
 : Date: Wed, 02 Oct 2002 11:53:19 -0400
 : From: Garrett Rooney <rooneg@electricjellyfish.net>
 :
 : > I agree.
 : > Do you want me to create the patch or test your patch?
 :
 : i don't have an up to date patch, as i've been working on making
 : apache2 work with a version of apr installed from ports as a precursor
 : to this, so if you want to put together a version that just uses
 : apache2's installed apr, i'd be happy to see that end up in the tree.
 :
 : -garrett
State-Changed-From-To: open->feedback 
State-Changed-By: tom 
State-Changed-When: Tue Nov 5 02:34:22 PST 2002 
State-Changed-Why:  
Should this PR be closed?  It looks like ports/43656 is a more recent 
version of this patch. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43554 
State-Changed-From-To: feedback->closed 
State-Changed-By: tom 
State-Changed-When: Tue Nov 5 04:03:56 PST 2002 
State-Changed-Why:  
The submitter has sent an update version of this report in ports/43656 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43554 
>Unformatted:
