- Update to 0.9.0

This commit is contained in:
Clement Laforet 2005-01-16 11:40:39 +00:00
parent d6c6f9fd4f
commit 7ef4f90db2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126575
4 changed files with 3 additions and 27 deletions

View file

@ -6,11 +6,9 @@
#
PORTNAME= monkey
PORTVERSION= 0.8.4
PORTREVISION= 1
PORTVERSION= 0.9.0
CATEGORIES= www
MASTER_SITES= http://monkeyd.sourceforge.net/versions/
DISTNAME= ${PORTNAME}-${PORTVERSION}-2
MAINTAINER= clement@FreeBSD.org
COMMENT= A small, powerful, and fast Web server written in C

View file

@ -1,2 +1,2 @@
MD5 (monkey-0.8.4-2.tar.gz) = 09858b3ebdaa70200b2075926eabb20b
SIZE (monkey-0.8.4-2.tar.gz) = 83528
MD5 (monkey-0.9.0.tar.gz) = e8bcde30b93b84656897bcd60683bcf0
SIZE (monkey-0.9.0.tar.gz) = 84170

View file

@ -1,19 +0,0 @@
--- src/user.c.orig Sat Oct 18 22:21:54 2003
+++ src/user.c Mon Oct 20 17:26:55 2003
@@ -23,6 +23,7 @@
#include <pwd.h>
#include <sys/types.h>
#include <unistd.h>
+#include <sys/time.h>
#include <sys/resource.h>
#include "monkey.h"
@@ -79,7 +80,7 @@
/* Just if i'm superuser */
rl.rlim_max= (256 * config->maxclients);
rl.rlim_cur = rl.rlim_max;
- setrlimit( RLIMIT_OFILE, &rl );
+ setrlimit( RLIMIT_NOFILE, &rl );
/* Chequear si existe el usuario USER ... */
if ((usr = getpwnam( config->user )) == NULL) {

View file

@ -1,6 +1,3 @@
@unexec if cmp -s %D/etc/monkey/mime.types %D/etc/monkey/mime.types-dist; then rm -f %D/etc/monkey/mime.types; fi
etc/monkey/mime.types-dist
@exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types
@unexec if cmp -s %D/etc/monkey/modules.conf %D/etc/monkey/modules.conf-dist; then rm -f %D/etc/monkey/modules.conf; fi
etc/monkey/modules.conf-dist
@exec [ -f %B/modules.conf ] || cp %B/%f %B/modules.conf