Port nfs-server to -ng
[openwrt/svn-archive/archive.git] / net / nfs-server / patches / build-config.patch
1 --- nfs-server-2.2beta47.old/site.mk 1970-01-01 01:00:00.000000000 +0100
2 +++ nfs-server-2.2beta47/site.mk 2005-03-24 22:42:20.000000000 +0100
3 @@ -0,0 +1,11 @@
4 +#
5 +# Site-specific make options generated by BUILD. Please do not edit.
6 +#
7 +
8 +# ugidd support
9 +UGIDD_PROG=
10 +UGIDD_MAN=
11 +# Location of tcp_wrapper library
12 +LIBWRAP_DIR=-L/usr/share/stuff/src/openwrt/experimental/buildroot/build_mipsel/staging_dir/lib
13 +LIBWRAP_LIB=-lwrap
14 +DEVTAB_FILE=
15 --- nfs-server-2.2beta47.old/site.h 1970-01-01 01:00:00.000000000 +0100
16 +++ nfs-server-2.2beta47/site.h 2005-03-24 22:44:19.000000000 +0100
17 @@ -0,0 +1,50 @@
18 +/*
19 + * Site-specific configuration options generated by BUILD.
20 + * Please do not edit.
21 + */
22 +
23 +/*
24 + * If ENABLE_DEVTAB is defined, nfsd will use the new inode
25 + * number generation scheme for avoiding inode number clashes
26 + * on big hard disks.
27 + */
28 +/* #undef ENABLE_DEVTAB */
29 +
30 +/*
31 + * If MULTIPLE_SERVER_READWRITE is defined, you will be able
32 + * to run several nfsd process in parallel servicing all NFS
33 + * requests.
34 + */
35 +#define MULTIPLE_SERVERS_READWRITE
36 +
37 +/*
38 + * If ENABLE_UGID_DAEMON is defined, the real rpc.ugidd is built,
39 + * nfsd is built to support ugidd queries.
40 + * Otherwise, a dummy program is created
41 + */
42 +/* #undef ENABLE_UGID_DAEMON */
43 +
44 +/*
45 + * If ENABLE_UGID_NIS is defined, nfsd will support user mapping
46 + * vie the client's NIS server.
47 + */
48 +/* #undef ENABLE_UGID_NIS */
49 +
50 +/*
51 + * if HOSTS_ACCESS is defined, ugidd uses host access control
52 + * provided by libwrap.a from tcp_wrappers
53 + */
54 +#define HOSTS_ACCESS
55 +
56 +/*
57 + * Define correct ownership of export control file
58 + */
59 +#define EXPORTSOWNERUID ((uid_t) 0)
60 +#define EXPORTSOWNERGID ((gid_t) 0)
61 +
62 +/*
63 + * If WANT_LOG_MOUNTS is defined, every mount request will be logged
64 + * to syslogd with the name of source site and a path that was
65 + * it requested
66 + */
67 +#define WANT_LOG_MOUNTS