1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

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
This commit is contained in:
Ade Lovett 2000-09-15 15:20:13 +00:00
parent 771e377e68
commit 98ad73b18c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32643
2 changed files with 16 additions and 0 deletions

View File

@ -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>

View File

@ -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>