HomeFreeBSD

www/py-amf: Update to 0.8.0

Description

www/py-amf: Update to 0.8.0

Approved by: ports-secteam (with hat)
MFH: 2015Q4
Security: CVE-2015-8549

Details

Provenance
feldAuthored on
Parents
rP403933: MFH: r403930
Branches
Unknown
Tags
Unknown

Event Timeline

I got the following warnings in poudriere:

> Running Q/A tests (stage-qa)

Warning: 'lib/python2.7/site-packages/cpyamf/codec.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/python2.7/site-packages/cpyamf/amf0.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/python2.7/site-packages/cpyamf/util.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/python2.7/site-packages/cpyamf/amf3.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}

Consider adding before the last ".include" line something like:

post-install:
        ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/path/file1.so .../file2.so ...

Otherwise, looks fine to me.

/head/www/py-amf/Makefile
17

I could not find usage of a symlink python2, though I did not look into *.so files. Consider info in bug 205239 (in Bugzilla) for discussions.

unfortunately stripping post-install will not remove those warnings from poudriere because the stripped binaries test is done post-stage during the stage-qa check. This is really annoying, and if I want to do it post-build I have to deal with a directory structure that looks like this:

${WRKSRC}/build/lib.freebsd-10.1-RELEASE-p20-amd64-2.7/

Have you tested with the post-install: target? It helped me in one of my ports.
I'm travelling at the moment, can't test myself for a while.

/head/www/py-amf/Makefile
19
post-install:
        ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/cpyamf/codec.so \
                ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/cpyamf/amf0.so \
                ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/cpyamf/util.so \
                ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/cpyamf/amf3.so

With this block, no warnings is issued by poudriere in stage-qa. Of course, indentation should be made by tabs.

Something must not have been working with my previous post-install attempt because i was getting the warnings still. I am not now.

Thanks for continuing to pursue this.