2008-01-20 21:38:26 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= relayd
|
2014-08-10 20:12:03 +00:00
|
|
|
PORTVERSION= 5.5.20140810
|
2016-05-24 19:45:13 +00:00
|
|
|
PORTREVISION= 2
|
2008-01-20 21:38:26 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2010-05-28 11:59:50 +00:00
|
|
|
MAINTAINER= mm@FreeBSD.org
|
|
|
|
COMMENT= OpenBSD relay daemon
|
2008-01-20 21:38:26 +00:00
|
|
|
|
2014-06-13 11:47:41 +00:00
|
|
|
LICENSE= ISCL
|
2011-03-23 15:53:22 +00:00
|
|
|
|
2013-10-24 20:24:08 +00:00
|
|
|
GH_ACCOUNT= mmatuska
|
2008-01-20 21:38:26 +00:00
|
|
|
|
2017-03-15 14:45:30 +00:00
|
|
|
USES= uidfix ssl
|
2013-10-24 20:24:08 +00:00
|
|
|
USE_GITHUB= yes
|
2008-01-20 21:38:26 +00:00
|
|
|
USE_RC_SUBR= relayd
|
2015-05-07 18:52:19 +00:00
|
|
|
WRKSRC_SUBDIR= src/usr.sbin
|
2008-01-20 21:38:26 +00:00
|
|
|
|
2014-08-04 19:55:52 +00:00
|
|
|
CFLAGS+= -Wall
|
2008-01-20 21:38:26 +00:00
|
|
|
|
2010-05-28 11:59:50 +00:00
|
|
|
MAKE_ARGS+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
|
|
|
|
|
2011-06-06 18:19:50 +00:00
|
|
|
USERS= _relayd
|
|
|
|
GROUPS= _relayd
|
2008-01-20 21:38:26 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-05-29 08:44:58 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
|
|
|
${WRKSRC}/relayd/relay.c \
|
|
|
|
${WRKSRC}/relayd/relayd.h \
|
|
|
|
${WRKSRC}/relayd/relayd.conf.5 \
|
|
|
|
${WRKSRC}/relayd/relayd.8
|
|
|
|
|
|
|
|
post-install:
|
2010-06-09 20:58:26 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../etc/relayd.conf \
|
2014-01-19 12:07:21 +00:00
|
|
|
${STAGEDIR}${PREFIX}/etc/relayd.conf.sample
|
2010-05-29 08:44:58 +00:00
|
|
|
|
2008-01-20 21:38:26 +00:00
|
|
|
.include <bsd.port.post.mk>
|