slackware-current/source/ap/acct/acct.logdir.fhs.diff

39 lines
1.5 KiB
Diff
Raw Normal View History

--- ./configure.ac.orig 2017-04-05 16:10:56.000000000 -0500
+++ ./configure.ac 2017-04-06 12:03:10.698973380 -0500
@@ -243,7 +243,7 @@
#ifndef WTMP_FILE
# if defined(__FreeBSD__) || defined (__NetBSD__) || defined(__linux__) \
|| defined(__FreeBSD_kernel__) || defined(__GLIBC__)
-# define WTMP_FILE "/var/log/account/wtmp"
+# define WTMP_FILE "/var/log/wtmp"
# else
# if defined(sun) || defined(AMIX)
# define WTMP_FILE "/var/adm/wtmp"
@@ -260,7 +260,7 @@
#ifndef ACCT_FILE
# if defined(__FreeBSD__) || defined(__linux__) \
|| defined(__FreeBSD_kernel__) || defined(__GLIBC__)
-# define ACCT_FILE "/var/log/account/pacct"
+# define ACCT_FILE "/var/log/pacct"
# else
# if defined(__NetBSD__)
# define ACCT_FILE "/var/log/account/acct"
@@ -281,7 +281,7 @@
#ifndef SAVACCT_FILE
# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \
|| defined(__FreeBSD_kernel__) || defined(__GLIBC__)
-# define SAVACCT_FILE "/var/log/account/savacct"
+# define SAVACCT_FILE "/var/log/savacct"
# else
# if defined(sun) || defined(AMIX)
# define SAVACCT_FILE "/var/adm/savacct"
@@ -298,7 +298,7 @@
#ifndef USRACCT_FILE
# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) \
|| defined(__FreeBSD_kernel__) || defined(__GLIBC__)
-# define USRACCT_FILE "/var/log/account/usracct"
+# define USRACCT_FILE "/var/log/usracct"
# else
# if defined(sun) || defined(AMIX)
# define USRACCT_FILE "/var/adm/usracct"