Add mod_trigger 1.0, an Apache module to launch triggers if certain
actions occur.
This commit is contained in:
parent
efe0058d56
commit
09a93df3c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41249
@ -135,6 +135,7 @@
|
||||
SUBDIR += mod_snake
|
||||
SUBDIR += mod_throttle
|
||||
SUBDIR += mod_ticket
|
||||
SUBDIR += mod_trigger
|
||||
SUBDIR += mod_tsunami
|
||||
SUBDIR += mod_zap
|
||||
SUBDIR += momspider
|
||||
|
26
www/mod_trigger/Makefile
Normal file
26
www/mod_trigger/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# New ports collection makefile for: mod_trigger
|
||||
# Date created: 10 April 2001
|
||||
# Whom: will
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mod_trigger
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.tangent.org/mod_trigger/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
|
||||
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
|
||||
|
||||
APXS?= ${LOCALBASE}/sbin/apxs
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
|
||||
|
||||
do-install:
|
||||
${APXS} -i -A -n ${PORTNAME:S/_//g} ${WRKSRC}/${PORTNAME}.so
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/mod_trigger/distinfo
Normal file
1
www/mod_trigger/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (mod_trigger-1.0.tar.gz) = 555b795820c00308b3ae68263d739534
|
1
www/mod_trigger/pkg-comment
Normal file
1
www/mod_trigger/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Apache module to launch triggers if certain actions occur
|
12
www/mod_trigger/pkg-descr
Normal file
12
www/mod_trigger/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
||||
mod_trigger gives you hooks into each Apache request to launch
|
||||
triggers if certain actions occur. You specify the actions
|
||||
through directives that mod_trigger adds to the Web server.
|
||||
This allows you to, for example, have a script email you when
|
||||
someone is visiting a certain page, let you know when someone
|
||||
from a certain domain is looking through your Web site, etc.
|
||||
This will allow you to fire off scripts/CGI/servlets when
|
||||
these and a few other dozen) events occur. No modifications
|
||||
are required to the content of your site and users of your
|
||||
server never need to know that a trigger has been put in place.
|
||||
|
||||
WWW: http://tangent.org/mod_trigger/
|
3
www/mod_trigger/pkg-plist
Normal file
3
www/mod_trigger/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
libexec/apache/mod_trigger.so
|
||||
@exec %D/sbin/apxs -e -A -n trigger %D/%F
|
||||
@unexec %D/sbin/apxs -e -A -n trigger %D/%F
|
Loading…
Reference in New Issue
Block a user