diff options
author | Renato Botelho <garga@FreeBSD.org> | 2006-01-23 10:47:12 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2006-01-23 10:47:12 +0000 |
commit | 30003e51bd3c19f53e3d29793267bfcd3b2d0cfb (patch) | |
tree | 301e11f9ba6247b1fd874b3a71cf9095710b322c /net-im | |
parent | - Update to 3.0.6 (diff) |
- Fix rc.d/jabber-pyicq-transport.sh to make it honour rc.conf vars
- Bump PORTREVISION
PR: ports/92054
Submitted by: Lapo Luchini <lapo@lapo.it>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/jabber-pyicq/Makefile | 1 | ||||
-rw-r--r-- | net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in | 16 |
2 files changed, 8 insertions, 9 deletions
diff --git a/net-im/jabber-pyicq/Makefile b/net-im/jabber-pyicq/Makefile index af86d5b5e16a..8336b4b5abf1 100644 --- a/net-im/jabber-pyicq/Makefile +++ b/net-im/jabber-pyicq/Makefile @@ -6,6 +6,7 @@ PORTNAME= pyicq PORTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= http://www.blathersource.org/download.php/pyicq-t/ PKGNAMEPREFIX= jabber- diff --git a/net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in b/net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in index dda434fc9d75..4f9de7d401f0 100644 --- a/net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in +++ b/net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in @@ -14,21 +14,19 @@ # # DO NOT CHANGE THESE DEFAULT VALUES HERE # -jabber_pyicq_dir=${jabberd_pyicq_dir-"%%PREFIX%%/lib/jabber/pyicq"} -jabber_pyicq_piddir=${jabberd_pyicq_piddir-"/var/jabberd/pid"} -jabber_pyicq_enable=${jabberd_pyicq_enable-"NO"} - +jabber_pyicq_dir=${jabber_pyicq_dir:-"%%PREFIX%%/lib/jabber/pyicq"} +jabber_pyicq_piddir=${jabber_pyicq_piddir:-"/var/jabberd/pid"} +jabber_pyicq_enable=${jabber_pyicq_enable:-"NO"} . %%RC_SUBR%% name="jabber_pyicq" rcvar=`set_rcvar` -command_interpreter="%%PYTHON_CMD%%" -command="${jabber_pyicq_dir}/main.py" -command_args="&" +load_rc_config $name -#procname="${PYTHON} ${jabber_pyicq_dir}/main.py" pidfile="${jabber_pyicq_piddir}/pyicq.pid" +command_interpreter="%%PYTHON_CMD%%" +command="${jabber_pyicq_dir}/main.py" +command_args="-o pid=${pidfile} &" -load_rc_config $name run_rc_command "$1" |