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 (''
|
installPhase = FullDepEntry (''
|
||||||
sed -e 's@\(common_jvm_locations\)=.*@\1${jre}@' -i bin/openfire
|
sed -e 's@\(common_jvm_locations\)=.*@\1${jre}@' -i bin/openfire
|
||||||
cp -r . $out
|
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 */
|
}) null; /* null is a terminator for sumArgs */
|
||||||
in with localDefs;
|
in with localDefs;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "openfire-"+version;
|
name = "openfire-"+version;
|
||||||
builder = writeScript (name + "-builder")
|
builder = writeScript (name + "-builder")
|
||||||
(textClosure localDefs
|
(textClosure localDefs
|
||||||
[ doForceShare doPropagate installPhase]);
|
[ installPhase doForceShare doPropagate]);
|
||||||
meta = {
|
meta = {
|
||||||
description = "
|
description = "
|
||||||
XMPP server in Java.
|
XMPP server in Java.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user