diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2005-01-21 15:36:45 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2005-01-21 15:36:45 +0000 |
commit | 7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch) | |
tree | 22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /www/nginx-devel | |
parent | Now buildable on 4.x, still broken on >= 5.x. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_11_0'.release/4.11.0
Diffstat (limited to 'www/nginx-devel')
-rw-r--r-- | www/nginx-devel/Makefile | 98 | ||||
-rw-r--r-- | www/nginx-devel/distinfo | 2 | ||||
-rw-r--r-- | www/nginx-devel/files/nginx.sh | 32 | ||||
-rw-r--r-- | www/nginx-devel/files/patch-conf-nginx.conf | 32 | ||||
-rw-r--r-- | www/nginx-devel/pkg-descr | 5 | ||||
-rw-r--r-- | www/nginx-devel/pkg-plist | 21 |
6 files changed, 0 insertions, 190 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile deleted file mode 100644 index 4a2aba6dbccb..000000000000 --- a/www/nginx-devel/Makefile +++ /dev/null @@ -1,98 +0,0 @@ -# New ports collection makefile for: nginx -# Date created: 11 Oct 2004 -# Whom: osa -# -# $FreeBSD$ -# - -PORTNAME= nginx -PORTVERSION= 0.1.13 -CATEGORIES= www -MASTER_SITES= http://sysoev.ru/nginx/ - -MAINTAINER= osa@FreeBSD.org -COMMENT= Robust and small WWW server - -VARDIR?= ${DESTDIR}/var -LOGDIR?= ${VARDIR}/log -RUNDIR?= ${VARDIR}/run -HTTP_PORT?= 80 - -USE_REINPLACE= yes -USE_RC_SUBR= yes -HAS_CONFIGURE= yes -CONFIGURE_ENV+= LINK="${CC}" -CONFIGURE_ARGS= --prefix=${PREFIX}/etc/nginx \ - --with-cc-opt="-I ${LOCALBASE}/include" \ - --with-ld-opt="-L ${LOCALBASE}/lib" \ - --conf-path=${PREFIX}/etc/nginx/nginx.conf \ - --sbin-path=${PREFIX}/sbin/nginx \ - --pid-path=${RUNDIR}/nginx.pid \ - --http-log-path=${LOGDIR}/nginx-access.log \ - --error-log-path=${LOGDIR}/nginx-error.log \ - --user=${WWWOWN} --group=${WWWGRP} - -.if defined(WITHOUT_HTTP_REWRITE_MODULE) || defined(WITHOUT_PCRE) -PKGNAMESUFFIX= -nopcre -CONFIGURE_ARGS+=--without-http_rewrite_module \ - --without-pcre -.else -LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre -.endif - -.if defined(WITHOUT_WWW) -PLIST_SUB+= WWWDATA="@comment " -.else -PLIST_SUB+= WWWDATA="" -.endif - -.if defined(STOP_BEFORE_REMOVE) -PLIST_SUB+= STOP_BEFORE_REMOVE="" -.else -PLIST_SUB+= STOP_BEFORE_REMOVE="@comment " -.endif - -.if defined(START_AFTER_INSTALL) -PLIST_SUB+= START_AFTER_INSTALL="" -.else -PLIST_SUB+= START_AFTER_INSTALL="@comment " -.endif - -RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} - -post-extract: - @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${FILESDIR}/nginx.sh > ${WRKSRC}/nginx.sh - -post-patch: - @${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \ - s!%%PREFIX%%!${PREFIX}!' \ - ${WRKSRC}/conf/nginx.conf - -do-build: - @cd ${WRKSRC} && ${MAKE} - -do-install: - ${MKDIR} ${PREFIX}/etc/nginx - ${INSTALL_SCRIPT} ${WRKSRC}/nginx.sh ${PREFIX}/etc/rc.d - ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${PREFIX}/sbin - ${INSTALL_DATA} ${WRKSRC}/conf/koi-win ${PREFIX}/etc/nginx -.for i in mime.types nginx.conf - [ -f ${PREFIX}/etc/nginx/${i} ] || \ - ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${PREFIX}/etc/nginx - ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${PREFIX}/etc/nginx/${i}-dist -.endfor -.if !defined(WITHOUT_WWW) - ${MKDIR} ${PREFIX}/www/nginx-dist - ${INSTALL_DATA} ${WRKSRC}/html/index.html ${PREFIX}/www/nginx-dist - ${ECHO_CMD} "" >>${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING - [ -e ${PREFIX}/www/nginx ] || \ - ${LN} -sf ${PREFIX}/www/nginx-dist ${PREFIX}/www/nginx -.endif - -post-install: -.if defined(START_AFTER_INSTALL) - ${PREFIX}/etc/rc.d/nginx.sh start -.endif - -.include <bsd.port.mk> diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo deleted file mode 100644 index b13569f707b0..000000000000 --- a/www/nginx-devel/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (nginx-0.1.13.tar.gz) = f60331d8dd6210325ed53b26bb5cc5cb -SIZE (nginx-0.1.13.tar.gz) = 244272 diff --git a/www/nginx-devel/files/nginx.sh b/www/nginx-devel/files/nginx.sh deleted file mode 100644 index da3e9d13d694..000000000000 --- a/www/nginx-devel/files/nginx.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -# PROVIDE: nginx -# REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: shutdown - -# Define these nginx_* variables in one of these files: -# /etc/rc.conf -# /etc/rc.conf.local -# /etc/rc.conf.d/nginx -# -# DO NOT CHANGE THESE DEFAULT VALUES HERE -# -nginx_enable=${nginx_enable-"NO"} -nginx_flags=${nginx_flags-""} -nginx_pidfile=${nginx_pidfile-"/var/run/nginx.pid"} - -. %%RC_SUBR%% - -name="nginx" -rcvar=`set_rcvar` -command="%%PREFIX%%/sbin/nginx" - -load_rc_config $name - -pidfile="${nginx_pidfile}" - -start_cmd="echo \"Starting ${name}.\"; /usr/bin/limits -U www ${command} ${nginx_flags}" - -run_rc_command "$1" diff --git a/www/nginx-devel/files/patch-conf-nginx.conf b/www/nginx-devel/files/patch-conf-nginx.conf deleted file mode 100644 index 734d51b9382a..000000000000 --- a/www/nginx-devel/files/patch-conf-nginx.conf +++ /dev/null @@ -1,32 +0,0 @@ - -$FreeBSD$ - ---- conf/nginx.conf.orig Wed Oct 20 14:46:31 2004 -+++ conf/nginx.conf Thu Oct 21 19:47:18 2004 -@@ -12,7 +12,7 @@ - - - http { -- include conf/mime.types; -+ include mime.types; - default_type application/octet-stream; - - sendfile on; -@@ -20,7 +20,7 @@ - #gzip on; - - server { -- listen 80; -+ listen %%HTTP_PORT%%; - - charset on; - source_charset koi8-r; -@@ -28,7 +28,7 @@ - #access_log logs/access.log; - - location / { -- root html; -+ root %%PREFIX%%/www/nginx; - index index.html index.htm; - } - diff --git a/www/nginx-devel/pkg-descr b/www/nginx-devel/pkg-descr deleted file mode 100644 index c2bc5e717dab..000000000000 --- a/www/nginx-devel/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Another one small and robust www server, supports -kqueue (EV_CLEAR, EV_DISABLE, NOTE_LOWAT, EV_EOF, etc.), -select, poll, sendfile. - -WWW: http://sysoev.ru/nginx/ diff --git a/www/nginx-devel/pkg-plist b/www/nginx-devel/pkg-plist deleted file mode 100644 index fee21d4fa0a1..000000000000 --- a/www/nginx-devel/pkg-plist +++ /dev/null @@ -1,21 +0,0 @@ -@comment $FreeBSD$ -etc/nginx/koi-win -@unexec if cmp -s %D/etc/nginx/mime.types %D/etc/nginx/mime.types-dist; then rm -f %D/etc/nginx/mime.types; fi -etc/nginx/mime.types-dist -@exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types -@unexec if cmp -s %D/etc/nginx/nginx.conf %D/etc/nginx/nginx.conf-dist; then rm -f %D/etc/nginx/nginx.conf; fi -etc/nginx/nginx.conf-dist -@exec [ -f %B/nginx.conf ] || cp %B/%f %B/nginx.conf -@unexec rmdir %D/etc/nginx 2>/dev/null || true -%%WWWDATA%%@exec mkdir -p -m 755 www/nginx-dist -@comment @unexec chmod u+w www/nginx-dist -%%WWWDATA%%www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING -%%WWWDATA%%@exec [ -d %D/www/nginx/ ] || ln -fs %B %D/www/nginx -%%WWWDATA%%www/nginx-dist/index.html -%%WWWDATA%%@exec chmod a-w www/nginx-dist -%%WWWDATA%%@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi -%%WWWDATA%%@dirrm www/nginx-dist -%%STOP_BEFORE_REMOVE%%@unexec %D/etc/rc.d/nginx.sh stop || true -sbin/nginx -etc/rc.d/nginx.sh -%%START_AFTER_INSTALL%%@exec %D/etc/rc.d/nginx.sh start |