mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
37c999228b
- Introduce new "server" output holding the server binaries - Adapt tsmbac.patch to new build environment - Adapt openafs nixos server module accordingly - Update upstream CellServDB: 2017-03-14 -> 2018-05-14 - Introduce package attributes to refer to the openafs packages to use for server, programs and kernel module
30 lines
871 B
Diff
30 lines
871 B
Diff
diff -u openafs-1.8.0/src/bozo/bosserver.c /tmp/buffer-content-13110-gd
|
|
--- openafs-1.8.0/src/bozo/bosserver.c
|
|
+++ #<buffer bosserver.c>
|
|
@@ -244,24 +244,6 @@
|
|
static int
|
|
CreateDirs(const char *coredir)
|
|
{
|
|
- if ((!strncmp
|
|
- (AFSDIR_USR_DIRPATH, AFSDIR_CLIENT_ETC_DIRPATH,
|
|
- strlen(AFSDIR_USR_DIRPATH)))
|
|
- ||
|
|
- (!strncmp
|
|
- (AFSDIR_USR_DIRPATH, AFSDIR_SERVER_BIN_DIRPATH,
|
|
- strlen(AFSDIR_USR_DIRPATH)))) {
|
|
- if (MakeDir(AFSDIR_USR_DIRPATH))
|
|
- return errno;
|
|
- }
|
|
- if (!strncmp
|
|
- (AFSDIR_SERVER_AFS_DIRPATH, AFSDIR_SERVER_BIN_DIRPATH,
|
|
- strlen(AFSDIR_SERVER_AFS_DIRPATH))) {
|
|
- if (MakeDir(AFSDIR_SERVER_AFS_DIRPATH))
|
|
- return errno;
|
|
- }
|
|
- if (MakeDir(AFSDIR_SERVER_BIN_DIRPATH))
|
|
- return errno;
|
|
if (MakeDir(AFSDIR_SERVER_ETC_DIRPATH))
|
|
return errno;
|
|
if (MakeDir(AFSDIR_SERVER_LOCAL_DIRPATH))
|
|
|
|
Diff finished. Fri Jun 29 15:45:46 2018
|