Date: Tue, 22 Mar 2011 13:09:23 GMT From: Alexander Kriventsov <avk@vl.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/155781: [PATCH] shells/bash: Add logging user history to syslog Message-ID: <201103221309.p2MD9NQ4077013@red.freebsd.org> Resent-Message-ID: <201103221310.p2MDA1aR055425@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 155781 >Category: ports >Synopsis: [PATCH] shells/bash: Add logging user history to syslog >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 22 13:10:01 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Alexander Kriventsov >Release: 8.1-RELEASE >Organization: Hosting Community >Environment: FreeBSD localhost 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Aug 2 02:56:18 UTC 2010 root@localhost:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Add logging user history to syslog >How-To-Repeat: >Fix: Patch attached with submission follows: --- shells/bash/Makefile.orig 2011-03-21 10:26:45.000000000 +0000 +++ shells/bash/Makefile 2011-03-22 11:30:37.000000000 +0000 @@ -9,7 +9,7 @@ PORTNAME= bash PATCHLEVEL= 9 PORTVERSION= 4.1.${PATCHLEVEL:S/^0//g} -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= shells MASTER_SITES= ${MASTER_SITE_GNU:S/$/:bash/} \ ftp://ftp.cwru.edu/pub/%SUBDIR%/:faq @@ -107,6 +107,9 @@ .if defined(WITHOUT_NLS) @${REINPLACE_CMD} -e "s|@LIBICONV@||g" ${WRKSRC}/Makefile.in .endif +.if defined(WITH_SYSLOG) + @${REINPLACE_CMD} -e "s|/\* #define SYSLOG_HISTORY \*/|#define SYSLOG_HISTORY|g" ${WRKSRC}/config-top.h +.endif post-configure: @${FIND} ${WRKSRC} -name Makefile -print0 | ${XARGS} -0 \ --- shells/bash/options.orig 2011-03-22 11:26:20.000000000 +0000 +++ shells/bash/options 2011-03-22 11:26:53.000000000 +0000 @@ -3,4 +3,5 @@ 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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103221309.p2MD9NQ4077013>