1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/devel/ORBit2/Makefile
Ade Lovett 98ad73b18c 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
2000-09-15 15:20:13 +00:00

40 lines
923 B
Makefile

# New ports collection makefile for: orbit
# Date Created: 16 Aug 1998
# Whom: Chia-liang Kao <clkao@CirX.ORG>
#
# $FreeBSD$
#
PORTNAME= ORBit
PORTVERSION= 0.5.3
PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/ORBit
MAINTAINER= ade@FreeBSD.org
LIB_DEPENDS= glib12.3:${PORTSDIR}/devel/glib12 \
intl.1:${PORTSDIR}/devel/gettext
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
LIBTOOLFILES= configure libIDL/configure popt/configure
CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
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>