Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 7371 Details for
Bug 14040
Subversion 0.16.1 ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Subversion 0.16.1 ebuild
subversion-0.16.1.ebuild (text/plain), 4.92 KB, created by
Alain Penders (RETIRED)
on 2003-01-16 10:25:42 UTC
(
hide
)
Description:
Subversion 0.16.1 ebuild
Filename:
MIME Type:
Creator:
Alain Penders (RETIRED)
Created:
2003-01-16 10:25:42 UTC
Size:
4.92 KB
patch
obsolete
># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header$ > >inherit libtool > >IUSE="apache2 java berkdb" > >SVNVERSION=r4276 > >S=${WORKDIR}/subversion-${SVNVERSION} >DESCRIPTION="A compelling replacement for CVS" >SRC_URI="http://subversion.tigris.org/files/documents/15/2610/subversion-${SVNVERSION}.tar.gz" >HOMEPAGE="http://subversion.tigris.org/" > >SLOT="0" >LICENSE="Apache-1.1" >KEYWORDS="~x86 ~ppc" > >DEPEND="apache2? ( >=net-www/apache-2.0.44_beta ) > berkdb? ( =sys-libs/db-4.0.14 ) > java? ( virtual/jdk ) > =net-misc/neon-0.23.5* > >=sys-apps/diffutils-2.7.7 > sys-apps/texinfo > app-text/texi2html" > >src_compile() { > elibtoolize > > local myconf > use apache2 && myconf="${myconf} --with-apxs=/usr/sbin/apxs2" || myconf="${myconf} --without-apxs" > use berkdb && myconf="${myconf} --with-berkeley-db" || myconf="${myconf} --without-berkeley-db" > use java && myconf="${myconf} --with-jdk" || myconf="${myconf} --without-jdk" > > econf ${myconf} --enable-maintainer-mode --disable-mod-activation --with-neon=/usr || die > make || die >} > >src_install () { > make DESTDIR=${D} install || die > dodoc BUGS CHANGES COMMITTERS COPYING HACKING IDEAS INSTALL PORTING README >} > >pkg_preinst() { > if [ "`use apache2`" ] > then > apxs2 -e -a -n dav_svn ${D}/usr/lib/apache2/mod_dav_svn.so > if [ "`grep Subversion /etc/apache2/conf/apache2.conf`" ] ; then > einfo "Apache2 config file already contains MOD_DAV_SVN configuration, skipping..." > else > einfo "Adding MOD_DAV_SVN settings to Apache2 config file." > cat << ENDL >> /etc/apache2/conf/apache2.conf >### >### Subversion support >### ><Location /svn/repos> > DAV svn > SVNPath /var/lib/svn ></Location> ># ># This will give anyone unrestricted access to the repository. If ># you want limited access, read or write, you add these lines to ># the Location block: ># ># AuthType Basic ># AuthName "Subversion repository" ># AuthUserFile /my/svn/user/passwd/file ># ># And: ># ># a) For a read/write restricted repository: ># ># Require valid-user ># ># b) For a write restricted repository: ># ># <LimitExcept GET PROPFIND OPTIONS REPORT> ># Require valid-user ># </LimitExcept> ># ># c) For seperate restricted read and write access: ># ># AuthGroupFile /my/svn/group/file ># ># <LimitExcept GET PROPFIND OPTIONS REPORT> ># Require group svn_committers ># </LimitExcept> ># ># <Limit GET PROPFIND OPTIONS REPORT> ># Require group svn_committers ># Require group svn_readers ># </Limit> ># ># These are only a few simple examples. For a complete tutorial ># on Apache access contol, please consider taking a look at the ># tutorials found under "Security" on the following page: ># http://httpd.apache.org/docs-2.0/misc/tutorials.html ># ># In order for 'svn cp' to work (which is actually implemented as a ># DAV COPY command), mod_dav needs to be able to determine the ># hostname of the server. A standard way of doing this is to use ># Apache's ServerName directive to set the server's hostname. Edit ># your /usr/local/apache2/conf/apache2.conf to include: ># ># ServerName svn.myserver.org ># ># If you are using virtual hosting through Apache's NameVirtualHost ># directive, you may need to use the ServerAlias directive to specify ># additional names that your server is known by. ># ># If you have configured mod_deflate to be in the server, you can enable ># compression support for your repository by adding the following line ># to your Location block: ># ># SetOutputFilter DEFLATE ># ># NOTE: If you are unfamiliar with an Apache directive, or not exactly ># sure about what it does, don't hesitate to look it up in the ># documentation: http://httpd.apache.org/docs-2.0/mod/directives.html. ># ># NOTE: Make sure that the user 'nobody' (or whatever UID the ># httpd process runs as) has permission to read and write the ># Berkeley DB files! This is a very common problem. ># >ENDL > fi > fi > > if [ "`use apache2`" ] || [ "`use berkdb`" ] > then > einfo ">>> Initializing the database ..." > if [ -f /var/lib/svn/db ] ; then > echo "A subversion repository already exists and I will not overwrite it." > echo "Delete /var/lib/svn first if you're sure you want to have a clean version." > else > einfo ">>> Populating repository directory ..." > # create initial repository > LD_LIBRARY_PATH="${D}/usr/lib:$LD_LIBRARY_PATH" ${D}/usr/bin/svnadmin create /var/lib/svn > > einfo ">>> Setting repository permissions ..." > chown -Rf nobody.nobody /var/lib/svn > chmod -Rf 755 /var/lib/svn > fi > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 14040
: 7371 |
7372
|
7405
|
7429