5ef31ef721
* pkgsrc change: add "USE_LANGAUGES= # none" line. Update to 2.0.6 which fixes security problems of CVE-2018-16470 and CVE-2018-16471.
24 lines
655 B
Makefile
24 lines
655 B
Makefile
# $NetBSD: Makefile,v 1.26 2019/02/03 15:51:31 taca Exp $
|
|
|
|
DISTNAME= rack-2.0.6
|
|
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=rackup20 \
|
|
:files bin/rackup=bin/rackup20
|
|
RUBYGEM_OPTIONS+= --format-executable
|
|
|
|
pre-configure:
|
|
${FIND} ${WRKSRC} -type f -exec ${CHMOD} g-w {} \;
|
|
${FIND} ${WRKSRC}/bin -type f -exec ${CHMOD} ${BINMODE} {} \;
|
|
${TEST} -f ${WRKSRC}/bin/rackup20 || \
|
|
${MV} ${WRKSRC}/bin/rackup ${WRKSRC}/bin/rackup20
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|