wok-next annotate glibc/stuff/glibc-2.24-fhs-1.patch @ rev 19561

Initial commit to wok-next (SliTaz v.6 now): update 61 packages (about) according to LFS 7.10
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 16 01:16:56 2016 +0200 (2016-12-16)
parents
children
rev   line source
al@19561 1 Submitted By: Armin K. <krejzi at email dot com>
al@19561 2 Date: 2013-02-11
al@19561 3 Initial Package Version: 2.17
al@19561 4 Upstream Status: Not Applicable
al@19561 5 Origin: Self
al@19561 6 Description: This patch removes references to /var/db directory which is not part
al@19561 7 of FHS and replaces them with more suitable directories in /var
al@19561 8 hierarchy - /var/cache/nscd for nscd and /var/lib/nss_db for nss_db.
al@19561 9
al@19561 10 --- a/Makeconfig 2012-12-25 04:02:13.000000000 +0100
al@19561 11 +++ b/Makeconfig 2013-02-11 01:32:32.500667439 +0100
al@19561 12 @@ -250,7 +250,7 @@
al@19561 13
al@19561 14 # Directory for the database files and Makefile for nss_db.
al@19561 15 ifndef vardbdir
al@19561 16 -vardbdir = $(localstatedir)/db
al@19561 17 +vardbdir = $(localstatedir)/lib/nss_db
al@19561 18 endif
al@19561 19 inst_vardbdir = $(install_root)$(vardbdir)
al@19561 20
al@19561 21 --- a/nscd/nscd.h 2012-12-25 04:02:13.000000000 +0100
al@19561 22 +++ b/nscd/nscd.h 2013-02-11 01:32:32.500667439 +0100
al@19561 23 @@ -112,11 +112,11 @@
al@19561 24
al@19561 25
al@19561 26 /* Paths of the file for the persistent storage. */
al@19561 27 -#define _PATH_NSCD_PASSWD_DB "/var/db/nscd/passwd"
al@19561 28 -#define _PATH_NSCD_GROUP_DB "/var/db/nscd/group"
al@19561 29 -#define _PATH_NSCD_HOSTS_DB "/var/db/nscd/hosts"
al@19561 30 -#define _PATH_NSCD_SERVICES_DB "/var/db/nscd/services"
al@19561 31 -#define _PATH_NSCD_NETGROUP_DB "/var/db/nscd/netgroup"
al@19561 32 +#define _PATH_NSCD_PASSWD_DB "/var/cache/nscd/passwd"
al@19561 33 +#define _PATH_NSCD_GROUP_DB "/var/cache/nscd/group"
al@19561 34 +#define _PATH_NSCD_HOSTS_DB "/var/cache/nscd/hosts"
al@19561 35 +#define _PATH_NSCD_SERVICES_DB "/var/cache/nscd/services"
al@19561 36 +#define _PATH_NSCD_NETGROUP_DB "/var/cache/nscd/netgroup"
al@19561 37
al@19561 38 /* Path used when not using persistent storage. */
al@19561 39 #define _PATH_NSCD_XYZ_DB_TMP "/var/run/nscd/dbXXXXXX"
al@19561 40 --- a/nss/db-Makefile 2012-12-25 04:02:13.000000000 +0100
al@19561 41 +++ b/nss/db-Makefile 2013-02-11 01:32:32.500667439 +0100
al@19561 42 @@ -22,7 +22,7 @@
al@19561 43 /etc/rpc /etc/services /etc/shadow /etc/gshadow \
al@19561 44 /etc/netgroup)
al@19561 45
al@19561 46 -VAR_DB = /var/db
al@19561 47 +VAR_DB = /var/lib/nss_db
al@19561 48
al@19561 49 AWK = awk
al@19561 50 MAKEDB = makedb --quiet
al@19561 51 --- a/sysdeps/generic/paths.h 2012-12-25 04:02:13.000000000 +0100
al@19561 52 +++ b/sysdeps/generic/paths.h 2013-02-11 01:32:32.500667439 +0100
al@19561 53 @@ -68,7 +68,7 @@
al@19561 54 /* Provide trailing slash, since mostly used for building pathnames. */
al@19561 55 #define _PATH_DEV "/dev/"
al@19561 56 #define _PATH_TMP "/tmp/"
al@19561 57 -#define _PATH_VARDB "/var/db/"
al@19561 58 +#define _PATH_VARDB "/var/lib/nss_db/"
al@19561 59 #define _PATH_VARRUN "/var/run/"
al@19561 60 #define _PATH_VARTMP "/var/tmp/"
al@19561 61
al@19561 62 --- a/sysdeps/unix/sysv/linux/paths.h 2012-12-25 04:02:13.000000000 +0100
al@19561 63 +++ b/sysdeps/unix/sysv/linux/paths.h 2013-02-11 01:32:32.504000831 +0100
al@19561 64 @@ -68,7 +68,7 @@
al@19561 65 /* Provide trailing slash, since mostly used for building pathnames. */
al@19561 66 #define _PATH_DEV "/dev/"
al@19561 67 #define _PATH_TMP "/tmp/"
al@19561 68 -#define _PATH_VARDB "/var/db/"
al@19561 69 +#define _PATH_VARDB "/var/lib/nss_db/"
al@19561 70 #define _PATH_VARRUN "/var/run/"
al@19561 71 #define _PATH_VARTMP "/var/tmp/"
al@19561 72