mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
Fixes to OpenFire
svn path=/nixpkgs/trunk/; revision=11263
This commit is contained in:
parent
b7ee7d1999
commit
58a31ca341
|
@ -12,15 +12,19 @@ args : with args; with builderDefs {src="";} null;
|
|||
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/logs/openfire $out/logs
|
||||
ln -s /etc/openfire $out/conf
|
||||
'')
|
||||
["minInit" "doUnpack" "findInputs"];
|
||||
["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
|
||||
[ doForceShare doPropagate installPhase]);
|
||||
[ installPhase doForceShare doPropagate]);
|
||||
meta = {
|
||||
description = "
|
||||
XMPP server in Java.
|
||||
|
|
Loading…
Reference in a new issue