diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-11-22 20:29:41 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-11-22 20:29:41 +0000 |
commit | 7bdec3fd36ad65b3c9f6c640898245aaa9955b63 (patch) | |
tree | 91512216b2f7cfe14351253d8547774ef4bad8e7 /www/gtkhtml | |
parent | 9bce21b432eec6870b0a3b8e84d9a22d63dafbfd (diff) | |
download | ports-7bdec3fd36ad65b3c9f6c640898245aaa9955b63.tar.gz ports-7bdec3fd36ad65b3c9f6c640898245aaa9955b63.zip |
Make soup optional in gtkhtml. In doing this, we have to make sure soup is
a dependency of Evolution, so don't count on getting it from gtkhtml.
The reason for this is fear that the underlying soup protocol, SOAP is
inherently insecure. Thus far, however, there have been no advisories or
exploits, and the one soup user, Evolution does not appear to have any
SOAP-based security holes. See the following for more information:
http://www.xml.com/pub/a/2002/02/27/security-lather.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service11212001.asp
Requested by: Scott A. Moberly <smoberly@karamazov.org>
Notes
Notes:
svn path=/head/; revision=70762
Diffstat (limited to 'www/gtkhtml')
-rw-r--r-- | www/gtkhtml/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/www/gtkhtml/Makefile b/www/gtkhtml/Makefile index 0fe4de245fe3..276edc0ce996 100644 --- a/www/gtkhtml/Makefile +++ b/www/gtkhtml/Makefile @@ -14,8 +14,7 @@ DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org -LIB_DEPENDS= pspell.15:${PORTSDIR}/textproc/aspell \ - soup.5:${PORTSDIR}/devel/soup +LIB_DEPENDS= pspell.15:${PORTSDIR}/textproc/aspell USE_BZIP2= yes USE_X_PREFIX= yes @@ -32,6 +31,12 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} VERSION= ${PORTNAME}-${PORTVERSION} +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/libdata/pkgconfig/soup.pc) || !defined(WITHOUT_SOUP) +LIB_DEPENDS+= soup.5:${PORTSDIR}/devel/soup +.endif + post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure @@ -47,4 +52,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/gtkhtmlConf.sh \ ${PREFIX}/etc/gtkhtmlConf.sh -.include <bsd.port.mk> +.include <bsd.port.post.mk> |