Update to ruby-pledge 1.2.0

This adds an unveil library and Pledge.unveil for access to unveil(2) from
Ruby.
This commit is contained in:
jeremy 2019-07-07 16:14:37 +00:00
parent 24d09e473d
commit 06844e463e
3 changed files with 9 additions and 8 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.4 2019/04/25 18:21:30 jeremy Exp $
# $OpenBSD: Makefile,v 1.5 2019/07/07 16:14:37 jeremy Exp $
COMMENT = ruby wrapper for pledge(2)
COMMENT = ruby wrapper for pledge(2) and unveil(2)
DISTNAME = pledge-1.1.0
DISTNAME = pledge-1.2.0
CATEGORIES = security
HOMEPAGE = https://github.com/jeremyevans/ruby-pledge
@ -22,7 +22,7 @@ MODRUBY_TEST_ENV = RUBY=${RUBY} RUBYOPT=-rpledge.so
MODRUBY_TEST_TARGET = spec/pledge_spec.rb
pre-test:
ln -s ${PREFIX}/${GEM_LIB}/gems/${DISTNAME}/lib \
${WRKSRC}/lib
ln -s ${PREFIX}/${GEM_LIB}/gems/${DISTNAME}/lib/pledge.so \
${WRKSRC}/lib/pledge.so
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (pledge-1.1.0.gem) = Tr6twH4ho7GelTSBha2qRaCO47YisYvw25e1XcS8Ijk=
SIZE (pledge-1.1.0.gem) = 8704
SHA256 (pledge-1.2.0.gem) = FRp5LRNQyO/gWk4KbhLuMDbdyR1/lFl5dvObvpZJucM=
SIZE (pledge-1.2.0.gem) = 10752

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/11/04 11:00:13 jeremy Exp $
@comment $OpenBSD: PLIST,v 1.2 2019/07/07 16:14:37 jeremy Exp $
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/CHANGELOG
@ -7,6 +7,7 @@ ${GEM_LIB}/gems/${DISTNAME}/README.rdoc
${GEM_LIB}/gems/${DISTNAME}/Rakefile
${GEM_LIB}/gems/${DISTNAME}/lib/
${GEM_LIB}/gems/${DISTNAME}/lib/pledge.so
${GEM_LIB}/gems/${DISTNAME}/lib/unveil.rb
${GEM_LIB}/gems/${DISTNAME}/spec/
${GEM_LIB}/gems/${DISTNAME}/spec/pledge_spec.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec