aboutsummaryrefslogtreecommitdiff
path: root/security/sudosh3
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2005-04-21 21:49:24 +0000
committerCy Schubert <cy@FreeBSD.org>2005-04-21 21:49:24 +0000
commit8eff2b6ecba875366a3f2b628d0325b70251c147 (patch)
treef91415ba9a3386c5cebffe7b200620f3d6be31a4 /security/sudosh3
parent2f92cc0aa47df7819d869c5f778eb2ac6356f0c2 (diff)
downloadports-8eff2b6ecba875366a3f2b628d0325b70251c147.tar.gz
ports-8eff2b6ecba875366a3f2b628d0325b70251c147.zip
Set a configurable sudosh logdir which defaults to the /var/log/sudosh
directory.
Notes
Notes: svn path=/head/; revision=133889
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