From 5c11b22ccbf0d36666115ce240e416c0d0eccc57 Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Thu, 14 Aug 2003 13:29:49 +0000 Subject: [PATCH] the initial subversion-static copy ... git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1057 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/rene/subversion-static/db40.patch | 33 ++++++++++++++ .../rene/subversion-static/subversion.cache | 36 +++++++++++++++ .../rene/subversion-static/subversion.conf | 40 +++++++++++++++++ .../rene/subversion-static/subversion.desc | 43 ++++++++++++++++++ package/rene/subversion-static/svnserve.init | 44 +++++++++++++++++++ 5 files changed, 196 insertions(+) create mode 100644 package/rene/subversion-static/db40.patch create mode 100644 package/rene/subversion-static/subversion.cache create mode 100644 package/rene/subversion-static/subversion.conf create mode 100644 package/rene/subversion-static/subversion.desc create mode 100644 package/rene/subversion-static/svnserve.init diff --git a/package/rene/subversion-static/db40.patch b/package/rene/subversion-static/db40.patch new file mode 100644 index 000000000..41cb7f767 --- /dev/null +++ b/package/rene/subversion-static/db40.patch @@ -0,0 +1,33 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/rene/subversion/db40.patch +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +--- subversion-0.21.0/configure 2003-04-16 03:16:06.000000000 +0200 ++++ subversion-0.21.0-new/configure 2003-05-04 11:31:27.000000000 +0200 +@@ -8844,7 +8844,7 @@ + ;; + esac + +- for db_libname in db4 db; do ++ for db_libname in db40 db4 db; do + # We generate a separate cache variable for each prefix and libname + # we search under. That way, we avoid caching information that + # changes if the user runs `configure' with a different set of diff --git a/package/rene/subversion-static/subversion.cache b/package/rene/subversion-static/subversion.cache new file mode 100644 index 000000000..9f41e60be --- /dev/null +++ b/package/rene/subversion-static/subversion.cache @@ -0,0 +1,36 @@ +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/rene/subversion/subversion.cache +[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[TIMESTAMP] 1058683369 Sun Jul 20 08:42:49 2003 +[CONFIG-ID] 2.0.0-rc1-x86-reference +[ROCKVER] 2.0.0-rc1 + +[LOGS] 5-subversion.log 9-subversion.log + +[BUILDTIME] 24226 (9) +[SIZE] 9.88 MB, 322 files + +[DEP] apache bash bdb40 binutils bzip2 coreutils diffutils expat findutils +[DEP] gawk gcc3 gdbm glibc23 grep libxml2 linux24-header m4 make mktemp +[DEP] neon net-tools patch perl5 python sed subversion swig sysfiles tar +[DEP] util-linux zlib + diff --git a/package/rene/subversion-static/subversion.conf b/package/rene/subversion-static/subversion.conf new file mode 100644 index 000000000..fa9d2026a --- /dev/null +++ b/package/rene/subversion-static/subversion.conf @@ -0,0 +1,40 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/rene/subversion/subversion.conf +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +# use the apache prefix +. $base/package/*/apache/apache.conf + +# all this is to build the apache server-side module +# and to make sure no locally included APR stuff get's installed +# as well as no modification to httpd.conf is done ... +if pkgcheck apache X ; then + var_append extraconfopt " " "--with-apxs=/$prefix/sbin/apxs \ +--with-apr=/$prefix/bin/apr-config --with-apr-util=/$prefix \ +--with-berkeley-db=/usr/include/db40:/usr/lib --disable-mod-activation" +fi + +# use system wide neon +var_append extraconfopt " " "--with-neon=$root/usr" + +hook_add postmake 3 "install_init svnserve $confdir/svnserve.init" +hook_add postinstall 3 "cp -vrf tools $docdir" + diff --git a/package/rene/subversion-static/subversion.desc b/package/rene/subversion-static/subversion.desc new file mode 100644 index 000000000..b2e6367b8 --- /dev/null +++ b/package/rene/subversion-static/subversion.desc @@ -0,0 +1,43 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/rene/subversion/subversion.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] A compelling replacement for CVS + +[T] The goal of the Subversion project is to build a version control +[T] system that is a compelling replacement for CVS in the open source +[T] community. + +[U] http://subversion.tigris.org/ + +[A] The Subversion Crew +[M] Rene Rebe + +[C] extra/server extra/development + +[L] OpenSource +[S] Beta +[V] 0.26.0 +[P] X -----5---9 864.000 + +[D] 0 subversion-0.26.0.tar.gz http://subversion.tigris.org/files/documents/15/5322/ + diff --git a/package/rene/subversion-static/svnserve.init b/package/rene/subversion-static/svnserve.init new file mode 100644 index 000000000..8c1d8a109 --- /dev/null +++ b/package/rene/subversion-static/svnserve.init @@ -0,0 +1,44 @@ +#!/bin/bash +# +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/rene/subversion/svnserve.init +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- +# +# ROCK Linux /etc/rc.d/init.d/httpd +# +# Desc: Subversion - lightweight svn:// server +# Runlevel: 60 rcX +# + +SVNHOME="/home/svn" + +main_begin + + block_begin(start, `Starting svn:// server (subversion).') + check(`D_prefix/bin/svnserve svnserve -d -R -r $SVNHOME') + block_end + + block_begin(stop, `Stopping svn:// server (subversion).') + check(`killall D_prefix/bin/svnserve') + block_end + +main_end +