summaryrefslogtreecommitdiff
path: root/www/mod_trigger
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-04-10 23:00:31 +0000
committerWill Andrews <will@FreeBSD.org>2001-04-10 23:00:31 +0000
commit09a93df3c06f9321392e2141b42935972c51b7fd (patch)
tree9dda2f07aa216aebbff0cb1fe5e2a7b89591d81f /www/mod_trigger
parentAdd mod_tsunami 1.0, an Apache module which dynamically limits a (diff)
Add mod_trigger 1.0, an Apache module to launch triggers if certain
actions occur.
Notes
Notes: svn path=/head/; revision=41249
Diffstat (limited to 'www/mod_trigger')
-rw-r--r--www/mod_trigger/Makefile26
-rw-r--r--www/mod_trigger/distinfo1
-rw-r--r--www/mod_trigger/pkg-comment1
-rw-r--r--www/mod_trigger/pkg-descr12
-rw-r--r--www/mod_trigger/pkg-plist3
5 files changed, 43 insertions, 0 deletions
diff --git a/www/mod_trigger/Makefile b/www/mod_trigger/Makefile
new file mode 100644
index 000000000000..a3d266ac5773
--- /dev/null
+++ b/www/mod_trigger/Makefile
@@ -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>
diff --git a/www/mod_trigger/distinfo b/www/mod_trigger/distinfo
new file mode 100644
index 000000000000..11984fdecd39
--- /dev/null
+++ b/www/mod_trigger/distinfo
@@ -0,0 +1 @@
+MD5 (mod_trigger-1.0.tar.gz) = 555b795820c00308b3ae68263d739534
diff --git a/www/mod_trigger/pkg-comment b/www/mod_trigger/pkg-comment
new file mode 100644
index 000000000000..88b155b1bb24
--- /dev/null
+++ b/www/mod_trigger/pkg-comment
@@ -0,0 +1 @@
+Apache module to launch triggers if certain actions occur
diff --git a/www/mod_trigger/pkg-descr b/www/mod_trigger/pkg-descr
new file mode 100644
index 000000000000..5fda17f4d9a9
--- /dev/null
+++ b/www/mod_trigger/pkg-descr
@@ -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/
diff --git a/www/mod_trigger/pkg-plist b/www/mod_trigger/pkg-plist
new file mode 100644
index 000000000000..c522592abe25
--- /dev/null
+++ b/www/mod_trigger/pkg-plist
@@ -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