ChangeLog

# ChangeLog for dev-tcltk/expect
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect/ChangeLog,v 1.46 2008/03/10 00:21:05 ricmm Exp $

09 Mar 2008; expect-5.42.1-r1.ebuild:
Drop to ~mips to match dependencies

07 Apr 2007; Markus Ullmann -expect-5.37.1-r2.ebuild,
-expect-5.40.0.ebuild, -expect-5.40.0-r1.ebuild, -expect-5.42.1.ebuild:
Do a little cleanup while at it

07 Apr 2007; Markus Ullmann expect-5.42.1-r1.ebuild,
expect-5.43.0.ebuild:
Fix bug #160160

18 Jan 2007; Ryan Hill expect-5.42.1-r1.ebuild,
expect-5.43.0.ebuild:
Temporary fix for bug #158407 by Peter Hjalmarsson.

05 Jan 2007; Diego Pettenò
expect-5.37.1-r2.ebuild, expect-5.40.0.ebuild, expect-5.40.0-r1.ebuild,
expect-5.42.1.ebuild, expect-5.42.1-r1.ebuild, expect-5.43.0.ebuild:
Remove gnuconfig_update usage, leave it to econf.

18 Oct 2006; Roy Marples expect-5.43.0.ebuild:
Added ~sparc-fbsd keyword.

04 Sep 2006; Joshua Kinard expect-5.42.1-r1.ebuild:
Marked stable on mips.

11 Apr 2006; Diego Pettenò expect-5.43.0.ebuild:
Add ~x86-fbsd keyword.

*expect-5.43.0 (27 May 2005)

27 May 2005; MATSUU Takuto +expect-5.43.0.ebuild:
Version bumped, Bug 93702.

21 Apr 2005; Michael Hanselmann
expect-5.42.1-r1.ebuild:
Stable on ppc.

13 Apr 2005; Aron Griffis expect-5.42.1-r1.ebuild:
stable on alpha

08 Apr 2005; Markus Rothe expect-5.42.1-r1.ebuild:
Stable on ppc64

21 Feb 2005; Gustavo Zacarias expect-5.42.1-r1.ebuild:
Stable on sparc

*expect-5.42.1-r1 (19 Feb 2005)

19 Feb 2005; +files/expect-5.39.0-libdir.patch,
+expect-5.42.1-r1.ebuild:
- security fix for expects RPATH. do not remove the expect-5.39.0-libdir.patch
without talking to solar or tavis

07 Feb 2005; Bryan Østergaard expect-5.42.1.ebuild:
Stable on alpha.

06 Feb 2005; Joshua Kinard expect-5.42.1.ebuild:
Marked stable on mips.

31 Jan 2005; Gustavo Zacarias expect-5.42.1.ebuild:
Stable on sparc

21 Dec 2004; Jeremy Huddleston
+files/expect-5.42.1-multilib.patch, expect-5.42.1.ebuild:
Multilib fixes.

*expect-5.42.1 (10 Nov 2004)

10 Nov 2004; Doug Goldstein -expect-5.40.0-r2.ebuild,
+expect-5.42.1.ebuild:
-revision bump to 5.42.1
-delete 5.40.1-r2 since it caused conflicts with pam
-correct bad digest/fix repoman stuff

07 Nov 2004; Joshua Kinard expect-5.37.1-r2.ebuild:
Marked stable on mips.

31 Oct 2004; Aron Griffis expect-5.40.0-r2.ebuild:
It appears keywords were stripped from this revbump for no reason... putting
them back

04 Oct 2004; Jason Wever expect-5.40.0-r2.ebuild:
Added ~sparc keyword.

02 Oct 2004; Markus Nigbur expect-5.40.0-r2.ebuild:
Removed doc useflag.

*expect-5.40.0-r2 (21 Sep 2004)

21 Sep 2004; Doug Goldstein +expect-5.40.0-r2.ebuild:
autoexpect and autopasswd into /usr/bin instead of doc's

11 Aug 2004; Michael Sterrett
expect-5.40.0-r1.ebuild, expect-5.40.0.ebuild:
gnuconfig_update in src_unpack

*expect-5.37.1-r2 (13 Jul 2004)
*expect-5.40.0-r1 (13 Jul 2004)

13 Jul 2004; Seemant Kulleen +expect-5.37.1-r2.ebuild,
+expect-5.40.0-r1.ebuild:
bumps so that expect doesn't install mkpasswd, which net-misc/whois is
supposed to install. The fixed ebuilds were given to us by: stan
in bug #51353 by Carsten Lohrke

31 May 2004; Tom Gall expect-5.40.0.ebuild:
stable on ppc64 bug #52630

*expect-5.40.0 (08 Apr 2004)

08 Apr 2004; Travis Tilley expect-5.40.0.ebuild:
marked 5.40.0 as stable on amd64. it is required to fix a problem with the gcc
testsuite.

04 Apr 2004; Chris Aniszczyk expect-5.33.0.ebuild,
expect-5.37.1.ebuild:
Version bump and serious clean up.

26 Mar 2004; Guy Martin expect-5.37.1-r1.ebuild:
Marked stable on hppa.

10 Mar 2004; Daniel Ahlberg expect-5.37.1-r1.ebuild:
Run gnuconfig_update when emergeing on amd64.

28 Jan 2004; Jon Portnoy expect-5.37.1-r1.ebuild :
AMD64 keywords.

*expect-5.37.1-r1 (20 Jul 2002)

30 Sep 2003; Joshua Kinard expect-5.37.1-r1.ebuild:
Added ~mips to KEYWORDS

13 Mar 2003; George Shapovalov epect-5.33.0.ebuild :
well, this version is really old, but since it is only second one awailable in portage,
leaving it in so far. Cleaned it up somewhat, adjusted KEYWORDS..

10 Mar 2003; Aron Griffis expect-5.37.1-r1.ebuild:
Mark stable on alpha

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

27 Oct 2002; George Shapovalov expect-5.37.1-r1.ebuild,
expect-5.37.1-r2.ebuild :
incorporated changes in -r2 into -r1 and deleted -r2 keeping -r1 unmasked.
Avoiding revision bump in unmasked version, since the fix will only concern
some users.

25 Oct 2002; George Shapovalov expect-5.37.1-r2.ebuild :
modified src_install to add examples if doc is defined.
Revision bumped for testing.

23 Sep 2002; Olivier Reisch expect-5.37.1-r1.ebuild:
Added ppc keyword

20 Jul 2002; George Shapovalov expect-5.37.1-r1.ebuild :
modified ebuild to install shared libraries (necessary for multixterm)
upping revision to force-update.

*expect-5.37.1 (08 July 2002)

08 July 2002; George Shapovalov expect-5.37.1.ebuild :
upped version, + some cleaning up.
removed Author line, original ebuild by Tod Neidt

*expect-5.33.0 (1 Feb 2002)

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX expect-5.39.0-libdir.patch 480 RMD160 e58373778379907bf68ce6e61acce5dad4852421 SHA1 f438e6899688f0b3d5bdb854246483ec29848c9a SHA256 971ac5bd88e393d1029ab248c1071529337baf0b50445c53e35f49fdb7c6365a
AUX expect-5.42.1-multilib.patch 507 RMD160 d086ba11fb79048f1b800d17d93ffeb90912110b SHA1 b59faccf8a0e8c538126d68c5eed181d789f45d7 SHA256 a707e4d6f513f1b2b09edb3c7bb393b9f2f3fcfaf79db0326e82e018b842d002
DIST expect-5.42.1.tar.gz 524882 RMD160 d354d5d3ffa941d89e668fb4ad1ccbb59be4f341 SHA1 84ca72f0abd2b7a31ee332049b34575a286e8f27 SHA256 a2b64dbca4dc127dfcb6d7e16dd3c08ef8bba2056104ce89819d3e6f0e1df430
DIST expect-5.43.0.tar.gz 525570 RMD160 223b78f39dca8cc7900d82230cf7db91e6770389 SHA1 4da64b7c50cea22ac87fcf0f8f98f786793ee785 SHA256 d11a77e680ddc0244370b46f117f0b28a6571db842885bee3b7c15372c1ca079
EBUILD expect-5.42.1-r1.ebuild 3062 RMD160 37e2632986cfa482437551c2e8842fa773505d66 SHA1 21a51490a22cbcaac3ff158159af9583d34082e1 SHA256 e3315c6b5fd88d502bc53c735ca654308084a3cd4d0ba814b197f92ff4229183
EBUILD expect-5.43.0.ebuild 3094 RMD160 0288f0a7a4f387a41d0f4b61d1c193bd812efad5 SHA1 f396338990d64098b8c56d080aa774fe54dd871d SHA256 6fc7a4d0cb941ed954bf4e5f28e32b4c7dfa85c13392fe272801919ea409f1e0
MISC ChangeLog 6590 RMD160 76f46822c9b5e230435e4e774e776febcf66faba SHA1 7f1e8577b0747adf862c87c0ae1c271cedd9086e SHA256 5198721f4b149e10e92c466e244eb1a14b3dfbe7eb2c0d5a058eebeab01bb20a
MISC metadata.xml 158 RMD160 f197c34c7dd71f6025e93436e3f999137928554a SHA1 edb8e5ac668440e92e947fc3dff54484b28c7775 SHA256 62fb2b0a899315973de885234e3931a2f652b343b68f90fe0778378fdca6f290

expect-5.42.1-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect/expect-5.42.1-r1.ebuild,v 1.13 2008/03/10 00:21:05 ricmm Exp $

WANT_AUTOCONF="2.1"
inherit autotools eutils

DESCRIPTION="tool for automating interactive applications"
HOMEPAGE="http://expect.nist.gov/"
SRC_URI="http://expect.nist.gov/src/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="X doc"

# We need dejagnu for src_test, but dejagnu needs expect
# to compile/run, so we cant add dejagnu to DEPEND :/
DEPEND=">=dev-lang/tcl-8.2
X? ( >=dev-lang/tk-8.2 )"
RDEPEND="${DEPEND}"

NON_MICRO_V=${P%.[0-9]}
S=${WORKDIR}/${NON_MICRO_V}

src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-multilib.patch

# fix the rpath being set to /var/tmp/portage/...
epatch ${FILESDIR}/expect-5.39.0-libdir.patch

sed -i 's#/usr/local/bin#/usr/bin#' expect.man
sed -i 's#/usr/local/bin#/usr/bin#' expectk.man
#stops any example scripts being installed by default
sed -i \
-e '/^install:/s/install-libraries //' \
-e 's/^SCRIPTS_MANPAGES = /_&/' \
Makefile.in
eautoconf
}

src_compile() {
local myconf
local tclv
local tkv
# Find the version of tcl/tk that has headers installed.
# This will be the most recently merged, not necessarily the highest
# version number.
tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/')
#tkv isn't really needed, included for symmetry and the future
#tkv=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/')

#configure needs to find the files tclConfig.sh and tclInt.h
myconf="--with-tcl=/usr/$(get_libdir) --with-tclinclude=/usr/$(get_libdir)/tcl${tclv}/include/generic"

if use X ; then
#--with-x is enabled by default
#configure needs to find the file tkConfig.sh and tk.h
#tk.h is in /usr/lib so don't need to explicitly set --with-tkinclude
myconf="$myconf --with-tk=/usr/$(get_libdir)"
else
#configure knows that tk depends on X so just disable X
myconf="$myconf --without-x"
fi

econf $myconf --enable-shared || die "econf failed"
emake || die "emake failed"
}

src_test() {
# we need dejagnu to do tests ... but dejagnu needs
# expect ... so don't do tests unless we have dejagnu
type -p runtest || return 0
make check || die "make check failed"
}

src_install() {
dodir /usr/$(get_libdir)
make install INSTALL_ROOT=${D} || die "make install failed"

dodoc ChangeLog FAQ HISTORY NEWS README

local static_lib="lib${NON_MICRO_V/-/}.a"
rm ${D}/usr/$(get_libdir)/${NON_MICRO_V/-/}/${static_lib}

#install examples if 'doc' is set
if use doc ; then
docinto examples
local scripts=$(make -qp | \
sed -e 's/^SCRIPTS = //' -et -ed | head -n1)
exeinto /usr/share/doc/${PF}/examples
doexe ${scripts}
local scripts_manpages=$(make -qp | \
sed -e 's/^_SCRIPTS_MANPAGES = //' -et -ed | head -n1)
for m in ${scripts_manpages}; do
dodoc example/${m}.man
done
dodoc example/README
fi
}

expect-5.43.0.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect/expect-5.43.0.ebuild,v 1.7 2007/04/07 14:45:30 jokey Exp $

WANT_AUTOCONF="2.1"
inherit autotools eutils

DESCRIPTION="tool for automating interactive applications"
HOMEPAGE="http://expect.nist.gov/"
SRC_URI="http://expect.nist.gov/src/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="X doc"

# We need dejagnu for src_test, but dejagnu needs expect
# to compile/run, so we cant add dejagnu to DEPEND :/
DEPEND=">=dev-lang/tcl-8.2
X? ( >=dev-lang/tk-8.2 )"
RDEPEND="${DEPEND}"

NON_MICRO_V=${P%.[0-9]}
S=${WORKDIR}/${NON_MICRO_V}

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-5.42.1-multilib.patch

# fix the rpath being set to /var/tmp/portage/...
epatch "${FILESDIR}"/${PN}-5.39.0-libdir.patch

sed -i 's#/usr/local/bin#/usr/bin#' expect.man
sed -i 's#/usr/local/bin#/usr/bin#' expectk.man
#stops any example scripts being installed by default
sed -i \
-e '/^install:/s/install-libraries //' \
-e 's/^SCRIPTS_MANPAGES = /_&/' \
Makefile.in
eautoconf
}

src_compile() {
local myconf
local tclv
local tkv
# Find the version of tcl/tk that has headers installed.
# This will be the most recently merged, not necessarily the highest
# version number.
tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/')
#tkv isn't really needed, included for symmetry and the future
#tkv=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/')

#configure needs to find the files tclConfig.sh and tclInt.h
myconf="--with-tcl=/usr/$(get_libdir) --with-tclinclude=/usr/$(get_libdir)/tcl${tclv}/include/generic"

if use X ; then
#--with-x is enabled by default
#configure needs to find the file tkConfig.sh and tk.h
#tk.h is in /usr/lib so don't need to explicitly set --with-tkinclude
myconf="$myconf --with-tk=/usr/$(get_libdir)"
else
#configure knows that tk depends on X so just disable X
myconf="$myconf --without-x"
fi

econf $myconf --enable-shared || die "econf failed"
emake || die "emake failed"
}

src_test() {
# we need dejagnu to do tests ... but dejagnu needs
# expect ... so don't do tests unless we have dejagnu
type -p runtest || return 0
make check || die "make check failed"
}

src_install() {
dodir /usr/$(get_libdir)
make install INSTALL_ROOT="${D}" || die "make install failed"

dodoc ChangeLog FAQ HISTORY NEWS README

local static_lib="lib${NON_MICRO_V/-/}.a"
rm "${D}"/usr/$(get_libdir)/${NON_MICRO_V/-/}/${static_lib}

#install examples if 'doc' is set
if use doc ; then
docinto examples
local scripts=$(make -qp | \
sed -e 's/^SCRIPTS = //' -et -ed | head -n1)
exeinto /usr/share/doc/${PF}/examples
doexe ${scripts}
local scripts_manpages=$(make -qp | \
sed -e 's/^_SCRIPTS_MANPAGES = //' -et -ed | head -n1)
for m in ${scripts_manpages}; do
dodoc example/${m}.man
done
dodoc example/README
fi
}

files

metadata.xml




tcltk