Skip to content
Snippets Groups Projects
Commit b16b5fd4 authored by Alexey Dokuchaev's avatar Alexey Dokuchaev
Browse files

net/dante: try to unbreak the port's build on 15-CURRENT (+)

- Due to the way this code wraps around some standard library's
  functions, it cannot be compiled with -D_FORTIFY_SOURCE=2, so
  disable the naive check in the configure script
- Optionize UPnP support and remove SASL dependency for now as
  it does nothing alone; it could be introduced later together
  with proper LDAP support

Reported by:	pkg-fallout
parent 7cf4e708
No related branches found
No related tags found
No related merge requests found
...@@ -12,12 +12,8 @@ WWW= https://www.inet.no/dante/ ...@@ -12,12 +12,8 @@ WWW= https://www.inet.no/dante/
LICENSE= BSD4CLAUSE LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libminiupnpc.so:net/miniupnpc \ USES= libtool localbase ssl
libsasl2.so:security/cyrus-sasl2
USES= libtool localbase
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --with-socks-conf=${PREFIX}/etc/socks.conf \ CONFIGURE_ARGS= --with-socks-conf=${PREFIX}/etc/socks.conf \
--with-sockd-conf=${PREFIX}/etc/sockd.conf --with-sockd-conf=${PREFIX}/etc/sockd.conf
INSTALL_TARGET= install-strip INSTALL_TARGET= install-strip
...@@ -25,7 +21,15 @@ USE_LDCONFIG= yes ...@@ -25,7 +21,15 @@ USE_LDCONFIG= yes
USE_RC_SUBR= sockd USE_RC_SUBR= sockd
OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFINE= DOCS EXAMPLES UPNP
OPTIONS_DEFAULT= UPNP
UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc
UPNP_CONFIGURE_OFF= --without-upnp
post-patch:
@${REINPLACE_CMD} -e '/FORTIFY_SOURCE gives error/,+28d' \
${WRKSRC}/configure
post-install: post-install:
.for x in s d .for x in s d
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment