4 Source tarballs for uid_wrapper can be downloaded from
6 https://ftp.samba.org/pub/cwrap/
8 The source code repository for socket wrapper is located under
10 git://git.samba.org/uid_wrapper.git
12 To create a local copy, run
14 $ git clone git://git.samba.org/uid_wrapper.git
20 uid_wrapper uses cmake (www.cmake.org) as its build system.
22 In an unpacked sources base directory, create a directory to
23 contain the build results, e.g.
28 Note that "obj" is just an example. The directory can
31 Next, run cmake to configure the build, e.g.
33 $ cmake -DCMAKE_INSTALL_PREFIX=<prefix> ..
35 The "<prefix>" should be replaced by the intended installation
36 target prefix directory, typically /usr or /usr/local.
38 Note that the target directory does not have to be a direct
39 or indirect subdirectory of the source base directory: It can
40 be an arbitrary directory in the system. In the general case,
41 ".." has to be replaced by a relative or absolute path of the
42 source base directory in the "cmake" command line.
44 One can control the build type with "-DCMAKE_BUILD_TYPE=<mode>"
45 where <mode> can be one of Debug, Release, RelWithDebInfo, and
46 some more (see cmake.org). The default is "RelWithDebInfo".
48 After configuring with cmake, run the build with
55 In order to support running the test suite after building,
56 the cmocka unit test framework needs to be installed (cmocka.org),
57 and you need to specify
61 in the cmake run. After running "make",
70 uid_wrapper is installed into the prefix directory
71 after running "cmake" and "make" with