Browse Source

Sebastian Knapp:


			
			
				rocklinux
			
			
		
Sebastian Knapp 20 years ago
parent
commit
a7f21d23a2
4 changed files with 155 additions and 0 deletions
  1. +59
    -0
      package/silicit/cgilib/cgilib.conf
  2. +48
    -0
      package/silicit/cgilib/cgilib.desc
  3. +38
    -0
      package/silicit/cgilib/cgitest-compile.patch.cgilib
  4. +10
    -0
      package/silicit/cgilib/uplbuild.patch.cgiupl

+ 59
- 0
package/silicit/cgilib/cgilib.conf

@ -0,0 +1,59 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/silicit/cgilib/cgilib.conf
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
createdocs=0
custmain='make all; install_cgilib'
install_cgilib () {
# install header
install -m 644 *.h $includedir
# install library
install -m 644 *.a $libdir
if [ "${xsrctar/-[0-9]*/}" = "cgilib" ] ; then
# install manpages
for l in 3 5 ; do
for m in *.$l ; do
install -m 644 $m $mandir/man$l
done
done
mkdir -p $docdir
install -m 644 CHANGES $docdir
install -m 644 CREDITS $docdir
install -m 644 readme $docdir
mkdir -p $docdir/examples
install -m 644 cgitest.c $docdir/examples
install -m 644 jumpto.c $docdir/examples
fi
if [ "${xsrctar/-[0-9]*/}" = "cgiupl" ] ; then
mkdir -p $docdir/cgiupl
install -m 644 README $docdir/cgiupl
install -m 644 COPYING $docdir/cgiupl
install -m 644 cgiupl.lsm $docdir/cgiupl
install -m 644 uplmain.c $docdir/examples
fi
}

+ 48
- 0
package/silicit/cgilib/cgilib.desc

@ -0,0 +1,48 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/silicit/cgilib/cgilib.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] simple CGI C library, including cookies
[T] Small library for writing CGI applications. There are functions to read
[T] data from GET and POST requests. Support for various headers and
[T] cookies is also included.
[T] Basic multiform-data and file upload is provided by a small additional
[T] library.
[U] http://www.infodrom.org/projects/cgilib
[A] Martin Schulze <joey@infodrom.north.de>
[A] Mikko Torni <mtorni@mail.freenet.hut.fi>
[M] Sebastian Knapp <rock@ccls-online.de>
[C] extra/development
[L] GPL
[S] Stable
[V] 0.5
[P] X -----5---9 124.900
[D] 2593391679 cgilib-0.5.tar.gz http://www.infodrom.org/projects/cgilib/download/
[D] 2276230646 cgiupl-0.1.tar.gz http://www.infodrom.org/projects/cgilib/download/
[SRC] cgilib-0.5 cgiupl-0.1

+ 38
- 0
package/silicit/cgilib/cgitest-compile.patch.cgilib

@ -0,0 +1,38 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/silicit/cgilib/cgitest-compile.patch
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- cgilib-0.5/cgitest.c.old 2005-04-26 12:25:34.000000000 +0200
+++ cgilib-0.5/cgitest.c 2005-04-26 12:31:16.000000000 +0200
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <cgi.h>
s_cgi *cgi;
@@ -113,7 +114,7 @@
cgiHeader();
printf ("<html>\n<head><title>cgilib</title></title>\n\n<body bgcolor=\"#ffffff\">\n");
printf ("<h1><a href=\"%s\">cgilib</a></h1>\n", URL);
- printf ("<h3>Cookie "Library" set</h3>\n");
+ printf ("<h3>Cookie \"Library\" set</h3>\n");
printf ("<p><br><p><br><a href=\"/cgi-bin/cgitest\">Test</a><p>\n");
printf ("<p><br><p><br><a href=\"/cgi-bin/cgitest/redirect\">Redirect</a><p>\n");
printf ("<p><br><p><br><a href=\"/cgi-bin/cgitest/listall\">List Everything</a><p>\n");

+ 10
- 0
package/silicit/cgilib/uplbuild.patch.cgiupl

@ -0,0 +1,10 @@
--- libcgiupl-0.1/cgiupl.c.old 1998-05-12 04:55:54.000000000 +0200
+++ libcgiupl-0.1/cgiupl.c 2005-04-26 15:23:12.000000000 +0200
@@ -31,6 +31,7 @@
#include <sys/stat.h>
#include <string.h>
#include <ctype.h>
+#include <errno.h>
#include <cgiupl.h>

Loading…
Cancel
Save