summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Garthe (the_mgt) <themgt@uncensored.citadel.org>2010-02-08 00:09:59 +0000
committerStefan Garthe (the_mgt) <themgt@uncensored.citadel.org>2010-02-08 00:09:59 +0000
commit57097d6b18f3a5b0e7bce0f6717319fa88e83495 (patch)
treee4e7f498ea9a8045a85dcae45497e160939f9e61 /www-servers/webcit/files
parentmail-mta/citadel: Version bump to current 7.71 version. Corrected and improve... (diff)
downloadsunrise-57097d6b18f3a5b0e7bce0f6717319fa88e83495.tar.gz
sunrise-57097d6b18f3a5b0e7bce0f6717319fa88e83495.tar.bz2
sunrise-57097d6b18f3a5b0e7bce0f6717319fa88e83495.zip
www-servers/webcit: Version bump to current 7.71 version. Corrected init script
svn path=/sunrise/; revision=9996
Diffstat (limited to 'www-servers/webcit/files')
-rw-r--r--www-servers/webcit/files/as-needed.patch30
-rw-r--r--www-servers/webcit/files/webcit.init.d4
2 files changed, 2 insertions, 32 deletions
diff --git a/www-servers/webcit/files/as-needed.patch b/www-servers/webcit/files/as-needed.patch
deleted file mode 100644
index 912591076..000000000
--- a/www-servers/webcit/files/as-needed.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- Makefile.in 2009-09-28 16:09:43.000000000 +0200
-+++ Makefile.in.as-needed 2009-10-03 16:42:19.207824900 +0200
-@@ -37,8 +37,8 @@
- $(srcdir)/TAGS
-
- setup: setup.o gettext.o
-- $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) $(SETUP_LIBS) \
-- gettext.o setup.o -o setup
-+ $(CC) $(LDFLAGS) $(LIBOBJS) gettext.o setup.o -o setup \
-+ $(LIBS) $(SETUP_LIBS)
-
- webcit: webserver.o context_loop.o ical_dezonify.o \
- cookie_conversion.o locate_host.o floors.o summary.o \
-@@ -55,7 +55,7 @@
- decode.o modules_init.o paramhandling.o utils.o \
- ical_maps.o ical_subst.o static.o \
- $(LIBOBJS)
-- $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
-+ $(CC) $(LDFLAGS) $(LIBOBJS) -o webcit \
- webserver.o context_loop.o cookie_conversion.o marchlist.o \
- webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o listsub.o \
- roomops.o roomlist.o messages.o msg_renderers.o userlist.o paging.o sysmsgs.o \
-@@ -68,7 +68,6 @@
- groupdav_put.o http_datestring.o setup_wizard.o fmt_date.o modules_init.o \
- gettext.o downloads.o addressbook_popup.o pushemail.o sysdep.o decode.o \
- paramhandling.o utils.o ical_maps.o ical_subst.o static.o \
-- -o webcit \
- $(LIBS)
-
- .c.o:
diff --git a/www-servers/webcit/files/webcit.init.d b/www-servers/webcit/files/webcit.init.d
index 8d687c38c..942dd9bab 100644
--- a/www-servers/webcit/files/webcit.init.d
+++ b/www-servers/webcit/files/webcit.init.d
@@ -7,14 +7,14 @@ depend() {
need net
}
-svc_start() {
+start() {
ebegin "Starting WebCit"
start-stop-daemon --start --quiet --background \
--exec /usr/sbin/webcit -- $WEBCIT_OPTS
eend $? "Failed to start WebCit"
}
-svc_stop() {
+stop() {
ebegin "Stopping WebCit"
start-stop-daemon --stop --quiet \
--exec /usr/sbin/webcit