]> err.no Git - varnish/commitdiff
Initial debian packaging
authorbahner <bahner@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 10 Oct 2006 12:05:46 +0000 (12:05 +0000)
committerbahner <bahner@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 10 Oct 2006 12:05:46 +0000 (12:05 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1147 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/debian/TODO [new file with mode: 0644]
varnish-cache/debian/changelog [new file with mode: 0644]
varnish-cache/debian/compat [new file with mode: 0644]
varnish-cache/debian/control [new file with mode: 0644]
varnish-cache/debian/copyright [new file with mode: 0644]
varnish-cache/debian/dirs [new file with mode: 0644]
varnish-cache/debian/docs [new file with mode: 0644]
varnish-cache/debian/rules [new file with mode: 0755]

diff --git a/varnish-cache/debian/TODO b/varnish-cache/debian/TODO
new file mode 100644 (file)
index 0000000..ff0094c
--- /dev/null
@@ -0,0 +1 @@
+Init-scripts and config files are missing.
diff --git a/varnish-cache/debian/changelog b/varnish-cache/debian/changelog
new file mode 100644 (file)
index 0000000..8741de5
--- /dev/null
@@ -0,0 +1,13 @@
+varnish (1.0.1-2) unstable; urgency=low
+
+  * Removed wrong upstream author.
+  * Added dependency on gcc-4.1 needed by varnish at runtime.
+
+ -- Lars Bahner <bahner@debian.org>  Fri,  6 Oct 2006 17:54:53 +0200
+
+varnish (1.0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #382451)
+
+ -- Lars Bahner <bahner@debian.org>  Fri,  6 Oct 2006 16:26:57 +0200
+
diff --git a/varnish-cache/debian/compat b/varnish-cache/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/varnish-cache/debian/control b/varnish-cache/debian/control
new file mode 100644 (file)
index 0000000..88200c9
--- /dev/null
@@ -0,0 +1,22 @@
+Source: varnish
+Section: web
+Priority: optional
+Maintainer: Stig Sandbeck Mathiesen <ssm@debian.org>
+Uploaders: Lars Bahner <bahner@debian.org>
+Build-Depends: debhelper (>= 5), autotools-dev, automake, libtool, autoconf, gcc (>= 4.1)
+Standards-Version: 3.7.2
+
+Package: varnish
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+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
+ a future release.
+ .
+ The goal of the Varnish project is to develop 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. 
diff --git a/varnish-cache/debian/copyright b/varnish-cache/debian/copyright
new file mode 100644 (file)
index 0000000..b9e7240
--- /dev/null
@@ -0,0 +1,35 @@
+This package was debianized by Lars Bahner <bahner@debian.org> on
+Fri,  6 Oct 2006 16:26:57 +0200.
+
+It was downloaded from http://ovh.dl.sourceforge.net/sourceforge/varnish/varnish-1.0.1.tar.gz
+
+Copyright:     2006 Verdens Gang AS
+               2006 Linpro AS
+All rights reserved.
+
+License:
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+The Debian packaging is (C) 2006, Lars Bahner <bahner@debian.org> and
+is licensed under the GPL version 2. The full text of which can be found
+in the file /usr/share/common-licenses/GPL-2 on this system.
diff --git a/varnish-cache/debian/dirs b/varnish-cache/debian/dirs
new file mode 100644 (file)
index 0000000..ca882bb
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/varnish-cache/debian/docs b/varnish-cache/debian/docs
new file mode 100644 (file)
index 0000000..e845566
--- /dev/null
@@ -0,0 +1 @@
+README
diff --git a/varnish-cache/debian/rules b/varnish-cache/debian/rules
new file mode 100755 (executable)
index 0000000..15092a7
--- /dev/null
@@ -0,0 +1,94 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# 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
+# 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.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+
+config.status: configure
+       dh_testdir
+       # The boilerplate linker flags won't allow varnish to compile :(
+       ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)"
+
+
+build: build-stamp
+
+build-stamp:  config.status
+       dh_testdir
+
+       $(MAKE)
+       #docbook-to-man debian/varnish.sgml > varnish.1
+
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp 
+
+       # Add here commands to clean up after the build process.
+       -$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+       cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+       cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+
+       # Add here commands to install the package into debian/varnish.
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/varnish
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs ChangeLog
+       dh_installdocs
+#FIXME dh_installinit
+       dh_installman
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_makeshlibs
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install