Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2002 08:30:03 -0800 (PST)
From:      Ken Stailey <kstailey@surfbest.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/33816: KLH-10 PDP-10 emulator port.
Message-ID:  <200202171630.g1HGU3G96596@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/33816; it has been noted by GNATS.

From: Ken Stailey <kstailey@surfbest.net>
To: freebsd-gnats-submit@FreeBSD.org, kstailey@yahoo.com
Cc:  
Subject: Re: ports/33816: KLH-10 PDP-10 emulator port.
Date: Sun, 17 Feb 2002 11:24:03 -0500 (EST)

 Patches already, sigh.  I forgot to parameterize the IP addresses and
 to clean up after APR.TIMEBASE
 
 diff -ur klh10/Makefile /usr/ports/emulators/klh10/Makefile
 --- klh10/Makefile	Sun Feb 17 10:32:00 2002
 +++ /usr/ports/emulators/klh10/Makefile	Sun Feb 17 10:49:05 2002
 @@ -26,8 +26,8 @@
  DOCDIR=		${PREFIX}/share/doc/${KLH10_DIR}
  VARDIR=		/var/local/db	# don't break diskless(8)
  IMAGE_HOME=	${KLH10_HOME}	# location of PI-ITS filesystem image
 -EM_IP_ADDR=	10.134.198.236
 -EM_GW_IP_ADDR=	10.0.0.1
 +EM_IP_ADDR?=	10.134.198.236
 +EM_GW_IP_ADDR?=	10.0.0.1
  MAKE_ENV+=	KLH10_HOME=${KLH10_HOME}
  ALL_TARGET=	base-ks-its
  
 @@ -82,7 +82,15 @@
  	@ ${MKDIR} ${KLH10_HOME}
  	@ ${MKDIR} ${DRIVER_DIR}
  	@ ${MKDIR} ${DOCDIR}
 -	@ ${ECHO} KLH10 is a setuid that accepts network connections. \
 +	@ ${ECHO} Using emulator IP address ${EM_IP_ADDR}
 +	@ ${ECHO} and gateway IP address ${EM_GW_IP_ADDR}
 +.if (${EM_IP_ADDR} == 10.134.198.236)
 +	@ ${ECHO} Use EM_IP_ADDR= to set the IP address used by KLH10.
 +.endif
 +.if (${EM_GW_IP_ADDR} == 10.0.0.1)
 +	@ ${ECHO} Use EM_GW_IP_ADDR= to set the gateway IP address.
 +.endif
 +	@ ${ECHO} KLH10 contains a setuid that accepts network connections. \
  		> ${PKGDIR}/pkg-message
  	@ ${ECHO} Consider using a firewall to limit access to KLH10. \
  		>> ${PKGDIR}/pkg-message
 @@ -133,9 +141,9 @@
  # Files that the emulator writes to should not be under usr.
  	@ ${LN} -s ${VARDIR}/APR.TIMEBASE ${KLH10_HOME}/APR.TIMEBASE
  	@ ${INSTALL_MAN} ${FILESDIR}/PDPs ${DOCDIR}
 -	@ ${ECHO} !!!   KLH10 is a setuid that accepts network connections.
 -	@ ${ECHO} !!!   Consider using a firewall to limit access to KLH10.
 -	@ ${ECHO} !!!   See the ${DOCDIR}/pubits/adm
 -	@ ${ECHO} !!!   for firewall documentation.
 +	@ ${ECHO} !!! KLH10 contains a setuid that accepts network connections.
 +	@ ${ECHO} !!! Consider using a firewall to limit access to KLH10.
 +	@ ${ECHO} !!! See the ${DOCDIR}/pubits/adm
 +	@ ${ECHO} !!! for firewall documentation.
  
  .include <bsd.port.mk>
 diff -ur klh10/pkg-message /usr/ports/emulators/klh10/pkg-message
 --- klh10/pkg-message	Sun Feb 17 10:32:00 2002
 +++ /usr/ports/emulators/klh10/pkg-message	Sun Feb 17 10:49:26 2002
 @@ -1,4 +1,4 @@
 -KLH10 is a setuid that accepts network connections.
 +KLH10 contains a setuid that accepts network connections.
  Consider using a firewall to limit access to KLH10.
  See the /usr/local/share/doc/klh10-ks-its/pubits/adm
  for firewall documentation.
 diff -ur klh10/pkg-plist /usr/ports/emulators/klh10/pkg-plist
 --- klh10/pkg-plist	Sun Feb 17 10:32:00 2002
 +++ /usr/ports/emulators/klh10/pkg-plist	Sun Feb 17 10:43:28 2002
 @@ -52,3 +52,4 @@
  %%PORTDOCS%%@dirrm share/doc/klh10-ks-its/pubits/doc
  %%PORTDOCS%%@dirrm share/doc/klh10-ks-its/pubits
  %%PORTDOCS%%@dirrm share/doc/klh10-ks-its
 +@unexec rm -f /var/local/db/APR.TIMEBASE
 Only in /usr/ports/emulators/klh10: work

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202171630.g1HGU3G96596>