summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjtb <jtb>2002-05-04 00:53:51 +0000
committerjtb <jtb>2002-05-04 00:53:51 +0000
commit6da5940016813240af36327f8d56b6c496e27b7c (patch)
tree53dd895883ed72c7b5dd2aecf9744f6d4875a7ca
parentbfb54d71aab2c79dd5716bb04c0cdd3c64d28c77 (diff)
downloadpkgsrc-6da5940016813240af36327f8d56b6c496e27b7c.tar.gz
Initial import of qDecoder.
qDecoder is a library for CGI programming. Being a Web Application Interface for C/C++ use, qDecoder is a solution product for developers. The Query Fetch algorithm of qDecoder based on the linked-list provides transparency with low layers by the simple library interface regardless of COOKIE/GET/POST(including File Upload). Thus, it enables the web based software to be more intuitively designed and implemented. qDecoder is developed according to the free software model and is publicly distributed.
-rw-r--r--www/qDecoder/DESCR9
-rw-r--r--www/qDecoder/Makefile23
-rw-r--r--www/qDecoder/PLIST31
-rw-r--r--www/qDecoder/distinfo4
-rw-r--r--www/qDecoder/patches/patch-aa129
5 files changed, 196 insertions, 0 deletions
diff --git a/www/qDecoder/DESCR b/www/qDecoder/DESCR
new file mode 100644
index 00000000000..59509aafa63
--- /dev/null
+++ b/www/qDecoder/DESCR
@@ -0,0 +1,9 @@
+What's qDecoder?
+
+Being a Web Application Interface for C/C++ use, qDecoder is a solution
+product for developers. The Query Fetch algorithm of qDecoder based on the
+linked-list provides transparency with low layers by the simple library
+interface regardless of COOKIE/GET/POST(including File Upload). Thus, it
+enables the web based software to be more intuitively designed and
+implemented. qDecoder is developed according to the free software model and
+is publicly distributed.
diff --git a/www/qDecoder/Makefile b/www/qDecoder/Makefile
new file mode 100644
index 00000000000..72800050967
--- /dev/null
+++ b/www/qDecoder/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/04 00:53:51 jtb Exp $
+
+DISTNAME= qDecoder-7.0.1
+CATEGORIES= www
+MASTER_SITES= ftp://ftp.qDecoder.org/pub/qDecoder/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.qDecoder.org/
+COMMENT= Web Application Interface for C/C++ (CGI Library)
+
+GNU_CONFIGURE= YES
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/qDecoder
+ cd ${WRKSRC}; ${INSTALL_DATA} AUTHORS CHANGES COPYING \
+ DISCLAIMER README REFERENCE qDecoder.jpg \
+ ${PREFIX}/share/doc/qDecoder
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/qDecoder
+ cd ${WRKSRC}/examples; ${INSTALL_DATA} *.c *.conf s*.in \
+ *.html ${PREFIX}/share/examples/qDecoder
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/qDecoder/PLIST b/www/qDecoder/PLIST
new file mode 100644
index 00000000000..40ecb03eaea
--- /dev/null
+++ b/www/qDecoder/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/04 00:53:51 jtb Exp $
+include/qDecoder.h
+lib/libqDecoder.a
+lib/libqDecoder.so
+lib/libqDecoder.so.0
+lib/libqDecoder.so.0.0
+lib/libqDecoder_pic.a
+share/doc/qDecoder/AUTHORS
+share/doc/qDecoder/CHANGES
+share/doc/qDecoder/COPYING
+share/doc/qDecoder/DISCLAIMER
+share/doc/qDecoder/README
+share/doc/qDecoder/REFERENCE
+share/doc/qDecoder/qDecoder.jpg
+share/examples/qDecoder/arglist.c
+share/examples/qDecoder/confparser.c
+share/examples/qDecoder/confparser.conf
+share/examples/qDecoder/cookie.c
+share/examples/qDecoder/download.c
+share/examples/qDecoder/examples.html
+share/examples/qDecoder/fetch.c
+share/examples/qDecoder/multivalue.c
+share/examples/qDecoder/session.c
+share/examples/qDecoder/streamedit-header.html.in
+share/examples/qDecoder/streamedit-tailer.html.in
+share/examples/qDecoder/streamedit.c
+share/examples/qDecoder/streamedit.html
+share/examples/qDecoder/streamedit.html.in
+share/examples/qDecoder/upload.c
+@dirrm share/examples/qDecoder
+@dirrm share/doc/qDecoder
diff --git a/www/qDecoder/distinfo b/www/qDecoder/distinfo
new file mode 100644
index 00000000000..8b8ffb02521
--- /dev/null
+++ b/www/qDecoder/distinfo
@@ -0,0 +1,4 @@
+
+SHA1 (qDecoder-7.0.1.tar.Z) = a5c8f76e6a62405628f0b75a9e536b8ba4539f96
+Size (qDecoder-7.0.1.tar.Z) = 993825 bytes
+SHA1 (patch-aa) = ff345b6eddc1851de1a4cafe2032232bf168ba72
diff --git a/www/qDecoder/patches/patch-aa b/www/qDecoder/patches/patch-aa
new file mode 100644
index 00000000000..a28ee4b62f1
--- /dev/null
+++ b/www/qDecoder/patches/patch-aa
@@ -0,0 +1,129 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/04 00:53:51 jtb Exp $
+
+--- src/Makefile.in.orig Thu Sep 6 16:33:39 2001
++++ src/Makefile.in Thu Apr 25 09:06:29 2002
+@@ -37,87 +37,45 @@
+ # Name
+ PRGNAME = qDecoder
+
+-# Static Library Name
+-LIBNAME = lib${PRGNAME}.a
++# Library Name
++LIB = ${PRGNAME}
+
+-# Shared Library Name
+-SLIBVERSION = 2
+-SLIBNAME = lib${PRGNAME}.so
+-SLIBREALNAME = ${SLIBNAME}.${SLIBVERSION}
++# Shared Library Version
++SHLIB_MAJOR = 0
++SHLIB_MINOR = 0
+
+ # System library directory
+ LIBDIR = @libdir@
+-HEADERDIR = @includedir@
+
+-# Which compiler & options for release
+-CC = @CC@
+-CFLAGS = @CFLAGS@
+-DEFS = @DEFS@
+-INCLUDE = -I.
+-
+-# Utilities
+-AR = @AR@
+-ARFLAGS = -rc
+-CHMOD = @CHMOD@
+-INSTALL = @INSTALL@ -m 444
+-LD = @LD@
+-LDFLAGS = -G
+-LN_S = @LN_S@
+-RANLIB = @RANLIB@
+-RM = @RM@
+-
+-
+-# Objects List
+-OBJ = qDecoder.o \
+- qSession.o \
+- qfDecoder.o \
+- qsDecoder.o \
+- qHttpHeader.o \
+- qError.o \
+- qEnv.o \
+- qEncode.o \
+- qString.o \
+- qFile.o \
+- qValid.o \
+- qArg.o \
+- qAwk.o \
+- qSed.o \
+- qCount.o \
+- qDownload.o \
+- qTime.o \
+- qMisc.o \
+- qInternalCommon.o \
+- qInternalEntry.o \
+- md5/md5c.o
+-
+-## Make Library
+-all: ${OBJ}
+- ${AR} ${ARFLAGS} ${LIBNAME} ${OBJ}
+- ${RANLIB} ${LIBNAME}
+- ${LD} ${LDFLAGS} -o ${SLIBREALNAME} ${OBJ}
+- ${CHMOD} 0644 ${SLIBREALNAME}
+- ${RM} -f ${SLIBNAME}
+- ${LN_S} ${SLIBREALNAME} ${SLIBNAME}
+-
+-## Compile Module
+-.c.o:
+- ${CC} ${CFLAGS} ${DEFS} ${INCLUDE} -c -o $@ $<
+-
+-## Install Module
+-install: all
+- ${INSTALL} qDecoder.h ${HEADERDIR}/qDecoder.h
+- ${INSTALL} ${LIBNAME} ${LIBDIR}/${LIBNAME}
+- ${INSTALL} ${SLIBREALNAME} ${LIBDIR}/${SLIBREALNAME}
+- ${RM} -f ${LIBDIR}/${SLIBNAME}
+- ${LN_S} ${LIBDIR}/${SLIBREALNAME} ${LIBDIR}/${SLIBNAME}
+-
+-uninstall: deinstall
+-deinstall:
+- ${RM} -f ${HEADERDIR}/qDecoder.h
+- ${RM} -f ${LIBDIR}/${LIBNAME}
+- ${RM} -f ${LIBDIR}/${SLIBREALNAME}
+- ${RM} -f ${LIBDIR}/${SLIBNAME}
+-
+-## Clear Module
+-clean:
+- ${RM} -f ${OBJ} ${LIBNAME} ${SLIBREALNAME} ${SLIBNAME}
++CPPFLAGS += @DEFS@ -I.
++
++NOLINT = 1
++NOPROFILE = 1
++
++# Sources List
++SRCS = qDecoder.c \
++ qSession.c \
++ qfDecoder.c \
++ qsDecoder.c \
++ qHttpHeader.c \
++ qError.c \
++ qEnv.c \
++ qEncode.c \
++ qString.c \
++ qFile.c \
++ qValid.c \
++ qArg.c \
++ qAwk.c \
++ qSed.c \
++ qCount.c \
++ qDownload.c \
++ qTime.c \
++ qMisc.c \
++ qInternalCommon.c \
++ qInternalEntry.c \
++ md5/md5c.c
++
++afterinstall:
++ ${BSD_INSTALL_DATA} qDecoder.h ${PREFIX}/include
++
++.include <bsd.lib.mk>