pkgsrc/www/ruby-rack16/Makefile
taca 190a31896e www/ruby-rack16: update to 1.6.11
* pkgsrc change: add "USE_LANGAUGES= # none" line.

Update to 1.6.11 which fixes security problems of CVE-2018-16471.
(CVE-2018-16470 is only for rack 2.0.x.)
2019-02-03 15:53:03 +00:00

24 lines
646 B
Makefile

# $NetBSD: Makefile,v 1.2 2019/02/03 15:53:03 taca Exp $
DISTNAME= rack-1.6.11
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/rack/rack16/}
CATEGORIES= www
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://rack.github.io/
COMMENT= Modular Ruby webserver interface
LICENSE= mit
USE_LANGUAGES= # none
OVERRIDE_GEMSPEC= :executables rackup=rackup16 \
:files bin/rackup=bin/rackup16
RUBYGEM_OPTIONS+= --format-executable
pre-configure:
${FIND} ${WRKSRC} -type f -exec ${CHMOD} g-w {} \;
${TEST} -f ${WRKSRC}/bin/rackup16 || \
${MV} ${WRKSRC}/bin/rackup ${WRKSRC}/bin/rackup16
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"