aboutsummaryrefslogtreecommitdiffstats
path: root/security/sudosh3
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2005-04-22 05:49:24 +0800
committercy <cy@FreeBSD.org>2005-04-22 05:49:24 +0800
commite1f5aae210139c73054a62107a2c87e3ac6e3645 (patch)
treed836cef9bd84cd84cf04a79e0c2a943c78d50510 /security/sudosh3
parent3f9bf6557daa4a40f5dbd45689239ac22ca13a4f (diff)
downloadfreebsd-ports-gnome-e1f5aae210139c73054a62107a2c87e3ac6e3645.tar.gz
freebsd-ports-gnome-e1f5aae210139c73054a62107a2c87e3ac6e3645.tar.zst
freebsd-ports-gnome-e1f5aae210139c73054a62107a2c87e3ac6e3645.zip
Set a configurable sudosh logdir which defaults to the /var/log/sudosh
directory.
Diffstat (limited to 'security/sudosh3')
-rw-r--r--security/sudosh3/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/sudosh3/Makefile b/security/sudosh3/Makefile
index 1c007c5e5748..cfb025e251c6 100644
--- a/security/sudosh3/Makefile
+++ b/security/sudosh3/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sudosh
PORTVERSION= 1.4.8
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
@@ -20,6 +21,11 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --bindir="${PREFIX}/bin"
+.if defined(SUDOSH_LOGDIR)
+CONFIGURE_ARGS+= --with-logdir="${SUDOSH_LOGDIR}"
+.else
+CONFIGURE_ARGS+= --with-logdir=/var/log/sudosh
+.endif
CONFIGURE_ENV= LDFLAGS="-lutil"
MAN1= sudosh.1