diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2008-08-03 17:08:52 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2008-08-03 17:08:52 +0000 |
commit | c4216c4abaf2775e1697e0b887a0f9905a6e2fff (patch) | |
tree | 7411d1ae11c4f68164083c0162326b91d7598793 /pkgs/servers | |
parent | 407b3e2e0d776537248707f1e5608c1e4abd2ed5 (diff) |
Updated OpenFire
svn path=/nixpkgs/trunk/; revision=12470
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/xmpp/openfire/3.5.2.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/servers/xmpp/openfire/3.5.2.nix b/pkgs/servers/xmpp/openfire/3.5.2.nix new file mode 100644 index 0000000000000..242ca6ea98f61 --- /dev/null +++ b/pkgs/servers/xmpp/openfire/3.5.2.nix @@ -0,0 +1,34 @@ +args : with args; with builderDefs {src="";} null; + let localDefs = builderDefs (rec { + src = /* put a fetchurl here */ + fetchurl { + url = http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3_5_2.tar.gz; + sha256 = "13xzwl8kc8i8xgdv7fpwgkj1wjhzagx4b03fkkj2hcfgdkp1978q"; + }; + + buildInputs = [jre]; + configureFlags = []; + + installPhase = FullDepEntry ('' + sed -e 's@\(common_jvm_locations\)=.*@\1${jre}@' -i bin/openfire + cp -r . $out + rm -r $out/logs + mv $out/conf $out/conf.inst + ln -s /var/log/openfire $out/logs + ln -s /etc/openfire $out/conf + '') + ["minInit" "doUnpack" "addInputs"]; + }) null; /* null is a terminator for sumArgs */ + in with localDefs; +stdenv.mkDerivation rec { + name = "openfire-"+version; + builder = writeScript (name + "-builder") + (textClosure localDefs + [ installPhase doForceShare doPropagate]); + meta = { + description = " + XMPP server in Java. +"; + inherit src; + }; +} |