diff options
author | Ade Lovett <ade@FreeBSD.org> | 2000-09-15 15:20:13 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2000-09-15 15:20:13 +0000 |
commit | 98ad73b18c2f042fb324abaa9c17b5592107620a (patch) | |
tree | 0954f7f5b164e1d8a3c423ee5d2b638f7fa255c9 /devel | |
parent | Cons-2.0.2 released. (diff) |
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
Notes
Notes:
svn path=/head/; revision=32643
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ORBit/Makefile | 8 | ||||
-rw-r--r-- | devel/ORBit2/Makefile | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/devel/ORBit/Makefile b/devel/ORBit/Makefile index 780f6a0df741..3e3de5415c8c 100644 --- a/devel/ORBit/Makefile +++ b/devel/ORBit/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> 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> |