Debianize

This commit is contained in:
Stefan 2010-08-23 13:09:12 +00:00
parent cb720d0bf1
commit d86a398452
8 changed files with 122 additions and 0 deletions

20
Makefile Normal file
View File

@ -0,0 +1,20 @@
all: weighttp
override SOURCES := $(wildcard src/*.c)
override OBJECTS := $(patsubst %.c,%.o,$(SOURCES))
override LDFLAGS += -lev -lpthread
override CFLAGS += '-DVERSION="0.2"'
weighttp: $(OBJECTS)
$(CC) $(LDFLAGS) -o weighttp $^
install: weighttp
mkdir -p $(DESTDIR)/usr/bin
cp weighttp $(DESTDIR)/usr/bin/
clean:
rm -f weighttp $(OBJECTS)
.PHONY: all install clean

17
debian/changelog vendored Normal file
View File

@ -0,0 +1,17 @@
weighttp (0.2-2) unstable; urgency=low
* Use old debhelper for backports
-- Stefan Bühler <source@stbuehler.de> Sun, 24 Oct 2010 18:49:44 +0000
weighttp (0.2-1) unstable; urgency=low
* Initial release
-- Stefan Bühler <source@stbuehler.de> Mon, 23 Aug 2010 12:58:47 +0000
weighttp (0.2-0) unstable; urgency=low
* Initial release
-- Stefan Bühler <source@stbuehler.de> Mon, 23 Aug 2010 12:58:46 +0000

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
5

26
debian/control vendored Normal file
View File

@ -0,0 +1,26 @@
Source: weighttp
Section: net
Priority: extra
Maintainer: Stefan Bühler <source@stbuehler.de>
Build-Depends: debhelper (>= 5), libev-dev, cdbs
Standards-Version: 3.9.1
Homepage: http://weighttp.lighttpd.net/
Vcs-Git: git://git.lighttpd.net/weighttp
Vcs-Browser: http://cgit.lighttpd.net/weighttp/
Package: weighttp
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: lightweight and simple webserver benchmarking tool
weighttp was designed to be very fast and easy to use and only supports a
tiny fraction of the HTTP protocol in order to be lean and simple.
.
weighttp supports multithreading to make good use of modern CPUs with
multiple cores as well as asynchronous i/o for concurrent requests
within a single thread.
.
For event handling, weighty relies on libev which fits the design perfectly,
being lightweight and fast itself.
.
Thanks to that, weighty supports all modern high-performance event
interfaces like epoll or kqueue, that the major OSs provide.

44
debian/copyright vendored Normal file
View File

@ -0,0 +1,44 @@
This work was packaged for Debian by:
Stefan Bühler <source@stbuehler.de> on Mon, 23 Aug 2010 12:58:46 +0000
It was downloaded from:
http://weighttp.lighttpd.net/
Upstream Author(s):
Thomas Porzelt <tp@cryosphere.de>
Copyright:
Copyright (c) 2009 Thomas Porzelt
License:
The MIT License
Copyright (c) 2009 Thomas Porzelt
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
The Debian packaging is:
Copyright (C) 2010 Stefan Bühler <source@stbuehler.de>

2
debian/docs vendored Normal file
View File

@ -0,0 +1,2 @@
README
TODO

11
debian/rules vendored Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/make -f
DEB_MAKE_INSTALL_TARGET=install
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/weighttpd
DEB_MAKE_CHECK_TARGET :=
# Add here any variable or target overrides you need.

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
1.0