head	1.5;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.4
	RELEASE_8_2_0:1.4
	RELEASE_6_EOL:1.4
	RELEASE_8_1_0:1.4
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.01.21;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2010.03.20.14.34.02;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2008.11.16.21.08.42;	author itetcu;	state Exp;
branches;
next	1.2;

1.2
date	2006.05.13.04.15.17;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2005.11.12.11.50.40;	author pav;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:	sud
# Date created:				20 Sep 2004
# Whom:					bugghy <bugghy@@SAFe-mail.net>
#
# $FreeBSD: head/security/sud/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	sud
PORTVERSION=	1.3
PORTREVISION=	1
CATEGORIES=	security sysutils
MASTER_SITES=	SF

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Execute processes with special privileges in a nosuid environment

GNU_CONFIGURE=	yes
MAN1=		sud.1 suz.1 ilogin.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 900007
BROKEN=		fails to build with new utmpx
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' \
		${WRKSRC}/ilogin.1 ${WRKSRC}/sud.1 ${WRKSRC}/login/login.c ${WRKSRC}/sud/main.c
	@@${REINPLACE_CMD} -e 's|/usr/sbin/ilogin|${PREFIX}/ilogin| ; s|/usr/bin/ls|/bin/ls|' \
		${WRKSRC}/miscs/sud.conf.sample

post-install:
	${INSTALL_MAN} ${WRKSRC}/sud.1 ${MAN1PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/suz.1 ${MAN1PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/ilogin.1 ${MAN1PREFIX}/man/man1

.for i in issue.suz motd.suz sud.conf.sample
	${INSTALL_DATA} ${WRKSRC}/miscs/${i} ${PREFIX}/etc
.endfor
	@@if [ ! -f ${PREFIX}/etc/sud.conf ]; then \
		${CP} -p ${PREFIX}/etc/sud.conf.sample ${PREFIX}/etc/sud.conf ; \
	fi

.include <bsd.port.post.mk>
@


1.4
log
@- Mark BROKEN on HEAD: fails to build with new utmpx

Reported by:	pointyhat
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@- reset maintainer
(<bugghy@@SAFe-mail.net>: host mx1.SAFe-mail.net[213.8.192.70] said: 554 Rcpt
<bugghy@@safe-mail.net> does not exist (in reply to end of DATA command))
- use SF macro in MASTER_SITES
- man pages should be intalled irrespective of NOPORTDOCS - fix plist / package
- bump PORTREVISION

Prompted by:	QAT run
@
text
@d20 6
d44 1
a44 1
.include <bsd.port.mk>
@


1.2
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d10 1
d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
d14 1
a14 1
MAINTAINER=	bugghy@@SAFe-mail.net
a26 1
.if !defined(NOPORTDOCS)
a29 1
.endif
@


1.1
log
@Sud is a daemon to execute interactive and non-interactive processes with
special (and customizable) privileges in a nosuid environment. It is based on a
client/server model and on the ability to pass file descriptors between
processes.

PR:		ports/88354
Submitted by:	Vaida Bogdan <vaidab@@phenix.rootshell.be>
@
text
@a18 1
USE_REINPLACE=	yes
@

