FreeBSD Bugzilla – Attachment 202998 Details for
Bug 236657
net/relayd: fix build on 12/CURRENT, take maintainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
relayd ssl patch
relayd-ssl-patch.txt (text/plain), 1.53 KB, created by
Nikola Kolev
on 2019-03-20 10:07:53 UTC
(
hide
)
Description:
relayd ssl patch
Filename:
MIME Type:
Creator:
Nikola Kolev
Created:
2019-03-20 10:07:53 UTC
Size:
1.53 KB
patch
obsolete
>diff -rupN relayd.orig/Makefile relayd/Makefile >--- relayd.orig/Makefile 2019-03-18 22:47:55.000000000 +0000 >+++ relayd/Makefile 2019-03-20 09:52:39.120007000 +0000 >@@ -1,11 +1,11 @@ >-# $FreeBSD: head/net/relayd/Makefile 496220 2019-03-18 22:47:55Z mm $ >+# $FreeBSD$ > > PORTNAME= relayd > PORTVERSION= 5.5.20140810 > PORTREVISION= 3 > CATEGORIES= net > >-MAINTAINER= ports@FreeBSD.or >+MAINTAINER= koue@chaosophia.net > COMMENT= OpenBSD relay daemon > > LICENSE= ISCL >@@ -24,14 +24,6 @@ MAKE_ARGS+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man > USERS= _relayd > GROUPS= _relayd > >-BROKEN_FreeBSD_12= does not build, OpenSSL 1.1 unsupported >- >-.include <bsd.port.pre.mk> >- >-.if ${OSVERSION} >= 1300000 >-BROKEN= does not build, OpenSSL 1.1 unsupported >-.endif >- > post-patch: > @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ > ${WRKSRC}/relayd/relay.c \ >@@ -42,5 +34,21 @@ post-patch: > post-install: > @${INSTALL_DATA} ${WRKSRC}/../etc/relayd.conf \ > ${STAGEDIR}${PREFIX}/etc/relayd.conf.sample >+ >+.include <bsd.port.pre.mk> >+ >+.if ! ${SSL_DEFAULT:Mlibressl*} >+. ifnmake describe >+STAGEDIR_libressl!= ${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/libressl >+. endif >+BUILD_DEPENDS+= ${NONEXISTENT}:security/libressl:stage >+CFLAGS+= -I${STAGEDIR_libressl}${LOCALBASE}/include >+ >+post-configure: >+ ${REINPLACE_CMD} 's|-lssl|${STAGEDIR_libressl}${LOCALBASE}/lib/libssl.a|g' \ >+ ${WRKSRC}/relayd/Makefile >+ ${REINPLACE_CMD} 's|-lcrypto|${STAGEDIR_libressl}${LOCALBASE}/lib/libcrypto.a|g' \ >+ ${WRKSRC}/relayd/Makefile >+.endif # SSL_DEFAULT > > .include <bsd.port.post.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 236657
: 202998