2013-09-21 00:55:24 +02:00
|
|
|
# Created by: cy@FreeBSD.org
|
2004-10-28 22:04:55 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2009-01-13 07:45:40 +01:00
|
|
|
PORTNAME= sudosh2
|
2014-02-12 21:10:37 +01:00
|
|
|
PORTVERSION= 1.0.5
|
2004-10-28 22:04:55 +02:00
|
|
|
CATEGORIES= security
|
2012-01-30 21:11:25 +01:00
|
|
|
MASTER_SITES= SF/${PORTNAME}
|
2014-02-12 21:10:37 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
2004-10-28 22:04:55 +02:00
|
|
|
|
|
|
|
MAINTAINER= cy@FreeBSD.org
|
2009-01-13 07:45:40 +01:00
|
|
|
COMMENT= Second version of the sudo shell
|
|
|
|
CONFLICTS= sudosh-*
|
2004-10-28 22:04:55 +02:00
|
|
|
|
2004-10-30 03:46:55 +02:00
|
|
|
RUN_DEPENDS= sudo:${PORTSDIR}/security/sudo
|
|
|
|
|
2004-10-28 22:04:55 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --bindir="${PREFIX}/bin"
|
2005-10-25 01:46:47 +02:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir="${PREFIX}/etc"
|
2005-04-22 01:17:21 +02:00
|
|
|
CONFIGURE_ARGS+= --program-transform-name=''
|
2005-04-21 23:49:24 +02:00
|
|
|
.if defined(SUDOSH_LOGDIR)
|
|
|
|
CONFIGURE_ARGS+= --with-logdir="${SUDOSH_LOGDIR}"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-logdir=/var/log/sudosh
|
|
|
|
.endif
|
2013-05-26 19:10:31 +02:00
|
|
|
LDFLAGS+= -lutil
|
2004-10-28 22:04:55 +02:00
|
|
|
|
2005-04-20 01:38:05 +02:00
|
|
|
MAN1= sudosh.1
|
2005-06-17 19:00:02 +02:00
|
|
|
MAN5= sudosh.conf.5
|
2005-04-20 01:38:05 +02:00
|
|
|
MAN8= sudosh-replay.8
|
|
|
|
|
2013-09-21 00:55:24 +02:00
|
|
|
NO_STAGE= yes
|
2009-12-15 08:16:49 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${TEST} -f ${PREFIX}/etc/sudosh.conf || ${CP} -p ${PREFIX}/etc/sudosh.conf.sample ${PREFIX}/etc/sudosh.conf
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|