Re: [New] Stream Locomotive 3.03

2008-05-10 Thread Roland Philippsen

Works here, cool refreshing waste of CPU time :o)

The man page is garbled though, at least on my amd64. Maybe an 
encoding issue (could be Japanese)?


Cheers,
Roland


syl wrote:

Hi ports,

Here is a port of sl 3.03.

SL (Steam Locomotive) runs across your terminal when you type
sl as you meant to type ls. It's just a joke command, and
not useful at all.

It works under i386 and amd64.

Thanks,



--
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE84C528D
http://poftwaresatent.net/ skype: poftwaresatent



Re: update: wget 1.11.2

2008-05-07 Thread Roland Philippsen

Looks good on amd64.

Marius ROMAN wrote:

Here is an update to wget 1.11.2
Tested on i386.




--
Roland Philippsen
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE84C528D
http://poftwaresatent.net/ skype: poftwaresatent



Re: [new] trac-ldapplugin

2007-10-02 Thread Roland Philippsen
Mike Erdely wrote:
 On Tue, Sep 25, 2007 at 02:51:42PM -0400, Mike Erdely wrote:
 On Fri, Sep 14, 2007 at 04:04:38PM -0400, Mike Erdely wrote:
 From DESCR:
 LDAP support with group management has been added as a Trac extension.
 This extension enables to use existing LDAP groups to grant permissions
 rather than defining permissions for every single user on the system.
 The latest release also permits to store permissions (both users and
 groups permissions) in the LDAP directory itself rather than in the
 SQL backend.

 I've tested this on i386 with apache13 and apache2 and on macppc with
 apache2.
 Anyone willing to test this and comment?
 
 Bueller?

I was able to install on amd64 (for apache2) but couldn't test because
trac-hacks.org is down (for over a week now, I sent an email to the
guy who hosts it but no reply). Is there an alternative website where
I can learn about configuring and using the trac ldap plugin? Without
documentation I cannot test...

Roland



Re: [new] trac-adminplugin

2007-09-14 Thread Roland Philippsen
Works for me with apache2 on amd64. Thanks, nice tool!
Roland

  A plugin is available for administering your Trac projects through the
  web interface.  It performs many tasks performed by trac-admin(1).
  
  I've tested this on i386 with apache13 and apache2 and on macppc with
  apache2.
 
 Some nice people offered to host tarballs for me so we didn't have to do
 svn checkouts to build. :)
 
 Updated port attached.  Please test, comment.
 
 -ME

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail



Re: Comments? ap2 flavor for www/mod_fastcgi

2007-09-13 Thread Roland Philippsen
Mike Erdely wrote:
 On Thu, Sep 13, 2007 at 01:26:44PM -0400, Mike Erdely wrote:
 I tested this on i386 and macppc.  ap1 version works as it always did.
 ap2 version works with no errors when starting apache2.
 
 I added the PSEUDO_FLAVOR=ap2 like Simon suggested so that the default.
 I also replaced the ln with cp in pre-patch, so it works the way I
 intended with the last diff.
 
 Please test!

Looks good on amd64 (again, I only really tested the ap2 part).

However, in order to install the -ap2 sub-package, I had to specify
the FLAVOR and the SUBPACKGE like so:

$ env FLAVOR=ap2 SUBPACKAGE=-ap2 make install

Specifying only the flavor results in an apache1-only install. Giving
only the sub-package results in an error Fatal: Subpackage -ap2 does
not exist.

I think that's only a very minor nuisance though: people who install
binary packages wont notice, and ports users can figure that one out
quite easily.

Thanks a lot Mike!
Roland



Re: Comments? ap2 flavor for www/mod_fastcgi

2007-09-12 Thread Roland Philippsen
Simon Bertrang wrote:
 On Mon, Sep 10, 2007 at 11:59:27PM -0400, Mike Erdely wrote:
 On Sun, Sep 09, 2007 at 12:57:30PM -0700, Roland Philippsen wrote:
 here's a suggestion for adding an Apache2-flavor to www/mod_fastcgi.
 The patch (created with git) is best applied using 'patch -p2' from
 within the mod_fastcgi directory.
...
 I made a couple tweaks and used cvs diff (below).
...
 Another proposal using MULTI_PACKAGES instead of FLAVOR which allows to
 install both at the same time.
 patches/patch-fcgi_h works in both version, so i changed it to apply
 unconditionally which make the Makefile even smaller.

Thanks for the input. I didn't test your patch yet, but...

The reason why I hadn't opted for MULTI_PACKAGES was that it would
change the default behavior of the port. People who want just the
good old thing would be forced to specify SUBPACKAGE=main in the
environment when building mod_fastcgi, otherwise they're forced to
install apache-httpd, which might not be exactly what they want.

Or am I missing something here?

Just my two cents, will test your patch and let everyone know.

Cheers,
Roland



Re: Comments? ap2 flavor for www/mod_fastcgi

2007-09-12 Thread Roland Philippsen
 Original-Nachricht 
 Datum: Thu, 13 Sep 2007 01:49:07 +0200
 Von: Simon Bertrang [EMAIL PROTECTED]
 Betreff: Re: Comments? ap2 flavor for www/mod_fastcgi
   Another proposal using MULTI_PACKAGES instead of FLAVOR which allows
 to
   install both at the same time.

Both proposed  subpackages build and install fine on my amd64, but attempting 
to load ap2-mod_fastcgi-2.4.2 into Apache 2 yields:

/usr/local/sbin/httpd2:/usr/local/lib/apache2/mod_fastcgi.so: undefined symbol 
'ap_server_strip_chroot'
/usr/local/sbin/httpd2:/usr/local/lib/apache2/mod_fastcgi.so: undefined symbol 
'ap_server_chroot_desired'

These two symbols come from patch-mod_fastcgi_c which I had disabled for the 
ap2 flavor in my original post. Something similar would happen if my Apache 
config exercised patch-fcgi_pm_c (didn't test that though).

Similarly, the patch-fcgi_h is specific to Apache 2 and not required under 
Apache 1 (although it does not *seem* to hurt, although I didn't actually run 
it).

I see no obvious way of specifying PATCH_LIST in a subpackage-dependent way, 
but I think we need such granularity in this case. I will read up on 
PSEUDO_FLAVORS and its use in other ports to see if that can solve this issue 
elegantly.

Other ideas or comments?

Cheers,
Roland

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail



Re: Comments? ap2 flavor for www/mod_fastcgi

2007-09-11 Thread Roland Philippsen
Mike Erdely wrote:
 On Sun, Sep 09, 2007 at 12:57:30PM -0700, Roland Philippsen wrote:
 here's a suggestion for adding an Apache2-flavor to www/mod_fastcgi.
 The patch (created with git) is best applied using 'patch -p2' from
 within the mod_fastcgi directory. The unflavored build is identical to
 what's in CVS right now, specifying FLAVOR=ap2 builds it for
 www/apache-httpd.

...

 I tested this on macppc and i386.  Works as expected.
 
 I made a couple tweaks and used cvs diff (below).
  - I removed your flavored_ PKGNAME prefix.
  - I added @comment share/.../mod_fastcgi.html.orig to PFRAG.ap2 so
update-plist doesn't change any files.
 
 Any comments for the below diff?

Thanks! Works swell here (amd64).

One (general) question: what are the recommendations regarding the use
of quotes in COMMENT? I've seen patches that remove those, and some
ports obviously still have them...

Greetings,
Roland



Comments? ap2 flavor for www/mod_fastcgi

2007-09-09 Thread Roland Philippsen
Hi,

here's a suggestion for adding an Apache2-flavor to www/mod_fastcgi.
The patch (created with git) is best applied using 'patch -p2' from
within the mod_fastcgi directory. The unflavored build is identical to
what's in CVS right now, specifying FLAVOR=ap2 builds it for
www/apache-httpd.

Tested on a -current amd64 (as of yesterday).

Any comments welcome, of course. I tried to infer the appropriate
style from the docs and by looking at other ports, but this is my
first attempt so please don't get too upset if I blundered somewhere :o)

Greets,
Roland


diff --git a/flavored_mod_fastcgi/Makefile b/flavored_mod_fastcgi/Makefile
index f426594..e9485fb 100644
--- a/flavored_mod_fastcgi/Makefile
+++ b/flavored_mod_fastcgi/Makefile
@@ -3,7 +3,7 @@
 COMMENT=Apache FastCGI module
 
 DISTNAME=   mod_fastcgi-2.4.2
-PKGNAME=   ${DISTNAME}p1
+PKGNAME=   flavored_${DISTNAME}p1
 
 CATEGORIES= www
 
@@ -11,8 +11,8 @@ HOMEPAGE=   http://www.fastcgi.com/
 
 MASTER_SITES=   ${HOMEPAGE}dist/
 
-MODULES=   apache-module
-MODAPACHE_NAME=fastcgi
+FLAVORS=   ap2
+FLAVOR?=
 
 MAINTAINER= Marc Balmer [EMAIL PROTECTED]
 
@@ -24,6 +24,14 @@ PERMIT_DISTFILES_FTP=   Yes
 
 NO_REGRESS= Yes
 
+.if !${FLAVOR:L:Map2}
+
+##
+# default: build for builtin Apache
+
+MODULES=   apache-module
+MODAPACHE_NAME=fastcgi
+
 do-build:
(cd ${WRKBUILD}; apxs -o mod_fastcgi.so -c *.c)
 
@@ -35,4 +43,35 @@ do-install:
${INSTALL_DATA} ${WRKBUILD}/docs/* ${PREFIX}/share/doc/mod_fastcgi
${MODAPACHE_INSTALL}
 
+.else
+
+##
+# ap2 flavor: build for Apache 2 port
+
+BUILD_DEPENDS= ::www/apache-httpd
+
+PATCH_LIST=ap2-patch-* patch-docs_mod_fastcgi_html
+
+MAKE_FILE= Makefile.AP2
+
+MAKE_FLAGS=top_dir=${PREFIX}/share/apache2 \
+   APXS=${PREFIX}/sbin/apxs2 \
+   APACHECTL=${PREFIX}/sbin/apachectl2
+
+FAKE_FLAGS=top_dir=${TRUEPREFIX}/share/apache2 \
+   APXS=${TRUEPREFIX}/sbin/apxs2 \
+   APACHECTL=${TRUEPREFIX}/sbin/apachectl2
+
+INSTALL_TARGET=local-install
+
+# only automated for sub-packages, not flavors (?)
+MESSAGE=   ${PKGDIR}/MESSAGE-ap2
+UNMESSAGE= ${PKGDIR}/UNMESSAGE-ap2
+
+post-install:
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/apache2/mod/mod_fastcgi
+   ${INSTALL_DATA} ${WRKBUILD}/docs/* 
${PREFIX}/share/doc/apache2/mod/mod_fastcgi
+
+.endif
+
 .include bsd.port.mk
diff --git a/flavored_mod_fastcgi/patches/ap2-patch-fcgi_h 
b/flavored_mod_fastcgi/patches/ap2-patch-fcgi_h
new file mode 100644
index 000..2bc85f9
--- /dev/null
+++ b/flavored_mod_fastcgi/patches/ap2-patch-fcgi_h
@@ -0,0 +1,41 @@
+$OpenBSD$
+--- fcgi.h.origMon Feb  3 15:07:37 2003
 fcgi.h Sat Sep  8 16:45:23 2007
+@@ -73,6 +73,37 @@ typedef apr_status_t apcb_t;
+ #define ap_reset_timeout(a)
+ #define ap_unblock_alarms()
+ 
++/* starting with apache 2.2 the backward-compatibility defines for
++ * 1.3 APIs are not available anymore. Define them ourselves here.
++ * see 
http://www.fastcgi.com/archives/fastcgi-developers/2005-December/004060.html
++ */
++#ifndef ap_copy_table
++
++#define ap_copy_table apr_table_copy
++#define ap_cpystrn apr_cpystrn
++#define ap_destroy_pool apr_pool_destroy
++#define ap_isspace apr_isspace
++#define ap_make_array apr_array_make
++#define ap_make_table apr_table_make
++#define ap_null_cleanup apr_pool_cleanup_null 
++#define ap_palloc apr_palloc
++#define ap_pcalloc apr_pcalloc
++#define ap_psprintf apr_psprintf
++#define ap_pstrcat apr_pstrcat
++#define ap_pstrdup apr_pstrdup
++#define ap_pstrndup apr_pstrndup
++#define ap_push_array apr_array_push
++#define ap_register_cleanup apr_pool_cleanup_register
++#define ap_snprintf apr_snprintf
++#define ap_table_add apr_table_add
++#define ap_table_do apr_table_do
++#define ap_table_get apr_table_get
++#define ap_table_set apr_table_set
++#define ap_table_setn apr_table_setn
++#define ap_table_unset apr_table_unset
++
++#endif /* defined(ap_copy_table) */
++
+ #if (defined(HAVE_WRITEV)  !HAVE_WRITEV  !defined(NO_WRITEV)) || defined 
WIN32
+ #define NO_WRITEV
+ #endif
diff --git a/flavored_mod_fastcgi/pkg/MESSAGE-ap2 
b/flavored_mod_fastcgi/pkg/MESSAGE-ap2
new file mode 100644
index 000..f40ffdb
--- /dev/null
+++ b/flavored_mod_fastcgi/pkg/MESSAGE-ap2
@@ -0,0 +1,9 @@
+To finish the install of mod_fastcgi, you need
+to enable the module by adding the following line
+to your /etc/apache2/httpd2.conf file:
+
+  LoadModule fastcgi_module ${PREFIX}/lib/apache2/mod_fastcgi.so
+
+If you already have Apache running on your machine,
+you should not use apachectl2 restart - instead,
+you should fully stop and then restart the server.
diff --git a/flavored_mod_fastcgi/pkg/PFRAG.ap2 
b/flavored_mod_fastcgi/pkg/PFRAG.ap2
new file mode 100644
index 000..920d7fd
--- /dev/null
+++ b/flavored_mod_fastcgi/pkg/PFRAG.ap2
@@ -0,0