Commit Graph

38 Commits

Author SHA1 Message Date
Randy Eckenrode
68d0dfd07b
expect: fix build with clang 16
* Use patches from upstream issue tracker that fix most compilation
  issues and the configure script; and
* Modify `exp_win.c` and `pty_termios.c` to build properly on Darwin.
2023-10-10 08:03:49 -04:00
Yarny0
3aa4d64281 expect: add meta.mainProgram 2023-09-05 11:34:04 +02:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
Sandro Jäckel
73f3eedb29 expect: fix cross compile 2022-09-21 18:43:01 +02:00
Sandro Jäckel
79ebd1af69
expect: fix wrapping after tcl refactor 2021-06-17 20:40:12 +02:00
Andrew Brooks
311ea59a3e expect: Simplify package with tcl.mkTclDerivation 2021-05-21 15:18:08 -05:00
Sandro Jäckel
7e36d21546
expect: fetchpatch commit instead of master
Closes #114983
2021-03-06 05:33:44 +01:00
Sandro Jäckel
cda4171d11
expect: fix cross-compilation
Closes #114983
2021-03-05 18:14:36 +01:00
Sandro Jäckel
c4419e6264
expect: split dev output 2021-02-14 09:17:36 +01:00
Sandro Jäckel
b36b97dce6
expect: cleanup, update license, add SuperSandro2000 as maintainer 2021-02-12 20:35:40 +01:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jonathan Ringer
46a93a7fdb expect: use postPatch for stty patch 2020-02-16 18:39:07 -08:00
Bas van Dijk
b30dc0ff89 expect: patch configure after the autoreconf phase, not before it
Fixes: #79863
2020-02-16 15:46:01 -08:00
Maximilian Bosch
9646fafc5d
expect: remove hack for aarch64 build
Not sure if I missed something or the issue got fixed later, but it's
not needed anymore to pass a `--build` flag to the configure script on
aarch64.

The autoreconfHooks are still needed for expect and bzip2.
2020-01-23 00:21:21 +01:00
Maximilian Bosch
2476d6deca expect: fix aarch64 build 2020-01-14 08:52:25 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Ryan Mulligan
276ce36909 expect: 5.45 -> 5.45.4
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/expect -v` and found version 5.45.4
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/timed-read -h` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/timed-read --help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/timed-read help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/weather help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/kibitz help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/rlogin-cwd -h` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/rlogin-cwd --help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/rlogin-cwd help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/mkpasswd -h` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/mkpasswd --help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/.expect-wrapped -v` and found version 5.45.4
- found 5.45.4 with grep in /nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4
- found 5.45.4 in filename of file in /nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4
2018-02-25 21:00:08 -08:00
Keshav Kini
47d8cd9b67 expect: update website URL
expect.nist.gov no longer resolves.  It seems the website has been
moved to http://expect.sourceforge.net/ , though there is also a page
on nist.gov at https://www.nist.gov/services-resources/software/expect
.
2017-10-13 13:05:28 +02:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
f6d3b7a2ae switch hardening flags 2016-01-30 16:36:57 +00:00
Franz Pletz
954e9903ad Use a hardened stdenv by default 2016-01-30 16:36:57 +00:00
Daniel Fox Franke
36ac761340 expect: fix Darwin linkage
expect's build system doesn't seem to provide the proper linker flags
for the expect programs to be able to find libexpect on Darwin. (Stuff
like this should really just use libtool. *sigh*). Setting
DYLD_LIBRARY_PATH is an inelegant hack, but it gets the job done
without risking affecting other platforms.
2015-08-30 00:50:48 +02:00
William A. Kennington III
c46e1049aa expect: Refactor and add maintainer 2015-04-30 18:49:27 -07:00
Nikolay Amiantov
acc9af591c expect: fix Tcl tools 2015-01-07 06:05:46 +03:00
Jason \"Don\" O'Conal
4736e6d509 expect: fix build on freebsd? (close #981) 2013-09-18 20:50:13 +02:00
Vladimír Čunát
90575ababb expect: fix postInstall library suffix on darwin 2013-09-04 10:15:32 +02:00
Vladimír Čunát
590cee5d19 expect: "minor" update, no longer depends on X/Tk
ANN: https://groups.google.com/forum/#!topic/comp.lang.tcl/lwZjtKOfaLE
I hope this solves a darwin -lXss linkage problem.
(broke most X stuff through dejagnu -> libffi -> llvm or mesa)
2013-09-04 00:00:01 +02:00
Yury G. Kudryashov
84c0185038 svn merge ^/nixpkgs/trunk, one simple conflict in jruby
svn path=/nixpkgs/branches/stdenv-updates/; revision=31721
2012-01-19 21:31:51 +00:00
Ludovic Courtès
2a6f139c5d expect: Remove unneeded dependency on Autoconf.
svn path=/nixpkgs/trunk/; revision=31663
2012-01-18 20:51:52 +00:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Marc Weber
1106d431fc fix various builds by updating perl URI package update perl URI package
fix expect: Neither was the executable installed nor the shared library
fix topGit source
update synergy fixing build

svn path=/nixpkgs/trunk/; revision=19064
2009-12-21 08:55:31 +00:00
Michael Raskin
bee4040300 Fix expect build
svn path=/nixpkgs/trunk/; revision=15527
2009-05-10 11:31:17 +00:00
Eelco Dolstra
6fa8de41fa * Referring to stdenv.coreutils breaks on FreeBSD.
svn path=/nixpkgs/trunk/; revision=11463
2008-04-04 18:24:41 +00:00
Sander van der Burg
9dccbcfc55 Resolved issue with hard-corded path to /sbin/stty
svn path=/nixpkgs/trunk/; revision=11389
2008-03-31 12:57:12 +00:00
Eelco Dolstra
1c65ea4e20 * Added expect.
svn path=/nixpkgs/trunk/; revision=10877
2008-02-27 15:48:53 +00:00