summaryrefslogtreecommitdiff
path: root/source/ap/acct/acct.logdir.fhs.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/acct/acct.logdir.fhs.diff')
-rw-r--r--source/ap/acct/acct.logdir.fhs.diff39
1 files changed, 24 insertions, 15 deletions
diff --git a/source/ap/acct/acct.logdir.fhs.diff b/source/ap/acct/acct.logdir.fhs.diff
index 1463857e..dbc95b2d 100644
--- a/source/ap/acct/acct.logdir.fhs.diff
+++ b/source/ap/acct/acct.logdir.fhs.diff
@@ -1,28 +1,37 @@
---- ./configure.ac.orig 2010-02-12 10:39:09.000000000 -0600
-+++ ./configure.ac 2010-07-28 12:35:30.000000000 -0500
-@@ -187,7 +187,7 @@
-
+--- ./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__)
--# define ACCT_FILE "/var/account/pacct"
+ # 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/account/acct"
-@@ -207,7 +207,7 @@
-
+ # define ACCT_FILE "/var/log/account/acct"
+@@ -281,7 +281,7 @@
#ifndef SAVACCT_FILE
- # if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__)
--# define SAVACCT_FILE "/var/account/savacct"
+ # 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"
-@@ -223,7 +223,7 @@
-
+@@ -298,7 +298,7 @@
#ifndef USRACCT_FILE
- # if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__)
--# define USRACCT_FILE "/var/account/usracct"
+ # 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)