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:
parent
771e377e68
commit
98ad73b18c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32643
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user