[92420] trunk/dports/www/mod_cband
ryandesign at macports.org
ryandesign at macports.org
Fri Apr 27 22:55:17 PDT 2012
Revision: 92420
https://trac.macports.org/changeset/92420
Author: ryandesign at macports.org
Date: 2012-04-27 22:55:17 -0700 (Fri, 27 Apr 2012)
Log Message:
-----------
mod_cband: update to 0.9.7.5
Modified Paths:
--------------
trunk/dports/www/mod_cband/Portfile
Added Paths:
-----------
trunk/dports/www/mod_cband/files/
trunk/dports/www/mod_cband/files/patch-src-mod_cband.h.diff
Modified: trunk/dports/www/mod_cband/Portfile
===================================================================
--- trunk/dports/www/mod_cband/Portfile 2012-04-28 05:48:19 UTC (rev 92419)
+++ trunk/dports/www/mod_cband/Portfile 2012-04-28 05:55:17 UTC (rev 92420)
@@ -3,7 +3,7 @@
PortSystem 1.0
name mod_cband
-version 0.9.5.3
+version 0.9.7.5
categories www
platforms darwin
maintainers nomaintainer
@@ -14,23 +14,39 @@
redirect all further requests to a location specified in the \
configuration file.
-homepage http://cband.linux.pl/
-master_sites http://dembol.nasa.pl/download/
+homepage http://sysdesign.pl/mod_cband/
+#master_sites http://dembol.org/downloads/cband/
distname mod-cband-${version}
extract.suffix .tgz
-checksums md5 85f1bbcacae4e0360612cdec8f5005ed
+# md5 is needed for http master_site below
+checksums md5 5c5d65dc9abe6cdc6931b6dd33be5018 \
+ rmd160 19ea621a1f46878dd9178dd2186479ce2fb9a922 \
+ sha256 6fd9024354153cc52538c81986afc18c1ff9395523bbe096f1810903fa7528ab
+
+foreach {type checksum} ${checksums} {
+ if {${type} == "md5"} {
+ master_sites http://pkgs.fedoraproject.org/repo/pkgs/${name}/${distfiles}/${checksum}
+ }
+}
+
depends_lib port:apache2
+# Doesn't end up building universal software.
+universal_variant no
+
+patchfiles patch-src-mod_cband.h.diff
+
configure.args --with-apxs=${prefix}/apache2/bin/apxs
build.target src/.libs/mod_cband.so
+destroot.violate_mtree yes
destroot {
set moddir ${destroot}${prefix}/apache2/modules
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -m 755 -d ${moddir} ${docdir}/examples
xinstall -m 644 ${worksrcpath}/src/.libs/mod_cband.so ${moddir}
- xinstall -m 644 -W ${worksrcpath} AUTHORS Changes LICENSE TODO ${docdir}
+ xinstall -m 644 -W ${worksrcpath} AUTHORS Changes LICENSE ${docdir}
xinstall -m 644 ${worksrcpath}/conf/vhosts.conf.example ${docdir}/examples
}
Added: trunk/dports/www/mod_cband/files/patch-src-mod_cband.h.diff
===================================================================
--- trunk/dports/www/mod_cband/files/patch-src-mod_cband.h.diff (rev 0)
+++ trunk/dports/www/mod_cband/files/patch-src-mod_cband.h.diff 2012-04-28 05:55:17 UTC (rev 92420)
@@ -0,0 +1,17 @@
+https://sourceforge.net/tracker/?func=detail&aid=1713606&group_id=154335&atid=791368
+--- src/mod_cband.h.orig 2007-05-05 22:10:38.000000000 +0000
++++ src/mod_cband.h 2007-05-05 22:11:22.000000000 +0000
+@@ -1,3 +1,4 @@
++
+ /*
+ * $Id: mod_cband.h,v 1.5 2006/05/28 18:58:37 dembol Exp $
+ *
+@@ -68,7 +69,7 @@
+ #define CBAND_HANDLER_ALL 0
+ #define CBAND_HANDLER_ME 1
+
+-#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) || defined(__FreeBSD__)
++#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) || defined(__FreeBSD__) || defined(__APPLE_CC__)
+ /* union semun is defined by including <sys/sem.h> */
+ #else
+ /* according to X/OPEN we have to define it ourselves */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120427/6bd752b5/attachment.html>
More information about the macports-changes
mailing list