Commit Graph

1475 Commits

Author SHA1 Message Date
Armijn Hemel
3d24096431 introduce a rudimentary (working) form of the topological sort principle.
We can now start SSH with optional syslogging support. Also, if a program
is not already present in the /etc/rc.d "profile" (actually, not it has become
a collection of profiles) it will be automatically added.

This sounds hackish, and it probably is, but also, it might be the best
workable solution for now...

svn path=/nixpkgs/trunk/; revision=5044
2006-03-15 15:51:32 +00:00
Armijn Hemel
617d06c71c add a "name" action, which pretty prints the "nice name" for a package (so,
mailserver or smtpd or so for a mailserver like sendmail)

svn path=/nixpkgs/trunk/; revision=5043
2006-03-15 13:47:03 +00:00
Eelco Dolstra
e745e86d52 * Added unixODBC.
svn path=/nixpkgs/trunk/; revision=5041
2006-03-15 12:43:40 +00:00
Eelco Dolstra
439e93640e * Removed readlink.
svn path=/nixpkgs/trunk/; revision=5040
2006-03-15 10:32:40 +00:00
Martin Bravenboer
a63588689d Added jikespg, an oldskool parser generator
svn path=/nixpkgs/trunk/; revision=5038
2006-03-14 18:20:21 +00:00
Eelco Dolstra
6dd957cfe3 * MySQL 4.1.18.
svn path=/nixpkgs/trunk/; revision=5037
2006-03-14 16:37:09 +00:00
Armijn Hemel
920ff11c96 fix the impurity error. However, this introduces another error. Apparently
there is some difference between "install" on my FC3 machine and "install"
in coreutils in Nix:

building install_man
install -o root -g root -m 644 sysklogd.8 /nix/store/x03w5xpzcya04b4ax47lic2ahnf479nz-sysklogd-1.4.1/usr/share/man/man8/sysklogd.8
install: cannot change ownership of `/nix/store/x03w5xpzcya04b4ax47lic2ahnf479nz-sysklogd-1.4.1/usr/share/man/man8/sysklogd.8': Operation not permitted
make: *** [install_man] Error 1


svn path=/nixpkgs/trunk/; revision=5035
2006-03-14 15:30:00 +00:00
Armijn Hemel
304f3fbe9d some small changes...probably the way it is done now (declaring the
dependencies, such as "networking" in Nix expressions) is not entirely
right, at least, trying to start them from for example this SSH script is
not the right way. A cleaner solution is being developed :)

svn path=/nixpkgs/trunk/; revision=5034
2006-03-14 13:44:28 +00:00
Armijn Hemel
8befb633d6 get postfix to build. Note: install still has to be done, but this will
probably be a bit tricky, due to sendmail "compatibility" (postfix makes
a symlink to "sendmail", so programs will keep on working).

svn path=/nixpkgs/trunk/; revision=5030
2006-03-10 23:48:34 +00:00
Armijn Hemel
1fdbc347ce adapt ssh script to use our generic functions.
svn path=/nixpkgs/trunk/; revision=5028
2006-03-10 17:22:58 +00:00
Armijn Hemel
9159ca026d make syslog work with our new start/stop scripts. It is still full of race
conditions and dependencies don't work yet, but it's a start

svn path=/nixpkgs/trunk/; revision=5023
2006-03-10 15:05:22 +00:00
Armijn Hemel
6562861ba4 fix some brainfarts
svn path=/nixpkgs/trunk/; revision=5021
2006-03-10 13:32:54 +00:00
Armijn Hemel
742c1ef85e add a bit more boiler plate code. Right now I just touch a file in $STATEDIR,
maybe this should include the path to the Nix store and a sanity check
should be added to make sure that if we check the file in $STATEDIR that
it is indeed from an instance of the service that we want to start. This
adds complexity, because how should we deal with the situation of they are
not equal.

TODO: add a "status" command, or a "version" command, which displays which
service is currently registered with the system as "running"

svn path=/nixpkgs/trunk/; revision=5015
2006-03-09 13:20:40 +00:00
Armijn Hemel
9a198b5192 more script work. Now what we need is:
* generic functions to register with the system, good for "weak dependencies"

svn path=/nixpkgs/trunk/; revision=5009
2006-03-08 19:38:12 +00:00
Armijn Hemel
fe46e2a9b0 d'oh, don't actually gzip it
svn path=/nixpkgs/trunk/; revision=5008
2006-03-08 19:25:44 +00:00
Armijn Hemel
f39658b577 also add protocols for IPv4 packets configuration information. This appears
to be all the information that is non-site specific. The reason I want this
in a Nix expression is that it is easier to deploy in NixOS this way. It also
gives me a bit of a feel of what information is safe to keep inside the store
and what information isn't :)

svn path=/nixpkgs/trunk/; revision=5005
2006-03-08 19:01:38 +00:00
Armijn Hemel
b329005d2a add the data for /etc/services. The reasons for this:
* you want to be able to deploy this sort of configuration. Various packages
will not be able to work correctly without this. The GNU C library has a
dependency on this, but we ignore it. glibc will happily build if this file
is missing, but resolving will sometimes fail if this file is not present
(syslog is one example)

* this information is fairly static and changed about once or twice a year.
It is maintained by IANA and cannot really be considered site-specific
configuration.

The package is not made a dependency for glibc, as a change here would
trigger a full recompilation, even though technically speaking it is a
runtime dependency using a fixed format (as dictated by IANA).


svn path=/nixpkgs/trunk/; revision=5004
2006-03-08 18:46:50 +00:00
Eelco Dolstra
5c5ba68800 * Pass mktemp.
svn path=/nixpkgs/trunk/; revision=4984
2006-03-06 16:13:54 +00:00
Eelco Dolstra
0d299bc2f7 * Purify aangifte2005. Now we can do our taxes in NixOS ;-)
svn path=/nixpkgs/trunk/; revision=4980
2006-03-03 22:31:16 +00:00
Armijn Hemel
85252cbcfd add mipsel-linux support
svn path=/nixpkgs/trunk/; revision=4978
2006-03-03 21:12:20 +00:00
Eelco Dolstra
92e71363b6 * Doh!
svn path=/nixpkgs/trunk/; revision=4977
2006-03-03 19:28:23 +00:00
Eelco Dolstra
a5875f3c89 * Aangifteprogramma 2005. Still impure.
svn path=/nixpkgs/trunk/; revision=4976
2006-03-03 19:25:06 +00:00
Eelco Dolstra
b06335a835 * Thunderbird updated to 1.5 (it was at 0.8!).
svn path=/nixpkgs/trunk/; revision=4970
2006-03-02 19:08:26 +00:00
Armijn Hemel
dbd586dfa7 * add busybox
* uclibc needs mktemp

svn path=/nixpkgs/trunk/; revision=4969
2006-03-02 18:17:45 +00:00
Armijn Hemel
36e57ebead add busybox, a small replacement for most Unix utilities, often used on
embedded systems and installation CDs. Hopefully this will decrease the size
of things we use on the NixOS installation CD. Only tested in a cross-compile
for MIPS so far.

svn path=/nixpkgs/trunk/; revision=4968
2006-03-02 18:05:21 +00:00
Armijn Hemel
bdf35869f6 make sure we can find things like mips-linux-ar, mips-linux-strip, and so on.
Even though you could just inherit binutils it is conceptually cleaner (I
think) to make these tools available here.

svn path=/nixpkgs/trunk/; revision=4967
2006-03-02 18:03:20 +00:00
Armijn Hemel
d0c7f39a60 upgrade to a snapshot of uClibc, update mips config to reflect this. Break all
other archs.

svn path=/nixpkgs/trunk/; revision=4966
2006-03-02 18:01:53 +00:00
Armijn Hemel
f74d835529 * add gcc-4.1
* add gcc-40mipsboot
* rewrite gcc-40mips so it wraps around both gcc-40mipsboot *and* uClibc
* compile uClibc with gcc-40mipsboot

svn path=/nixpkgs/trunk/; revision=4962
2006-03-01 19:11:42 +00:00
Armijn Hemel
6bec50fda1 add gcc-4.1. The no-sys-dirs.patch had to be regenerated because a lot of stuff had been reworked in the Makefiles for 4.1.
svn path=/nixpkgs/trunk/; revision=4961
2006-03-01 19:09:53 +00:00
Merijn de Jonge
ebe59d3d21 fixed ocaml/qcmm problem:
-created separate nix expressions for ocaml-3.08.0 and ocaml 3.09.1
-ocam-3.09.1 is standard/default ocaml version (included by ocaml/default.nix)
-created ocaml3080 in all-packages-generic.nix
-qcmm now uses ocaml3080 instead of ocaml


svn path=/nixpkgs/trunk/; revision=4935
2006-03-01 09:18:22 +00:00
Eelco Dolstra
f08241e5fe * Fix for i915 after X.org upgrade.
svn path=/nixpkgs/trunk/; revision=4934
2006-02-28 21:04:14 +00:00
Eelco Dolstra
dff1c50b1b * Typo: "--enable-swg" -> "--enable-svg".
svn path=/nixpkgs/trunk/; revision=4928
2006-02-28 12:03:35 +00:00
Eelco Dolstra
af47bb13a5 * Apache updated to 2.2.0.
* mod_python updated to 3.2.8, with a patch to get it to work with
  Apache 2.2.x.

svn path=/nixpkgs/trunk/; revision=4927
2006-02-28 12:01:39 +00:00
Martin Bravenboer
49d220cc97 Typo
svn path=/nixpkgs/trunk/; revision=4912
2006-02-25 01:24:21 +00:00
Martin Bravenboer
f873f1a9ed svn path=/nixpkgs/trunk/; revision=4911 2006-02-25 01:13:01 +00:00
Martin Bravenboer
06b5fa3519 Added support for Eclipse plugins with custom installers.
svn path=/nixpkgs/trunk/; revision=4907
2006-02-25 00:44:02 +00:00
Martin Bravenboer
3b1c205843 Make eclipse reusable: function of plugins to eclipse
svn path=/nixpkgs/trunk/; revision=4887
2006-02-24 21:42:57 +00:00
Merijn de Jonge
90666e6eff Updated ocaml to version 3.09.1
svn path=/nixpkgs/trunk/; revision=4882
2006-02-23 09:30:40 +00:00
Mart Kolthof
03e93539b4 * refactored operators, kinds and storage modifiers to make them checkable at compiletime
svn path=/nixpkgs/trunk/; revision=4863
2006-02-20 10:43:19 +00:00
Armijn Hemel
12a23295d5 and update gnused again to 4.1.5...build buildfarm, build! >:)
svn path=/nixpkgs/trunk/; revision=4862
2006-02-19 14:00:17 +00:00
Armijn Hemel
ef92af7139 update findutils to 4.2.27
svn path=/nixpkgs/trunk/; revision=4861
2006-02-19 13:57:56 +00:00
Armijn Hemel
f05a25f5f5 coreutils-5.94
svn path=/nixpkgs/trunk/; revision=4860
2006-02-19 13:51:40 +00:00
Armijn Hemel
722a69f93f update bash to 3.1
svn path=/nixpkgs/trunk/; revision=4859
2006-02-19 13:27:56 +00:00
Armijn Hemel
947c09a4fd add some more functions. Needs more code.
svn path=/nixpkgs/trunk/; revision=4851
2006-02-17 16:29:04 +00:00
Eelco Visser
8894f77b12 perl modules CGI::Session and Digest::SHA1
svn path=/nixpkgs/trunk/; revision=4845
2006-02-17 12:03:04 +00:00
Armijn Hemel
8b0dd0fcdb stubs for generic functions. This should grow into generic functions for
stopping/starting/querying services. No code yet...

svn path=/nixpkgs/trunk/; revision=4827
2006-02-16 18:25:05 +00:00
Armijn Hemel
2fc2b12ea1 add iproute. This tool is use increasingly instead of ifconfig and friends.
It also allows us to reuse network initialization scripts from other distributions more easily

svn path=/nixpkgs/trunk/; revision=4826
2006-02-16 16:25:03 +00:00
Eelco Dolstra
6f02db3237 * Hash changed (db-4.4.20 was rereleased due to some copyright notice changes).
svn path=/nixpkgs/trunk/; revision=4823
2006-02-16 14:57:08 +00:00
Eelco Dolstra
a9efb9d155 * Firefox: don't use internal jpeg, png, zlib, cairo.
svn path=/nixpkgs/trunk/; revision=4819
2006-02-16 08:46:28 +00:00
Eelco Dolstra
bbda87fc30 * Fix the title bar icon.
svn path=/nixpkgs/trunk/; revision=4818
2006-02-15 17:15:16 +00:00