Import mod_traf_thief 0.01.
This simple module allows you to redirect a percentage of the traffic to your URL. PR: 57664 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
This commit is contained in:
parent
eca01a135b
commit
6c910b5844
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91438
@ -251,6 +251,7 @@
|
||||
SUBDIR += mod_throttle
|
||||
SUBDIR += mod_ticket
|
||||
SUBDIR += mod_tidy
|
||||
SUBDIR += mod_traf_thief
|
||||
SUBDIR += mod_trigger
|
||||
SUBDIR += mod_tsunami
|
||||
SUBDIR += mod_v2h
|
||||
|
35
www/mod_traf_thief/Makefile
Normal file
35
www/mod_traf_thief/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# New ports collection makefile for: mod_traf_thief
|
||||
# Date created: Sun Oct 5
|
||||
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mod_traf_thief
|
||||
PORTVERSION= 0.01
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://sheepkiller.nerim.net/ports/${PORTNAME}/
|
||||
EXTRACT_SUFX= .c
|
||||
# Original location: http://web.god.net.ru/projects/mod_traf_thief/dist/
|
||||
DIST_SUBDIR= apache
|
||||
|
||||
MAINTAINER= sheepkiller@cultdeadsheep.org
|
||||
COMMENT= Allows you to redirect part of the traffic to your url
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
NO_WRKSUBDIR= YES
|
||||
APXS?= ${LOCALBASE}/sbin/apxs
|
||||
|
||||
do-extract:
|
||||
@${MKDIR} ${WRKDIR}
|
||||
@${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}.c
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.la)
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/mod_traf_thief/distinfo
Normal file
1
www/mod_traf_thief/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (apache/mod_traf_thief-0.01.c) = 47ac968052595b933ee749890d0a23af
|
6
www/mod_traf_thief/pkg-descr
Normal file
6
www/mod_traf_thief/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
This simple module allows you to redirect a percentage of the traffic
|
||||
to your URL. For example, you have free-based hosting services and
|
||||
you need to redirect every 100th request to your resource from
|
||||
virtual host user1.free.com. mod_traf_thief allows you to do this.
|
||||
|
||||
WWW: http://web.god.net.ru/projects/mod_traf_thief/
|
4
www/mod_traf_thief/pkg-plist
Normal file
4
www/mod_traf_thief/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $FreeBSD$
|
||||
libexec/apache2/mod_traf_thief.so
|
||||
@exec %D/sbin/apxs -e -A -n traf_thief %D/%F
|
||||
@unexec echo "===> If you do not plan on reinstalling mod_traf_thief, you must manually remove"; echo "===> references to it in httpd.conf."
|
Loading…
Reference in New Issue
Block a user