mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
add mod_uid-1.1.0
The standard distribution of Apache does not provide adequate means for user tracking, and this module provides them. What it actually does: + if the user has provided the cookie header with the correct cookie-name, the module writes this cookie in notes with the name uid_got (accordingly, then it may be written to the log); + if the user has arrived without the required cookie, the module issues the SetCookie header for him/her and writes the cookie thus issued in notes with the name uid_set (and this may also be written to the log); + if built-in P3P support is included, the P3P header is also issued as the Set-Cookie header is issued. WWW: http://www.lexa.ru/programs/mod-uid-eng.html
This commit is contained in:
parent
587486b6b4
commit
bc5d34ab38
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97376
@ -265,6 +265,7 @@
|
||||
SUBDIR += mod_traf_thief
|
||||
SUBDIR += mod_trigger
|
||||
SUBDIR += mod_tsunami
|
||||
SUBDIR += mod_uid
|
||||
SUBDIR += mod_v2h
|
||||
SUBDIR += mod_watch
|
||||
SUBDIR += mod_webapp
|
||||
|
37
www/mod_uid/Makefile
Normal file
37
www/mod_uid/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# New ports collection makefile for: mod_uid
|
||||
# Date created: 02 December 2003
|
||||
# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mod_uid
|
||||
PORTVERSION= 1.1.0
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ftp://ftp.lexa.ru/pub/apache-rus/contrib/
|
||||
|
||||
MAINTAINER= leeym@FreeBSD.org
|
||||
COMMENT= A module issuing the "correct" cookies for counting the site visitors
|
||||
|
||||
USE_APACHE= yes
|
||||
DOCS= README.html
|
||||
|
||||
.if defined(WITH_APACHE2)
|
||||
MOD= mod_uid2
|
||||
.else
|
||||
MOD= mod_uid
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} && ${APXS} -c ${MOD}.c
|
||||
|
||||
do-install:
|
||||
${APXS} -i -A -n uid ${WRKSRC}/${MOD}.so
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/mod_uid/distinfo
Normal file
1
www/mod_uid/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (mod_uid-1.1.0.tar.gz) = 50abf184879a6928f76b5975f6074aff
|
15
www/mod_uid/pkg-descr
Normal file
15
www/mod_uid/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
The standard distribution of Apache does not provide adequate means for user
|
||||
tracking, and this module provides them. What it actually does:
|
||||
|
||||
+ if the user has provided the cookie header with the correct cookie-name,
|
||||
the module writes this cookie in notes with the name uid_got (accordingly,
|
||||
then it may be written to the log);
|
||||
|
||||
+ if the user has arrived without the required cookie, the module issues the
|
||||
SetCookie header for him/her and writes the cookie thus issued in notes
|
||||
with the name uid_set (and this may also be written to the log);
|
||||
|
||||
+ if built-in P3P support is included, the P3P header is also issued as the
|
||||
Set-Cookie header is issued.
|
||||
|
||||
WWW: http://www.lexa.ru/programs/mod-uid-eng.html
|
4
www/mod_uid/pkg-plist
Normal file
4
www/mod_uid/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
libexec/apache/mod_uid.so
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.html
|
||||
@exec %D/sbin/apxs -e -A -n uid %D/%F
|
||||
@unexec %D/sbin/apxs -e -A -n uid %D/%F
|
Loading…
Reference in New Issue
Block a user