Commit abdc5f1e authored by Matt Tucker's avatar Matt Tucker Committed by matt

Newlines.


git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@7484 b35dd754-fafc-0310-a699-88a17e54d16e
parent 758e25f6
wildfire (@version@) unstable; urgency=medium wildfire (@version@) unstable; urgency=medium
* For full changelog, see http://www.igniterealtime.org/builds/wildfire/docs/latest/changelog.html * For full changelog, see http://www.igniterealtime.org/builds/wildfire/docs/latest/changelog.html
-- Jive Software <webmaster@jivesoftware.com> @builddate@ -- Jive Software <webmaster@jivesoftware.com> @builddate@
\ No newline at end of file
/var/log/wildfire /var/log/wildfire
# move the # move the
/etc/wildfire /etc/wildfire
\ No newline at end of file
#!/usr/bin/make -f #!/usr/bin/make -f
# -*- makefile -*- # -*- makefile -*-
# This file was originally written by Joey Hess and Craig Small. # This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a # As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction. # dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make. # This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode. # Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1 #export DH_VERBOSE=1
DESTINATION=${CURDIR}/debian/wildfire/ DESTINATION=${CURDIR}/debian/wildfire/
build: build-stamp build: build-stamp
build-stamp: build-stamp:
dh_testdir dh_testdir
dh_installdirs dh_installdirs
ant -f build/build.xml ant -f build/build.xml
touch $@ touch $@
clean: clean:
dh_testdir dh_testdir
dh_testroot dh_testroot
rm -f build-stamp configure-stamp install-stamp rm -f build-stamp configure-stamp install-stamp
-ant -f build/build.xml clean -ant -f build/build.xml clean
dh_clean dh_clean
install: install-stamp install: install-stamp
install-stamp: install-stamp:
mv $(CURDIR)/target/wildfire $(DESTINATION)/opt/ mv $(CURDIR)/target/wildfire $(DESTINATION)/opt/
# Move the conf-dir to etc an create a symlink back. # Move the conf-dir to etc an create a symlink back.
mv ${DESTINATION}/opt/wildfire/conf ${DESTINATION}/etc/wildfire mv ${DESTINATION}/opt/wildfire/conf ${DESTINATION}/etc/wildfire
ln -s /etc/wildfire ${DESTINATION}/opt/wildfire/conf ln -s /etc/wildfire ${DESTINATION}/opt/wildfire/conf
# Move the resource dir to etc and symlink back. # Move the resource dir to etc and symlink back.
mv ${DESTINATION}/opt/wildfire/resources/security ${DESTINATION}/etc/wildfire/security mv ${DESTINATION}/opt/wildfire/resources/security ${DESTINATION}/etc/wildfire/security
ln -s /etc/wildfire/security ${DESTINATION}/opt/wildfire/resources/security ln -s /etc/wildfire/security ${DESTINATION}/opt/wildfire/resources/security
# Move the logs dir to /var/log an symlink back. # Move the logs dir to /var/log an symlink back.
mv ${DESTINATION}/opt/wildfire/logs ${DESTINATION}/var/log/wildfire mv ${DESTINATION}/opt/wildfire/logs ${DESTINATION}/var/log/wildfire
ln -s /var/log/wildfire ${DESTINATION}/opt/wildfire/logs ln -s /var/log/wildfire ${DESTINATION}/opt/wildfire/logs
touch $@ touch $@
# Build architecture-dependent files here. # Build architecture-dependent files here.
binary-indep: install binary-indep: install
dh_testdir dh_testdir
dh_testroot dh_testroot
dh_installchangelogs changelog.html dh_installchangelogs changelog.html
dh_installdocs dh_installdocs
dh_installexamples dh_installexamples
dh_installdebconf dh_installdebconf
dh_installinit dh_installinit
dh_link dh_link
dh_compress dh_compress
dh_fixperms dh_fixperms
dh_installdeb dh_installdeb
dh_gencontrol dh_gencontrol
dh_md5sums dh_md5sums
dh_builddeb dh_builddeb
binary: binary-indep binary: binary-indep
.PHONY: build clean binary-indep binary install configure .PHONY: build clean binary-indep binary install configure
/etc/wildfire/wildfire.xml /etc/wildfire/wildfire.xml
/etc/wildfire/security/keystore /etc/wildfire/security/keystore
/etc/wildfire/security/truststore /etc/wildfire/security/truststore
# Defaults for wildfire initscript # Defaults for wildfire initscript
# sourced by /etc/init.d/wildfire # sourced by /etc/init.d/wildfire
# installed at /etc/default/wildfire by the maintainer scripts # installed at /etc/default/wildfire by the maintainer scripts
# #
# This is a POSIX shell fragment # This is a POSIX shell fragment
# #
# Additional options that are passed to the Daemon. # Additional options that are passed to the Daemon.
DAEMON_OPTS="" DAEMON_OPTS=""
/etc/ /etc/
/opt/wildfire /opt/wildfire
/var/log/wildfire /var/log/wildfire
#! /bin/sh #! /bin/sh
# #
# Written by Miquel van Smoorenburg <miquels@cistron.nl>. # Written by Miquel van Smoorenburg <miquels@cistron.nl>.
# Modified for Debian # Modified for Debian
# by Ian Murdock <imurdock@gnu.ai.mit.edu>. # by Ian Murdock <imurdock@gnu.ai.mit.edu>.
# #
# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl # Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl
# #
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/java DAEMON=/usr/bin/java
NAME=wildfire NAME=wildfire
DESC=wildfire DESC=wildfire
DAEMON_DIR=/opt/wildfire DAEMON_DIR=/opt/wildfire
DAEMON_LIB=${DAEMON_DIR}/lib DAEMON_LIB=${DAEMON_DIR}/lib
test -x $DAEMON || exit 0 test -x $DAEMON || exit 0
# Include wildfire defaults if available # Include wildfire defaults if available
if [ -f /etc/default/wildfire ] ; then if [ -f /etc/default/wildfire ] ; then
. /etc/default/wildfire . /etc/default/wildfire
fi fi
DAEMON_OPTS="-server -DwildfireHome=${DAEMON_DIR} \ DAEMON_OPTS="-server -DwildfireHome=${DAEMON_DIR} \
-Dwildfire.lib.dir=${DAEMON_LIB} -classpath ${DAEMON_LIB}/startup.jar\ -Dwildfire.lib.dir=${DAEMON_LIB} -classpath ${DAEMON_LIB}/startup.jar\
-jar ${DAEMON_LIB}/startup.jar $DAEMON_OPTS" -jar ${DAEMON_LIB}/startup.jar $DAEMON_OPTS"
set -e set -e
case "$1" in case "$1" in
start) start)
echo -n "Starting $DESC: " echo -n "Starting $DESC: "
start-stop-daemon --start --quiet --background \ start-stop-daemon --start --quiet --background \
--pidfile /var/run/$NAME.pid --make-pidfile \ --pidfile /var/run/$NAME.pid --make-pidfile \
--exec $DAEMON -- $DAEMON_OPTS --exec $DAEMON -- $DAEMON_OPTS
echo "$NAME." echo "$NAME."
;; ;;
stop) stop)
echo -n "Stopping $DESC: " echo -n "Stopping $DESC: "
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \ start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
--exec $DAEMON --exec $DAEMON
echo "$NAME." echo "$NAME."
;; ;;
restart|force-reload) restart|force-reload)
# #
# If the "reload" option is implemented, move the "force-reload" # If the "reload" option is implemented, move the "force-reload"
# option to the "reload" entry above. If not, "force-reload" is # option to the "reload" entry above. If not, "force-reload" is
# just the same as "restart". # just the same as "restart".
# #
echo -n "Restarting $DESC: " echo -n "Restarting $DESC: "
start-stop-daemon --stop --quiet --pidfile \ start-stop-daemon --stop --quiet --pidfile \
/var/run/$NAME.pid --exec $DAEMON /var/run/$NAME.pid --exec $DAEMON
sleep 1 sleep 1
start-stop-daemon --start --quiet --pidfile \ start-stop-daemon --start --quiet --pidfile \
/var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
echo "$NAME." echo "$NAME."
;; ;;
*) *)
N=/etc/init.d/$NAME N=/etc/init.d/$NAME
# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $N {start|stop|restart|force-reload}" >&2 echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1 exit 1
;; ;;
esac esac
exit 0 exit 0
#!/bin/sh #!/bin/sh
# postrm script for wildfire # postrm script for wildfire
# #
# see: dh_installdeb(1) # see: dh_installdeb(1)
set -e set -e
# summary of how this script can be called: # summary of how this script can be called:
# * <postrm> `remove' # * <postrm> `remove'
# * <postrm> `purge' # * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version> # * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install' # * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version> # * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version> # * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> # * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or # for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package # the debian-policy package
case "$1" in case "$1" in
purge) purge)
rm -Rf /opt/wildfire rm -Rf /opt/wildfire
;; ;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;; ;;
*) *)
echo "postrm called with unknown argument \`$1'" >&2 echo "postrm called with unknown argument \`$1'" >&2
exit 1 exit 1
esac esac
# dh_installdeb will replace this with shell code automatically # dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts. # generated by other debhelper scripts.
#DEBHELPER# #DEBHELPER#
exit 0 exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment