Ticket #42780: dirvish-1.2.1-stealth-update.diff

File dirvish-1.2.1-stealth-update.diff, 2.0 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago)

proposed patch

  • Portfile

     
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    12# $Id$
    23
    34PortSystem      1.0
     
    45
    56name            dirvish
    67version         1.2.1
    7 revision        1
     8revision        2
    89categories      sysutils
    910maintainers     behanna.org:chris
     11supported_archs noarch
     12
    1013description     Client/server rsync- and hard-link-based snapshot backup system
    1114
    1215long_description \
     
    3336platforms       darwin freebsd
    3437master_sites    ${homepage}
    3538
    36 checksums       md5 f3a127525dd2ef94bf79cd5614f6e147 \
    37                 sha1 804a8ef09e47ac63499571db0c05fe2be9fd6b15 \
    38                 rmd160 2942ca7bba1d4957ba66d88b341df605df7b2112
     39# 1.2.1 was stealth-updated 2012-01-07
     40dist_subdir     ${name}/${version}_1
    3941
     42checksums       rmd160  7af67f7e04142da885a9ce3c5596e9960f192c39 \
     43                sha256  6b7f29c3541448db3d317607bda3eb9bac9fb3c51f970611ffe27e9d63507dcd
     44
    4045extract.suffix  .tgz
    41 extract.mkdir   yes
    4246
    4347patchfiles      patch-Makefile.diff \
    4448                patch-default.conf.dist.diff \
     
    5155
    5256destroot.args   PREFIX=${prefix}
    5357
    54 depends_lib     port:p5.12-time-modules port:p5.12-timedate port:p5.12-time-period port:rsync
     58depends_lib     port:perl5.16 \
     59                port:p5.16-time-modules \
     60                port:p5.16-timedate \
     61                port:p5.16-time-period \
     62                port:rsync
     63
     64# The latest version is from 2005.
     65livecheck.type  none
  • files/patch-Makefile.diff

     
    3333+INSTALL_SCRIPT=${INSTALL} ${INSTALL_UCREDS} -m 555
    3434+
    3535+header:
    36 +       echo "#!`which perl`" > header.pl
     36+       echo "#!${PREFIX}/bin/perl5.16" > header.pl
    3737+       echo "" >> header.pl
    3838+       echo "\$$CONFDIR = \"${CONFDIR}\";" >> header.pl
    3939+