Split debian package into varnish, libvarnish and libvarnish-dev

git-svn-id: http://www.varnish-cache.org/svn/trunk@1743 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent d0b75231
varnish (1.1) unstable; urgency=low
* New upstream release
* Split package into varnish, libvarnish and libvarnish-dev
-- Stig Sandbeck Mathisen <ssm@linpro.no> Fri, 20 Jul 2007 14:37:36 +0200
varnish (1.0.4-1) unstable; urgency=low
* New upstream version (Closes: #424560)
......
......@@ -8,7 +8,7 @@ Standards-Version: 3.7.2
Package: varnish
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, gcc ( >= 3.3)
Depends: ${shlibs:Depends}, ${misc:Depends}, gcc ( >= 3.3), libvarnish
Description: A state-of-the-art, high-performance HTTP accelerator
varnish is the server-side alternative to Squid, written primarily with
speed in mind, and with a look to implementing full ESI-support in
......@@ -20,3 +20,27 @@ Description: A state-of-the-art, high-performance HTTP accelerator
Varnish is targeted primarily at the FreeBSD 6 and Linux 2.6 platforms, and
will take full advantage of the advanced I/O features offered by these
operating systems.
Package: libvarnish
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Shared library for Varnish
Shared library for Varnish.
.
Varnish is the server-side alternative to Squid, written primarily
with speed in mind.
.
The goal of the Varnish project is to develop a state-of-the-art,
high-performance HTTP accelerator.
Package: libvarnish-dev
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libvarnish
Description: Shared library for Varnish
Development files for the Varnish library.
.
Varnish is the server-side alternative to Squid, written primarily
with speed in mind.
.
The goal of the Varnish project is to develop a state-of-the-art,
high-performance HTTP accelerator.
etc/varnish
etc/logrotate.d
usr/bin
usr/lib
usr/sbin
var/log
var/log/varnish
var/lib/varnish
usr/share/lintian/overrides/
usr/include
usr/lib/*.a
usr/lib/*.la
......@@ -66,7 +66,9 @@ install: build
dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/varnish
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
dh_install --sourcedir=$(CURDIR)/debian/tmp
install -m 644 $(CURDIR)/etc/default.vcl $(CURDIR)/debian/varnish/etc/varnish/
install -m 644 $(CURDIR)/debian/lintian-override $(CURDIR)/debian/varnish/usr/share/lintian/overrides/varnish
install -m 644 $(CURDIR)/debian/varnish.logrotate $(CURDIR)/debian/varnish/etc/logrotate.d/varnish
......
......@@ -17,6 +17,7 @@ NFILES=131072
DAEMON_OPTS="-a :6081 \
-T localhost:6082 \
-b localhost:8080 \
-n /var/lib/varnish \
-s file,/var/lib/varnish/varnish_storage.bin,1G"
......@@ -29,6 +30,7 @@ DAEMON_OPTS="-a :6081 \
# DAEMON_OPTS="-a :6081 \
# -T localhost:6082 \
# -f /etc/varnish/default.vcl \
# -n /var/lib/varnish \
# -s file,/var/lib/varnish/varnish_storage.bin,1G"
......@@ -58,6 +60,9 @@ DAEMON_OPTS="-a :6081 \
# # Idle timeout for worker threads
# VARNISH_THREAD_TIMEOUT=120
#
# # Home dir for this varnish instance
# VARNISH_HOMEDIR=/var/lib/varnish
#
# # Cache file location
# VARNISH_STORAGE_FILE=/var/lib/varnish/varnish_storage.bin
#
......@@ -78,6 +83,7 @@ DAEMON_OPTS="-a :6081 \
# -T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \
# -t ${VARNISH_TTL} \
# -w ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} \
# -n ${VARNISH_HOMEDIR} \
# -s ${VARNISH_STORAGE}"
#
......
etc/varnish
etc/logrotate.d
usr/bin
usr/sbin
var/log
var/log/varnish
var/lib/varnish
usr/share/lintian/overrides/
usr/bin
usr/sbin
......@@ -24,7 +24,7 @@ LOGFILE=/var/log/varnish/varnish.log
test -x $DAEMON || exit 0
DAEMON_OPTS="-a -w ${LOGFILE} -D -P $PIDFILE"
DAEMON_OPTS="-a -n /var/lib/varnish -w ${LOGFILE} -D -P $PIDFILE"
case "$1" in
start)
......
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