debianize

This commit is contained in:
Stefan Bühler 2013-10-03 14:00:02 +02:00
parent 8a505b3173
commit 76a40bce29
7 changed files with 99 additions and 0 deletions

11
debian/changelog vendored Normal file
View File

@ -0,0 +1,11 @@
scgi-cgi (0.1.0-1) unstable; urgency=low
* Initial release
-- Stefan Bühler <source@stbuehler.de> Thu, 03 Oct 2013 13:33:47 +0200
scgi-cgi (0.1.0-0) unstable; urgency=low
* Initial release
-- Stefan Bühler <source@stbuehler.de> Thu, 03 Oct 2013 13:33:46 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

31
debian/control vendored Normal file
View File

@ -0,0 +1,31 @@
Source: scgi-cgi
Section: web
Priority: extra
Maintainer: Stefan Bühler <stbuehler@web.de>
Build-Depends: debhelper (>= 7), cmake, libevent-dev (>= 2.0), pkg-config, cdbs
Standards-Version: 3.9.4
Homepage: http://redmine.lighttpd.net/projects/scgi-cgi
Package: scgi-cgi
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: SCGI application to run cgi applications
SCGI application to run normal cgi applications; this allows one to run
cgi applications with different user permissions than the webserver
without using suExec wrappers.
And the webserver doesn't need to fork, and it may be easier to get
the webserver running in a chroot.
Package: scgi-cgi-dbg
Architecture: any
Section: debug
Priority: extra
Depends: scgi-cgi (=${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: SCGI application to run cgi applications
SCGI application to run normal cgi applications; this allows one to run
cgi applications with different user permissions than the webserver
without using suExec wrappers.
And the webserver doesn't need to fork, and it may be easier to get
the webserver running in a chroot.
.
This package contains the debug symbols.

43
debian/copyright vendored Normal file
View File

@ -0,0 +1,43 @@
This package was debianized by Stefan Bühler <source@stbuehler.de> on
Thu, 03 Oct 2013 13:32:58 +0200.
It was downloaded from http://redmine.lighttpd.net/projects/scgi-cgi
Upstream Author:
Stefan Bühler <stbuehler@web.de>
Copyright:
<Copyright (C) 2013 Stefan Bühler>
License:
The MIT License
Copyright (c) 2013 Stefan Bühler
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) 2013 Stefan Bühler <source@stbuehler.de>
and is licensed under the GPL version 3,
see `/usr/share/common-licenses/GPL-3'.

10
debian/rules vendored Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
DEB_CMAKE_EXTRA_FLAGS=-DCMAKE_BUILD_TYPE="RelWithDebInfo"
DEB_CMAKE_EXTRA_FLAGS+=-DCMAKE_SHARED_LINKER_FLAGS="$(LDFLAGS)" -DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)"

2
debian/scgi-cgi.install vendored Normal file
View File

@ -0,0 +1,2 @@
debian/tmp/usr/bin/scgi-cgi /usr/bin/
debian/tmp/usr/share/man/man1/scgi-cgi.1 /usr/share/man/man1/

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)