On 9/28/07, Mike Sullivan <Mike.Sullivan at sun.com> wrote:
>
> ok. I filed an expedited legal review just to get the ball rolling,
> and to find out I'm not allowed to do that and have to refile :)
> The countdown begins.... oh and this doesn't mean I'm your sponsor
> I just don't want this part to stop you. Sadly this can be a while
> since expect has some gpl2'd bits in it (at least one test) so it's
> treated as gpl2'd.
>
Thanks Mike.
I am attaching the new set of patches after incorporating the comments.
1. Expect is bumped to 5.43
2. Tcl/Tk sources are picked from the proto area
Other details are in the attached patches.
I am providing the details in the form of steps to perform so that it
is easy to incorporate. I was able to create the package and test the
installation:
Patch details (Numbering indicates the order 01, 02, 03)
================================================
$ pwd
/ws/sfwnv
$ bzcat ../sfw-src-b74-20070917.tar.bz2 |tar -xf -
$ mkdir usr/src/cmd/expect
$ mkdir usr/src/pkgdefs/SUNWexpect
#Apply the patch to make expect part of SFW build and Package creation Makefiles
$ gpatch -p0 < patches/expect-01-integrate-build-and-pkg-creation.diff
patching file usr/src/Targetdirs
patching file usr/src/cmd/Makefile
patching file usr/src/pkgdefs/Makefile
#Copy expect sources and package definitions from CCD
#Expect is to have the package name SUNWexpect
$ cp -r /ws/CCD/usr/src/cmd/expect usr/src/cmd/
$ cp -r /ws/CCD/usr/src/pkgdefs/SFWexpct usr/src/pkgdefs/SUNWexpect
#Replace expect-5.39 sources with expect-5.43 sources
$ cp ../Downloads/expect-5.43.0.tar.gz usr/src/cmd/expect/expect-5.43.tar.gz
$ rm usr/src/cmd/expect/expect-5.39.tar.gz
#Apply the patch to make expect build clean within SFW
$ gpatch -p1 < patches/expect-02-buildchanges.diff
patching file usr/src/cmd/expect/Makefile.sfw
patching file usr/src/cmd/expect/fixline1.patch
patching file usr/src/cmd/expect/install-sfw
#Apply the patch to get the proper package definition files
$ gpatch -p1 < patches/expect-03-package-definitions.diff
patching file usr/src/pkgdefs/SUNWexpect/pkginfo.tmpl
patching file usr/src/pkgdefs/SUNWexpect/prototype_com
patching file usr/src/pkgdefs/SUNWexpect/prototype_i386
patching file usr/src/pkgdefs/SUNWexpect/prototype_sparc
Build the expect sources
=======================================
$ cd $SRC ; make setup
$ cd $SRC/lib/tcl ; make -f Makefile.sfw install
$ cd $SRC/lib/tk ; make -f Makefile.sfw install
$ cd $SRC/cmd/expect ; make -f Makefile.sfw install
$ cd $SRC/pkgdefs ; make all
$ cd SUNWexpect ; make install
Install the package
=======================================
# pkgadd -d . SUNWexpect
Processing package instance <SUNWexpect> from
</ws/sfwnv/packages/i386/nightly-nd>
expect - Programmed dialogue with other interactive programs(i386)
11.11.0,REV=2007.09.28.02.21
Written by: Don Libes, NIST, 3/23/93
Design and implementation of this program was paid for by U.S. tax
dollars. Therefore it is public domain. However, the author and NIST
would appreciate credit if this program or parts of it are used.
YOU MUST OBSERVE ANY AUTHORS' CONDITIONS WITH RESPECT TO
INDIVIDUAL COMPONENTS PROVIDED WITHIN THIS CODE. SUPPORT
FOR THE TECHNOLOGIES AND DOCUMENTATION IS NOT PROVIDED
BY SUN MICROSYSTEMS, INC.
THE TECHNOLOGIES AND DOCUMENTATION ARE PROVIDED "AS IS" WITHOUT TECHNICAL
SUPPORT OR WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
7 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing expect - Programmed dialogue with other interactive
programs as <SUNWexpect>
## Installing part 1 of 1.
/usr/bin/autoexpect
/usr/bin/autopasswd
/usr/bin/cryptdir
/usr/bin/decryptdir
/usr/bin/dislocate
/usr/bin/expect
/usr/bin/expectk
/usr/bin/ftp-rfc
/usr/bin/kibitz
/usr/bin/lpunlock
/usr/bin/mkpasswd
/usr/bin/multixterm
/usr/bin/passmass
/usr/bin/rftp
/usr/bin/rlogin-cwd
/usr/bin/timed-read
/usr/bin/timed-run
/usr/bin/tknewsbiff
/usr/bin/tkpasswd
/usr/bin/unbuffer
/usr/bin/weather
/usr/bin/xkibitz
/usr/bin/xpstat
/usr/include/expect.h
/usr/include/expect_comm.h
/usr/include/expect_tcl.h
/usr/include/tcldbg.h
/usr/lib/expect5.43/libexpect5.43.a
/usr/lib/expect5.43/pkgIndex.tcl
/usr/lib/libexpect5.43.a
/usr/share/man/man1/autoexpect.1
/usr/share/man/man1/cryptdir.1
/usr/share/man/man1/decryptdir.1
/usr/share/man/man1/dislocate.1
/usr/share/man/man1/expect.1
/usr/share/man/man1/expectk.1
/usr/share/man/man1/kibitz.1
/usr/share/man/man1/mkpasswd.1
/usr/share/man/man1/multixterm.1
/usr/share/man/man1/passmass.1
/usr/share/man/man1/tknewsbiff.1
/usr/share/man/man1/unbuffer.1
/usr/share/man/man1/xkibitz.1
/usr/share/man/man3/libexpect.3
[ verifying class <none> ]
Installation of <SUNWexpect> was successful.
==============================================================================
regards
Shiv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: expect-5.43-into-sfw-patches.tar
Type: application/x-tar
Size: 16384 bytes
Desc: not available
URL:
<http://mail.opensolaris.org/pipermail/sfwnv-discuss/attachments/20070928/b4d76218/attachment.tar>