Ticket #28569: apr0-apr-util0-apache20-updates.diff

File apr0-apr-util0-apache20-updates.diff, 5.0 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

proposed patches

  • devel/apr0/Portfile

     
    22
    33PortSystem      1.0
    44name            apr0
    5 version         0.9.17
     5version         0.9.19
    66categories      devel
    77maintainers     blair
    88platforms       darwin
     
    2020
    2121distname        apr-${version}
    2222use_bzip2       yes
    23 checksums       md5 cbeb635755165c800f7be5e059027318
    2423
     24checksums       sha1    bde09166e9d9876715201ee0dbe3e7f69aa551a0 \
     25                        rmd160  141119b4b07892bc0008f73cf34508cbb7492f9c
     26
    2527configure.args  --with-installbuilddir=${prefix}/share/apr-0/build
    2628
    2729test.run        yes
     
    3234        delete ${destroot}${prefix}/lib/apr.exp
    3335}
    3436
    35 platform darwin 9 {
    36         post-configure {
    37                 reinplace {s|\(#define APR_HAS_SENDFILE[[:space:]]*\)1|\1 0|} ${worksrcpath}/include/apr.h
    38         }
    39 }
    40 
    41 platform darwin 10 {
    42         post-configure {
    43                 reinplace {s|\(#define APR_HAS_SENDFILE[[:space:]]*\)1|\1 0|} ${worksrcpath}/include/apr.h
    44         }
    45 }
    46 
    4737livecheck.type  regex
    4838livecheck.url   http://www.apache.org/dist/apr/
    4939livecheck.regex APR (0\\.\[0-9.\]+)
  • devel/apr-util0/Portfile

     
    22
    33PortSystem 1.0
    44name            apr-util0
    5 version         0.9.15
     5version         0.9.19
    66categories      devel
    77maintainers     blair
    88platforms       darwin
     
    1919
    2020distname        apr-util-${version}
    2121use_bzip2       yes
    22 checksums       md5 8e1427f63379d4ebd6de525e5b242dc3
    2322
    24 depends_lib     port:apr0 port:expat port:libiconv port:db44
     23checksums       sha1    5ffcdd98ebbc7e7d9da5029cf7fac2744901bb50 \
     24                        rmd160  2f03d05f9a0a32158f31a820b75eca5dd3fbb60c
    2525
     26depends_lib     port:apr0 port:expat port:libiconv port:db46
     27
    2628configure.args  --with-apr=${prefix}/bin/apr-config --with-expat=${prefix} \
    2729                --with-iconv=${prefix} \
    28                 --with-berkeley-db=${prefix}/include:${prefix}/lib/db44 \
     30                --with-berkeley-db=${prefix}/include:${prefix}/lib/db46 \
    2931                --without-mysql --without-pgsql
    3032
    3133test.run        yes
     
    3739}
    3840
    3941variant no_bdb  {
    40                         depends_lib-delete      port:db44
    41                         configure.args-delete   --with-berkeley-db=${prefix}/include:${prefix}/lib/db44
     42                        depends_lib-delete      port:db46
     43                        configure.args-delete   --with-berkeley-db=${prefix}/include:${prefix}/lib/db46
    4244                        configure.args-append   --without-berkeley-db
    4345                }
    4446
     
    5052                        }
    5153
    5254#pre-configure  {
    53 #                       reinplace "s|^Libs: |Libs: -L${prefix}/lib/db44 |" $worksrcpath/apr-util.pc.in
     55#                       reinplace "s|^Libs: |Libs: -L${prefix}/lib/db46 |" $worksrcpath/apr-util.pc.in
    5456#               }
    5557
    5658livecheck.type  regex
  • www/apache20/files/patch-openssl-1.0.0.diff

     
    1 --- modules/ssl/ssl_engine_init.c.orig  2007-12-29 00:07:53.000000000 +0900
    2 +++ modules/ssl/ssl_engine_init.c       2010-05-01 22:17:22.000000000 +0900
    3 @@ -531,7 +531,7 @@
     1--- modules/ssl/ssl_engine_init.c.orig  2010-09-28 10:59:13.000000000 -0500
     2+++ modules/ssl/ssl_engine_init.c       2011-02-28 00:58:37.000000000 -0600
     3@@ -535,7 +535,7 @@
    44             ssl_die();
    55         }
    6 
     6 
    77-        SSL_CTX_set_client_CA_list(ctx, (STACK *)ca_list);
    88+        SSL_CTX_set_client_CA_list(ctx, ca_list);
    99     }
    10 
     10 
    1111     /*
    1212--- modules/ssl/ssl_util_ssl.c.orig     2006-07-12 16:40:55.000000000 +0900
    1313+++ modules/ssl/ssl_util_ssl.c  2010-05-01 22:20:18.000000000 +0900
     
    3535     int n;
    3636-    STACK *extra_certs;
    3737+    STACK_OF(X509) *extra_certs;
    38 
     38 
    3939     if ((bio = BIO_new(BIO_s_file_internal())) == NULL)
    4040         return -1;
  • www/apache20/Portfile

     
    1919PortSystem 1.0
    2020
    2121name             apache20
    22 version          2.0.63
    23 revision        1
     22version          2.0.64
    2423
    2524categories       www
    2625maintainers      blair
     
    5756
    5857master_sites     apache:httpd
    5958distname         httpd-${version}
    60 checksums        md5 c7924ebe95f9f66c9f80c0f9d4012152 \
    61                  sha1 20e2b64944e38e96491af788a37cb709d2c5b755 \
    62                  rmd160 f6a7de59860f627ac40b245fcf742fb07e1b4870
    6359use_bzip2        yes
    6460
     61checksums        sha1    eeabe0fb428d9f11ce00559ff163740c6ceabf1c \
     62                 rmd160  6a4bfe4dfc4119a70cabbec2e0865dc2f12e8ec4
     63
    6564depends_lib      port:apr0 \
    6665                 port:apr-util0 \
    6766                 port:expat \
    6867                 port:openssl \
    69                  port:pcre
     68                 port:pcre \
     69                 port:perl5
    7070
    7171patchfiles       patch-httpd-std.conf.in \
     72                 patch-docs-cgi-examples-printenv.diff \
    7273                 patch-openssl-1.0.0.diff
    7374
    7475platform darwin {
    7576        post-patch {
     77                reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/docs/cgi-examples/printenv
    7678                # Customize userdir naming to match darwin
    7779                reinplace "s|/home/|/Users/|g" ${worksrcpath}/docs/conf/httpd-std.conf.in
    7880                reinplace "s|public_html|Sites|g" ${worksrcpath}/docs/conf/httpd-std.conf.in