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.
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
- 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.)
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).
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.
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.
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.
"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