Re: scrotwm patch to change wm.
*wm_node; + switch (flags) { case SWM_S_BAR_DELAY: bar_delay = atoi(value); @@ -3417,6 +3576,23 @@ setconfvalue(char *selector, char *value, int flags) if (dialog_ratio 1.0 || dialog_ratio = .3) dialog_ratio = .6; break; + case SWM_S_ALT_WMS: + for (wm = strtok(value, ,); wm != NULL; + wm = strtok(NULL, ,)) { + wm_node = malloc(sizeof(struct alt_wm)); + if (wm_node == NULL) { + fprintf(stderr, setconfvalue: malloc failed\n); + perror( failed); + quit(NULL, NULL); + } + + wm_node-wm = strdup(wm); + if (wm_node-wm == NULL) + err(1, setconfvalue: can't strdup wm name); + + SLIST_INSERT_HEAD(alt_wms, wm_node, entries); + } +break; default: return (1); } @@ -3460,6 +3636,7 @@ struct config_option { int funcflags; }; struct config_option configopt[] = { + { alt_wms,setconfvalue, SWM_S_ALT_WMS }, { bar_enabled,setconfvalue, SWM_S_BAR_ENABLED }, { bar_border, setconfcolor, SWM_S_COLOR_BAR_BORDER }, { bar_color, setconfcolor, SWM_S_COLOR_BAR }, @@ -4635,6 +4812,9 @@ main(int argc, char *argv[]) adelete = XInternAtom(display, WM_DELETE_WINDOW, False); takefocus = XInternAtom(display, WM_TAKE_FOCUS, False); + /* init list of alternative wms */ + SLIST_INIT(alt_wms); + /* look for local and global conf file */ pwd = getpwuid(getuid()); if (pwd == NULL) @@ -4740,7 +4920,7 @@ main(int argc, char *argv[]) } done: bar_extra_stop(); - + free_alt_wm_list(); XCloseDisplay(display); return (0); Index: scrotwm.conf === RCS file: /scrotwm/scrotwm/scrotwm.conf,v retrieving revision 1.23 diff -N -u -p -u scrotwm.conf --- scrotwm.conf 13 Jan 2010 21:48:35 - 1.23 +++ scrotwm.conf 21 Feb 2010 20:19:13 - @@ -55,6 +55,7 @@ dialog_ratio= 0.6 #bind[swap_prev] = MOD+Shift+k #bind[spawn_term]= MOD+Shift+Return #bind[menu] = MOD+p +#bind[exec_alt_wm] = MOD+r #bind[quit] = MOD+Shift+q #bind[restart] = MOD+q #bind[focus_main]= MOD+m @@ -114,3 +115,6 @@ dialog_ratio = 0.6 # EXAMPLE: define firefox program and bind to key # program[firefox] = firefox http://scrotwm.org/ # bind[firefox] = MOD+f + +# alternative window managers +alt_wms = cwm,fvwm opencvs server: Diffing inside html opencvs server: Diffing inside lib opencvs server: Diffing inside linux opencvs server: Diffing inside osx opencvs server: Diffing inside port opencvs server: Diffing inside port/patches opencvs server: Diffing inside port/pkg -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: Commercial use
The software in ports does not originate with OpenBSD. It will be up to you to examine the terms of each software package and determine if you can include it. Typically, software under BSD, ISC, and MIT licenses can be used within commercial products without special arrangement or payment. Other licenses vary. After determining the licenses of desired software you should consult legal counsel. On Tue, Jul 14, 2009 at 12:52:53PM +0400, Tim Krebs wrote: Currently our small software company is planning to launch anti-malware module as one of our future products. Having lack of resources and experience we have problems with packed and acrhived files. Our analysts have noticed that some malware writers use your packer(extractor) for their purposes. In order to improve security level efficiency we would like to include the module of unpacking/unextracting - for that reason we need the source code for many unpackers and particularly the yours. Being the author, would you permit the use of your code in order to unpack files and increase security awareness in our commercial (closed) product? If you have your own proposal or terms - let us know. Regards, Tim Krebs Research Analyst -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: write error
Hi Brian, Check in /var/log/messages to see if you're getting disk errors. On Sun, Jun 28, 2009 at 06:18:15PM -0700, Brian wrote: This is becoming a pretty persistent problem. Usually, if I restart a compile, I'm okay. This doesn't really bother me with small programs. However, with long compiles like openoffice3 and jdk1.5, writes errors makes compiles take a long time. I'm installed a snapshot yesterday. jdk1.5 just failed on me. gmake[4]: Leaving directory `/usr/ports/obj/jdk-1.5.0.16/j2se/make/java/fdlibm' gmake[4]: write error gmake[3]: *** [debug] Error 1 gmake[3]: Leaving directory `/usr/ports/obj/jdk-1.5.0.16/j2se/make/java/fdlibm' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/obj/jdk-1.5.0.16/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/obj/jdk-1.5.0.16/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Any idea what is causing this? I'm not even sure where to look. Thanks, Brian -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: CVS: cvs.openbsd.org: ports
On Tue, Jun 02, 2009 at 03:24:01AM +0200, Landry Breuil wrote: On Mon, Jun 01, 2009 at 09:13:48PM -0400, Mike Erdely wrote: I support this as well. Why meta-*. gnome or kde would be even more obvious. # pkg_add gnome # pkg_add kde Get real, this has been already discussed several times. Check the archives, you'll have to convince espie first :) Was *-meta mentioned? I can see the reason why if meta-* was chosen, but just thought I'd put it out there. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: www/py-django
Ryan Alexandre, nice work so far! On Sat, May 23, 2009 at 05:22:36PM -0700, Ryan Boggs wrote: So you are using Postgresql as you back end DB. Have you tried using py-psycopg2 with Django? I've been using it for my testing without problems and it doesn't seem to rely on py-mxDateTime. So it's looking as if it's not, strictly speaking, Django's fault after all. Still, even though removing py-mxDateTime allows Django 1.0+ to work, that's not the desired work around to get into ports, right? The best solution would be to track this down to where the problem really lives and fix it or work around it there. This is the only real solution. However, is it true that Django is using mxDateTime with some odd usage pattern that triggers this? If so then perhaps a workaround might be found in Django itself. But I went fishing for maintainers because I lack time: I'm no longer a pig here. I'm barely a chicken. So I'll shut up and let you people keep at it. ;-) -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: www/py-django
On Sat, May 16, 2009 at 04:05:10PM -0700, Ryan Boggs wrote: Hey Darrin, If no one else is interested, I would like to work on it. Where exactly is the crash happening in Admin? In 1.0 the crash happened trying to save a new user, iirc. For 1.0.2 you could save a new user, but further editing and saving would crash. If I'm remembering right (which may not be the case) it was actually crashing python. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
www/py-django
Hi, I'm the maintainer of www/py-django, and it's lagging behind by a couple of versions due to a crash in at least the admin module. I no longer use Django, and I have been busy enough that I haven't spent the time to debug this problem. So I'm looking to give up maintainership, ideally to someone who uses Django. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: update: www/nginx
On Fri, May 15, 2009 at 11:51:29PM -0400, b...@openbsd.rutgers.edu wrote: Update to 0.6.36, set default user to _nginx in the config file (from simon@ via Darrin), and take MAINTAINER... (update done with Darrin) This is fine by me, and thanks! Thanks in advance. Index: Makefile === RCS file: /cvs/ports/www/nginx/Makefile,v retrieving revision 1.12 diff -u -u -r1.12 Makefile --- Makefile 22 Mar 2009 20:19:32 - 1.12 +++ Makefile 16 May 2009 03:26:56 - @@ -2,12 +2,12 @@ COMMENT= robust and small HTTP server and mail proxy server -DISTNAME=nginx-0.6.35 +DISTNAME=nginx-0.6.36 CATEGORIES= www HOMEPAGE=http://nginx.net/ -MAINTAINER= Darrin Chandler dwchand...@stilyagin.com +MAINTAINER= William Yodlowsky b...@openbsd.rutgers.edu # BSD-like PERMIT_PACKAGE_CDROM=Yes Index: distinfo === RCS file: /cvs/ports/www/nginx/distinfo,v retrieving revision 1.9 diff -u -u -r1.9 distinfo --- distinfo 22 Mar 2009 20:19:32 - 1.9 +++ distinfo 16 May 2009 03:27:04 - @@ -1,5 +1,5 @@ -MD5 (nginx-0.6.35.tar.gz) = Rcei09kfJ/WvG0Y/D/RgcA== -RMD160 (nginx-0.6.35.tar.gz) = Pq9xi++kWnLZVvss9Et2918fFgU= -SHA1 (nginx-0.6.35.tar.gz) = XnC7AWRNgD9oWRR3FdUvqtGdZVY= -SHA256 (nginx-0.6.35.tar.gz) = BNwZx12PlrRhajpYpxjhPzhHtsbMA6cJsZqT45iCP7U= -SIZE (nginx-0.6.35.tar.gz) = 524987 +MD5 (nginx-0.6.36.tar.gz) = FczmECou/PTUrN6btx6m0w== +RMD160 (nginx-0.6.36.tar.gz) = VXr66VTNnmjMG994gQVwUuxpNdg= +SHA1 (nginx-0.6.36.tar.gz) = 1egapWo1z+u2OKuItqgErPD3ebc= +SHA256 (nginx-0.6.36.tar.gz) = McGvuwh+ZQ1jgAAShiG1FNIdQS/rnKxCJypfsofbrsU= +SIZE (nginx-0.6.36.tar.gz) = 528425 Index: patches/patch-conf_nginx_conf === RCS file: /cvs/ports/www/nginx/patches/patch-conf_nginx_conf,v retrieving revision 1.3 diff -u -u -r1.3 patch-conf_nginx_conf --- patches/patch-conf_nginx_conf 7 Dec 2008 20:08:55 - 1.3 +++ patches/patch-conf_nginx_conf 16 May 2009 03:35:50 - @@ -1,6 +1,13 @@ $OpenBSD: patch-conf_nginx_conf,v 1.3 2008/12/07 20:08:55 merdely Exp $ --- conf/nginx.conf.orig Thu Feb 28 15:44:16 2008 -+++ conf/nginx.conf Sun Dec 7 14:33:16 2008 conf/nginx.conf Fri May 15 23:35:38 2009 +@@ -1,5 +1,5 @@ + +-#user nobody; ++user _nginx; + worker_processes 1; + + #error_log logs/error.log; @@ -41,7 +41,7 @@ http { #access_log logs/host.access.log main; -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: UPDATE www/nginx
Works for me on sparc64, in addition to Max's test on amd64. Ok maintainer :) Comments? Otherwise please commit. Thanks! On Sat, Mar 21, 2009 at 02:31:33PM +0300, Max Varencov wrote: Hi, Here is a diff for latest stable version 0.6.35 of the nginx. CHANGELOG: * Bugfix: in shared memory allocations if nginx was built without debugging. * Bugfixes in an Expect request header line support. * Bugfix: UTF-8 encoding usage in the ngx_http_autoindex_module. Tested on amd64. diff -uNr --exclude=CVS /usr/ports/www/nginx/Makefile /usr/ports/mystuff/www/nginx/Makefile --- /usr/ports/www/nginx/Makefile Fri Dec 26 20:30:23 2008 +++ /usr/ports/mystuff/www/nginx/Makefile Sat Mar 21 13:57:33 2009 @@ -2,8 +2,8 @@ COMMENT= robust and small HTTP server and mail proxy server -DISTNAME=nginx-0.6.34 -PKGNAME= ${DISTNAME}p0 +DISTNAME=nginx-0.6.35 +PKGNAME= ${DISTNAME} CATEGORIES= www HOMEPAGE=http://nginx.net/ diff -uNr --exclude=CVS /usr/ports/www/nginx/distinfo /usr/ports/mystuff/www/nginx/distinfo --- /usr/ports/www/nginx/distinfo Sun Dec 7 23:08:55 2008 +++ /usr/ports/mystuff/www/nginx/distinfo Sat Mar 21 13:58:42 2009 @@ -1,5 +1,5 @@ -MD5 (nginx-0.6.34.tar.gz) = g3vPuIvca278TmOXnJx7QQ== -RMD160 (nginx-0.6.34.tar.gz) = hCTxS7znIxV3wiIa5UGkn4osakE= -SHA1 (nginx-0.6.34.tar.gz) = nwjqCIQSPrDwF7MOnwZI1GVi+N0= -SHA256 (nginx-0.6.34.tar.gz) = uYtv8N/padUKCdlyAm9/gaKM7Xyiyvj5NJmg3SPkMSU= -SIZE (nginx-0.6.34.tar.gz) = 524667 +MD5 (nginx-0.6.35.tar.gz) = Rcei09kfJ/WvG0Y/D/RgcA== +RMD160 (nginx-0.6.35.tar.gz) = Pq9xi++kWnLZVvss9Et2918fFgU= +SHA1 (nginx-0.6.35.tar.gz) = XnC7AWRNgD9oWRR3FdUvqtGdZVY= +SHA256 (nginx-0.6.35.tar.gz) = BNwZx12PlrRhajpYpxjhPzhHtsbMA6cJsZqT45iCP7U= +SIZE(nginx-0.6.35.tar.gz) = 524987 diff -uNr --exclude=CVS /usr/ports/www/nginx/patches/patch-src_os_unix_ngx_posix_init_c /usr/ports/mystuff/www/nginx/patches/patch-src_os_unix_ngx_posix_init_c --- /usr/ports/www/nginx/patches/patch-src_os_unix_ngx_posix_init_c Fri Dec 26 20:30:23 2008 +++ /usr/ports/mystuff/www/nginx/patches/patch-src_os_unix_ngx_posix_init_c Thu Jan 1 03:00:00 1970 @@ -1,12 +0,0 @@ -$OpenBSD: patch-src_os_unix_ngx_posix_init_c,v 1.1 2008/12/26 17:30:23 steven Exp $ src/os/unix/ngx_posix_init.c.origMon Dec 3 09:46:46 2007 -+++ src/os/unix/ngx_posix_init.c Thu Dec 25 09:57:05 2008 -@@ -22,7 +22,7 @@ ngx_os_io_t ngx_os_io = { - ngx_unix_recv, - ngx_readv_chain, - ngx_udp_unix_recv, --NULL, -+ngx_unix_send, - ngx_writev_chain, - 0 - }; -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: [UPDATE] py-django 1.0.2
On Sat, Jan 31, 2009 at 11:47:30PM -0600, Will Maier wrote: Hi Ryan- On Sat, Jan 31, 2009 at 04:39:54PM -0800, Ryan Boggs wrote: I saw someone post the diffs to 1.0.0 a while back but it doesn't look like the port was ever updated. Since it looks like it was updated to 1.0.2, I thought I would give it a try. Thanks for the diff. Have you contacted the maintainer? Diffs like this should always go to the maintainer first, especially because they know the port (and the ports infrastructure in general). I'm the maintainer, and I see the diff here now at least ;-) Either way, some comments on the diff: * The point of MODPY_EGG_VERSION is to keep PLIST updates clean. In this case, MODPY_EGG_VERSION should probably be 1.0.2-final. * Since MODPY_EGG_VERSION needs -final, PKGNAME should probably become py-${LNAME}-${V} * Were all the docs really collapsed into content.txt? The last step is testing. Have you been able to test this update at all? Ryan, I was stuck on the 1.0.0 update due to a nasty crash that needed some time and I haven't been back to it. Were you able to run 1.0.2 successfully with your diffs? -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation pgpncN5B3SBAv.pgp Description: PGP signature
Re: RELIABILITY: www/nginx-0.6.34 - p0
This is not a large diff, but it stops a DoS that is trivial to execute. If someone can have a look at this I'd appreciate it. On Thu, Dec 25, 2008 at 10:31:39AM -0700, Darrin Chandler wrote: This is a reliability fix from nginx author Igor Sysoev: Recently it was discovered that nginx workers exit abnormally if they receive Expect header on all systems except FreeBSD, Linux, and Solaris. Working in production on amd64. Light testing went fine on sparc64. Please commit. Index: Makefile === RCS file: /cvs/ports/www/nginx/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- Makefile 7 Dec 2008 20:08:55 - 1.10 +++ Makefile 25 Dec 2008 17:08:52 - @@ -3,6 +3,7 @@ COMMENT= robust and small HTTP server and mail proxy server DISTNAME=nginx-0.6.34 +PKGNAME= ${DISTNAME}p0 CATEGORIES= www HOMEPAGE=http://nginx.net/ Index: patches/patch-src_os_unix_ngx_posix_init_c === RCS file: patches/patch-src_os_unix_ngx_posix_init_c diff -N patches/patch-src_os_unix_ngx_posix_init_c --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-src_os_unix_ngx_posix_init_c25 Dec 2008 17:08:52 - @@ -0,0 +1,12 @@ +$OpenBSD$ +--- src/os/unix/ngx_posix_init.c.origMon Dec 3 09:46:46 2007 src/os/unix/ngx_posix_init.c Thu Dec 25 09:57:05 2008 +@@ -22,7 +22,7 @@ ngx_os_io_t ngx_os_io = { + ngx_unix_recv, + ngx_readv_chain, + ngx_udp_unix_recv, +-NULL, ++ngx_unix_send, + ngx_writev_chain, + 0 + }; -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation pgpBHUKpENoYc.pgp Description: PGP signature
Re: RELIABILITY: www/nginx-0.6.34 - p0
Ok, I seemed to have missed the commit by steven. Thanks! On Fri, Dec 26, 2008 at 07:32:42PM -0700, Darrin Chandler wrote: This is not a large diff, but it stops a DoS that is trivial to execute. If someone can have a look at this I'd appreciate it. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation pgpusUWF7NVOV.pgp Description: PGP signature
RELIABILITY: www/nginx-0.6.34 - p0
This is a reliability fix from nginx author Igor Sysoev: Recently it was discovered that nginx workers exit abnormally if they receive Expect header on all systems except FreeBSD, Linux, and Solaris. Working in production on amd64. Light testing went fine on sparc64. Please commit. Index: Makefile === RCS file: /cvs/ports/www/nginx/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- Makefile7 Dec 2008 20:08:55 - 1.10 +++ Makefile25 Dec 2008 17:08:52 - @@ -3,6 +3,7 @@ COMMENT= robust and small HTTP server and mail proxy server DISTNAME= nginx-0.6.34 +PKGNAME= ${DISTNAME}p0 CATEGORIES=www HOMEPAGE= http://nginx.net/ Index: patches/patch-src_os_unix_ngx_posix_init_c === RCS file: patches/patch-src_os_unix_ngx_posix_init_c diff -N patches/patch-src_os_unix_ngx_posix_init_c --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-src_os_unix_ngx_posix_init_c 25 Dec 2008 17:08:52 - @@ -0,0 +1,12 @@ +$OpenBSD$ +--- src/os/unix/ngx_posix_init.c.orig Mon Dec 3 09:46:46 2007 src/os/unix/ngx_posix_init.c Thu Dec 25 09:57:05 2008 +@@ -22,7 +22,7 @@ ngx_os_io_t ngx_os_io = { + ngx_unix_recv, + ngx_readv_chain, + ngx_udp_unix_recv, +-NULL, ++ngx_unix_send, + ngx_writev_chain, + 0 + }; -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation pgp6Q5UVwwXSF.pgp Description: PGP signature
Re: New firefox doesn't understand lpr?
On Tue, Dec 16, 2008 at 08:40:22PM +0100, Marc Espie wrote: I'm beginning to get pissed at all the shit the firefox devs and gnome people are putting in their software. They are obnoxious, and no longer actually serve their users. minirant They no longer care about you as a user. They want the users featured in the I'm a PC commercials. Those users are far more numerous, and that matters a lot for those projects. They mean to win and the end justifies the means for them. Nevermind that they are becoming the enemy they hope to overcome. That point is completely lost on them. It's not about being better any longer. It's just about winning. /minirant -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation pgpYitwM2yyfQ.pgp Description: PGP signature
Re: ff3
On Mon, Dec 08, 2008 at 01:57:23PM +, Christian Weisgerber wrote: Hannah Schroeter [EMAIL PROTECTED] wrote: Remove/backup and rename your old profile directory and make a new one (you can import your bookmarks later). Then it works (at least for me). Nice knee-jerk response, but I tested taking the existing configuration from ff2 to ff3 (and in fact going back and forth between them) and it worked just fine. That doesn't really show anything, since your config wasn't the one having the problem. I've upgraded FF many, many times and almost never encountered problems. Heck, I even moved a config from Windows to OpenBSD and FF worked perfectly with it. But now and then, on whatever OS/arch (Windows/OpenBSD/Linux), something gets messed up with the config and removing the old config fixes the problem. It's rare, yet common enough to have happened to me several times over the years. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation pgpgCHNFE6RlU.pgp Description: PGP signature
MAINTAINER UPDATE: www/nginx - 0.6.34
This updates nginx to the latest stable version 0.6.34 and removed a configure workaround (fixed upstream). In production use on amd64 and lightly tested in sparc64. Additional testing appreciated, especially 32-bit. Comments? Ok? Index: Makefile === RCS file: /cvs/ports/www/nginx/Makefile,v retrieving revision 1.8 diff -u -p -r1.8 Makefile --- Makefile13 May 2008 18:46:07 - 1.8 +++ Makefile6 Dec 2008 02:59:45 - @@ -2,7 +2,7 @@ COMMENT= robust and small HTTP server and mail proxy server -DISTNAME= nginx-0.6.32 +DISTNAME= nginx-0.6.34 CATEGORIES=www HOMEPAGE= http://nginx.net/ @@ -41,9 +41,6 @@ CONFIGURE_ARGS= --prefix=${SYSCONFDIR}/ --with-http_stub_status_module \ --with-mail \ --with-mail_ssl_module - -# Get rid of '#include malloc.h' which caused many warnings -CONFIGURE_ARGS+= --with-cc-opt=-DNGX_HAVE_MALLOC_H=0 NO_REGRESS=Yes ALL_TARGET= Index: distinfo === RCS file: /cvs/ports/www/nginx/distinfo,v retrieving revision 1.6 diff -u -p -r1.6 distinfo --- distinfo13 May 2008 18:46:07 - 1.6 +++ distinfo6 Dec 2008 02:59:45 - @@ -1,5 +1,5 @@ -MD5 (nginx-0.6.31.tar.gz) = gkvMJbvVtjbxgiN7aSJ70g== -RMD160 (nginx-0.6.31.tar.gz) = edoi6rpBXrnSTdM88r4LGZm7Ebw= -SHA1 (nginx-0.6.31.tar.gz) = wsResq41LczoL6mXqM/HbM5knBo= -SHA256 (nginx-0.6.31.tar.gz) = 5okIcF38H7FmUG7EQSkce607bdzdt2CxZpMb/bW1gqc= -SIZE (nginx-0.6.31.tar.gz) = 520344 +MD5 (nginx-0.6.34.tar.gz) = g3vPuIvca278TmOXnJx7QQ== +RMD160 (nginx-0.6.34.tar.gz) = hCTxS7znIxV3wiIa5UGkn4osakE= +SHA1 (nginx-0.6.34.tar.gz) = nwjqCIQSPrDwF7MOnwZI1GVi+N0= +SHA256 (nginx-0.6.34.tar.gz) = uYtv8N/padUKCdlyAm9/gaKM7Xyiyvj5NJmg3SPkMSU= +SIZE (nginx-0.6.34.tar.gz) = 524667 -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation pgpRZWGdQGQWM.pgp Description: PGP signature
UPDATE: www/nginx to version 0.6.32
Hi, Here'a a diff to bring www/nginx to the latest stable release which included some new features as well as some important bug fixes. http://nginx.net/CHANGES-0.6 Thanks to Toni Mueller for prodding, and to Simon Kuhnle for prodding, testing, and the patch (I had the same diff just before lock but kept forgetting after unlock). Light testing on amd64 and sparc64. Comments? OK? Index: Makefile === RCS file: /cvs/ports/www/nginx/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile13 May 2008 18:46:07 - 1.8 +++ Makefile31 Aug 2008 15:49:44 - @@ -2,7 +2,7 @@ COMMENT= robust and small HTTP server and mail proxy server -DISTNAME= nginx-0.6.31 +DISTNAME= nginx-0.6.32 CATEGORIES=www HOMEPAGE= http://nginx.net/ Index: distinfo === RCS file: /cvs/ports/www/nginx/distinfo,v retrieving revision 1.6 diff -u -r1.6 distinfo --- distinfo13 May 2008 18:46:07 - 1.6 +++ distinfo31 Aug 2008 15:49:44 - @@ -1,5 +1,5 @@ -MD5 (nginx-0.6.31.tar.gz) = gkvMJbvVtjbxgiN7aSJ70g== -RMD160 (nginx-0.6.31.tar.gz) = edoi6rpBXrnSTdM88r4LGZm7Ebw= -SHA1 (nginx-0.6.31.tar.gz) = wsResq41LczoL6mXqM/HbM5knBo= -SHA256 (nginx-0.6.31.tar.gz) = 5okIcF38H7FmUG7EQSkce607bdzdt2CxZpMb/bW1gqc= -SIZE (nginx-0.6.31.tar.gz) = 520344 +MD5 (nginx-0.6.32.tar.gz) = wJoqzjyR9F2ru2CLEeSO0Q== +RMD160 (nginx-0.6.32.tar.gz) = BnScW/g0o/foKtMSKl20V8GT0Rc= +SHA1 (nginx-0.6.32.tar.gz) = NGFmFxR3w+eHWb27yEYRB9hHUmk= +SHA256 (nginx-0.6.32.tar.gz) = 10u7kjXnvqv3vgOn3smfDKuJ+kQwqZimpxUZAeoUHp0= +SIZE (nginx-0.6.32.tar.gz) = 522183 Index: pkg/PLIST === RCS file: /cvs/ports/www/nginx/pkg/PLIST,v retrieving revision 1.3 diff -u -r1.3 PLIST --- pkg/PLIST 29 Mar 2008 13:50:39 - 1.3 +++ pkg/PLIST 31 Aug 2008 15:49:44 - @@ -1,7 +1,7 @@ @comment $OpenBSD: PLIST,v 1.3 2008/03/29 13:50:39 bernd Exp $ @newgroup _nginx:593 @newuser _nginx:593:_nginx:daemon:nginx user:/nonexistent:/sbin/nologin -sbin/nginx [EMAIL PROTECTED] sbin/nginx @mode 755 @sample ${NGINX_DIR}/ @sample /var/log/nginx/ -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation pgpOTd1ugAPpv.pgp Description: PGP signature
Re: DJBware ports
On Fri, Jul 04, 2008 at 01:31:12PM +0200, Henning Brauer wrote: * Nick [EMAIL PROTECTED] [2008-07-01 03:12]: So, I'm a fan of DJBDNS, but, I have to ask: Why?!? I am not exactly a fan, but I am using it, and the hassle at upgrades alone (remember, recompile, yadda yadda yadda, versus handled with the regular pkg_add -ui) alone is worth the port. Ditto. Do you normalize his directory layout, or do you maintain his suggested layout (which has its merits, but is VERY non-hier(7)). normalize! Yes! Ditto! LONG, LONG ago, probably around the 2.7 days, I used a DJBDNS port on OpenBSD, and seriously regretted it. It was SO much easier to simply install following DJB's instructions than it was to find where things were put by the well-meaning porter. in some places I still have ancient homegrown ports that are full of errors. upgrades on tehse machines are STILL much easier than the ones that have shit compiled from source. And if you've ever had to take over a machine with compiled-from-source + patches it's even more of a difference. Even with homegrown ports there is some documentation of what has been done. This is helpful for yourself, and crucial to anyone who follows later. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: Annoying firefox messages
On Tue, Jun 17, 2008 at 04:52:31PM +0100, Federico G. Schwindt wrote: On Tue, Jun 17, 2008 at 05:32:11PM +0200, Antoine Jacoutot wrote: On Tue, 17 Jun 2008, Marco Peereboom wrote: One of the worst annoyances after installing firefox are that it keeps whining about not installed plugins. Unfortunately we can't disable that message using the traditional methods so I'd like to propose that we set plugin.default_plugin_disabled to false to our port. +1 I completely agree with this! +1 for me too I always have to consult the google for 5 minutes to find out what the key is again. Or is there anybody attached to that slow scrolling bar that was designed to bring nothing but despair? If anyone is attached to this, I propose he cries out loud and move on... Why not stick it in the README.OpenBSD and let everyone choose? If changing the setting isn't acceptable, then this would be next best. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: Emacs 22 port?
On Sat, Jun 14, 2008 at 02:21:54PM +0100, Nicholas Marriott wrote: text console. BTW, does anybody actually use the no_x11 flavor? I always use it - it is the nicest way to stop emacs ever opening with X11 UI. Please don't get rid of it :-). I've always used the no_x11 flavor, for the reason NicM gives. My most commonly selected flavor across ports is no_x11. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
SECURITY UPDATE: www/py-django
Triviel update to 0.96.2 to address an XSS problem in the admin interface of older versions. More info at http://www.djangoproject.com/weblog/2008/may/14/security/ Basic tests (the 'It Worked' page) on i386 and sparc64. Please test, comment, and commit. :) -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation Index: Makefile === RCS file: /cvs/ports/www/py-django/Makefile,v retrieving revision 1.4 diff -u -p -r1.4 Makefile --- Makefile10 Dec 2007 21:07:52 - 1.4 +++ Makefile23 May 2008 23:20:24 - @@ -2,7 +2,7 @@ COMMENT= high-level Python web framework -VP=0.96.1 +VP=0.96.2 V= 0.96 LNAME= django DISTNAME= Django-${VP} Index: distinfo === RCS file: /cvs/ports/www/py-django/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo8 Nov 2007 22:00:36 - 1.2 +++ distinfo23 May 2008 23:20:24 - @@ -1,5 +1,5 @@ -MD5 (Django-0.96.1.tar.gz) = EKoy5YlpxO/rAO9CuhkrFw== -RMD160 (Django-0.96.1.tar.gz) = G9j8zqsQH4BWC7SqikhRwgTzkYs= -SHA1 (Django-0.96.1.tar.gz) = hScPhX/0BZg8rpoe9237MwPKbuw= -SHA256 (Django-0.96.1.tar.gz) = SHQTTp/GvQjrfkUeQgODlGaIlcJrfMhn1MP9r51xEIU= -SIZE (Django-0.96.1.tar.gz) = 1746455 +MD5 (Django-0.96.2.tar.gz) = LjmkO5O1DCypC8reJgEIeA== +RMD160 (Django-0.96.2.tar.gz) = KUiLCcxtgBNxbIp9GQ/mvJYl5Wg= +SHA1 (Django-0.96.2.tar.gz) = J2bYWLFdXXbaYeCW+m/+tVsEafs= +SHA256 (Django-0.96.2.tar.gz) = iWQCNYczFBKu0RhUnIPPDcwQaFCDPMdVc+hnG2js8pw= +SIZE (Django-0.96.2.tar.gz) = 1637044 Index: pkg/PLIST === RCS file: /cvs/ports/www/py-django/pkg/PLIST,v retrieving revision 1.2 diff -u -p -r1.2 PLIST --- pkg/PLIST 8 Nov 2007 22:00:36 - 1.2 +++ pkg/PLIST 23 May 2008 23:20:26 - @@ -1,6 +1,6 @@ @comment $OpenBSD: PLIST,v 1.2 2007/11/08 22:00:36 merdely Exp $ bin/${LNAME}-admin.py -lib/python${MODPY_VERSION}/site-packages/Django-${V}.1-py${MODPY_VERSION}.egg-info +lib/python${MODPY_VERSION}/site-packages/Django-${V}.2-py${MODPY_VERSION}.egg-info lib/python${MODPY_VERSION}/site-packages/${LNAME}/ lib/python${MODPY_VERSION}/site-packages/${LNAME}/__init__.py lib/python${MODPY_VERSION}/site-packages/${LNAME}/__init__.pyc @@ -522,10 +522,6 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/${LNAME}/contrib/formtools/__init__.pyc lib/python${MODPY_VERSION}/site-packages/${LNAME}/contrib/formtools/preview.py lib/python${MODPY_VERSION}/site-packages/${LNAME}/contrib/formtools/preview.pyc -lib/python${MODPY_VERSION}/site-packages/${LNAME}/contrib/formtools/templates/ -lib/python${MODPY_VERSION}/site-packages/${LNAME}/contrib/formtools/templates/formtools/ -lib/python${MODPY_VERSION}/site-packages/${LNAME}/contrib/formtools/templates/formtools/form.html -lib/python${MODPY_VERSION}/site-packages/${LNAME}/contrib/formtools/templates/formtools/preview.html lib/python${MODPY_VERSION}/site-packages/${LNAME}/contrib/humanize/ lib/python${MODPY_VERSION}/site-packages/${LNAME}/contrib/humanize/__init__.py lib/python${MODPY_VERSION}/site-packages/${LNAME}/contrib/humanize/__init__.pyc
Re: SECURITY UPDATE: www/py-django
On Fri, May 23, 2008 at 05:55:35PM -0700, Darrin Chandler wrote: Triviel update to 0.96.2 to address an XSS problem in the admin Trivial, even. interface of older versions. More info at http://www.djangoproject.com/weblog/2008/may/14/security/ Basic tests (the 'It Worked' page) on i386 and sparc64. Add amd64 to that. Please test, comment, and commit. :) -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
UPDATE: www/nginx-0.6.30 - 0.6.31
Bugfix update to latest version. Fixes include: *) Bugfix: nginx did not process FastCGI response if header was at the end of FastCGI record; bug appeared in 0.6.2. Thanks to Sergey Serov. *) bugfix: a segmentation fault might occur in worker process if a file was deleted and the open_file_cache_errors directive was off. Basic tests by me on i386/amd64/sparc64. Please review, test and commit. Thanks! -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation Index: Makefile === RCS file: /cvs/ports/www/nginx/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- Makefile7 May 2008 23:08:24 - 1.7 +++ Makefile12 May 2008 19:13:04 - @@ -2,7 +2,7 @@ COMMENT= robust and small HTTP server and mail proxy server -DISTNAME= nginx-0.6.30 +DISTNAME= nginx-0.6.31 CATEGORIES=www HOMEPAGE= http://nginx.net/ Index: distinfo === RCS file: /cvs/ports/www/nginx/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo7 May 2008 23:08:24 - 1.5 +++ distinfo12 May 2008 19:13:04 - @@ -1,5 +1,5 @@ -MD5 (nginx-0.6.30.tar.gz) = QV6bvHHirjbZEgr4ARLFwQ== -RMD160 (nginx-0.6.30.tar.gz) = OQSjeFjC426g01riKcVaDGtlIPo= -SHA1 (nginx-0.6.30.tar.gz) = rc5ReFbPh5PqAU+ZWyNFaI1sS/4= -SHA256 (nginx-0.6.30.tar.gz) = NRwaEJaIQpnsJIpH83mjRtrKcwq547q10L16X4GhjVM= -SIZE (nginx-0.6.30.tar.gz) = 520139 +MD5 (nginx-0.6.31.tar.gz) = gkvMJbvVtjbxgiN7aSJ70g== +RMD160 (nginx-0.6.31.tar.gz) = edoi6rpBXrnSTdM88r4LGZm7Ebw= +SHA1 (nginx-0.6.31.tar.gz) = wsResq41LczoL6mXqM/HbM5knBo= +SHA256 (nginx-0.6.31.tar.gz) = 5okIcF38H7FmUG7EQSkce607bdzdt2CxZpMb/bW1gqc= +SIZE (nginx-0.6.31.tar.gz) = 520344
MAINTAINER UPDATE: nginx-0.5.35 - nginx 0.6.30
Hi! Nginx has recently made 0.6.x the -stable branch, and 0.5.x will no longer be updated. Too many new features, fixes, and changes to include here. I have tested basic functionality (a couple of my own sites) on sparc64 and amd64. Anyone using nginx with more advanced features or on other platforms please test the attached diff! Feedback and/or bitching welcome. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation Index: Makefile === RCS file: /cvs/ports/www/nginx/Makefile,v retrieving revision 1.6 diff -u -p -r1.6 Makefile --- Makefile29 Mar 2008 13:50:39 - 1.6 +++ Makefile7 May 2008 18:55:34 - @@ -2,8 +2,8 @@ COMMENT= robust and small HTTP server and mail proxy server -DISTNAME= nginx-0.5.35 -PKGNAME= ${DISTNAME}p0 +DISTNAME= nginx-0.6.30 +PKGNAME= ${DISTNAME} CATEGORIES=www HOMEPAGE= http://nginx.net/ Index: distinfo === RCS file: /cvs/ports/www/nginx/distinfo,v retrieving revision 1.4 diff -u -p -r1.4 distinfo --- distinfo17 Feb 2008 18:54:48 - 1.4 +++ distinfo7 May 2008 18:55:34 - @@ -1,5 +1,5 @@ -MD5 (nginx-0.5.35.tar.gz) = EQDYovgRd3847/RP5lSNfg== -RMD160 (nginx-0.5.35.tar.gz) = tveMWE7UMCEkKCdsael0ipYrwBM= -SHA1 (nginx-0.5.35.tar.gz) = npfmcj7mBdsU2c3lQFNJZyn3PBg= -SHA256 (nginx-0.5.35.tar.gz) = 78ZyOiAFzE1jldfpFcDakb6eKxM752HeA3hCuOhlXmg= -SIZE (nginx-0.5.35.tar.gz) = 488926 +MD5 (nginx-0.6.30.tar.gz) = QV6bvHHirjbZEgr4ARLFwQ== +RMD160 (nginx-0.6.30.tar.gz) = OQSjeFjC426g01riKcVaDGtlIPo= +SHA1 (nginx-0.6.30.tar.gz) = rc5ReFbPh5PqAU+ZWyNFaI1sS/4= +SHA256 (nginx-0.6.30.tar.gz) = NRwaEJaIQpnsJIpH83mjRtrKcwq547q10L16X4GhjVM= +SIZE (nginx-0.6.30.tar.gz) = 520139 Index: patches/patch-conf_nginx_conf === RCS file: /cvs/ports/www/nginx/patches/patch-conf_nginx_conf,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 patch-conf_nginx_conf --- patches/patch-conf_nginx_conf 4 Sep 2007 21:58:26 - 1.1.1.1 +++ patches/patch-conf_nginx_conf 7 May 2008 18:55:34 - @@ -1,15 +1,6 @@ $OpenBSD: patch-conf_nginx_conf,v 1.1.1.1 2007/09/04 21:58:26 merdely Exp $ conf/nginx.conf.orig Thu Jan 18 00:08:18 2007 -+++ conf/nginx.confMon Sep 3 12:34:22 2007 -@@ -15,7 +15,7 @@ events { - - - http { --include conf/mime.types; -+include mime.types; - default_type application/octet-stream; - - #log_format main '$remote_addr - $remote_user [$time_local] $request ' +--- conf/nginx.conf.orig Thu Feb 28 13:44:16 2008 conf/nginx.confWed May 7 11:22:35 2008 @@ -41,7 +41,7 @@ http { #access_log logs/host.access.log main; @@ -28,7 +19,7 @@ $OpenBSD: patch-conf_nginx_conf,v 1.1.1. } # proxy the PHP scripts to Apache listening on 127.0.0.1:80 -@@ -86,7 +86,7 @@ http { +@@ -87,7 +87,7 @@ http { #server_name somename alias another.alias; #location / { @@ -37,7 +28,7 @@ $OpenBSD: patch-conf_nginx_conf,v 1.1.1. #index index.html index.htm; #} #} -@@ -109,7 +109,7 @@ http { +@@ -110,7 +110,7 @@ http { #ssl_prefer_server_ciphers on; #location / {
Re: MAINTAINER UPDATE: nginx-0.5.35 - nginx 0.6.30
On Wed, May 07, 2008 at 12:13:45PM -0700, Darrin Chandler wrote: Nginx has recently made 0.6.x the -stable branch, and 0.5.x will no longer be updated. Too many new features, fixes, and changes to include here. I have tested basic functionality (a couple of my own sites) on sparc64 and amd64. Anyone using nginx with more advanced features or on other platforms please test the attached diff! Feedback and/or bitching welcome. New diff attached without PKGNAME=${DISTNAME} (thanks, merdely!). Also did basic test on i386. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation Index: Makefile === RCS file: /cvs/ports/www/nginx/Makefile,v retrieving revision 1.6 diff -u -p -r1.6 Makefile --- Makefile29 Mar 2008 13:50:39 - 1.6 +++ Makefile7 May 2008 19:33:06 - @@ -2,8 +2,7 @@ COMMENT= robust and small HTTP server and mail proxy server -DISTNAME= nginx-0.5.35 -PKGNAME= ${DISTNAME}p0 +DISTNAME= nginx-0.6.30 CATEGORIES=www HOMEPAGE= http://nginx.net/ Index: distinfo === RCS file: /cvs/ports/www/nginx/distinfo,v retrieving revision 1.4 diff -u -p -r1.4 distinfo --- distinfo17 Feb 2008 18:54:48 - 1.4 +++ distinfo7 May 2008 19:33:06 - @@ -1,5 +1,5 @@ -MD5 (nginx-0.5.35.tar.gz) = EQDYovgRd3847/RP5lSNfg== -RMD160 (nginx-0.5.35.tar.gz) = tveMWE7UMCEkKCdsael0ipYrwBM= -SHA1 (nginx-0.5.35.tar.gz) = npfmcj7mBdsU2c3lQFNJZyn3PBg= -SHA256 (nginx-0.5.35.tar.gz) = 78ZyOiAFzE1jldfpFcDakb6eKxM752HeA3hCuOhlXmg= -SIZE (nginx-0.5.35.tar.gz) = 488926 +MD5 (nginx-0.6.30.tar.gz) = QV6bvHHirjbZEgr4ARLFwQ== +RMD160 (nginx-0.6.30.tar.gz) = OQSjeFjC426g01riKcVaDGtlIPo= +SHA1 (nginx-0.6.30.tar.gz) = rc5ReFbPh5PqAU+ZWyNFaI1sS/4= +SHA256 (nginx-0.6.30.tar.gz) = NRwaEJaIQpnsJIpH83mjRtrKcwq547q10L16X4GhjVM= +SIZE (nginx-0.6.30.tar.gz) = 520139 Index: patches/patch-conf_nginx_conf === RCS file: /cvs/ports/www/nginx/patches/patch-conf_nginx_conf,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 patch-conf_nginx_conf --- patches/patch-conf_nginx_conf 4 Sep 2007 21:58:26 - 1.1.1.1 +++ patches/patch-conf_nginx_conf 7 May 2008 19:33:06 - @@ -1,15 +1,6 @@ $OpenBSD: patch-conf_nginx_conf,v 1.1.1.1 2007/09/04 21:58:26 merdely Exp $ conf/nginx.conf.orig Thu Jan 18 00:08:18 2007 -+++ conf/nginx.confMon Sep 3 12:34:22 2007 -@@ -15,7 +15,7 @@ events { - - - http { --include conf/mime.types; -+include mime.types; - default_type application/octet-stream; - - #log_format main '$remote_addr - $remote_user [$time_local] $request ' +--- conf/nginx.conf.orig Thu Feb 28 13:44:16 2008 conf/nginx.confWed May 7 11:22:35 2008 @@ -41,7 +41,7 @@ http { #access_log logs/host.access.log main; @@ -28,7 +19,7 @@ $OpenBSD: patch-conf_nginx_conf,v 1.1.1. } # proxy the PHP scripts to Apache listening on 127.0.0.1:80 -@@ -86,7 +86,7 @@ http { +@@ -87,7 +87,7 @@ http { #server_name somename alias another.alias; #location / { @@ -37,7 +28,7 @@ $OpenBSD: patch-conf_nginx_conf,v 1.1.1. #index index.html index.htm; #} #} -@@ -109,7 +109,7 @@ http { +@@ -110,7 +110,7 @@ http { #ssl_prefer_server_ciphers on; #location / {
Re: SECURITY UPDATE: gnupg
On Wed, Apr 02, 2008 at 02:24:08PM +0200, Jasper Lievisse Adriaanse wrote: please test/comment this security update. Basic functionality works fine for me on amd64. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation pgpez28zXjoxm.pgp Description: PGP signature
Re: Update needed: misc/dialog
On Mon, Feb 18, 2008 at 09:57:48AM +, Stuart Henderson wrote: ahhh. since you are posting from gmail, it might be better to put the diff on a web server and give the URL. (or paste in a uuencode of the diff). gmail is not good at sending diffs without mangling them horribly. If the diff is named something like foo.txt and *attached* it should work, should it not? Some (most?) MUAs will even show text/plain attachments inline, which makes things easier. I don't have a gmail account so I can't try it out, but that seems like the simplest way around the problem. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: Update: ion-20080207
Though I like tha names anion and cation the best, it's probably wise to avoid using ion anywhere in the name. Plasma is taken. How about anode or cathode? -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: MAINTAINER UPDATE: www/nginx
On Sun, Dec 30, 2007 at 12:40:47PM -0500, Mike Erdely wrote: On Sat, Dec 29, 2007 at 05:19:52PM -0700, Darrin Chandler wrote: This brings nginx up to 0.5.34, the latest stable version. Change log is at http://nginx.net/CHANGES-0.5 includes several bugfixes as well as some new features. I have also made this a flavored port, with only the most common features enabled by default (http server proxy, mod_ssl). I'm not sure about the flavors. To me if feels like you're adding complexity where none is needed. nginx is not a large binary with all options compiled in. The options do not include a large number of dependencies which one might want to leave out. Anyone else with opinions on this? Tested by me on i386, amd64, sparc64. Diff attached. Tarball available at http://phxbsd.com/OpenBSD/nginx.tar.gz Please test and commit. Feedback appreciated. Thanks Mike, Bernd, Okan, and you too Joachim :) Unflavored diff attached. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation Index: Makefile === RCS file: /cvs/ports/www/nginx/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile8 Oct 2007 19:23:43 - 1.3 +++ Makefile29 Dec 2007 22:56:50 - @@ -2,7 +2,7 @@ COMMENT= robust and small HTTP server and IMAP/POP3 proxy server -DISTNAME= nginx-0.5.32 +DISTNAME= nginx-0.5.34 PKGNAME= ${DISTNAME} CATEGORIES=www @@ -28,11 +28,17 @@ SUBST_VARS+=NGINX_DIR CONFIGURE_STYLE= simple +FLAVORS= mail_proxy mod_status mod_perl no_http_proxy no_ssl +FLAVOR?= + # Some conf files are relative to --prefix and # have no --xxx-path of their own. Set this so # all runtime configs live in the same place. CONFIGURE_ARGS+= --prefix=${SYSCONFDIR}/nginx +# Get rid of '#include malloc.h' which caused many warnings +CONFIGURE_ARGS+= --with-cc-opt=-DNGX_HAVE_MALLOC_H=0 + CONFIGURE_ARGS+= --conf-path=${SYSCONFDIR}/nginx/nginx.conf \ --sbin-path=${PREFIX}/sbin/nginx \ --pid-path=/var/run/nginx.pid \ @@ -43,13 +49,26 @@ CONFIGURE_ARGS+=--conf-path=${SYSCONFDI --http-log-path=/var/log/nginx/access.log \ --error-log-path=/var/log/nginx/error.log \ --user=_nginx \ - --group=_nginx \ - --with-cc-opt=-I ${LOCALBASE}/include \ - --with-ld-opt=-L ${LOCALBASE}/lib \ - --with-http_ssl_module \ - --with-http_stub_status_module \ - --with-imap \ - --with-imap_ssl_module + --group=_nginx + +.if ${FLAVOR:L:Mno_http_proxy} +CONFIGURE_ARGS+= --without-http_proxy_module +.endif +.if ${FLAVOR:L:Mmail_proxy} +CONFIGURE_ARGS+= --with-mail +.endif +.if !${FLAVOR:L:Mno_ssl} +CONFIGURE_ARGS+= --with-http_ssl_module +.endif +.if ${FLAVOR:L:Mmail_proxy} !${FLAVOR:L:Mno_ssl} +CONFIGURE_ARGS+= --with-mail_ssl_module +.endif +.if ${FLAVOR:L:Mmod_perl} +CONFIGURE_ARGS+= --with-http_perl_module +.endif +.if ${FLAVOR:L:Mmod_status} +CONFIGURE_ARGS+= --with-http_stub_status_module +.endif NO_REGRESS=Yes ALL_TARGET= Index: distinfo === RCS file: /cvs/ports/www/nginx/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo8 Oct 2007 19:23:43 - 1.2 +++ distinfo29 Dec 2007 22:56:50 - @@ -1,5 +1,5 @@ -MD5 (nginx-0.5.32.tar.gz) = AIgmm4pZoUawupye4phTuw== -RMD160 (nginx-0.5.32.tar.gz) = ZxF7YuJr8P8oQwQoZ630OI+k0aE= -SHA1 (nginx-0.5.32.tar.gz) = PLS8CXZ15cGpDlm/UfSiS5habfo= -SHA256 (nginx-0.5.32.tar.gz) = jLlcxhuv7HsP4+kfBvLnruexLxKmr4IA1gA4+NXlLKw= -SIZE (nginx-0.5.32.tar.gz) = 479982 +MD5 (nginx-0.5.34.tar.gz) = j30+/NfKrx8G5Nld+urCOA== +RMD160 (nginx-0.5.34.tar.gz) = oFdlHrkGWx5JHOOMc7yeSJfJgsc= +SHA1 (nginx-0.5.34.tar.gz) = 929ssawKMW8glYv33GoDcj+1jt8= +SHA256 (nginx-0.5.34.tar.gz) = ZOJVu3avoczitluisztNHP8DRlT/IPZLTChdFD8Fmjo= +SIZE (nginx-0.5.34.tar.gz) = 487815
Re: MAINTAINER UPDATE: www/nginx
Unflavored diff attached. +FLAVORS= mail_proxy mod_status mod_perl no_http_proxy no_ssl +FLAVOR?= Not sure how THAT happened! New diff coming soon, when I'm SURE. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: MAINTAINER UPDATE: www/nginx
On Sun, Dec 30, 2007 at 02:42:12PM -0700, Darrin Chandler wrote: Unflavored diff attached. +FLAVORS= mail_proxy mod_status mod_perl no_http_proxy no_ssl +FLAVOR?= Not sure how THAT happened! New diff coming soon, when I'm SURE. Minor copying screwup. Here's the diff... -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation Index: Makefile === RCS file: /cvs/ports/www/nginx/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile8 Oct 2007 19:23:43 - 1.3 +++ Makefile30 Dec 2007 21:47:06 - @@ -2,7 +2,7 @@ COMMENT= robust and small HTTP server and IMAP/POP3 proxy server -DISTNAME= nginx-0.5.32 +DISTNAME= nginx-0.5.34 PKGNAME= ${DISTNAME} CATEGORIES=www @@ -33,6 +33,9 @@ CONFIGURE_STYLE= simple # all runtime configs live in the same place. CONFIGURE_ARGS+= --prefix=${SYSCONFDIR}/nginx +# Get rid of '#include malloc.h' which caused many warnings +CONFIGURE_ARGS+= --with-cc-opt=-DNGX_HAVE_MALLOC_H=0 + CONFIGURE_ARGS+= --conf-path=${SYSCONFDIR}/nginx/nginx.conf \ --sbin-path=${PREFIX}/sbin/nginx \ --pid-path=/var/run/nginx.pid \ @@ -44,12 +47,10 @@ CONFIGURE_ARGS+=--conf-path=${SYSCONFDI --error-log-path=/var/log/nginx/error.log \ --user=_nginx \ --group=_nginx \ - --with-cc-opt=-I ${LOCALBASE}/include \ - --with-ld-opt=-L ${LOCALBASE}/lib \ --with-http_ssl_module \ --with-http_stub_status_module \ - --with-imap \ - --with-imap_ssl_module + --with-mail \ + --with-mail_ssl_module NO_REGRESS=Yes ALL_TARGET= Index: distinfo === RCS file: /cvs/ports/www/nginx/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo8 Oct 2007 19:23:43 - 1.2 +++ distinfo30 Dec 2007 21:47:06 - @@ -1,5 +1,5 @@ -MD5 (nginx-0.5.32.tar.gz) = AIgmm4pZoUawupye4phTuw== -RMD160 (nginx-0.5.32.tar.gz) = ZxF7YuJr8P8oQwQoZ630OI+k0aE= -SHA1 (nginx-0.5.32.tar.gz) = PLS8CXZ15cGpDlm/UfSiS5habfo= -SHA256 (nginx-0.5.32.tar.gz) = jLlcxhuv7HsP4+kfBvLnruexLxKmr4IA1gA4+NXlLKw= -SIZE (nginx-0.5.32.tar.gz) = 479982 +MD5 (nginx-0.5.34.tar.gz) = j30+/NfKrx8G5Nld+urCOA== +RMD160 (nginx-0.5.34.tar.gz) = oFdlHrkGWx5JHOOMc7yeSJfJgsc= +SHA1 (nginx-0.5.34.tar.gz) = 929ssawKMW8glYv33GoDcj+1jt8= +SHA256 (nginx-0.5.34.tar.gz) = ZOJVu3avoczitluisztNHP8DRlT/IPZLTChdFD8Fmjo= +SIZE (nginx-0.5.34.tar.gz) = 487815
MAINTAINER UPDATE: www/nginx
This brings nginx up to 0.5.34, the latest stable version. Change log is at http://nginx.net/CHANGES-0.5 includes several bugfixes as well as some new features. I have also made this a flavored port, with only the most common features enabled by default (http server proxy, mod_ssl). Tested by me on i386, amd64, sparc64. Diff attached. Tarball available at http://phxbsd.com/OpenBSD/nginx.tar.gz Please test and commit. Feedback appreciated. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation Index: Makefile === RCS file: /cvs/ports/www/nginx/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile8 Oct 2007 19:23:43 - 1.3 +++ Makefile29 Dec 2007 22:56:50 - @@ -2,7 +2,7 @@ COMMENT= robust and small HTTP server and IMAP/POP3 proxy server -DISTNAME= nginx-0.5.32 +DISTNAME= nginx-0.5.34 PKGNAME= ${DISTNAME} CATEGORIES=www @@ -28,11 +28,17 @@ SUBST_VARS+=NGINX_DIR CONFIGURE_STYLE= simple +FLAVORS= mail_proxy mod_status mod_perl no_http_proxy no_ssl +FLAVOR?= + # Some conf files are relative to --prefix and # have no --xxx-path of their own. Set this so # all runtime configs live in the same place. CONFIGURE_ARGS+= --prefix=${SYSCONFDIR}/nginx +# Get rid of '#include malloc.h' which caused many warnings +CONFIGURE_ARGS+= --with-cc-opt=-DNGX_HAVE_MALLOC_H=0 + CONFIGURE_ARGS+= --conf-path=${SYSCONFDIR}/nginx/nginx.conf \ --sbin-path=${PREFIX}/sbin/nginx \ --pid-path=/var/run/nginx.pid \ @@ -43,13 +49,26 @@ CONFIGURE_ARGS+=--conf-path=${SYSCONFDI --http-log-path=/var/log/nginx/access.log \ --error-log-path=/var/log/nginx/error.log \ --user=_nginx \ - --group=_nginx \ - --with-cc-opt=-I ${LOCALBASE}/include \ - --with-ld-opt=-L ${LOCALBASE}/lib \ - --with-http_ssl_module \ - --with-http_stub_status_module \ - --with-imap \ - --with-imap_ssl_module + --group=_nginx + +.if ${FLAVOR:L:Mno_http_proxy} +CONFIGURE_ARGS+= --without-http_proxy_module +.endif +.if ${FLAVOR:L:Mmail_proxy} +CONFIGURE_ARGS+= --with-mail +.endif +.if !${FLAVOR:L:Mno_ssl} +CONFIGURE_ARGS+= --with-http_ssl_module +.endif +.if ${FLAVOR:L:Mmail_proxy} !${FLAVOR:L:Mno_ssl} +CONFIGURE_ARGS+= --with-mail_ssl_module +.endif +.if ${FLAVOR:L:Mmod_perl} +CONFIGURE_ARGS+= --with-http_perl_module +.endif +.if ${FLAVOR:L:Mmod_status} +CONFIGURE_ARGS+= --with-http_stub_status_module +.endif NO_REGRESS=Yes ALL_TARGET= Index: distinfo === RCS file: /cvs/ports/www/nginx/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo8 Oct 2007 19:23:43 - 1.2 +++ distinfo29 Dec 2007 22:56:50 - @@ -1,5 +1,5 @@ -MD5 (nginx-0.5.32.tar.gz) = AIgmm4pZoUawupye4phTuw== -RMD160 (nginx-0.5.32.tar.gz) = ZxF7YuJr8P8oQwQoZ630OI+k0aE= -SHA1 (nginx-0.5.32.tar.gz) = PLS8CXZ15cGpDlm/UfSiS5habfo= -SHA256 (nginx-0.5.32.tar.gz) = jLlcxhuv7HsP4+kfBvLnruexLxKmr4IA1gA4+NXlLKw= -SIZE (nginx-0.5.32.tar.gz) = 479982 +MD5 (nginx-0.5.34.tar.gz) = j30+/NfKrx8G5Nld+urCOA== +RMD160 (nginx-0.5.34.tar.gz) = oFdlHrkGWx5JHOOMc7yeSJfJgsc= +SHA1 (nginx-0.5.34.tar.gz) = 929ssawKMW8glYv33GoDcj+1jt8= +SHA256 (nginx-0.5.34.tar.gz) = ZOJVu3avoczitluisztNHP8DRlT/IPZLTChdFD8Fmjo= +SIZE (nginx-0.5.34.tar.gz) = 487815
Re: Does anyone working on Gthumb ?
I believe gthumb is now eog (Eye of Gnome). On Mon, Nov 19, 2007 at 05:36:37PM +0100, Mortheres wrote: Hi all, I write to the list to know if someone is working on a new Gthumb port. I saw that the old Gthumb port disapeared of the port tree and so I am volunteer to create a new one. So if someone is already working on this, please tell me because in this case it's useless that I make this work again. Thanks. Regards Guillaume -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: Does anyone working on Gthumb ?
On Mon, Nov 19, 2007 at 06:03:45PM +0100, Antoine Jacoutot wrote: On Mon, 19 Nov 2007, Darrin Chandler wrote: I believe gthumb is now eog (Eye of Gnome). I think you're confused ;) EOG: http://www.gnome.org/projects/eog/ GTHUMB: http://gthumb.sourceforge.net/ If you're reffering to the commit message when gthumb was removed (something like use eog instead), my guess is that it was just to point people to another image viewer. Yes, I'm confused about every port that starts with 'g' ;-) -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: Proper way to submit diffs?
On Sun, Nov 18, 2007 at 05:45:39PM -0600, Marco Peereboom wrote: All not exactly correct advice. cvs -d [EMAIL PROTECTED]:/cvs diff -uNp aa Then mail aa without mangling it with some sort of email program or as a mime attachment. I use mutt with vim for all my email. Others use emacs as their mail client etc. Two more things I've found helpful: * echo diff -uNp ~/.cvsrc This is a nice set it and forget it thing :) * if you attach, try to get your mail client to recognize that it's in text format, and most people will be able to read it as if it were inline. Do NOT copy and past from an xterm into an email. All tabs get replaced with spaces (among the the bad things that happen). Among the bad things indeed. I've been bitten a few different ways by pasting, none of them esxpecially pleasant. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: UPDATE: x11/fluxbox 0.9.15.1 - 1.0.0
On Thu, Nov 08, 2007 at 02:30:30PM -0500, Mike Erdely wrote: On Thu, Nov 08, 2007 at 06:26:46PM +0200, Genadijus Paleckis wrote: working for me on i386. please test and comment. Here's a modified diff that fixes WANTLIB and IMO handles the SEPARATE_BUILD a little better (no FILESDIR stuff): Works for me on i386. Also, CC'd $MAINTAINER. This worked for me on i386. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
MAINTAINER UPDATE: www/nginx
Update from nginx-0.5.31p0 to nginx-0.5.32. Several bugfixes and a few features (changelog at http://nginx.net/CHANGES-0.5). Tested on i386. Please commit. Thanks! -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation Index: Makefile === RCS file: /cvs/ports/www/nginx/Makefile,v retrieving revision 1.2 diff -u -p -r1.2 Makefile --- Makefile22 Sep 2007 21:06:05 - 1.2 +++ Makefile7 Oct 2007 20:19:40 - @@ -2,8 +2,8 @@ COMMENT= robust and small HTTP server and IMAP/POP3 proxy server -DISTNAME= nginx-0.5.31 -PKGNAME= ${DISTNAME}p0 +DISTNAME= nginx-0.5.32 +PKGNAME= ${DISTNAME} CATEGORIES=www HOMEPAGE= http://nginx.net/ Index: distinfo === RCS file: /cvs/ports/www/nginx/distinfo,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 distinfo --- distinfo4 Sep 2007 21:58:26 - 1.1.1.1 +++ distinfo7 Oct 2007 20:19:40 - @@ -1,5 +1,5 @@ -MD5 (nginx-0.5.31.tar.gz) = d84ef8e624b8953faf9cee2b5da535c1 -RMD160 (nginx-0.5.31.tar.gz) = 02153a490c2b58dccf02d120da6c3fd7b26c5a61 -SHA1 (nginx-0.5.31.tar.gz) = c58076b3e1f3f4cb59afe5143fc0a893d3a4f0ba -SHA256 (nginx-0.5.31.tar.gz) = 34cae92545e10c6b84708d058a4981f31b688ea5309f24c394b7422ae5d71042 -SIZE (nginx-0.5.31.tar.gz) = 475892 +MD5 (nginx-0.5.32.tar.gz) = AIgmm4pZoUawupye4phTuw== +RMD160 (nginx-0.5.32.tar.gz) = ZxF7YuJr8P8oQwQoZ630OI+k0aE= +SHA1 (nginx-0.5.32.tar.gz) = PLS8CXZ15cGpDlm/UfSiS5habfo= +SHA256 (nginx-0.5.32.tar.gz) = jLlcxhuv7HsP4+kfBvLnruexLxKmr4IA1gA4+NXlLKw= +SIZE (nginx-0.5.32.tar.gz) = 479982 Index: patches/patch-src_http_modules_ngx_http_autoindex_module_c === RCS file: patches/patch-src_http_modules_ngx_http_autoindex_module_c diff -N patches/patch-src_http_modules_ngx_http_autoindex_module_c --- patches/patch-src_http_modules_ngx_http_autoindex_module_c 22 Sep 2007 21:06:06 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,15 +0,0 @@ -$OpenBSD: patch-src_http_modules_ngx_http_autoindex_module_c,v 1.1 2007/09/22 21:06:06 sthen Exp $ src/http/modules/ngx_http_autoindex_module.c.orig Sat Sep 22 21:51:41 2007 -+++ src/http/modules/ngx_http_autoindex_module.c Sat Sep 22 21:53:41 2007 -@@ -236,6 +236,11 @@ ngx_http_autoindex_handler(ngx_http_request_t *r) - rc = ngx_http_send_header(r); - - if (rc == NGX_ERROR || rc NGX_OK || r-header_only) { -+if (ngx_close_dir(dir) == NGX_ERROR) { -+ngx_log_error(NGX_LOG_ALERT, r-connection-log, ngx_errno, -+ ngx_close_dir_n \%V\ failed, path); -+} -+ - return rc; - } -
Re: NEW: x11/awesome
Tested fine on i386. (after hunting down a mirror with devel/libconfig) On Sat, Sep 22, 2007 at 10:58:51PM -0500, Will Maier wrote: Description: awesome is a window manager initially based on a dwm code rewriting. It's extremely fast, small, dynamic and awesome. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
MAINTAINER UPDATE: www/nginx - reliability/DoS fix
With autoindexing enabled, HEAD requests to an auto indexed directory leaks the file descriptor, eventually exhausting them. Patch from nginx author Igor Sysoev, and bump to p0. Tested by me on i386, sparc64, amd64. Please review, test, commit. Index: ports/www/nginx/Makefile === RCS file: /cvs/ports/www/nginx/Makefile,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 Makefile --- ports/www/nginx/Makefile4 Sep 2007 21:58:26 - 1.1.1.1 +++ ports/www/nginx/Makefile22 Sep 2007 20:14:48 - @@ -3,6 +3,7 @@ COMMENT= robust and small HTTP server and IMAP/POP3 proxy server DISTNAME= nginx-0.5.31 +PKGNAME= ${DISTNAME}p0 CATEGORIES=www HOMEPAGE= http://nginx.net/ Index: ports/www/nginx/patches/patch-src_http_modules_ngx_http_autoindex_module_c === RCS file: ports/www/nginx/patches/patch-src_http_modules_ngx_http_autoindex_module_c diff -N ports/www/nginx/patches/patch-src_http_modules_ngx_http_autoindex_module_c --- /dev/null 1 Jan 1970 00:00:00 - +++ ports/www/nginx/patches/patch-src_http_modules_ngx_http_autoindex_module_c 22 Sep 2007 20:14:48 - @@ -0,0 +1,15 @@ +$OpenBSD$ +--- src/http/modules/ngx_http_autoindex_module.c.orig Mon Nov 13 13:53:37 2006 src/http/modules/ngx_http_autoindex_module.c Sat Sep 22 10:58:02 2007 +@@ -236,6 +236,11 @@ ngx_http_autoindex_handler(ngx_http_requ + rc = ngx_http_send_header(r); + + if (rc == NGX_ERROR || rc NGX_OK || r-header_only) { ++if (ngx_close_dir(dir) == NGX_ERROR) { ++ngx_log_error(NGX_LOG_ALERT, r-connection-log, ngx_errno, ++ ngx_close_dir_n \%V\ failed, path); ++} ++ + return rc; + } + -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation pgpkg0zAxs4Lw.pgp Description: PGP signature
Re: NEW: www/py-Django (0.96)
On Mon, Sep 17, 2007 at 09:26:10AM -0500, Will Maier wrote: pkg/DESCR should be wrapped at 72 characters. Otherwise, looks good and tests OK on i386/-current. I'd also consider installing some (or all) of docs/ and moving the documentation reference in MESSAGE to DESCR, but those changes seem pretty stylistic/subjective. Docs are now installed to ${PREFIX}/share/doc/django/, and pkg/DESCR width is 72. Thanks, Will! I added to the doc reference, but left it in MESSAGE so people will see it right after installation. This *is* stylistic, and I'm happy to hear pros/cons about it. Version with changes is attached. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation py-Django.tar.gz Description: application/tar-gz pgp5BCO2emKSj.pgp Description: PGP signature
NEW: www/py-Django (0.96)
I've been using Django and it works well. I've tested this primarily on i386, and a bit on amd64 and sparc64. Minimal testing can be accomplished with: $ django-admin.py startproject mysite cd mysite $ python manage.py runserver (startup messages) Pull up http://127.0.0.1:8000/ and see the welcome message. Note: having multiple python versions installed means you have to invoke the one where django got installed. Please comment, test, and commit. pkg/DESCR: Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Developed and used over two years by a fast-moving online-news operation, Django was designed to handle two challenges: the intensive deadlines of a newsroom and the stringent requirements of the experienced Web developers who wrote it. It lets you build high-performing, elegant Web applications quickly. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation py-Django-0.96.tar.gz Description: application/tar-gz pgp5NVwwXtb96.pgp Description: PGP signature
Re: NEW: www/nginx - small fast http server, proxy
On Tue, Aug 28, 2007 at 02:23:26PM -0400, Mike Erdely wrote: On Sun, Aug 26, 2007 at 08:17:11PM -0700, Darrin Chandler wrote: Attached is my port of nginx (Engine X), a small but capable and *fast* HTTP server that I've been using. Comments, testing, and/or a commit greatly appreciated. Builds and works for me on i386. Any thoughts on using an _nginx user instead of www? Thanks for the test! I have no strong opinion on _nginx vs. www. I used www since it is already there and seems to fit the role well. Guidance appreciated. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
NEW: www/nginx - small fast http server, proxy
Attached is my port of nginx (Engine X), a small but capable and *fast* HTTP server that I've been using. Comments, testing, and/or a commit greatly appreciated. Thanks! -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation nginx-0.5.31.tar.gz Description: application/tar-gz
Re: Enable SASL support for Mutt 1.5
On Sun, Jul 08, 2007 at 09:42:37PM +0200, steven mestdagh wrote: I also prefer to avoid this dependency in the default mutt package, and don't really see a problem with a new flavor. If we're just looking for preferences, this is my feeling, too. Further, I'd really like a flavor for sasl. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: Removing all packages
On Tue, Jun 26, 2007 at 07:41:09PM -0300, Daniel Bolgheroni wrote: are there an easy way to remove all packages? Can I just remove /usr/local and /var/db/pkg or am I looking for trouble doing this? There will be things on other places that will still be left by just deleting like above. Instead, man pkg_delete, and specifically: Package names may be specified either as the package name itself, or as a filename which consists of the package name plus the ``.tgz'' suffix, or as a full pathname like /var/db/pkg/pkgname, so that shell wildcards can be used. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: NEW: textproc/gsed
On Tue, May 15, 2007 at 06:15:25PM +0200, Stefan Sperling wrote: On Mon, May 14, 2007 at 11:03:01PM -0300, Andr?s Delfino wrote: | And what/who needs this? I do. Not because I want to write non-portable sed, but because I often come across scripts I want to use that use GNU sed features. Ok, now we're getting somewhere... I really don't see the point of your argument. There is a port and there is a maintainer for it. Where's your problem? The problem as I see it is determining if this will be useful, *used*, and *actively* maintained, vs. ported once and forgotten about. If it's the former, then great! If it's the latter, then it stinks. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: Remove x11/ion
On Mon, Apr 30, 2007 at 11:24:07AM -0500, Marco Peereboom wrote: Sure we can keep ion3 ad is but I'd like to pick up the new changes in a forked project called bananawm :-) bananawm? I don't get it. How about FreeIon for a fork: FreeIon: if you're not part of the solution, you're part of the precipitate -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Re: pkg_dig - sh(1) script
On Thu, Sep 28, 2006 at 04:02:04PM +0300, Sideris Michael wrote: On Thu, Sep 28, 2006 at 12:08:33PM +0200, Marc Espie wrote: Don't waste too much time perfecting this. I do not. I am aware of the fact that this cannot be merged with the rest of system the way it is. But if there are any bugs I would like to fix them. The right approach is to have pkg_add tag packages that the user really installed vs. stuff that is needed for dependencies. It's in my queue of things to do. Well, yeah. But the thing is that when you have a system with ~100 packages already installed how is this tagging technique going to work? In a fresh system I would totally agree with your approach. My way is more dynamic though. And you have to admit that it works quite fast as well. Anyway, it is merely a way of providing extra information for the packages you are planning to remove. So, until you implement your idea of tagging packages I will be using this. Whoever is going to use it though, send feedback whenever appropriate. And of course there are common situations that neither approach handles very well. If I install openldap-server it will install openldap-client as a dependancy. If I later uninstall openldap-server I may need to keep openldap-client. Or not. So deleting package dependancies should not be fully automated. Perhaps in addition to pkg_add tagging as above, there could be a way to manually tag packages as explicity installed... -- Darrin Chandler| Phoenix BSD Users Group [EMAIL PROTECTED] | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ |
Re: pkg_dig - sh(1) script
And of course there are common situations that neither approach handles very well. If I install openldap-server it will install openldap-client as a dependancy. If I later uninstall openldap-server I may need to keep openldap-client. Or not. So deleting package dependancies should not be fully automated. Good, you're on the right direction. Perhaps in addition to pkg_add tagging as above, there could be a way to manually tag packages as explicity installed... Go on, think a bit more, and you'll have the full design I just *sketched* overhead... ;-) I will think a bit more about it, and see how close I come. ;) -- Darrin Chandler| Phoenix BSD Users Group [EMAIL PROTECTED] | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ |