--- libcgi-1.0.orig/debian/changelog +++ libcgi-1.0/debian/changelog @@ -0,0 +1,45 @@ +libcgi (1.0-5) unstable; urgency=low + + * removed man page 'todo.3.gz', it was useless anyway + (closes: #274776) + * moved include files from /usr/include to /usr/include/libcgi/ + (closes: #274796) + + -- Oliver Kurth Sun, 17 Oct 2004 15:11:11 -0700 + +libcgi (1.0-4) unstable; urgency=low + + * fixed a typo bug in hex encoding code, thanks to Ralph Giles + (closes: #271042) + + -- Oliver Kurth Mon, 13 Sep 2004 13:44:55 -0700 + +libcgi (1.0-3) unstable; urgency=low + + * changed section for -dev to libdevel (from devel) + * made GPL-2 more clear in debian/copyright + * upstream got patch wrong in string.c (va_copy) + + -- Oliver Kurth Tue, 03 Feb 2004 22:18:28 +0100 + +libcgi (1.0-2) unstable; urgency=low + + * use -fPIC for shared version, no -fPIC for static version + (closes: #230953) + * use -D_REENTRANT, after reading the policy manual (10.2) + + -- Oliver Kurth Tue, 03 Feb 2004 22:18:28 +0100 + +libcgi (1.0-1) unstable; urgency=low + + * new upstream. + * first version for Debian. (Closes: #226862) + + -- Oliver Kurth Thu, 08 Jan 2004 14:57:46 +0100 + +libcgi (0.8.2-1) unstable; urgency=low + + * Initial Release. + + -- Oliver Kurth Thu, 30 Oct 2003 21:23:19 +0100 + --- libcgi-1.0.orig/debian/compat +++ libcgi-1.0/debian/compat @@ -0,0 +1 @@ +4 --- libcgi-1.0.orig/debian/control +++ libcgi-1.0/debian/control @@ -0,0 +1,43 @@ +Source: libcgi +Priority: optional +Section: libs +Maintainer: Oliver Kurth +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.6.1 + +Package: libcgi-dev +Section: libdevel +Architecture: any +Depends: libcgi0 (= ${Source-Version}) +Suggests: libcgi-doc +Description: library for CGI programs in C + libcgi is a library for CGI programs written in C. It includes a lot + of functions like string manipulation, session and cookie support, GET + and POST methods manipulation etc. to help you to quickly write + powerful CGI programs. + . + This package contains the header files and the static + version of the library. + +Package: libcgi0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: library for CGI programs in C + libcgi is a library for CGI programs written in C. It includes a lot + of functions like string manipulation, session and cookie support, GET + and POST methods manipulation etc. to help you to quickly write + powerful CGI programs. + +Package: libcgi-doc +Section: doc +Architecture: all +Depends: lynx | www-browser +Description: documentation for libcgi in html + libcgi is a library for CGI programs written in C. It includes a lot + of functions like string manipulation, session and cookie support, GET + and POST methods manipulation etc. to help you to quickly write + powerful CGI programs. + . + This package contains the doc in html format and examples + in C source format in /usr/share/doc/libcgi-doc/. --- libcgi-1.0.orig/debian/copyright +++ libcgi-1.0/debian/copyright @@ -0,0 +1,17 @@ +This package was debianized by Oliver Kurth on +Thu, 30 Oct 2003 21:23:19 +0100. + +It was downloaded from http://libcgi.sourceforge.net/ + +Upstream Author: Rafael Steil + +Copyright: + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + On Debian systems, the complete text of the GNU General Public 2 + License can be found in /usr/share/common-licenses/GPL-2 file. + --- libcgi-1.0.orig/debian/dirs +++ libcgi-1.0/debian/dirs @@ -0,0 +1,3 @@ +usr/lib +usr/include/libcgi + --- libcgi-1.0.orig/debian/docs +++ libcgi-1.0/debian/docs @@ -0,0 +1,3 @@ +BUGS +README +TODO --- libcgi-1.0.orig/debian/libcgi0.dirs +++ libcgi-1.0/debian/libcgi0.dirs @@ -0,0 +1 @@ +usr/lib --- libcgi-1.0.orig/debian/libcgi0.install +++ libcgi-1.0/debian/libcgi0.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libcgi-1.0.orig/debian/libcgi-dev.dirs +++ libcgi-1.0/debian/libcgi-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- libcgi-1.0.orig/debian/libcgi-dev.install +++ libcgi-1.0/debian/libcgi-dev.install @@ -0,0 +1,5 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* +usr/lib/*.la --- libcgi-1.0.orig/debian/rules +++ libcgi-1.0/debian/rules @@ -0,0 +1,119 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# 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 +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +# shared library versions, option 1 +version=0.0.1 +major=0 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: configure + dh_testdir + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man + + +build: build-stamp +build-stamp: config.status + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -f config.status + rm -f config.log config.cache + find examples -name Makefile.am -exec rm {} \; + + -$(MAKE) clean +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 + mkdir -p debian/tmp/{usr/lib,usr/include} + + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp/ install + (cd debian/tmp/usr/lib; \ + mv libcgi.so libcgi.so.0.0.0;\ + ln -s libcgi.so.0.0.0 libcgi.so.0;\ + ln -s libcgi.so.0.0.0 libcgi.so) + + +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i ChangeLog + dh_installdocs -i -plibcgi-doc doc/html/ + dh_installexamples -i -plibcgi-doc examples/* + dh_link -i + dh_strip -i + dh_compress -i + dh_fixperms -i + dh_makeshlibs -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a ChangeLog + dh_installdocs -a + dh_install -a --sourcedir=debian/tmp + dh_installman -a -plibcgi-dev doc/man/man3/* + rm -f $(CURDIR)/debian/libcgi-dev/usr/share/man/man3/todo* + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install