Commit graph

32 commits

Author SHA1 Message Date
Ludovic Courtès
354b1a12c1 gnupdate: Fix auto-downloading of GPG keys.
* maintainers/scripts/gnu/gnupdate (gnupg-verify): Always return STATUS.

svn path=/nixpkgs/trunk/; revision=30108
2011-10-30 00:00:16 +00:00
Ludovic Courtès
2492fba29f gnupdate: Add `--attribute' option.
* maintainers/scripts/gnu/gnupdate (open-nixpkgs): Add optional
  ATTRIBUTE parameter; honor it.
  (%options)["-A"]: New option.
  (gnupdate)[nixpkgs->snix]: Add ATTRIBUTE parameter and pass it down to
  `open-nixpkgs'.
  [selected-gnu-packages]: New procedure.
  Adjust callers accordingly.

svn path=/nixpkgs/trunk/; revision=30107
2011-10-30 00:00:11 +00:00
Ludovic Courtès
8a904741f8 gnupdate: Support `meta.homepage' as a string list.
* maintainers/scripts/gnu/gnupdate (gnu?): Improve type-checking of
  `meta.homepage'; support string lists.

svn path=/nixpkgs/trunk/; revision=29315
2011-09-17 10:09:26 +00:00
Ludovic Courtès
7f6a997831 gnupdate: Exclude IceCat 3.x variants.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes):
  Augment.

svn path=/nixpkgs/trunk/; revision=29015
2011-09-04 23:06:11 +00:00
Ludovic Courtès
8e29f04bd4 gnupdate: Automatically download missing OpenPGP keys.
* maintainers/scripts/gnu/gnupdate (%gpg-command, %openpgp-key-server):
  New variables.
  (gnupg-verify, gnupg-status-good-signature?,
  gnupg-status-missing-key?, gnupg-receive-keys, gnupg-verify*): New
  procedures.
  (fetch-gnu): Use `gnupg-verify*'.

svn path=/nixpkgs/trunk/; revision=29014
2011-09-04 23:06:07 +00:00
Ludovic Courtès
5545472461 gnupdate: Update the list of ignored packages.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes):
  Update.

svn path=/nixpkgs/trunk/; revision=28756
2011-08-22 17:38:57 +00:00
Ludovic Courtès
2943c2eb78 GNU GRUB 1.99.
svn path=/nixpkgs/trunk/; revision=27440
2011-06-13 20:52:32 +00:00
Ludovic Courtès
87a9719a36 gnupdate: Ignore GCC-related attributes.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes): Add
  GCC 4.6 and gfortran/gcj attributes.

svn path=/nixpkgs/trunk/; revision=26796
2011-04-12 08:05:41 +00:00
Ludovic Courtès
91e63f9cae gnupdate: Handle `repeated' nodes referring to a drv not encountered yet.
* maintainers/scripts/gnu/gnupdate (xml-element->snix): Return an
  `unresolved' node when the repeated derivation hasn't been encountered
  yet.
  (resolve): New procedure.
  (xml->snix): Use it.

svn path=/nixpkgs/trunk/; revision=26790
2011-04-12 08:05:20 +00:00
Ludovic Courtès
cea90f43e4 gnupdate: Use (ice-9 format).
* maintainers/scripts/gnu/gnupdate: Use (ice-9 format).

svn path=/nixpkgs/trunk/; revision=26789
2011-04-12 08:05:16 +00:00
Ludovic Courtès
f8b9855727 gnupdate: Add quirks.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes): Add
  `gcc45_real' and `gcc45_realCross'.
  (ftp-server/directory)[quirks]: Add `ucommon'.

svn path=/nixpkgs/trunk/; revision=26261
2011-03-10 16:27:43 +00:00
Ludovic Courtès
cc02933305 gnupdate: Improve error handling for pipes.
* maintainers/scripts/gnu/gnupdate (pipe-failed?): New procedure.
  (nix-prefetch-url): Use it.
  (gnupdate)[nixpkgs->snix]: New procedure.
  Use it.

svn path=/nixpkgs/trunk/; revision=26160
2011-03-04 13:18:56 +00:00
Ludovic Courtès
918a142f2a gnupdate: Update the list of ignored attributes.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes):
  Update.

svn path=/nixpkgs/trunk/; revision=26077
2011-02-23 17:36:24 +00:00
Ludovic Courtès
b70494961b gnupdate: Display FTP exceptions more nicely.
* maintainers/scripts/gnu/gnupdate (releases): Display MESSAGE and ARGS
  with ~S.

svn path=/nixpkgs/trunk/; revision=26076
2011-02-23 17:36:21 +00:00
Ludovic Courtès
7a99d54ca7 gnupdate: Handle recursive FTP directory structures; handle funky file names.
This patch allows projects with per-version sub-directories to be
handled (e.g., MIT Scheme, MyServer, IceCat, etc.)  It also makes sure
alpha releases are discarded (e.g., "gnupg-2.1.0beta3") as well as
unrelated files (e.g., "TeXmacs-600dpi-fonts.tar.gz").

* maintainers/scripts/gnu/gnupdate (ftp-list): Return a list of entries
  where each entry indicates the file type in addition to the file name.
  (releases): Adjust accordingly.  Recurse into sub-directories and
  return a list of name/directory pairs.  Catch `ftp-error' instead
  of everything.
  [release-rx]: Adjust to work with TeXmacs.
  [alpha-rx]: New variable.
  [sans-extension]: New procedure.
  (latest-release): Adjust accordingly.
  (%package-name-rx): New variable.
  (package/version): Use it.
  (packages-to-update): Adjust accordingly.  Use the directory returned
  by `latest-release'.
  [unpack]: New procedure.
  (fetch-gnu): Add a `directory' parameter; use it.

svn path=/nixpkgs/trunk/; revision=26075
2011-02-23 17:36:15 +00:00
Ludovic Courtès
ad32df1795 gnupdate: Add a quirk for Source-Highlight.
* maintainers/scripts/gnu/gnupdate (ftp-server/directory)[quirks]: Add
  "source-highlight".

svn path=/nixpkgs/trunk/; revision=26074
2011-02-23 17:36:11 +00:00
Ludovic Courtès
e86ac7fc39 gnupdate: Fix the MIT Scheme quirk.
* maintainers/scripts/gnu/gnupdate (ftp-server/directory)[quirks]: Fix
  the mit-scheme quirk.

svn path=/nixpkgs/trunk/; revision=26073
2011-02-23 17:36:07 +00:00
Ludovic Courtès
542d7424f0 gnupdate: Remove compatibility hack.
svn path=/nixpkgs/trunk/; revision=26000
2011-02-16 22:49:57 +00:00
Ludovic Courtès
e201d01ed0 GNUpdate: Add quirks.
* maintainers/scripts/gnu/gnupdate (ftp-server/directory)[quirks]: Add
  "libzrtpcpp" and "libosip2".

svn path=/nixpkgs/trunk/; revision=25685
2011-01-24 22:29:29 +00:00
Lluís Batlle i Rossell
cd4b54748a Updating from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=24038
2010-10-03 09:25:34 +00:00
Ludovic Courtès
bfbe1fadbd gnupdate: Add quirks.
* maintainers/scripts/gnu/gnupdate (ftp-server/directory)[quirks]: Add
  `freefont-ttf' and `gnu-ghostscript'.

svn path=/nixpkgs/trunk/; revision=23876
2010-09-20 20:46:37 +00:00
Lluís Batlle i Rossell
2c5de61327 Updating from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23840
2010-09-17 19:10:21 +00:00
Ludovic Courtès
7ff37213b7 gnupdate: Update to new FFI.
* maintainers/scripts/gnu/gnupdate (pointer->procedure): New procedure.

svn path=/nixpkgs/trunk/; revision=23712
2010-09-10 11:50:06 +00:00
Ludovic Courtès
8f5831d26c gnupdate: Add quirk for GNU Make.
* maintainers/scripts/gnu/gnupdate (nixpkgs->gnu-name)[quirks]: Add
  `gnumake'.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23276
2010-08-20 15:26:16 +00:00
Ludovic Courtès
a69596b951 gnupdate: Use the latest FFI.
* maintainers/scripts/gnu/gnupdate (version-string>?): Use the new
  `string->pointer', available in 1.9.12.

svn path=/nixpkgs/trunk/; revision=23253
2010-08-19 16:52:18 +00:00
Ludovic Courtès
227c0d768e gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=22468
2010-07-04 21:11:31 +00:00
Ludovic Courtès
5808f1a0ca gnupdate: Remove obsolete workaround.
* maintainers/scripts/gnu/gnupdate: Remove `(sxml ssax) workaround for
  macro-generating macros.

svn path=/nixpkgs/trunk/; revision=22467
2010-07-04 21:11:27 +00:00
Ludovic Courtès
c83cb10f2b gnupdate: Turn into a module.
* maintainers/scripts/gnu/gnupdate.scm: Rename to...
* maintainers/scripts/gnu/gnupdate: ... this.  Use `define-module' and
  the orthodox way of doing things.
  (main): Rename to...
  (gnupdate): ... this.

svn path=/nixpkgs/trunk/; revision=22466
2010-07-04 21:11:19 +00:00
Ludovic Courtès
b43b098513 gnupdate: Re-fix thinko.
svn path=/nixpkgs/trunk/; revision=21717
2010-05-10 21:26:57 +00:00
Ludovic Courtès
e4fecd6b8e gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=21703
2010-05-10 12:33:58 +00:00
Ludovic Courtès
f226c85249 gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=21049
2010-04-13 08:56:00 +00:00
Ludovic Courtès
d41df5eb06 Add GNU package update script.
svn path=/nixpkgs/trunk/; revision=21040
2010-04-12 23:02:36 +00:00