Subject: /usr/ucb/sendbug sends bug reports to the wrong place (#85)
Index:	ucb/sendbug 2.11BSD

Description:
	The 'sendbug' script sends bug reports to the wrong place
	(4bsd-bugs@ucbvax.BERKELEY.EDU).

Repeat-By:
	Use 'sendbug' to generate a bug report.
Fix:
	Thanks to Paul Taylor for spotting this one.
	
	Apply the patch below and reinstall 'sendbug'.

========================cut here=================================
*** /usr/src/ucb/sendbug/Makefile.old	Thu Jul 23 06:31:29 1987
--- /usr/src/ucb/sendbug/Makefile	Sat Nov 28 17:00:23 1992
***************
*** 3,15 ****
  # All rights reserved.  The Berkeley software License Agreement
  # specifies the terms and conditions for redistribution.
  #
! #	@(#)Makefile	5.6 (Berkeley) 4/24/86
  #
  # Bug report processor and associated programs
  #
  
! BUGS_NAME = 4bsd-bugs
! BUGS_HOME = @ucbvax.BERKELEY.EDU
  DEFS = -DBUGS_NAME='"$(BUGS_NAME)"' -DBUGS_HOME='"$(BUGS_HOME)"'
  CFLAGS = -O -DUNIXCOMP $(DEFS)
  LIBDIR=	/usr/lib
--- 3,15 ----
  # All rights reserved.  The Berkeley software License Agreement
  # specifies the terms and conditions for redistribution.
  #
! #	@(#)Makefile	5.7 (GTE) 11/28/92
  #
  # Bug report processor and associated programs
  #
  
! BUGS_NAME = sms
! BUGS_HOME = @WLV.IIPO.GTEGSC.COM
  DEFS = -DBUGS_NAME='"$(BUGS_NAME)"' -DBUGS_HOME='"$(BUGS_HOME)"'
  CFLAGS = -O -DUNIXCOMP $(DEFS)
  LIBDIR=	/usr/lib
***************
*** 25,31 ****
  
  install: bugfiler sendbug.sh bugformat unixtomh
  	install -s bugfiler ${DESTDIR}${LIBDIR}/bugfiler
! 	install -c sendbug.sh ${DESTDIR}/usr/ucb/sendbug
  	install -s unixtomh ${DESTDIR}${LIBDIR}/unixtomh
  	install -c -m 644 bugformat ${DESTDIR}/usr/lib/bugformat
  
--- 25,31 ----
  
  install: bugfiler sendbug.sh bugformat unixtomh
  	install -s bugfiler ${DESTDIR}${LIBDIR}/bugfiler
! 	install -c -m 555 sendbug.sh ${DESTDIR}/usr/ucb/sendbug
  	install -s unixtomh ${DESTDIR}${LIBDIR}/unixtomh
  	install -c -m 644 bugformat ${DESTDIR}/usr/lib/bugformat
  
*** /usr/src/ucb/sendbug/sendbug.sh.old	Wed Feb 12 19:02:09 1986
--- /usr/src/ucb/sendbug/sendbug.sh	Sat Nov 28 17:02:00 1992
***************
*** 4,19 ****
  # All rights reserved.  The Berkeley software License Agreement
  # specifies the terms and conditions for redistribution.
  #
! #	@(#)sendbug.sh	5.6 (Berkeley) 86/02/12
  #
! # Create a bug report and mail to '4bsd-bugs'.
  #
  
  TEMP=/tmp/bug$$
  FORMAT=/usr/lib/bugformat
  
! # uucp sites should use ": ${BUGADDR=ucbvax!4bsd-bugs}" with a suitable path.
! : ${BUGADDR=4bsd-bugs@BERKELEY.EDU}
  : ${EDITOR=/usr/ucb/vi}
  
  trap '/bin/rm -f $TEMP ; exit 1' 1 2 3 13 15
--- 4,20 ----
  # All rights reserved.  The Berkeley software License Agreement
  # specifies the terms and conditions for redistribution.
  #
! #	@(#)sendbug.sh	6.0 (GTE) 11/20/92
  #
! # Create a bug report and mail to the 2bsd maintainer.
  #
  
  TEMP=/tmp/bug$$
  FORMAT=/usr/lib/bugformat
  
! # uucp sites should use ": ${BUGADDR=wlbr!wlv!sms}" with a suitable path.
! #   Use of the uucp address is not recommended.
! : ${BUGADDR=sms@WLV.IIPO.GTEGSC.COM}
  : ${EDITOR=/usr/ucb/vi}
  
  trap '/bin/rm -f $TEMP ; exit 1' 1 2 3 13 15
