Commit graph

28 commits

Author SHA1 Message Date
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
rillig
6de7d866ee Disable CHECK_INTERPRETER for *.hsml files, since they are not intended
to be executed directly.
2006-06-25 09:40:01 +00:00
rillig
9fc2d7d281 Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-22 09:22:05 +00:00
joerg
967317e98c Add DragonFly support. 2006-01-10 18:28:06 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jlam
daa2b1ac9b Bump the PKGREVISION of packages that linked against the lua shared
library after lang/lua was libtoolized in lua-5.0.2nb4.
2005-09-04 05:00:36 +00:00
jlam
83147ffa68 Remove some unnecessarily strong dependencies on perl that resulted
from including perl5/buildlink3.mk.  These packages just need the Perl
interpreter, and can just add "perl" to USE_TOOLS instead.
2005-07-16 19:10:37 +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
salo
b0aa0d4647 "inet6" option support is determined in bsd.prefs.mk, don't add it to
PKG_SUGGESTED_OPTIONS.
2005-06-19 01:46:35 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
7f0d7bb473 Fix typo in COMMENT. 2005-03-21 11:35:39 +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
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +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
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +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
erh
c7a3c6fbc8 Make sure to remove the share/doc/screws/examples directory. 2004-07-08 23:14:59 +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
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +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