Ticket #29463: Portfile.diff

File Portfile.diff, 1.9 KB (added by Markus.Ueberall@…, 13 years ago)

lang/php5/Portfile

  • ports/lang/php5/Portfile

    old new  
    1010epoch                   1
    1111version                 5.3.6
     12revision                1
    1213set major               [lindex [split ${version} .] 0]
    1314set my_name             php${major}
     
    185186            return -code error "incompatible Mac OS X version"
    186187        }
    187         if {1} {
    188             ui_error "There is no suhosin patch for PHP ${version} yet. Please check back later."
    189             return -code error "unavailable variant"
    190         }
    191     }
    192     set suhosin_patch_version   5.3.4-0.9.10
     188#        if {1} {
     189#            ui_error "There is no suhosin patch for PHP ${version} yet. Please check back later."
     190#            return -code error "unavailable variant"
     191#        }
     192    }
     193##  (compressed, renamed) rediff used comes from the Mandriva/Mageia Linux distribution (maintained by Oden Eriksson):
     194##  http://svn.mandriva.com/viewvc/packages/cooker/php/current/SOURCES/suhosin-patch-5.3.6RC1-0.9.10.diff?view=log
     195##  http://svnweb.mageia.org/packages/cauldron/php/current/SOURCES/suhosin-patch-5.3.6RC1-0.9.10.diff?view=log
     196    set suhosin_patch_version   5.3.6RC1-0.9.10
    193197    set suhosin_patch           suhosin-patch-${suhosin_patch_version}.patch.gz
    194     patch_sites-append          http://download.suhosin.org/
     198#    patch_sites-append          http://download.suhosin.org/
    195199    patchfiles-append           ${suhosin_patch}
    196200    checksums-append            ${suhosin_patch} \
    197                                 sha1    a2ab4bd03a329ec56a1f8b99e12e59f1838e0da6 \
    198                                 rmd160  e5105397a9e41997ad11d2a0be01c7e3c9d06c6e \
     201                                sha1    1ae3d01fa37f0ca17de4b543ccb1c113945b6e9d \
     202                                rmd160  3b4c58d78f6a4aed731eb421efea7800217475b1 \
    199203}
    200204