BSD Ports

www/cgic 2.06 NetBSD

Thomas Boutell's ANSI C library for CGI Programming

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
e282cfb26b
Categories
www
Package size
53.1 KiB, 257.1 KiB installed

Description

This is the code written to accompany Thomas Boutell's book "CGI Programming in C & Perl". It provides a library of routines for use in CGI programming, and unlike cgilib-0.5, this library handles the "multipart/form-data" encoding required to use the FILE input control type as defined in the HTML specification.

NOTE: It should be aware that there were a few developer visible changes made from Thomas Boutell's original distribution when integrating it with the NetBSD packages environment. They are:

  1. Instead of being yet another source file which is used in building the application, the package have been converted totally into a library format. This library is linked using "-lcgic".
  2. As a result of the first item, the developer no longer writes their entry point under the function name of cgiMain(). Instead, the user will provide their own main(), and will need to call cgiInit() before any other cgic function is called.

Install

Binary package:

pkgin install cgic

From pkgsrc:

cd /usr/pkgsrc/www/cgic && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.06
NetBSD 10.1 aarch642.06
SmartOS / illumos x86_642.06
macOS 15 arm642.06

Dependencies

Required by 1

Commit history 1

DateCommitCreditsLog message
e282cfb26b wiz *: add LDFLAGS overide that was previously in mk
This is a workaround and should be fixed properly per-package - they should use the pkgsrc LDFLAGS, but this restores what happened before the mk/ cleanup. Fixes relro build for packages that do not honor LDFLAGS. Package list provided by mef@, thanks! Workaround commit requested by bsiegert on tech-pkg.