3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

111 commits

Author SHA1 Message Date
Eelco Dolstra 501ceef268 * A function `useDietLibC' that returns a modified stdenv that uses
dietlibc to produce small, statically linked binaries.  This stdenv
  also passes `-Os' to GCC automatically to optimise for size.  It
  also tries to prevent builders from linking against dynamic
  libraries (which dietlibc doesn't support).

* A function `addAttrsToDerivation' that returns a modified stdenv
  that always adds the specified attributes to the derivations that it
  produces.  Example (from curl):

    curlDiet =  import ../tools/networking/curl {
      inherit fetchurl zlib;
      stdenv = addAttrsToDerivation {
        CFLAGS = "-DHAVE_INET_NTOA_R_2_ARGS=1";
      } (useDietLibC stdenv);
    };

  (This is needed to get curl to build with dietlibc.  Also note the
  stacking of stdenv-modifying functions.)

* curl-diet: no longer necessary.

svn path=/nixpkgs/trunk/; revision=6761
2006-10-18 12:50:04 +00:00
Eelco Dolstra ef9b025dbe * Remove a bunch of unused Nix expressions.
svn path=/nixpkgs/trunk/; revision=6716
2006-10-12 15:43:01 +00:00
Eelco Dolstra ad897a7c96 * Update more URLs.
svn path=/nixpkgs/trunk/; revision=6713
2006-10-12 14:53:45 +00:00
Eelco Dolstra 1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Eelco Dolstra 6006d61835 * Added a bunch of descriptions.
svn path=/nixpkgs/trunk/; revision=6705
2006-10-11 16:45:55 +00:00
Armijn Hemel 193edaab22 7.15.4 -> 7.15.5
svn path=/nixpkgs/trunk/; revision=6243
2006-08-25 21:01:42 +00:00
Armijn Hemel 3402fe7c80 new curl
svn path=/nixpkgs/trunk/; revision=6241
2006-08-25 20:38:30 +00:00
Eelco Dolstra 3fd8841922 * GNU Netcat.
svn path=/nixpkgs/trunk/; revision=6120
2006-08-15 13:22:45 +00:00
Eelco Dolstra 38ee361757 * Backout accidental commit.
svn path=/nixpkgs/trunk/; revision=6088
2006-08-09 15:49:02 +00:00
Eelco Dolstra bf1e734f85 * Don't use the subpath operator (~) anymore, it's subsumed by normal
concatenation (+).

svn path=/nixpkgs/trunk/; revision=6080
2006-08-09 15:05:30 +00:00
Armijn Hemel 7154adfa34 new version of ISC dhcpd
svn path=/nixpkgs/trunk/; revision=6074
2006-08-08 17:50:16 +00:00
Armijn Hemel 53d9e09d0d update to 7.15.4
svn path=/nixpkgs/trunk/; revision=5674
2006-07-10 18:22:50 +00:00
Armijn Hemel 2389b06fe7 add openssh 4.3p2
svn path=/nixpkgs/trunk/; revision=5595
2006-07-05 16:09:43 +00:00
Eelco Dolstra 7682bf3d1e * Make it easier to override parts of stdenv (like gcc or make) per
package using the `overrideGCC' and `overrideInStdenv' functions.

svn path=/nixpkgs/trunk/; revision=5505
2006-06-23 20:11:36 +00:00
Armijn Hemel e738411d7c update wget to 1.10.2, has extra gettext dependency
svn path=/nixpkgs/trunk/; revision=5471
2006-06-18 16:01:28 +00:00
Armijn Hemel 809f592e0a new version of curl
svn path=/nixpkgs/trunk/; revision=5459
2006-06-17 11:51:46 +00:00
Eelco Dolstra cce11c4f1f * Added gtk-gnutella.
* Added a patch to MPlayer to fix the aspect ratio on screens rotated
  with Xrandr.
* Disable toolbus for now because it requires a non-existant package
  (tcltk).

svn path=/nixpkgs/trunk/; revision=5171
2006-04-18 18:46:36 +00:00
Eelco Dolstra 57c5067b07 * Refactoring.
svn path=/nixpkgs/trunk/; revision=5149
2006-04-10 17:49:24 +00:00
Roy van den Broek 9d27c94bda Pass the path to OpenSSL to the `--with-ssl' configure flag when building
with SSL support.


svn path=/nixpkgs/trunk/; revision=5144
2006-04-05 09:08:43 +00:00
Eelco Dolstra e761659405 * Bittorrent 4.4.0.
svn path=/nixpkgs/trunk/; revision=4672
2006-02-02 12:57:48 +00:00
Eelco Dolstra 3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Armijn Hemel 6a42433ee4 make X forwarding optional. If enabled "xauth" is a dependency
svn path=/nixpkgs/trunk/; revision=4573
2006-01-17 18:48:18 +00:00
Eelco Dolstra b43c421658 * JDK: put the machine-dependent header files in the right place.
* Added SWT for GTK (built from source).
* Added Azureus (a Bittorrent client written in Java).

svn path=/nixpkgs/trunk/; revision=4438
2005-12-26 00:51:24 +00:00
Armijn Hemel c067f85ab1 upgrade the statically linked curl to 7.15.1 from 7.14.1.
It would be good to use the output from this Nix expression for the initial
static stdenv.  Right now it is present, but we have not on record how it
exactly was compiled. If we use this package, we do know that in the future.

However, if we update this package it will cause a *MASSIVE* rebuild, namely
everything.

I won't be doing that...for now...even though some downtime for some people
would be a very good idea ;)

svn path=/nixpkgs/trunk/; revision=4433
2005-12-25 00:49:21 +00:00
Armijn Hemel d2b1dc4a52 update curl to 7.15.1, fixes a security flaw. Merry X-mas :)
svn path=/nixpkgs/trunk/; revision=4432
2005-12-25 00:25:17 +00:00
Eelco Dolstra 784605f8de * Bittorrent 4.2.1.
svn path=/nixpkgs/trunk/; revision=4378
2005-12-15 17:45:40 +00:00
Armijn Hemel 41047b0fc5 don't have the privilege seperation path in the store
svn path=/nixpkgs/trunk/; revision=4360
2005-12-13 12:48:12 +00:00
Eelco Dolstra 94fe7734fa * Glibc 2.3.6.
* GCC 3.4.5.
* Updated several other stdenv packages.
* Modified the builders of several packages to use the generic
  builder.

svn path=/nixpkgs/trunk/; revision=4336
2005-12-06 00:12:45 +00:00
Eelco Dolstra 82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00
Armijn Hemel 91e960b400 remove dependency on /bin/bash for dhclient
svn path=/nixpkgs/trunk/; revision=4094
2005-10-16 21:48:27 +00:00
Armijn Hemel 16bfb94736 don't forget the patch!
svn path=/nixpkgs/trunk/; revision=4078
2005-10-12 20:33:15 +00:00
Armijn Hemel bcb78a4ab7 make dhclient work
svn path=/nixpkgs/trunk/; revision=4077
2005-10-12 20:32:57 +00:00
Armijn Hemel 69b0f36458 don't forget curl-diet itself, d'oh!
svn path=/nixpkgs/trunk/; revision=3776
2005-09-05 11:35:26 +00:00
Eelco Dolstra 454707da23 * catamaran.labs.cs.uu.nl -> nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=3660
2005-08-22 08:39:27 +00:00
Armijn Hemel acc1db9ac6 use execv instead of execve
svn path=/nixpkgs/trunk/; revision=3657
2005-08-21 22:37:31 +00:00
Armijn Hemel 77c089a857 add a wrapper for dhclient
svn path=/nixpkgs/trunk/; revision=3655
2005-08-21 19:46:16 +00:00
Armijn Hemel 4b640be166 add dhcp
svn path=/nixpkgs/trunk/; revision=3652
2005-08-21 16:11:25 +00:00
Eelco Dolstra fa6570f716 * Use python 2.4.
svn path=/nixpkgs/trunk/; revision=3235
2005-06-21 11:49:59 +00:00
Eelco Dolstra a450978f26 * Glibc updated to 2.3.5.
* GCC 3.4.4 and 3.3.6.
* Other stdenv packages updated.

svn path=/nixpkgs/trunk/; revision=3188
2005-06-17 10:30:13 +00:00
Eelco Dolstra 4e4ad61aee * Added pygtk.
* Updated bittorrent to 4.0.1.

svn path=/nixpkgs/trunk/; revision=2879
2005-04-22 18:26:04 +00:00
Eelco Dolstra e6744d0f89 * Merge diff between trunk/pkgs@1646 and branches/nixos-pkgs@2256;
this contains mostly Armijn's pure stdenv-linux.

* After unpacking the statically linked GCC, patch all store paths to
  /nix/store/ffffffffffffffffffffffffffffffff.  Ugly hack to prevent
  undeclared references but it works.

* We don't need Glib's dynamic libraries in the first bootstrap stage;
  delete them.  Actually the downloaded Glibc binary is only needed
  for building Glibc, since GCC needs a C compiler to build some
  programs in `configure'.  So static linking is fine for that.  Maybe
  it would be better to patch `configure' so that we don't need a
  pre-built Glibc at all.

* Set the svn:executable property on `cp' and `patchelf'.

* In Glibc, revert to LinuxThreads.  Maybe NPTL will work, but TLS
  support is a problem.

* Delete most Glibc patches; they're no longer needed since the branch
  updated it to 20050110.
  
* Some cleanups.

svn path=/nixpkgs/trunk/; revision=2258
2005-02-21 16:03:34 +00:00
Eelco Dolstra e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Armijn Hemel a8d8a8f82c don't install keys. The Nix scripts empty the whole environment, including
some variables that are used by ssh-keygen.

svn path=/nixpkgs/branches/nixos-pkgs/; revision=2001
2005-01-10 15:33:43 +00:00
Armijn Hemel 6537afc279 we no longer need this patch
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1999
2005-01-10 11:37:56 +00:00
Armijn Hemel baf430cd23 don't let openssh generate a new hostkey when installing, let this be done afterwards by the sysadmin
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1947
2004-12-24 14:10:19 +00:00
Armijn Hemel d6702d185a patch for curl
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1844
2004-12-09 13:02:44 +00:00
Armijn Hemel 4812b512f1 remove the generated keys (good? bad? not sure) and change the permissions of
the keysign binary. This is because of suid-nix on which the NixOS scripts barf

svn path=/nixpkgs/trunk/; revision=1366
2004-08-30 13:53:48 +00:00
Eelco Dolstra 92fbc10356 * Bittorrent: latest version (3.4.2).
svn path=/nixpkgs/trunk/; revision=1264
2004-08-13 10:11:11 +00:00
Armijn Hemel f063d8c4db - add mktemp
- disable tiger, strategoxt, they don't work and give errors
- ftp.nl.kernel.org seems to have some problems, replaced with ftp.de.kernel.org
should be put back eventually

svn path=/nixpkgs/trunk/; revision=1215
2004-08-03 15:41:08 +00:00
Armijn Hemel ae04cf09b2 add OpenSSH client + server, needs a lot of thorough testing with regards to server configuration, this will be the test case for NixOS. No PAM configs, might need tweaking, etc.
svn path=/nixpkgs/trunk/; revision=1210
2004-08-02 11:55:31 +00:00
Eelco Dolstra 817d1b27ef * Provide a wrapper around `aclocal' (in Automake) that automatically
adds all directories specified in `ACLOCAL_PATH' to the `aclocal'
  command line as `-I' flags.  Also, it provides a setup hook that
  adds the `.../share/aclocal' directory of every build input to
  `ACLOCAL_PATH'.

* Upgraded Libtool.

* Graphviz requires the X Athena widgets, which in turn requires the X
  miscellaneous utilities library; added those.  However it doesn't
  work yet since libXt is broken.
  

svn path=/nixpkgs/trunk/; revision=888
2004-03-31 22:47:06 +00:00
Eelco Dolstra 5a4de2c5de * Remove builder attributes.
* MPlayer: pass stdenv to w32codecs.

svn path=/nixpkgs/trunk/; revision=882
2004-03-30 15:15:19 +00:00
Eelco Dolstra 04c272508c * Fix brokenness due to automatic transformations.
svn path=/nixpkgs/trunk/; revision=878
2004-03-30 12:37:17 +00:00
Eelco Dolstra 12ae5363ea * Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and
  execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
  `mkDerivation'.  These transformations were all done automatically,
  so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.

svn path=/nixpkgs/trunk/; revision=874
2004-03-29 17:23:01 +00:00
Eelco Dolstra 5941f66f0e * The stdenv setup script now defines a generic builder that allows
builders for typical Autoconf-style to be much shorten, e.g.,

    . $stdenv/setup
    genericBuild

  The generic builder does lots of stuff automatically:

  - Unpacks source archives specified by $src or $srcs (it knows about
    gzip, bzip2, tar, zip, and unpacked source trees).
  - Determines the source tree.
  - Applies patches specified by $patches.
  - Fixes libtool not to search for libraries in /lib etc.
  - Runs `configure'.
  - Runs `make'.
  - Runs `make install'.
  - Strips debug information from static libraries.
  - Writes nested log information (in the format accepted by
    `log2xml').

  There are also lots of hooks and variables to customise the generic
  builder.  See `stdenv/generic/docs.txt'.

* Adapted the base packages (i.e., the ones used by stdenv) to use the
  generic builder.

* We now use `curl' instead of `wget' to download files in `fetchurl'.

* Neither `curl' nor `wget' are part of stdenv.  We shouldn't
  encourage people to download stuff in builders (impure!).

* Updated some packages.

* `buildinputs' is now `buildInputs' (but the old name also works).

* `findInputs' in the setup script now prevents inputs from being
  processed multiple times (which could happen, e.g., if an input was
  a propagated input of several other inputs; this caused the size
  variables like $PATH to blow up exponentially in the worst case).

* Patched GNU Make to write nested log information in the format
  accepted by `log2xml'.  Also, prior to writing the build command,
  Make now writes a line `building X' to indicate what is being
  built.  This is unfortunately often obscured by the gigantic tool
  invocations in many Makefiles.  The actual build commands are marked
  `unimportant' so that they don't clutter pages generated by
  `log2html'.


svn path=/nixpkgs/trunk/; revision=845
2004-03-19 16:53:04 +00:00
Eelco Dolstra 73c7b4a111 * Pass parameters correctly.
svn path=/nixpkgs/trunk/; revision=799
2004-02-18 08:17:12 +00:00
Eelco Dolstra 90e75450a4 * Added BitTorrent.
svn path=/nixpkgs/trunk/; revision=797
2004-02-17 20:03:12 +00:00
Eelco Dolstra 9db5df37f9 * Added cksfv, a program for verifying sfv checksum files.
svn path=/nixpkgs/trunk/; revision=720
2004-01-25 08:59:20 +00:00
Eelco Dolstra 4b283d3de7 * Added par2cmdline.
svn path=/nixpkgs/trunk/; revision=583
2003-12-14 20:36:43 +00:00
Eelco Dolstra 026ff9466a * Rename .fix -> .nix.
svn path=/nixpkgs/trunk/; revision=511
2003-11-18 12:12:56 +00:00
Eelco Dolstra 48c3faca51 * Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
2003-11-14 09:59:13 +00:00