9d93069941
* Fix CVE-2015-3225. * Only count files (not all form elements) against the Multipart File Limit.
22 lines
623 B
Makefile
22 lines
623 B
Makefile
# $NetBSD: Makefile,v 1.4 2015/06/22 13:57:59 taca Exp $
|
|
|
|
DISTNAME= rack-1.4.7
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/rack/rack14/}
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://rack.github.com/
|
|
COMMENT= Modular Ruby webserver interface
|
|
LICENSE= mit
|
|
|
|
OVERRIDE_GEMSPEC= :executables rackup=rackup14 \
|
|
:files bin/rackup=bin/rackup14
|
|
RUBYGEM_OPTIONS+= --format-executable
|
|
|
|
pre-configure:
|
|
${FIND} ${WRKSRC} -type f -exec ${CHMOD} g-w {} \;
|
|
${TEST} -f ${WRKSRC}/bin/rackup14 || \
|
|
${MV} ${WRKSRC}/bin/rackup ${WRKSRC}/bin/rackup14
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|