From e1f5aae210139c73054a62107a2c87e3ac6e3645 Mon Sep 17 00:00:00 2001 From: cy Date: Thu, 21 Apr 2005 21:49:24 +0000 Subject: Set a configurable sudosh logdir which defaults to the /var/log/sudosh directory. --- security/sudosh/Makefile | 6 ++++++ security/sudosh2/Makefile | 6 ++++++ security/sudosh3/Makefile | 6 ++++++ 3 files changed, 18 insertions(+) (limited to 'security') diff --git a/security/sudosh/Makefile b/security/sudosh/Makefile index 1c007c5e5748..cfb025e251c6 100644 --- a/security/sudosh/Makefile +++ b/security/sudosh/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 diff --git a/security/sudosh2/Makefile b/security/sudosh2/Makefile index 1c007c5e5748..cfb025e251c6 100644 --- a/security/sudosh2/Makefile +++ b/security/sudosh2/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 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 -- cgit