Commit graph

46 commits

Author SHA1 Message Date
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
6e2c35c083 pkglint cleanup; update HOMEPAGE/MASTER_SITES.
From Sergey Svishchev in private mail.
2007-02-22 19:01:13 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
skrll
4f67f26390 Switch to the bz2 compressed tarball. I've verified the contents are the
same as the gzip compressed one used previously (and the one from the
MASTER_SITE which is 2 bytes longer!?!).

Thanks to rui for pointing out where to get it the "old" gzip tarball.
2006-05-13 08:58:37 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adam
8e762b9021 Changes 5.43.0:
* Fixed bug in ExpOutputProc that caused misbehavior during partial writes.
* Noted that expect_background ignores timeouts.  Added to documentation.
* Patch for "mkpasswd -vo".
2005-04-08 11:54:04 +00:00
schwarz
6a7e1d3524 on IRIX 5.3 inttypes.h and sys/types.h are known to conflict. 2005-03-01 21:05:46 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
adam
6ec6393c10 Fixed building on systems with shared libraries named different than .so 2004-11-30 20:30:19 +00:00
adam
7cbb817b01 Changes 5.42.1:
* Removed beta designation.
* Daniel A. Steffen <steffen@ics.mq.edu.au> provided patch for
  MacOS to avoid panic-redefinition.

Changes 5.41.0:
* Simon Taylor <simon@unisolve.com.xau> provided fix for
  interact -o which was completely broken by 5.40.1.

Changes 5.40.1:
* Added scroll support to official tkterm.  Copied all fixes
  from/to term_expect to/from tkterm.
* Kiran Madabhushi <maskiran@hotmail.xcom> encountered interact
  diagnostics incorrectly pointing to expect_background.  Also,
  found multiple -o flags behaving unexpectedly.  Added diag.

* Kristoffer Eriksson <ske@pkmab.xse> noted typo in SIMPLE code
  in exp_inter.c.  However, this is extremely unlikely to affect
  any machines.

* Reinhard Max <max@suse.xcom> noted that "make test" failed when
  run in the background.  The log testcase was testing the
  send_tty command.  Added code in both Expect and in the test
  to handle this.
2004-11-18 16:47:19 +00:00
minskim
bc5f7c1171 Do not delete lib/tcl when deinstalled; it should be handled by lang/tcl.
Bump PKGREVISION.
2004-10-30 05:21:42 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
skrll
b59fb6be70 Fix the install by using libfoo.la not libfoo.so when linking expect. 2004-06-01 07:40:15 +00:00
wiz
f7906f6e94 Unused. 2004-04-26 09:21:57 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
minskim
7b7691d05e Add buildlink3.mk. 2004-03-11 20:19:38 +00:00
minskim
0af32f2c70 Switch to Tcl/Tk 8.4 and bl3ify. 2004-03-11 07:16:45 +00:00
minskim
ac690cf634 Replace lang/tcl with lang/tcl83. Packages compatible with 8.4 will
be updated to depend on lang/tcl after Tcl/Tk update.
2004-03-08 19:52:50 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
wiz
d79d408c34 Create buildlink2.mk for included libraries and headers. 2003-08-09 13:05:55 +00:00
martti
ee90b572a6 COMMENT should start with a capital letter. 2003-07-21 16:45:54 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
markd
65ef010af0 Add a Makefile.common to tcl-expect and use it to keep tk-expect in sync.
Fixes PR 20055 from Robert Elz.  Updates tk-expect to version 5.38.

Also remove the pre-configure step from tk-expect that was removed from
tcl-expect a year ago.

Also use the standard test target rather than an explict one.
2003-01-28 03:41:02 +00:00
mycroft
727ade7304 Update from 5.33 to 5.38.
7/18/02 5.38.0	At request of Hugh Sasse <hgs@dmu.ac.uk> added md5 hash of gz
		to homepage.

		Dave Schooler <dave@stashtea.com> reported that send -s wasn't
		handling certains chars correctly.  Turned out to be those
		that had multibyte UTF8 reps.  send -s was just pumping out
		hunks of bytes without regard to UTF boundaries and evidentally
		Tcl's I/O engine thought that it should translate a partial
		UTF8 character into, uh, something else.

		Curt Shroeder <c.schroeder@computer.org> fixed bug in rftp - a
		a filename looked enough like a 3-digit diagnostic that the
		script got confused.

4/16/02 5.37.2	Multixterm couldn't find man page all the time.

4/16/02 5.37.1	Made multixterm handle user-supplied args.

4/15/02 5.37.0	Added multixterm to example directory.

4/8/02	5.36.1	Backed out CONST qualifiers.  Too much trouble with older
		versions of Tcl.  I'll let someone else worry about them.

4/8/02	5.36.0	Made first cut at multixterm, a replacement for crlogin.

		Fixed bug in background handler.  If an action waited on the
		same spawn id, esPtr would become invalidated.

		Ryan Schmidt <rschmidt@mac.com> noted configure didn't
		recognize MacOS X.  Downloaded new config.guess.

		Andreas Kupries <andreask@activestate.com> provided CONST
		patches to accomodate Tcl changes per TIP 27.

2/25/02 5.35.0	Joe Eggleston <joe@arbor.net> noted bug in full_buffer test.
		The test hadn't been I18'd properly and was testing chars
		instead of bytes.  Also fixed diagnostics so it printed when
		it was testing full buffer even if there wasn't one.

2/7/02	5.34.1	Bruce Hartweg <brhartweg@bigfoot.com> noted that direct spawn
		ids were not being tested so something like "expect -i exp9999"
		would dump core.  Evidentally a bug from the 5.31 transition.

12/20/01 5.34.0	Don Porter <don.porter@nist.gov> provided package-related
		fixes for test suite.

		Brian Theado <brian.theado@usa.net> noted that interact's -re
		support broke when offsets kicked in.  Turned out that the
		regexp engine supports them during execution but the results
		are delivered RELATIVE to the offset.  (I suspect this was done
		due to expediency.)
2003-01-10 00:11:00 +00:00
tron
39a943ad92 Replace "true" by "${TRUE}". 2002-12-09 16:01:10 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
wiz
a4ddd8c8b3 Add two unexec rmdirs. 2002-01-03 13:50:15 +00:00
wiz
a1f2747176 Remove badly written up-to-date check for configure that clashes with our
current touch procedure in bsd.pkg.mk.
2002-01-03 13:42:00 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
jwise
29d9417b39 a.) use version-numbered tarball, which is now available. Pointed out by
David Maxwell (david@netbsd.org)

b.) correct version number.  The preferred form is 5.33.0 (not 5.33)...
2001-10-25 22:21:52 +00:00
jwise
a37af6d86d Update the tcl-expect packages to be based on expect-5.33.
Changes from 5.32.1 (the last pkgsrc version):


10/1/01 5.33.0	<mark@doradosoftware.com> found that expect's diagnostics
		didn't include the "no" after testing for a full buffer.

		Hemang Lavana <hlavana@cisco.com> noted that "debug" (Dbg_On)
		calls didn't always force the debugger into step mode.

		Martin Kammerhofer <dada@sbox.tugraz.at> noted that the man
		page neglected to document interpreter -eof.

		Chris Clare <clarec@nortelnetworks.com> provided fix for
		multiple decl in C lib.

		Sheng Wang <wangs@sh.bel.alcatel.be> found interact's
		can-match code had broken.  It was missing the special hook
		that Henry had added just for this purpose.  How strange.

		Dieter Fiebelkorn <dieter@fiebelkorn.net> requested addition
		to config.guess for Power*Macintosh:Darwin for MacOSX.
		Aside - to download latest config.guess:
		 cvs -d :pserver:anoncvs@subversions.gnu.org:/cvs checkout \
		 config

		Added pipeline example to unbuffer man page.

8/4/00 5.32.2	Allen J. Newton <anewton@alturia.fleet.org> provided code for
		generating passwords with special characters in mkpasswd.

		Brent Welch <welch@ajubasolutions.com> changed the fix1line
		install script so that "autoexpect" and other scripts that
		get installed into the platform-independent bin directory
		generically invoke "expect" from the users PATH instead
		of hardwiring the platform-specific expect pathname.
2001-10-24 23:40:02 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
dillo
4eca04c55b fix unaligned access on alpha by applying patch from PR 12905. 2001-05-16 13:27:55 +00:00
agc
8118fe36ae Move to sha1 digests, and add distfile sizes. 2001-04-19 15:00:47 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
he
2ebee49263 Depend on tcl>=8.3.2 instead of tcl-8.3.2 now that PKGNAME of tcl
is bumped to tcl-8.3.2nb1.
2001-01-24 18:44:57 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
rh
0c0ea3352e Fix datestamp problem by touching of configure script prior to
configuration.
2000-10-01 14:06:22 +00:00
jwise
fa6fad862c Make this CONFLICT with the old expect package. 2000-09-06 16:33:00 +00:00
jwise
5685be6aab Remove a comented out bit which is not needed at all. 2000-09-05 16:52:33 +00:00
jwise
d691e97f15 Initial import of tcl-expect-5.32.1, the tcl half of the new expect packages.
Changes to the expect package since expect-5.25:

      * This package is now split into two packages, tcl-expect, and
	tk-expect.  tcl-expect can be installed on systems without
	X11 (and by extension, without tk).

      * the copious expect examples and their man pages are now installed
	into ${PREFIX}/share/examples/tcl/expect instead of into
	${PREFIX}/bin and ${PREFIX}/man.  If any of them are determined
	to be worth separate use, they should be split out into a
	separate package.

Changes to expect itself since expect-5.25:

** SUMMARY

Expect 5.31 now works with Tcl 8.2.  Expect 5.31 does NOT work with
prior releases of Tcl.  Thanks to an incredible amount of work by
Scott Stanton, Henry Spencer, Melissa Hirschl, and funding from
Scriptics for making this possible.

** NEW FEATURES

What?  You mean that working with Tcl 8.2 isn't enough?????

Expect supports Tcl's new regexp engine.

Expect supports null bytes in strings directly.  (You no longer have
to use the "null" keyword to send or match nulls.  Of course, the
"null" keyword will continue to be supported.)  Null removal (on
input) is still enabled by default since nulls are almost never
intended for end-user consumption in interactive dialogues.

** CHANGES IN BEHAVIOR (POTENTIAL INCOMPATIBILITIES)

The interpreter command used to exit upon eof.  Now it uses "-eof
script" to control this behavior.  The default behavior is to return.
(This change was required because Expect now gives control to Tcl upon
exit and Tcl waits (potentially forever) for all processes to die on
exit.)  Explicit calls to interpreter are almost non-existent.
However, you should look for *implicit* calls via interact commands
with a pattern but no action.  This required changes in the examples:
dislocate, dvorak, kibitz, and xkibitz.

Indirect variables can no longer start with "exp".  Such variables
will be interpreted as channel names.

Old-style regexps may need conversion.  If you have been protecting
regexps containing backslashes with {}, then you need to examine all
your backslashes since the new regexp engine interprets backslash
sequences (such as \n) itself.  For example:

	expect "\n"         (works the same in Tcl 8.0 and 8.1)
	expect {\n}         (works differently in Tcl 8.0 and 8.1)

Scriptics has also created a new-regexp-features page which you should
read: http://www.scriptics.com/support/howto/regexp81.html.  Some of
the new features allow much more efficient regexps than before.  For
example, non-greedy quantifiers can replace [split] looping
constructions with a single regexp, enabling Tcl to parse very
efficiently.  For the whole story, read the re_syntax man page.

The interact command's regexp matching no longer skips nulls.  (I'd be
surprised if anyone misses this.  At least I hope ....)

Expect's C library now reports failures in spawn's underlying exec
directly (by returning -1) rather than the way it used to (as data in
the pty).  This makes user code more robust.  However, it requires you
to simplify your code, alas.  See the chesslib.c example.

Linking with Expect's C library no longer requires the Tcl library
(unless, of course, you make Tcl calls yourself).  Tcl is still
required to build the library in the first place, however.

** CHANGES IN BEHAVIOR (SHOULD NOT CAUSE INCOMPATIBILITIES)

The match_max command now controls by bytes, not chars.  This won't
cause problems unless your existing scripts are interacting using
sizeable chunks of multibyte characters.  (If you don't know what I'm
talking about, ignore this.)

The Make/configure suite now corresponds to the TEA conventions (at
least in theory; the conventions are changing regularly so it's hard
to be less vague on this point).  Significantly, this means that you
should be able to use the same configure flags as when compiling Tcl
or any other TEA-compatible extension.  (See the INSTALL file.)

The values of special variables such as exp_spawn_id_any have changed.
(The values were never documented so you shouldn't have been using
them anyway.)

Spawn ids now appear as "exp...".  (They used to be small integers.)
Do not assume that spawn ids will continue to be represented in any
particular way (other than unique strings).

** OTHER NOTES

Expect uses channels.  There is an Expect channel type.  It is
possible to use Tcl's channel commands, such as fconfigure, to change
the encoding.  However, Expect layers its own buffering system on top
of Tcl's channel handler so don't expect intuitive behavior when using
commands such as gets and puts.  Unless you know what you're doing, I
recommend manipulating the Expect channels only with the expect
commands.

Some effort was made to make Expect support threads, however it is not
complete.  You can compile Expect with threads enabled but don't run
Expect in multiple threads just yet.

So much code has changed, there are bound to be bugs in dark corners.
Please let me know of such cases.  The best response will come by
supplying a simple test case that can be added to Expect's test suite.

In places where the behavior of Expect was not precisely documented,
full advantage was taken to do something different :-)

Several esoteric bugs were fixed.

Although Expect itself uses Henry Spencer's new regexp engine,
Expect's C library still uses his original regexp engine.

No testing has been done of the poll and non-event subsystems.  (These
are used on systems which don't support select on ptys or ttys.  Some
minor work needs to be done on them (because the event subsystem was
rewritten) which I'll probably do only if anyone requests it.

Many deprecated features (deprecated for many years!) have been
removed.  All such features were deprecated prior to Exploring Expect
so if that's how you learned Expect, you have nothing to worry about.
For example, Expect's getpid command predates Tcl's pid command and
it's been deprecated for, oh.... 6 years - wow!  Other deprecated features
include:
  expect -timestamp (flag only; behavior itself was removed years ago)
  expect -iwrite (flag only; behavior occurs all the time)
  expect_version (use "exp_version" command)
  expect_library (use "exp_library" global variable)
  interact -eof (use "eof" keyword)
  interact -timeout (use "timeout" keyword)
  interact -timestamp (use "clock" command)
  getpid (use "pid" command)
  system stty (use "stty" command)

With this release, the following are deprecated:
  timestamp (use "clock" command)
  debugger (use a different one; there are very nice replacements
     around.  Fortunately the Expect debugger is not something anyone
     is wiring into their scripts, so for now, consider it on the
     endangered species list.  Anyone still want this debugger?)

From now on, the most current snapshots of Expect will be found in the
Scriptics CVS repository.  Not all snapshots are official releases.

For more, see the ChangeLog file in the expect distribution.
2000-09-05 16:20:29 +00:00