SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
24
sysutils/ruby-shadow/Makefile
Normal file
24
sysutils/ruby-shadow/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
|||
COMMENT = module to access shadow passwords
|
||||
|
||||
DISTNAME = ruby-shadow-2.5.0
|
||||
PKGNAME = ${DISTNAME:S/ruby-//}
|
||||
REVISION = 5
|
||||
CATEGORIES = sysutils
|
||||
|
||||
MASTER_SITES0= https://github.com/apalmblad/ruby-shadow/commit/
|
||||
PATCHFILES= ruby-shadow-taint-fix{70330521b99e84c8f7445c213dfde0768f45a690}.patch:0 \
|
||||
ruby-shadow-config-fix{eab4aba3f5e06ea8f124d3e5ff6b3fa88c4807cd}.patch:0
|
||||
PATCH_DIST_STRIP= -p1
|
||||
|
||||
# PD
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = lang/ruby
|
||||
|
||||
BUILD_DEPENDS = sysutils/e2fsprogs
|
||||
|
||||
WANTLIB = pthread
|
||||
|
||||
CONFIGURE_STYLE = ruby gem ext
|
||||
|
||||
.include <bsd.port.mk>
|
6
sysutils/ruby-shadow/distinfo
Normal file
6
sysutils/ruby-shadow/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
SHA256 (ruby-shadow-2.5.0.gem) = xegv77AxaRl6ZT/+rlM/gemUYtE7kO5+V4Yoei4hlKE=
|
||||
SHA256 (ruby-shadow-config-fix.patch) = MID93EFejdutWfQmqT7GPi1dnklzZzD80kHAmSUASSI=
|
||||
SHA256 (ruby-shadow-taint-fix.patch) = HlgmbzgSN4/lwxOuLs0dPYxPxLjOwZl3EEBwRXyUBio=
|
||||
SIZE (ruby-shadow-2.5.0.gem) = 11264
|
||||
SIZE (ruby-shadow-config-fix.patch) = 1151
|
||||
SIZE (ruby-shadow-taint-fix.patch) = 2265
|
14
sysutils/ruby-shadow/patches/patch-pwd_shadow_c
Normal file
14
sysutils/ruby-shadow/patches/patch-pwd_shadow_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- pwd/shadow.c.orig Thu Nov 19 15:51:37 2015
|
||||
+++ pwd/shadow.c Thu Nov 19 15:56:27 2015
|
||||
@@ -92,7 +92,11 @@ rb_shadow_getspnam(VALUE self, VALUE name)
|
||||
|
||||
if( TYPE(name) != T_STRING )
|
||||
rb_raise(rb_eException,"argument must be a string.");
|
||||
+#ifdef __OpenBSD__
|
||||
+ entry = getpwnam_shadow(StringValuePtr(name));
|
||||
+#else
|
||||
entry = getpwnam(StringValuePtr(name));
|
||||
+#endif
|
||||
|
||||
if( entry == NULL )
|
||||
return Qnil;
|
2
sysutils/ruby-shadow/pkg/DESCR
Normal file
2
sysutils/ruby-shadow/pkg/DESCR
Normal file
|
@ -0,0 +1,2 @@
|
|||
This module provides access to shadow passwords on Linux, OSX, FreeBSD,
|
||||
OpenBSD and Solaris.
|
12
sysutils/ruby-shadow/pkg/PLIST
Normal file
12
sysutils/ruby-shadow/pkg/PLIST
Normal file
|
@ -0,0 +1,12 @@
|
|||
${GEM_LIB}/cache/${DISTNAME}.gem
|
||||
${GEM_LIB}/gems/${DISTNAME}/
|
||||
${GEM_LIB}/gems/${DISTNAME}/HISTORY
|
||||
${GEM_LIB}/gems/${DISTNAME}/LICENSE
|
||||
${GEM_LIB}/gems/${DISTNAME}/MANIFEST
|
||||
${GEM_LIB}/gems/${DISTNAME}/Makefile
|
||||
${GEM_LIB}/gems/${DISTNAME}/README
|
||||
${GEM_LIB}/gems/${DISTNAME}/README.euc
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/shadow.so
|
||||
${GEM_LIB}/gems/${DISTNAME}/ruby-shadow.gemspec
|
||||
${GEM_LIB}/specifications/${DISTNAME}.gemspec
|
Loading…
Add table
Add a link
Reference in a new issue