Commit 2f4c167b authored by Lars Bahner's avatar Lars Bahner

Initial debian packaging

git-svn-id: http://www.varnish-cache.org/svn/trunk@1147 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 587c7b55
Init-scripts and config files are missing.
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
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.
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.
usr/bin
usr/sbin
#!/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
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