]> err.no Git - varnish/commitdiff
Split debian package into varnish, libvarnish and libvarnish-dev
authorssm <ssm@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 20 Jul 2007 12:43:54 +0000 (12:43 +0000)
committerssm <ssm@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 20 Jul 2007 12:43:54 +0000 (12:43 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1743 d4fa192b-c00b-0410-8231-f00ffab90ce4

12 files changed:
varnish-cache/debian/changelog
varnish-cache/debian/control
varnish-cache/debian/dirs
varnish-cache/debian/libvarnish-dev.dirs [new file with mode: 0644]
varnish-cache/debian/libvarnish-dev.install [new file with mode: 0644]
varnish-cache/debian/libvarnish.dirs [new file with mode: 0644]
varnish-cache/debian/libvarnish.install [new file with mode: 0644]
varnish-cache/debian/rules
varnish-cache/debian/varnish.default
varnish-cache/debian/varnish.dirs [new file with mode: 0644]
varnish-cache/debian/varnish.install [new file with mode: 0644]
varnish-cache/debian/varnish.varnishlog.init

index 5ba032f9914eaa604b1e8dbf68068cc1f8afa175..e3b5b7182c7db2e3acf6fb17850d069182f2521b 100644 (file)
@@ -1,3 +1,10 @@
+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)
index 82a25ac92e1946ee355ab45ce79d53d508ee753b..e5dca6009e6cba94fef7ce41b9b40ca13608c878 100644 (file)
@@ -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.
index 1e28e13628d94c456f6ed6b2d6af7b6214b8dd8c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,9 +0,0 @@
-etc/varnish
-etc/logrotate.d
-usr/bin
-usr/lib
-usr/sbin
-var/log
-var/log/varnish
-var/lib/varnish
-usr/share/lintian/overrides/
diff --git a/varnish-cache/debian/libvarnish-dev.dirs b/varnish-cache/debian/libvarnish-dev.dirs
new file mode 100644 (file)
index 0000000..6845771
--- /dev/null
@@ -0,0 +1 @@
+usr/lib
diff --git a/varnish-cache/debian/libvarnish-dev.install b/varnish-cache/debian/libvarnish-dev.install
new file mode 100644 (file)
index 0000000..f746d9b
--- /dev/null
@@ -0,0 +1,3 @@
+usr/include
+usr/lib/*.a
+usr/lib/*.la
diff --git a/varnish-cache/debian/libvarnish.dirs b/varnish-cache/debian/libvarnish.dirs
new file mode 100644 (file)
index 0000000..6845771
--- /dev/null
@@ -0,0 +1 @@
+usr/lib
diff --git a/varnish-cache/debian/libvarnish.install b/varnish-cache/debian/libvarnish.install
new file mode 100644 (file)
index 0000000..d0dbfd1
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
index 65a4bdbafcc1b7cf024e69185a12e091e9755981..af1d05af4fe6352e96716f84f5022b112afce077 100755 (executable)
@@ -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
index 77f5ca3a44eda7c8b29a3442210549661e1242b1..55f58a88e1a751c0f4c383fe69383b08741cc67d 100644 (file)
@@ -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}"
 #
 
diff --git a/varnish-cache/debian/varnish.dirs b/varnish-cache/debian/varnish.dirs
new file mode 100644 (file)
index 0000000..9dcd6aa
--- /dev/null
@@ -0,0 +1,8 @@
+etc/varnish
+etc/logrotate.d
+usr/bin
+usr/sbin
+var/log
+var/log/varnish
+var/lib/varnish
+usr/share/lintian/overrides/
diff --git a/varnish-cache/debian/varnish.install b/varnish-cache/debian/varnish.install
new file mode 100644 (file)
index 0000000..ca882bb
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
index 5fd6f25647c482b48434cf68a6a408ad423a69ce..9f92afd6d14fcef18d91e2d8ea761c18820091d5 100755 (executable)
@@ -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)