Re: port install pear-TCPDF fails with checksum error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: port install pear-TCPDF fails with checksum error

macports-2
any developer out there who can help me with PCTDF ?


On 28 Jun 2017, at 05:27, Joshua Root <[hidden email]> wrote:

On 2017-6-28 09:29 , [hidden email] wrote:
On 27 Jun 2017, at 07:42, Joshua Root <[hidden email]> wrote:

Generally you should look at the contents of the HTML file to figure out what generated it instead of the correct file and why. In this case I would guess it's the fourth possibility listed on the MisbehavingServers page, "The download site no longer has the file, and does not indicate this with the correct response code."

- Josh
indeed.
all sources for TCPDF-5.9.074.tgz are a HTML file pointing to peazhub.org and that domain is For Sale.
the author Nicola Asuni - Tecnick.com LTD - www.tecnick.com - [hidden email] has a download for version 6.2.13 available at his own site https://github.com/tecnickcom/TCPDF.git
i know how to create a local port file for a modified installation.
but the current portfile has as contents:
---
# -*- 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
PortSystem          1.0
PortGroup           pear 1.0
pear.setup          TCPDF 5.9.074 pearhub.org
categories-append   net www
platforms           darwin
maintainers         nomaintainer
description         PEAR TCPDF package
long_description    ${description}
checksums           rmd160  f614fa5128251b414c26607f86e2d68698b7eb9f \
                    sha256  00e6dc9acd8e9f729bc5bd51db75b71dc65c65788a209f84d9bce1aa83aa7d5e
---
and i dont know what 'pear.setup' should do.
do you have any suggestions?
thanks.

(Keeping replies on the list.)

The version on GitHub doesn't appear to be available as a PEAR package, so the pear portgroup probably won't help much anyway. So I would guess pear-TCPDF should be deleted and a new port should be created named TCPDF or perhaps php-TCPDF, which would install in whatever way is usual. (I don't know much about PHP packaging, sorry.)

- Josh

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: port install pear-TCPDF fails with checksum error

Bradley Giesbrecht-3
Try this Portfile and tell me if it works for you.


Regards,
Bradley Giesbrecht (pixilla)





> On Jun 30, 2017, at 7:42 AM, [hidden email] wrote:
>
> any developer out there who can help me with PCTDF ?
>
>
>> On 28 Jun 2017, at 05:27, Joshua Root <[hidden email]> wrote:
>>
>> On 2017-6-28 09:29 , [hidden email] wrote:
>>>> On 27 Jun 2017, at 07:42, Joshua Root <[hidden email]> wrote:
>>>>
>>>> Generally you should look at the contents of the HTML file to figure out what generated it instead of the correct file and why. In this case I would guess it's the fourth possibility listed on the MisbehavingServers page, "The download site no longer has the file, and does not indicate this with the correct response code."
>>>>
>>>> - Josh
>>> indeed.
>>> all sources for TCPDF-5.9.074.tgz are a HTML file pointing to peazhub.org and that domain is For Sale.
>>> the author Nicola Asuni - Tecnick.com LTD - www.tecnick.com - [hidden email] has a download for version 6.2.13 available at his own site https://github.com/tecnickcom/TCPDF.git
>>> i know how to create a local port file for a modified installation.
>>> but the current portfile has as contents:
>>> ---
>>> # -*- 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
>>> PortSystem          1.0
>>> PortGroup           pear 1.0
>>> pear.setup          TCPDF 5.9.074 pearhub.org
>>> categories-append   net www
>>> platforms           darwin
>>> maintainers         nomaintainer
>>> description         PEAR TCPDF package
>>> long_description    ${description}
>>> checksums           rmd160  f614fa5128251b414c26607f86e2d68698b7eb9f \
>>>                     sha256  00e6dc9acd8e9f729bc5bd51db75b71dc65c65788a209f84d9bce1aa83aa7d5e
>>> ---
>>> and i dont know what 'pear.setup' should do.
>>> do you have any suggestions?
>>> thanks.
>>
>> (Keeping replies on the list.)
>>
>> The version on GitHub doesn't appear to be available as a PEAR package, so the pear portgroup probably won't help much anyway. So I would guess pear-TCPDF should be deleted and a new port should be created named TCPDF or perhaps php-TCPDF, which would install in whatever way is usual. (I don't know much about PHP packaging, sorry.)
>>
>> - Josh
>


Portfile (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: port install pear-TCPDF fails with checksum error

macports-2

> On 30 Jun 2017, at 17:41, Bradley Giesbrecht <[hidden email]> wrote:
>
> Try this Portfile and tell me if it works for you.
>
>
> Regards,
> Bradley Giesbrecht (pixilla)
>
> <Portfile>

YES it works.

could you make it an officle Portfile please?

thnak,s
paul.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: port install pear-TCPDF fails with checksum error

Bradley Giesbrecht-3
> On Jul 2, 2017, at 4:06 PM, [hidden email] wrote:
>
> YES it works.
>
> could you make it an officle Portfile please?

Done in 68c83e8:

https://github.com/macports/macports-ports/commit/68c83e886d0fbb0c72b079a63428e62e9a721a8b

Regards,
Bradley Giesbrecht (pixilla)

Loading...