Bug 57664 - [new port] www/mod_traf_thief: Allows you to redirect percent of traffic to your url
Summary: [new port] www/mod_traf_thief: Allows you to redirect percent of traffic to y...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Christian Weisgerber
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-06 19:00 UTC by Clement Laforet
Modified: 2003-10-16 18:00 UTC (History)
1 user (show)

See Also:


Attachments
mod_traf_thief.shar (2.45 KB, text/plain)
2003-10-06 19:00 UTC, Clement Laforet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clement Laforet 2003-10-06 19:00:25 UTC
	This simple module allows you to redirect percent of traffic to your url.
	For example you have free-based hosting services and you need to redirect each 
	100 request to your resource
	From virtual host user1.free.com.
	mod_traf_thief allow you to do this. 

	WWW: http://web.god.net.ru/projects/mod_traf_thief/

How-To-Repeat: 	N/A.
Comment 1 Christian Weisgerber freebsd_committer freebsd_triage 2003-10-08 21:12:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->naddy

I'll have a look.
Comment 2 Clement Laforet 2003-10-14 01:15:45 UTC
Use RESTRICTED.
Use DIST_SUBDIR=apache

diff -Nru mod_traf_thief.orig/Makefile mod_traf_thief/Makefile
--- mod_traf_thief.orig/Makefile	Tue Oct 14 02:10:19 2003
+++ mod_traf_thief/Makefile	Tue Oct 14 02:08:07 2003
@@ -8,15 +8,18 @@
 PORTNAME=	mod_traf_thief
 PORTVERSION=	0.01
 CATEGORIES=	www
-MASTER_SITES=	http://sheepkiller.nerim.net/ports/${PORTNAME}/
+MASTER_SITES=	http://web.god.net.ru/projects/mod_traf_thief/dist/
+DISTNAME=	${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 percent of traffic to your url
 
 BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
 RUN_DEPENDS=	${BUILD_DEPENDS}
+
+RESTRICTED=	"no license"
 
 NO_WRKSUBDIR=	YES
 APXS?=		${LOCALBASE}/sbin/apxs
diff -Nru mod_traf_thief.orig/distinfo mod_traf_thief/distinfo
--- mod_traf_thief.orig/distinfo	Tue Oct 14 02:10:19 2003
+++ mod_traf_thief/distinfo	Tue Oct 14 01:03:12 2003
@@ -1 +1 @@
-MD5 (mod_traf_thief-0.01.c) = ba975a4fb52342cce806dc489d4b82e3
+MD5 (apache/mod_traf_thief.c) = ba975a4fb52342cce806dc489d4b82e3
Comment 3 Clement Laforet 2003-10-15 21:04:37 UTC
Use DIST_SUBDIR=apache
(license has been added to source file)
(this patch make precedent patch obsolete)


diff -Nru mod_traf_thief.orig/Makefile mod_traf_thief/Makefile
--- mod_traf_thief.orig/Makefile	Tue Oct 14 02:10:19 2003
+++ mod_traf_thief/Makefile	Wed Oct 15 21:24:09 2003
@@ -11,6 +11,7 @@
 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 percent of traffic to your url
diff -Nru mod_traf_thief.orig/distinfo mod_traf_thief/distinfo
--- mod_traf_thief.orig/distinfo	Tue Oct 14 02:10:19 2003
+++ mod_traf_thief/distinfo	Wed Oct 15 21:24:15 2003
@@ -1 +1 @@
-MD5 (mod_traf_thief-0.01.c) = ba975a4fb52342cce806dc489d4b82e3
+MD5 (apache/mod_traf_thief-0.01.c) = ba975a4fb52342cce806dc489d4b82e3
Comment 4 Christian Weisgerber freebsd_committer freebsd_triage 2003-10-16 17:59:44 UTC
State Changed
From-To: open->closed

Imported, thanks!