r1147 - in trunk/varnish-cache: . debian

bahner at projects.linpro.no bahner at projects.linpro.no
Tue Oct 10 14:05:46 CEST 2006


Author: bahner
Date: 2006-10-10 14:05:46 +0200 (Tue, 10 Oct 2006)
New Revision: 1147

Added:
   trunk/varnish-cache/debian/
   trunk/varnish-cache/debian/TODO
   trunk/varnish-cache/debian/changelog
   trunk/varnish-cache/debian/compat
   trunk/varnish-cache/debian/control
   trunk/varnish-cache/debian/copyright
   trunk/varnish-cache/debian/dirs
   trunk/varnish-cache/debian/docs
   trunk/varnish-cache/debian/rules
Log:
Initial debian packaging

Added: trunk/varnish-cache/debian/TODO
===================================================================
--- trunk/varnish-cache/debian/TODO	2006-10-09 10:04:47 UTC (rev 1146)
+++ trunk/varnish-cache/debian/TODO	2006-10-10 12:05:46 UTC (rev 1147)
@@ -0,0 +1 @@
+Init-scripts and config files are missing.

Added: trunk/varnish-cache/debian/changelog
===================================================================
--- trunk/varnish-cache/debian/changelog	2006-10-09 10:04:47 UTC (rev 1146)
+++ trunk/varnish-cache/debian/changelog	2006-10-10 12:05:46 UTC (rev 1147)
@@ -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 at 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 at debian.org>  Fri,  6 Oct 2006 16:26:57 +0200
+

Added: trunk/varnish-cache/debian/compat
===================================================================
--- trunk/varnish-cache/debian/compat	2006-10-09 10:04:47 UTC (rev 1146)
+++ trunk/varnish-cache/debian/compat	2006-10-10 12:05:46 UTC (rev 1147)
@@ -0,0 +1 @@
+5

Added: trunk/varnish-cache/debian/control
===================================================================
--- trunk/varnish-cache/debian/control	2006-10-09 10:04:47 UTC (rev 1146)
+++ trunk/varnish-cache/debian/control	2006-10-10 12:05:46 UTC (rev 1147)
@@ -0,0 +1,22 @@
+Source: varnish
+Section: web
+Priority: optional
+Maintainer: Stig Sandbeck Mathiesen <ssm at debian.org>
+Uploaders: Lars Bahner <bahner at 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. 

Added: trunk/varnish-cache/debian/copyright
===================================================================
--- trunk/varnish-cache/debian/copyright	2006-10-09 10:04:47 UTC (rev 1146)
+++ trunk/varnish-cache/debian/copyright	2006-10-10 12:05:46 UTC (rev 1147)
@@ -0,0 +1,35 @@
+This package was debianized by Lars Bahner <bahner at 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 at 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.

Added: trunk/varnish-cache/debian/dirs
===================================================================
--- trunk/varnish-cache/debian/dirs	2006-10-09 10:04:47 UTC (rev 1146)
+++ trunk/varnish-cache/debian/dirs	2006-10-10 12:05:46 UTC (rev 1147)
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin

Added: trunk/varnish-cache/debian/docs
===================================================================
--- trunk/varnish-cache/debian/docs	2006-10-09 10:04:47 UTC (rev 1146)
+++ trunk/varnish-cache/debian/docs	2006-10-10 12:05:46 UTC (rev 1147)
@@ -0,0 +1 @@
+README

Added: trunk/varnish-cache/debian/rules
===================================================================
--- trunk/varnish-cache/debian/rules	2006-10-09 10:04:47 UTC (rev 1146)
+++ trunk/varnish-cache/debian/rules	2006-10-10 12:05:46 UTC (rev 1147)
@@ -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 


Property changes on: trunk/varnish-cache/debian/rules
___________________________________________________________________
Name: svn:executable
   + 




More information about the varnish-commit mailing list