mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Add option to log user history to syslog.
PR: 155780 Submitted by: Alexander Kriventsov <avk@vl.ru>
This commit is contained in:
parent
42d6517384
commit
bf7ad139d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272309
@ -104,6 +104,11 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/bash.1
|
||||
.if defined(WITH_SYSLOG)
|
||||
@${REINPLACE_CMD} \
|
||||
-e "s|/\*.*#define SYSLOG_HISTORY .*\*/|#define SYSLOG_HISTORY|g" \
|
||||
${WRKSRC}/config-top.h
|
||||
.endif
|
||||
.if defined(WITHOUT_NLS)
|
||||
@${REINPLACE_CMD} -e "s|@LIBICONV@||g" ${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
@ -3,4 +3,5 @@ OPTIONS= IMPLICITCD "Use directory name alone to cd into it" on \
|
||||
HELP "Install the help files" on \
|
||||
INST_READL "Use readline from base, otherwise bash's" on \
|
||||
NLS "National Language Support" on \
|
||||
STATIC_BASH "Compile without shared libs" off
|
||||
STATIC_BASH "Compile without shared libs" off \
|
||||
SYSLOG "Compile with syslog support" off
|
||||
|
Loading…
Reference in New Issue
Block a user