Commit graph

14 commits

Author SHA1 Message Date
dholland
89fb84fa74 Fix broken amd64 build:
- use -fPIC in all the needed places.
   - add USE_TOOLS+=gmake; this requires gmake to build properly.
   - add missing dir to PLIST.
Also fix some LP64 issues that warned but didn't break the build.

Note however that the SSL code will not work in an LP64 environment;
it relies heavily on being able to cast pointers to int without losing
information. The ssl option should probably be blacklisted on LP64
platforms.

PKGREVISION++.
2008-08-17 20:09:12 +00:00
rillig
c85bdc0f73 Fixed the installation, which I broke yesterday. This fixes PR 34981.
Fixed PKGMANDIR.
2006-11-03 21:29:45 +00:00
rillig
6c5f628af1 Fixed "test ==" as noticed in PR 34969. 2006-11-02 18:48:53 +00:00
wiz
9fedf787cd Adapt for lua-5.1.1. Bump PKGREVISION. 2006-08-14 22:36:12 +00:00
joerg
967317e98c Add DragonFly support. 2006-01-10 18:28:06 +00:00
kristerw
01158f7f04 Prevent paths to the build work directories being included in the package.
Bump PKGREVISION.
2005-06-19 20:12:05 +00:00
jmmv
9d8a2bd80e Update to 0.56, latest stable version. Also add some options to customize
the build.  Closes PR pkg/28646 by pancake@phreaker.net.

Changes:
- Solve ERROR_ vs LOG_ conflicts
- Add cache code into HSML (sepharad)
- Remove silly code in Date Format
- Hsml code fragmented into language modules: c, perl, brainfuck and python
  modules
2005-03-20 17:52:20 +00:00
jmmv
ce59546e0b Multiple fixes:
- Let the used user and group be customized through  SCREWS_USER and
  SCREW_GROUPS.
- Fix usage of PKG_USERS, which broke the build as seen in bulk build logs.
- Fix handling of configuration file (stale files could be left before in
  ${PREFIX}/etc).
- Honour VARBASE.
- Do not hardcode /usr/pkg in patches.
- Fix the "hsml" module so that it can find the lua library (missing rpaths).

Bump PKGREVISION to 3 due to all the previous changes.

Most of this brokenness was present since the package was first imported.
(Oh man, I hate packages reinventing the wheel when it comes to the build
infrastructure...  I'm sure it's still not clean enough.)
2005-03-20 17:27:31 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
kristerw
d81ab2e0c6 Ensure that the rpath is set for screwsd. Fixes build on NetBSD 1.6. 2004-11-22 00:09:46 +00:00
he
31472d38a4 Use "install -c" in Makefile so that the files remain in the source
tree for later use by the package's Makefile.
2004-09-16 18:45:09 +00:00
xtraeme
36e8bf1377 Update www/screws to 0.54.
Changes:

0.54 - *
     - Separated IO code from Accept
     - Add HSML comment tag: <?- -?>
     - Add launcher from cmdline (path|port) using HsmlExec module.
     - Allow stdin to read the configuration file (-c -)
     - Disable exectimeout by default to allow large file processing.
     - Disable keep-alive (not all scripts print Content-Length)
     - Solve IExplorer 'bug' that forces screws to segfault
     - Add initial support for Range-bytes in Headers and HsmlExec.
     - Drop nonblocking sockets, and use IOpoll/IOselect by default.
     - Solved longfiles buffering problems.
     - Solve XSS bug on HsmlExec
     - Initial screws_* API
     - Allow logs using syslog (LOG_ERR) and piped logs (|...)
     - Create macros for modules.
     - Add CleanLog module
     - Move hsml_lua_init into HsmlExec_init (3x faster)
     - Exterminate zombies using setsid()
     - Change bool env from TRUE/"" to 1/0
     - patch unicode bug that wraps the ARGV env.
     - Implement headers support for hsml and .x's
       (redirect, mimetype, 404...)
     - do not overwrite user config file
     - initial alloc drop process.

0.53 - 2004/05/10
     - Initial code for file uploading
     - Solve Dead children ripper bug.
     - Cleaner Makefiles
     - add portable getpath(Utils/whereis)
     - Add nonblocking sockets for child ripping.
     - Add multi-part support for fileuploading
     - Solve argument parsing bug.
     - Add some filechecks in HsmlExec.so
     - Add csharp support.
     - Patch an hsml parsing bug.
     - Hashbang support on hsml (to separate hsml1 and hsml2 code)
     - Solve http request bug.
     - Write all manpages.
2004-06-22 12:11:01 +00:00
kristerw
b1b599f690 Make this compile on gcc 2.95 by removing an unneccessary C99 construct. 2004-05-10 02:35:28 +00:00
xtraeme
1f362a5ae5 Initial import of screws-0.52, packaged for pkgsrc by the same author
"pancake" pancake at phreaker dot net.

Screws is an experimental web server with extensibility in mind. It's
designed in a little core that processes connections and petitions, setenv
the spected values and calls an external program or script that processes
this and shows what it wants. By this way it's possible to customize
every answer of the web server, and extend it as we want in a simple way.

Some features are:
 - UID/GID/CHROOT directives
 - Dynamic Module loading (security, optimization, extensions, etc..)
 - HSML (Embed scripts into HTML) Like PHP but using your prefered language.
 - Support for perl, sh, python, lua, brainfuck, Java...
 - Portable code: tested on Solaris, *BSD, GNU/Hurd, Darwin...
 - IPv4/IPv6 support
2004-04-23 16:09:20 +00:00