pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/monotone-server Update to 0.26:
details: https://anonhg.NetBSD.org/pkgsrc/rev/43f1c1793b34
branches: trunk
changeset: 511176:43f1c1793b34
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Mon Apr 10 17:46:31 2006 +0000
description:
Update to 0.26:
- Adjust command name to mtn.
- Fix permissions of the log file.
diffstat:
devel/monotone-server/Makefile | 9 ++++-----
devel/monotone-server/files/monotone.sh | 9 +++++++--
2 files changed, 11 insertions(+), 7 deletions(-)
diffs (64 lines):
diff -r a6b952816d3c -r 43f1c1793b34 devel/monotone-server/Makefile
--- a/devel/monotone-server/Makefile Mon Apr 10 17:45:51 2006 +0000
+++ b/devel/monotone-server/Makefile Mon Apr 10 17:46:31 2006 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2006/02/21 16:09:16 jmmv Exp $
+# $NetBSD: Makefile,v 1.17 2006/04/10 17:46:31 jmmv Exp $
#
-DISTNAME= monotone-server-0.25
-PKGREVISION= 2
+DISTNAME= monotone-server-0.26
CATEGORIES= devel
MASTER_SITES= # empty
DISTFILES= # empty
@@ -11,7 +10,7 @@
HOMEPAGE= http://www.venge.net/monotone/
COMMENT= Simplifies the configuration of a dedicated Monotone server
-DEPENDS+= monotone>=0.25:../../devel/monotone
+DEPENDS+= monotone>=0.26:../../devel/monotone
EXTRACT_ONLY= # empty
NO_BUILD= yes
@@ -47,7 +46,7 @@
SUBST_STAGE.vars= do-configure
SUBST_MESSAGE.vars= "Configuring sources."
SUBST_FILES.vars= *
-SUBST_SED.vars= -e 's|@MONOTONE@|${PREFIX}/bin/monotone|g'
+SUBST_SED.vars= -e 's|@MONOTONE@|${PREFIX}/bin/mtn|g'
SUBST_SED.vars+= -e 's|@MONOTONE_GROUP@|${MONOTONE_GROUP}|g'
SUBST_SED.vars+= -e 's|@MONOTONE_USER@|${MONOTONE_USER}|g'
SUBST_SED.vars+= -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g'
diff -r a6b952816d3c -r 43f1c1793b34 devel/monotone-server/files/monotone.sh
--- a/devel/monotone-server/files/monotone.sh Mon Apr 10 17:45:51 2006 +0000
+++ b/devel/monotone-server/files/monotone.sh Mon Apr 10 17:46:31 2006 +0000
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: monotone.sh,v 1.3 2006/02/21 16:09:16 jmmv Exp $
+# $NetBSD: monotone.sh,v 1.4 2006/04/10 17:46:31 jmmv Exp $
#
# PROVIDE: monotone
# REQUIRE: DAEMON
@@ -21,7 +21,7 @@
name="monotone"
rcvar=${name}
-command="@PREFIX@/bin/monotone"
+command="@PREFIX@/bin/mtn"
command_args="--norc \
--confdir=@PKG_SYSCONFDIR@ \
--db=${monotone_home}/monotone.db \
@@ -37,6 +37,11 @@
start_precmd="monotone_start_precmd"
monotone_start_precmd() {
+ if test ! -f ${monotone_home}/monotone.log; then
+ touch ${monotone_home}/monotone.log
+ chown ${monotone_user}:${monotone_group} \
+ ${monotone_home}/monotone.log
+ fi
echo "=> Session started at `date`" >>${monotone_home}/monotone.log
}
Home |
Main Index |
Thread Index |
Old Index