Commit graph

35 commits

Author SHA1 Message Date
joerg
e031855e4a Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:00:14 +00:00
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
joerg
a8a3c01339 Explicitly add pax dependency in those Makefiles that use it (or have
patches to add it). Drop pax from the default USE_TOOLS list.
Make bsdtar the default for those places that wanted gtar to extract
long links etc, as bsdtar can be built of the tree.
2008-05-25 21:42:20 +00:00
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
obache
2ea98af72b * Fixed EGDIR, installation of sample config files works again.
* Using VARBASE.
* This package does not have share/doc/screws/examples.

Bump PKGREVISION.
2007-12-31 07:05:00 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
joerg
4b687ad0ab Don't set FILESDIR, but specify the directory for the RC script
directly. This avoids a file without CVS ID in +BUILD_VERSION.
2007-07-02 09:44:39 +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
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