Ticket #2217: patch2.patch

File patch2.patch, 840 bytes (added by ryanwilcox@…, 20 years ago)

a better (safer) version of the patch (use this instead)

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/net/proftpd/Portfile,v
    retrieving revision 1.7
    diff -u -r1.7 Portfile
     
    2222
    2323pre-destroot {  cd ${worksrcpath}
    2424                reinplace "s|nogroup|nobody|g" sample-configurations/basic.conf
    25                 file mkdir ${destroot}${prefix}/var
    26                 file mkdir ${destroot}${prefix}/var/proftpd }
    27 
     25                file mkdir ${destroot}${prefix}/var/run
     26                file mkdir ${destroot}${prefix}/var/run/proftpd
     27                system "cd ${destroot}${prefix}/var/run/proftpd/ && touch proftpd.scoreboard"}
     28               
    2829post-destroot { file mkdir ${destroot}${prefix}/etc/rc.d
    2930                xinstall -o root -m 755 -v ${portpath}/files/proftpd.sh \
    3031                                        ${destroot}${prefix}/etc/rc.d