diff options
author | ade <ade@FreeBSD.org> | 2000-09-15 23:20:13 +0800 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2000-09-15 23:20:13 +0800 |
commit | b5d0d1fd94eeacb5e0cd252d6d94f9981aa5f7fd (patch) | |
tree | 7064c8cf974b6d2800b53b4f192e5a19be055608 /devel/ORBit2 | |
parent | ad61fc1eaebac3f815e0a649e9121e4d892f2b88 (diff) | |
download | freebsd-ports-gnome-b5d0d1fd94eeacb5e0cd252d6d94f9981aa5f7fd.tar.gz freebsd-ports-gnome-b5d0d1fd94eeacb5e0cd252d6d94f9981aa5f7fd.tar.zst freebsd-ports-gnome-b5d0d1fd94eeacb5e0cd252d6d94f9981aa5f7fd.zip |
Address a potential security issue by forcibly telling ORBit not
to listen on any network (IPv4 or IPv6) sockets, if and only
if the user hasn't already installed a ${PREFIX}/etc/orbitrc file
(the default, and most likely case)
Issue raised by: Louis A. Mamakos <louie@TransSys.COM>
Discussed on: security mailing list
Diffstat (limited to 'devel/ORBit2')
-rw-r--r-- | devel/ORBit2/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/ORBit2/Makefile b/devel/ORBit2/Makefile index 780f6a0df741..3e3de5415c8c 100644 --- a/devel/ORBit2/Makefile +++ b/devel/ORBit2/Makefile @@ -7,6 +7,7 @@ PORTNAME= ORBit PORTVERSION= 0.5.3 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/ORBit @@ -28,4 +29,11 @@ CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \ CONFIGURE_ARGS= --disable-indent +post-install: +.if !exists(${PREFIX}/etc/orbitrc) + @${ECHO} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbitrc + @${ECHO} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbitrc + @${ECHO} etc/orbitrc >> ${TMPPLIST} +.endif + .include <bsd.port.mk> |