[Pkg-haskell-commits] darcs: mighttpd2: Initial Check-In
Clint Adams
clint at debian.org
Sat Feb 4 02:34:30 UTC 2012
Sat Feb 4 02:34:05 UTC 2012 Clint Adams <clint at debian.org>
* Initial Check-In
Ignore-this: 8aa38a46aecea5aac01fe7e08549b060
A ./changelog
A ./control
A ./copyright
A ./rules
A ./source/
A ./source/format
A ./watch
Sat Feb 4 02:34:05 UTC 2012 Clint Adams <clint at debian.org>
* Initial Check-In
Ignore-this: 8aa38a46aecea5aac01fe7e08549b060
diff -rN -u old-mighttpd2//changelog new-mighttpd2//changelog
--- old-mighttpd2//changelog 1970-01-01 00:00:00.000000000 +0000
+++ new-mighttpd2//changelog 2012-02-04 02:34:30.251248216 +0000
@@ -0,0 +1,5 @@
+mighttpd2 (2.5.0-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Clint Adams <clint at debian.org> Wed, 04 Jan 2012 20:31:16 -0500
diff -rN -u old-mighttpd2//control new-mighttpd2//control
--- old-mighttpd2//control 1970-01-01 00:00:00.000000000 +0000
+++ new-mighttpd2//control 2012-02-04 02:34:30.251248216 +0000
@@ -0,0 +1,39 @@
+Source: mighttpd2
+Section: haskell
+Priority: extra
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Clint Adams <clint at debian.org>
+Build-Depends: ghc
+ , ghc-prof
+ , libghc-deepseq-dev
+ , libghc-hashmap-dev
+ , libghc-http-conduit-dev
+ , libghc-http-date-dev
+ , libghc-http-types-dev
+ , libghc-network-dev
+ , libghc-parsec3-dev
+ , libghc-transformers-dev
+ , libghc-unix-bytestring-dev
+ , libghc-wai-dev
+ , libghc-wai-app-file-cgi-dev
+ , libghc-wai-logger-prefork-dev
+ , libghc-warp-dev
+Standards-Version: 3.9.2
+Homepage: http://hackage.haskell.org/package/mighttpd2
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/mighttpd2
+Vcs-Darcs: http://darcs.debian.org/pkg-haskell/mighttpd2
+
+Package: mighttpd2
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: classical web server on WAI/warp
+ This package provides a library for the Haskell programming language.
+ See http://www.haskell.org/ for more information on Haskell.
+ .
+ Mighttpd2 (pronounced as "mighty") is a simple but practical HTTP server
+ written in Haskell. It handles static files and CGI scripts. It also
+ provides reverse proxy functionality.
+ .
+ Mighttpd2 is now implemented as a WAI application using the high-performance
+ HTTP engine, "warp". To httperf Ping-Pong benchmark, Mighttpd2 is faster than
+ nginx.
diff -rN -u old-mighttpd2//copyright new-mighttpd2//copyright
--- old-mighttpd2//copyright 1970-01-01 00:00:00.000000000 +0000
+++ new-mighttpd2//copyright 2012-02-04 02:34:30.251248216 +0000
@@ -0,0 +1,42 @@
+This package was debianized by Clint Adams <clint at debian.org> on
+Fri, 03 Jun 2011 14:21:06 -0000
+
+It was downloaded from
+http://hackage.haskell.org/package/mighttpd2
+
+Upstream Author:
+
+ Kazu Yamamoto <kazu at iij.ad.jp>
+
+Copyright:
+
+ 2011 IIJ Innovation Institute Inc.
+
+License:
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * 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.
+ * Neither the name of the copyright holders nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 THE
+COPYRIGHT OWNER 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.
diff -rN -u old-mighttpd2//rules new-mighttpd2//rules
--- old-mighttpd2//rules 1970-01-01 00:00:00.000000000 +0000
+++ new-mighttpd2//rules 2012-02-04 02:34:30.251248216 +0000
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+
+INSTALL = install
+INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644
+INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755
+INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755
+INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755
+
+package=mighttpd2
+
+clean: checkroot
+# debian/$(package).setup clean
+ rm -f debian/$(package).setup *.o *.hi
+ rm -f build-arch stamp-configure debian/files debian/substvars
+ rm -rf dist
+ rm -rf debian/$(package)
+
+debian/$(package).setup:
+ ghc Setup.hs -o $@
+
+build: build-arch build-indep
+build-indep:
+
+build-arch: stamp-configure
+ $(checkdir)
+
+ debian/$(package).setup build
+
+ touch build-arch
+
+stamp-configure: debian/$(package).setup
+ $(checkdir)
+
+ debian/$(package).setup configure --prefix=/usr
+
+ touch stamp-configure
+
+binary: binary-arch
+
+binary-indep: checkroot build
+
+binary-arch: checkroot build
+ $(checkdir)
+
+ debian/$(package).setup copy --destdir=$(CURDIR)/debian/$(package)
+ rm -rf debian/$(package)/usr/share/doc/$(package)-*
+ cd debian/$(package) && $(INSTALL_DIR) \
+ usr/bin \
+ usr/lib/$(package) \
+ usr/share/doc/$(package) \
+ DEBIAN
+ mv debian/$(package)/usr/share/$(package)-* debian/$(package)/usr/share/$(package)
+ mv debian/$(package)/usr/bin/mkindex debian/$(package)/usr/lib/$(package)/
+
+ $(INSTALL_FILE) debian/copyright debian/$(package)/usr/share/doc/$(package)/copyright
+
+ $(INSTALL_FILE) debian/changelog debian/$(package)/usr/share/doc/$(package)/changelog.Debian
+ gzip -9f debian/$(package)/usr/share/doc/$(package)/changelog.Debian
+
+ dpkg-shlibdeps -Tdebian/substvars -dDepends debian/$(package)/usr/bin/*
+ dpkg-gencontrol -ldebian/changelog -isp -p$(package) -Tdebian/substvars -Pdebian/$(package)
+
+ cd debian/$(package) && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums
+
+ chown -R root:root debian/$(package)
+ chmod -R go=rX debian/$(package)
+
+ dpkg --build debian/$(package) ..
+
+define checkdir
+ test -f debian/rules
+endef
+
+checkroot:
+ $(checkdir)
+ test root = "`whoami`"
+
+.PHONY: build build-indep binary binary-arch binary-indep clean checkroot
diff -rN -u old-mighttpd2//source/format new-mighttpd2//source/format
--- old-mighttpd2//source/format 1970-01-01 00:00:00.000000000 +0000
+++ new-mighttpd2//source/format 2012-02-04 02:34:30.255251759 +0000
@@ -0,0 +1 @@
+3.0 (quilt)
diff -rN -u old-mighttpd2//watch new-mighttpd2//watch
--- old-mighttpd2//watch 1970-01-01 00:00:00.000000000 +0000
+++ new-mighttpd2//watch 2012-02-04 02:34:30.255251759 +0000
@@ -0,0 +1,5 @@
+version=3
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\
+filenamemangle=s|(.*)/$|mighttpd2-$1.tar.gz|" \
+ http://hackage.haskell.org/packages/archive/mighttpd2 \
+ ([\d\.]*\d)/
More information about the Pkg-haskell-commits
mailing list