aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_trigger
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-11 07:00:31 +0800
committerwill <will@FreeBSD.org>2001-04-11 07:00:31 +0800
commite9ffe6252e63713103c37888917f5feb0679833f (patch)
tree52ef31a555b3f2027729e476280e8595698eeea8 /www/mod_trigger
parentab4963acabc5dec976c5e14053157e291802f023 (diff)
downloadfreebsd-ports-gnome-e9ffe6252e63713103c37888917f5feb0679833f.tar.gz
freebsd-ports-gnome-e9ffe6252e63713103c37888917f5feb0679833f.tar.zst
freebsd-ports-gnome-e9ffe6252e63713103c37888917f5feb0679833f.zip
Add mod_trigger 1.0, an Apache module to launch triggers if certain
actions occur.
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