Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2000 19:20:13 +0100 (CET)
From:      berend@pobox.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/17408: Change to interbase4 to remove world writable
Message-ID:  <200003161820.TAA02928@playstation.nederware.nl>

next in thread | raw e-mail | index | archive | help

>Number:         17408
>Category:       ports
>Synopsis:       It's not clear why InterBase is world-writable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 16 10:30:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Berend de Boer
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
NederWare
>Environment:

	

>Description:

Some small changes to the Makefile so it doesn't make certain files
world-writable

>How-To-Repeat:

	

>Fix:
	

*** Makefile.org	Thu Mar 16 19:06:32 2000
--- Makefile	Thu Mar 16 19:09:51 2000
***************
*** 36,40 ****
  	@${MKDIR} ${IB_PATH}
  	@[ -d ${PREFIX}/lib/aout ] || ${MKDIR} ${PREFIX}/lib/aout
! 	@${CHMOD} 777 ${IB_PATH}
  	@(cd ${IB_PATH}; tar xfv ${ARCHIVE})
  	@${LN} -sf ${IB_PATH}/include/gds.h   ${PREFIX}/include/gds.h
--- 36,40 ----
  	@${MKDIR} ${IB_PATH}
  	@[ -d ${PREFIX}/lib/aout ] || ${MKDIR} ${PREFIX}/lib/aout
! 	@${CHMOD} 755 ${IB_PATH}
  	@(cd ${IB_PATH}; tar xfv ${ARCHIVE})
  	@${LN} -sf ${IB_PATH}/include/gds.h   ${PREFIX}/include/gds.h
***************
*** 46,54 ****
  	@${LN} -sf libgdslib.so.1.0	   ${PREFIX}/lib/aout/libgdslib.so
  	@${TOUCH} ${IB_PATH}/isc_event.gbl.localhost
! 	@${CHMOD} 777 ${IB_PATH}/isc_event.gbl.localhost
  	@${ECHO} "Building Interbase sample databases."
  	@${LDCONFIG} -aout -m ${PREFIX}/lib/aout
  .for file in isc4.gdb help/help.gdb examples/v3/atlas.gdb examples/v3/emp.gdb examples/v4/employee.gdb examples/v4/intlemp.gdb
! 	@${CHMOD} uog=rw ${IB_PATH}/${file}
  .endfor
  	@${LN} -sf ${IB_PATH} /usr/interbase
--- 46,54 ----
  	@${LN} -sf libgdslib.so.1.0	   ${PREFIX}/lib/aout/libgdslib.so
  	@${TOUCH} ${IB_PATH}/isc_event.gbl.localhost
! 	@${CHMOD} 644 ${IB_PATH}/isc_event.gbl.localhost
  	@${ECHO} "Building Interbase sample databases."
  	@${LDCONFIG} -aout -m ${PREFIX}/lib/aout
  .for file in isc4.gdb help/help.gdb examples/v3/atlas.gdb examples/v3/emp.gdb examples/v4/employee.gdb examples/v4/intlemp.gdb
! 	@${CHMOD} u=rw,go=r ${IB_PATH}/${file}
  .endfor
  	@${LN} -sf ${IB_PATH} /usr/interbase

>Release-Note:
>Audit-Trail:
>Unformatted:


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?200003161820.TAA02928>