Created attachment 399804 [details] libsrtp-1.5.2.ebuild Fixed these bugs and regressions in attached ebuild: 1) soname was changed upstream, but SLOT in ebuild was not changed 2) tests fail when updating because soname was changed and src_test does not have LD_LIBRARY_PATH="${S}" 3) empty /usr/bin is installed 4) same shared lib is installed twice instead of using symlink 5) EAPI was changed to 5, but obsolete '|| die' were not removed. 6) epatch is used without adding eutils to inherit 7) get_libname was removed, but multilib was not removed from inherit 8) static lib is installed even with USE=-static-lib (bug #485606) Patches are in https://github.com/cisco/libsrtp/pull/98 , but i can attach them here too if required.
Created attachment 399806 [details] libsrtp-1.5.2.ebuild Forgot to remove 'use test &&'.
Upstream merged my patches, but they added new questionable change: https://github.com/cisco/libsrtp/commit/4cdf467bc8e400d7eb797d5030b6670104c84f56 Seems it is for tests only now, but it indicates how the development is done.
Thanks, committed: 11 Apr 2015; Pawel Hajdan jr +libsrtp-1.5.2-r1.ebuild, +files/libsrtp-1.5.2-bindir.patch, +files/libsrtp-1.5.2-fix-make-install.patch: Improve the ebuild, bug #544538 and patches by Nikoli.