Ticket #60303: Portfile-nginx-vod.diff

File Portfile-nginx-vod.diff, 1.5 KB (added by tobiasps (Tobias Steinmann), 4 years ago)

Patch that adds a "vod" variant to the nginx port. The variant adds the nginx-vod-module to the build.

  • (a) Portfile.orig vs. (b) Portfile_vod

    a b  
    3333                    https://github.com/openresty/lua-nginx-module/archive/:lua_module \
    3434                    https://github.com/openresty/headers-more-nginx-module/archive/:h_more_module \
    3535                    https://github.com/TeslaGov/ngx-http-auth-jwt-module/archive/:jwt_module \
    36                     https://github.com/aperezdc/ngx-fancyindex/archive/:fancyindex_module
     36                    https://github.com/aperezdc/ngx-fancyindex/archive/:fancyindex_module \
     37                    https://github.com/kaltura/nginx-vod-module/archive/:vod_module
    3738
    3839distfiles           ${name}-${version}${extract.suffix}:nginx
    3940checksums           ${name}-${version}${extract.suffix} \
     
    432433    configure.args-append   --add-module=${workpath}/${fancyindex_distname}
    433434}
    434435
     436variant vod description {Add MP4 repackeging for HLS, DASH, HDS, HSS using nginx-vod-module} {
     437    set vod_filename  nginx-vod-module
     438    set vod_version   1.25
     439    set vod_distname  ${vod_filename}-${vod_version}
     440    distfiles-append  ${vod_version}.tar.gz:vod_module
     441    checksums-append  ${vod_version}.tar.gz \
     442                      rmd160  537609ef9bfffaa9ce77c4ebabd90fb8af72a9ed \
     443                      sha256  42fd3b7f5bd4e13a7e27fcbd830153e285544c8cce37bfaea87cfce549f636d7 \
     444                      size    446830
     445
     446    configure.args-append   --add-module=${workpath}/${vod_distname}
     447}
    435448
    436449livecheck.type      regexm
    437450livecheck.url       ${homepage}