Revision [3720]

Last edited on 2010-05-17 18:55:07 by KenFong
Additions:
- testall -v || exit 1
Deletions:

- testall -v \\ exit 1


Revision [3719]

Edited on 2010-05-17 18:54:45 by KenFong
Additions:
- testall -v \\ exit 1
Deletions:
- testall -v \|\| exit 1


Revision [3718]

Edited on 2010-05-17 18:54:28 by KenFong
Additions:
- testall -v \|\| exit 1
Deletions:
- testall -v |.| exit 1


Revision [3717]

Edited on 2010-05-17 18:54:08 by KenFong
Additions:
- testall -v |.| exit 1
Deletions:
- testall -v | | exit 1


Revision [3716]

Edited on 2010-05-17 18:53:47 by KenFong
Additions:
Build apr rpm with **rpmbuild -tb apr-1.3.3.tar.gz**. Install the produced rpms. Edit apr-utils.spec,
Deletions:
Build apr rpm with **rpmbuild -tb apr-1.3.3.tar.gz**. Install the produced rpms.
Edit apr-utils.spec,


Revision [3715]

Edited on 2010-05-17 18:53:02 by KenFong
Additions:
Edit apr-utils.spec,

to configure options:
+ --with-dbm=db42 --with-berkeley-db=/usr --disable-util-dso
- testall -v | | exit 1

then proceed to **rpmbuild -tb apr-util-1.3.4.tar.gz**
Deletions:
Edit apr-utils.spec, add **--with-dbm=db42 --with-berkeley-db=/usr --disable-util-dso** to configure options. comment out **testall -v | | exit 1** then proceed to **rpmbuild -tb apr-util-1.3.4.tar.gz**


Revision [3714]

Edited on 2010-05-17 18:51:57 by KenFong
Additions:
Edit apr-utils.spec, add **--with-dbm=db42 --with-berkeley-db=/usr --disable-util-dso** to configure options. comment out **testall -v | | exit 1** then proceed to **rpmbuild -tb apr-util-1.3.4.tar.gz**
Deletions:
Edit apr-utils.spec, add **--with-dbm=db42 --with-berkeley-db=/usr --disable-util-dso** to configure options. comment out **testall -v || exit 1** then proceed to **rpmbuild -tb apr-util-1.3.4.tar.gz**


Revision [3682]

Edited on 2010-04-06 19:04:27 by KenFong
Additions:
Ignoring directories
> cd WORKING_COPY
> svn propset svn:ignore ignore-this-dir .
property 'svn:ignore' set on '.'


Revision [3556]

Edited on 2009-10-26 20:16:56 by WikiAdmin
Additions:
===SVN web access (via DAV)===
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
NameVirtualHost 1.2.3.4:80

ServerName svn2.limelightcrm.com
DocumentRoot /var/www/html
ErrorLog logs/svn2.err
CustomLog logs/svn2.log combined
# It is important that the following Location is not defined in DocumentRoot or Alias. Or else you will get a 301 error - http://subversion.tigris.org/faq.html#301-error

DAV svn
#SVNParentPath /home/svn-repos
SVNPath /home/svn-repos/project1
AuthType Basic
AuthName "Authorization Realm"
AuthUserFile /home/svn-repos/project1/conf/htpasswd
Order deny,allow
require valid-user
# Limit write permission to list of valid users.
#
# Require valid-user
#



Revision [3518]

Edited on 2009-09-14 22:46:27 by WikiAdmin
Additions:
===Subversion and trac===
This is a little tricker. Personally, I think it's because of poor quality of trac.
====Install subversion from source====
Prereq:
Install swig from source
Next, install subversion. Now I only managed to get subversion 1.5.7 to with trac. No luck with 1.5.5 and 1.6.5.
extract sqlite-3.x into subversion source, rename it to sqlite-amalgamation
./configure --with-ssl --prefix=/opt/subversion \
--with-apr-util=/usr/bin/apu-1-config \
--without-berkeley-db --with-apxs=/usr/sbin/apxs \
--disable-mod-activation --with-swig=/opt/swig
make
make install
====Build python bindings====
From the subversion source, do
make swig-py
make check-swig-py
make install-swig-py
====Edit LD path and apache init script====
Add this into apache's init script:
export PYTHONPATH=/opt/subverson/lib/svn-python:$PYTHONPATH
Add this into ld.so.conf and run ldconfig
/opt/subverson/lib/svn-python
Most impoprtant of all, tell python to use the newly build bindings instead of whatever that comes with your distribution:
echo /opt/subverson/lib/svn-python >
/usr/lib/python2.4/site-packages/subversion.pth
====Create a trac root====
trac-admin /var/trac/root initenv
mkdir -p /var/trac/root/.egg-cache
chown apache:apache /var/trac/root/.egg-cache
chown -R apache:apache /var/trac/root/db
Edit TRAC_ROOT/conf/trac.ini and enable logging. Make this file writable by apache
log_type = file
log_file = trac.log
====Create the apache directives====
One can access trac with mod_python or perl. The following example uses python:
# trac.conf

SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /var/trac/root
PythonOption TracUriRoot /trac
AuthType Basic
AuthName "My Development"
AuthUserFile /etc/subversion/passwd
Require valid-user

On access, trac will try to synchronize with your subversion repository. Be patient if you have a large number of revisions


Revision [2295]

Edited on 2009-04-21 08:58:00 by WikiAdmin
Additions:
apache is required for building of dav and svn apache modules. Assuming you want apache-2.2 which is not available from your repo, build apache rpm with **rpmbuild -tb httpd-2.2.11.tar.gz** then install the httpd and mod_ssl rpms.
Deletions:
Then assuming you want apache-2.2 which is not available from your repo
**rpmbuild -tb httpd-2.2.11.tar.gz**


Revision [2294]

Edited on 2009-04-21 08:56:13 by WikiAdmin
Additions:
Get apr, apr-utils, sqlite, neon, subversion, httpd source
Then assuming you want apache-2.2 which is not available from your repo
**rpmbuild -tb httpd-2.2.11.tar.gz**
Deletions:
Get apr, apr-utils, sqlite, neon, subversion source


Revision [2293]

Edited on 2009-04-21 08:50:45 by WikiAdmin
Additions:
Build apr rpm with **rpmbuild -tb apr-1.3.3.tar.gz**. Install the produced rpms.
Edit apr-utils.spec, add **--with-dbm=db42 --with-berkeley-db=/usr --disable-util-dso** to configure options. comment out **testall -v || exit 1** then proceed to **rpmbuild -tb apr-util-1.3.4.tar.gz**
Deletions:
Edit apr-utils.spec, add **--with-dbm=db42 --disable-util-dso** to configure options. comment out **testall -v || exit 1**


Revision [2292]

Edited on 2009-04-21 08:47:54 by WikiAdmin
Additions:
Edit apr-utils.spec, add **--with-dbm=db42 --disable-util-dso** to configure options. comment out **testall -v || exit 1**
Deletions:
Edit apr-utils.spec, add **--with-dbm=db4 --with-berkeley-db=/usr** to configure options. comment out **testall -v || exit 1**


Revision [2291]

Edited on 2009-04-21 08:38:40 by WikiAdmin
Additions:
Edit apr-utils.spec, add **--with-dbm=db4 --with-berkeley-db=/usr** to configure options. comment out **testall -v || exit 1**
Deletions:
Edit apr-utils.spec, add **--with-dbm=db4 --with-berkeley-db=/usr** to configure options


Revision [2290]

Edited on 2009-04-21 08:24:17 by WikiAdmin
Additions:
Edit apr-utils.spec, add **--with-dbm=db4 --with-berkeley-db=/usr** to configure options
Deletions:
Edit apr-utils.spec, add **--with-dbm=db4** to configure options


Revision [2289]

Edited on 2009-04-21 07:54:08 by WikiAdmin
Additions:
On centos 4, install the followings
yum -y install db4-devel sqlite-devel expat-devel


Revision [2288]

Edited on 2009-04-21 07:52:35 by WikiAdmin
Additions:
====Building SVN rpm====
Get apr, apr-utils, sqlite, neon, subversion source
Edit apr-utils.spec, add **--with-dbm=db4** to configure options


Revision [2283]

Edited on 2009-04-16 19:48:37 by WikiAdmin
Additions:
Look for updates from the repo
$ svn status -u
Diff working copy with repo
$ svn diff -rXXX
Give up changes on working copy
$ svn revert filename


Revision [1896]

The oldest known version of this page was created on 2008-08-18 19:08:47 by WikiAdmin
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki