View | Details | Raw Unified | Return to bug 235088 | Differences between
and this patch

Collapse All | Expand All

(-)net/relayd/Makefile (-11 / +19 lines)
Lines 1-46 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	relayd
3
PORTNAME=	relayd
4
PORTVERSION=	5.5.20140810
4
PORTVERSION=	5.5.20140810
5
PORTREVISION=	3
5
PORTREVISION=	4
6
CATEGORIES=	net
6
CATEGORIES=	net
7
7
8
MAINTAINER=	ports@FreeBSD.org
8
MAINTAINER=	egypcio@FreeBSD.org
9
COMMENT=	OpenBSD relay daemon
9
COMMENT=	OpenBSD relay daemon
10
10
11
LICENSE=	ISCL
11
LICENSE=	ISCL
12
12
13
GH_ACCOUNT=	mmatuska
14
15
USES=		uidfix ssl
13
USES=		uidfix ssl
16
USE_GITHUB=	yes
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	mmatuska
17
USE_RC_SUBR=	relayd
16
USE_RC_SUBR=	relayd
18
WRKSRC_SUBDIR=	src/usr.sbin
19
17
18
WRKSRC_SUBDIR=	src/usr.sbin
20
CFLAGS+=	-Wall
19
CFLAGS+=	-Wall
21
22
MAKE_ARGS+=	BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
20
MAKE_ARGS+=	BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
23
21
24
USERS=		_relayd
22
USERS=		_relayd
25
GROUPS=		_relayd
23
GROUPS=		_relayd
26
24
27
BROKEN_FreeBSD_12=	does not build, OpenSSL 1.1 unsupported	
28
29
.include <bsd.port.pre.mk>
25
.include <bsd.port.pre.mk>
30
26
31
.if ${OSVERSION} >= 1300000
27
# OpenSSL 1.1.1 made into FreeBSD's base on OSVERSION 1200085 (r339270)
32
BROKEN=	does not build, OpenSSL 1.1 unsupported	
28
.if ${OSVERSION} >= 1200085
29
# using += here silents portlint.
30
BUILD_DEPENDS+=	${LOCALBASE}/bin/openssl:security/openssl
31
RUN_DEPENDS+=	${BUILD_DEPENDS}
32
# handle conflict against libevent: incomplete definition of type 'struct evbuffer'
33
CONFLICTS_BUILD=	libevent-2.*
34
# USES=localbase would add '-isystem' to these flags, and we do not want that.
35
CFLAGS+=	-I${LOCALBASE}/include
36
CPPFLAGS+=	-I${LOCALBASE}/include
37
CXXFLAGS+=	-I${LOCALBASE}/include
38
LDFLAGS+=	-L${LOCALBASE}/lib
39
# workaround changing DEFAULT_VERSIONS for SSL, only.
40
MAKE_ENV+=	SSL_DEFAULT=openssl USE_OPENSSL_RPATH=yes
33
.endif
41
.endif
34
42
35
post-patch:
43
post-patch:
36
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
44
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
37
		${WRKSRC}/relayd/relay.c \
45
		${WRKSRC}/relayd/relay.c \
38
		${WRKSRC}/relayd/relayd.h \
46
		${WRKSRC}/relayd/relayd.h \
39
		${WRKSRC}/relayd/relayd.conf.5 \
47
		${WRKSRC}/relayd/relayd.conf.5 \
40
		${WRKSRC}/relayd/relayd.8
48
		${WRKSRC}/relayd/relayd.8
41
49
42
post-install:
50
post-install:
43
	@${INSTALL_DATA} ${WRKSRC}/../etc/relayd.conf \
51
	${INSTALL_DATA} ${WRKSRC}/../etc/relayd.conf \
44
		${STAGEDIR}${PREFIX}/etc/relayd.conf.sample
52
		${STAGEDIR}${PREFIX}/etc/relayd.conf.sample
45
53
46
.include <bsd.port.post.mk>
54
.include <bsd.port.post.mk>
(-)net/relayd/distinfo (+1 lines)
Lines 1-2 Link Here
1
TIMESTAMP = 1557913860
1
SHA256 (mmatuska-relayd-5.5.20140810_GH0.tar.gz) = 7acde883a8ee35b65dd58ac56d344f374eb15755bfb27310ce2c0bc6ebe87588
2
SHA256 (mmatuska-relayd-5.5.20140810_GH0.tar.gz) = 7acde883a8ee35b65dd58ac56d344f374eb15755bfb27310ce2c0bc6ebe87588
2
SIZE (mmatuska-relayd-5.5.20140810_GH0.tar.gz) = 179424
3
SIZE (mmatuska-relayd-5.5.20140810_GH0.tar.gz) = 179424

Return to bug 235088