FreeBSD Bugzilla – Attachment 201295 Details for
Bug 235088
net/relayd: Fix having relayd on OSVERSION >= 1200085
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH] net/relayd: fix having relayd on OSVERSION >= 1200085
ports_r490784_PATCH__net_relayd.diff (text/plain), 1.87 KB, created by
VinÃcius Zavam
on 2019-01-20 19:48:25 UTC
(
hide
)
Description:
[PATCH] net/relayd: fix having relayd on OSVERSION >= 1200085
Filename:
MIME Type:
Creator:
VinÃcius Zavam
Created:
2019-01-20 19:48:25 UTC
Size:
1.87 KB
patch
obsolete
>Index: net/relayd/Makefile >=================================================================== >--- net/relayd/Makefile (revision 490784) >+++ net/relayd/Makefile (working copy) >@@ -1,46 +1,55 @@ > # $FreeBSD$ > > PORTNAME= relayd > PORTVERSION= 5.5.20140810 >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= net > > MAINTAINER= mm@FreeBSD.org > COMMENT= OpenBSD relay daemon > > LICENSE= ISCL > >-GH_ACCOUNT= mmatuska >- > USES= uidfix ssl > USE_GITHUB= yes > USE_RC_SUBR= relayd >-WRKSRC_SUBDIR= src/usr.sbin > >-CFLAGS+= -Wall >+GH_ACCOUNT= mmatuska > >+WRKSRC_SUBDIR= src/usr.sbin >+CFLAGS+= -Wall > MAKE_ARGS+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/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 >+# OpenSSL 1.1.1 made into FreeBSD's base on OSVERSION 1200085 (r339270) >+.if ${OSVERSION} >= 1200085 >+# using += here silents portlint. >+BUILD_DEPENDS+= ${LOCALBASE}/bin/openssl:security/openssl >+RUN_DEPENDS+= ${BUILD_DEPENDS} >+# handle conflict against libevent: incomplete definition of type 'struct evbuffer' >+CONFLICTS_BUILD= libevent-2.* >+# USES=localbase would add '-isystem' to these flags, and we do not want that. >+CFLAGS+= -I${LOCALBASE}/include >+CPPFLAGS+= -I${LOCALBASE}/include >+CXXFLAGS+= -I${LOCALBASE}/include >+LDFLAGS+= -L${LOCALBASE}/lib >+# workaround changing DEFAULT_VERSIONS for SSL, only. >+MAKE_ENV+= SSL_DEFAULT=openssl USE_OPENSSL_RPATH=yes > .endif > > 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: >- @${INSTALL_DATA} ${WRKSRC}/../etc/relayd.conf \ >+ ${INSTALL_DATA} ${WRKSRC}/../etc/relayd.conf \ > ${STAGEDIR}${PREFIX}/etc/relayd.conf.sample > > .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 Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 235088
:
201295
|
204391