[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion on NetWare

From: NormW <normw_at_bocnet.com.au>
Date: 2005-01-26 22:37:27 CET

Good morning Justin, Julian
Apologies for the delay... our national day, timezones and social
activity impinged..

The changes to SVN coding are minimal but are given below; the rest of
the patch comprises the same style NWGNUmakefile files as presently used
in Apache2, with a directory structure under .\build\netware that
emulates the rest of the package with a build file for each module.

Presently there are some diff's required for the APR used, there's a
readme for the build process, some import files, and optionally a patch
for Berkeley DB 4.2.52 to use it under NetWare, although most of the
testing that has been that I'm aware of has used the native file system
approach.

Some of the diff's for APR might eventually disappear with the next LibC
update but are presently needed with the October release.

The size of the make files might be reduced by a useful amount just by
culling white space with a tab or two, but refinements of that nature as
well as alternate ways of doing this are probably the second hurdle...

Norm

--- ne_basic.h.orig Mon Apr 19 18:08:22 2004
+++ ne_basic.h Tue Apr 27 02:17:12 2004
@@ -23,6 +23,9 @@
  #define NE_BASIC_H

  #include <sys/types.h> /* for time_t */
+#ifdef HAVE_TIME_H
+#include <time.h> /* for time_t */
+#endif

  #include "ne_request.h"
  ------------------------------------------------
--- ne_utils.h.orig Mon Apr 19 18:08:22 2004
+++ ne_utils.h Fri Apr 30 11:35:04 2004
@@ -23,6 +23,9 @@
  #define NE_UTILS_H

  #include <sys/types.h>
+#ifdef HAVE_TIME_H
+#include <time.h> /* for time_t */
+#endif

  #include <stdarg.h>
  #include <stdio.h>
-------------------------------------------------
--- fs.c.orig Tue Aug 10 17:56:32 2004
+++ fs.c Wed Oct 06 16:47:04 2004
@@ -55,6 +55,12 @@

  #include "../libsvn_fs/fs-loader.h"

+#ifdef NETWARE
+#define OTHER_FLAGS DB_PRIVATE
+#else
+#define OTHER_FLAGS 0
+#endif
+

  /* Checking for return values, and reporting errors. */

@@ -556,7 +562,8 @@
                                         | DB_INIT_LOCK
                                         | DB_INIT_LOG
                                         | DB_INIT_MPOOL
- | DB_INIT_TXN),
+ | DB_INIT_TXN
+ | OTHER_FLAGS),
                                        0666));
    if (svn_err) goto error;

@@ -639,7 +646,8 @@
                                         | DB_INIT_LOCK
                                         | DB_INIT_LOG
                                         | DB_INIT_MPOOL
- | DB_INIT_TXN),
+ | DB_INIT_TXN
+ | OTHER_FLAGS),
                                        0666));
    if (svn_err) goto error;

@@ -713,7 +721,7 @@
    SVN_BDB_ERR (ec_baton, env->open (env, path_native,
                                      (DB_RECOVER | DB_CREATE | DB_INIT_LOCK
                                       | DB_INIT_LOG | DB_INIT_MPOOL
- | DB_INIT_TXN | DB_PRIVATE),
+ | DB_INIT_TXN | OTHER_FLAGS),
                            0666));
    SVN_BDB_ERR (ec_baton, env->close (env, 0));

@@ -737,7 +745,7 @@
                                      (DB_RECOVER_FATAL | DB_CREATE
                                       | DB_INIT_LOCK | DB_INIT_LOG
                                       | DB_INIT_MPOOL | DB_INIT_TXN
- | DB_PRIVATE),
+ | OTHER_FLAGS),
                            0666));
    SVN_BDB_ERR (ec_baton, env->close (env, 0));
----------------------------------------------------

Justin Erenkrantz wrote:
> --On Wednesday, January 26, 2005 9:22 AM +1100 NormW
> <normw@bocnet.com.au> wrote:
>
>> Greetings All,
>> Putting the final touchs to a 'patch' for the SVN package that allows
>> Subversion 1.1.3 to be built on a Windows box for the NetWare platform;
>> is there any interest for this to be included in the SVN package,
>
>
> Sure. Or, at the very least, we should have the opportunity to decide
> what to do with these changes by reviewing them. =)
>
>> and if
>> so can attachments (112k zip) be sent to the list for consideration?
>
>
> Are most of the changes related to the NetWare build system? It might
> be possible to add a Python generator that can produce the NetWare build
> scripts automagically. (All of the build system stuff is dynamically
> produced from build.conf for both MSVC and Unix.)
>
> If the changes aren't related to the build system, it would be best to
> try to break the changes up into the smallest possible pieces so that
> each chunk can be independently reviewed. Since APR et. al. already
> work on NetWare, I'd hope that the code changes would be fairly
> minimal. And, obviously, if there are fixes to the APR libraries, those
> need to go to dev@apr.apache.org not here.
>
> Thanks! -- justin
>
> .
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 26 22:37:41 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.