mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Update to 0.5.3
- PREFIX safety - Take maintainership Approved by: sem (mentor)
This commit is contained in:
parent
2e58093452
commit
a4c3b3b69d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174366
@ -6,22 +6,23 @@
|
||||
#
|
||||
|
||||
PORTNAME= password
|
||||
PORTVERSION= 0.5.2
|
||||
PORTVERSION= 0.5.3
|
||||
CATEGORIES= security ruby
|
||||
MASTER_SITES= http://www.caliban.org/files/ruby/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= stas@FreeBSD.org
|
||||
COMMENT= A Ruby library to create, verify and manipulate passwords
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib
|
||||
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/termios.so:${PORTSDIR}/comms/ruby-termios
|
||||
RUN_DEPENDS= ${LOCALBASE}/${SADIR}/termios.so:${PORTSDIR}/comms/ruby-termios
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
RUBY_SHEBANG_FILES= example/*
|
||||
SADIR= lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}
|
||||
|
||||
CONFIGURE_ARGS= --with-crack-dict="${LOCALBASE}/libdata/cracklib/pw_dict.pwd"
|
||||
INSTALL_TARGET= site-install
|
||||
@ -31,16 +32,18 @@ MANCOMPRESSED= no
|
||||
|
||||
DOCS_EN= CHANGES README
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E -e 's,([^[:alpha:]]+)crack.h,\1packer.h,g' \
|
||||
${WRKSRC}/rbcrack.c ${WRKSRC}/extconf.rb
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/example/pwgen ${PREFIX}/bin/
|
||||
${INSTALL_MAN} ${WRKSRC}/pwgen.1 ${MANPREFIX}/man/man1/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/example/*.rb ${RUBY_MODEXAMPLESDIR}/
|
||||
${MKDIR} ${RUBY_MODDOCDIR}
|
||||
.for f in ${DOCS_EN}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/example/*.rb ${RUBY_MODEXAMPLESDIR}/
|
||||
${INSTALL_DATA} ${DOCS_EN:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (ruby/ruby-password-0.5.2.tar.gz) = 6a33fb9dd039f07fe2b81a0d8eed7f6f
|
||||
SHA256 (ruby/ruby-password-0.5.2.tar.gz) = 14c27d8421203b82bbe2442b704f3c04cd3437a3e5d66b75606a139801b95731
|
||||
SIZE (ruby/ruby-password-0.5.2.tar.gz) = 22656
|
||||
MD5 (ruby/ruby-password-0.5.3.tar.gz) = b4304bab359bdc95bc7f0938b0db4bed
|
||||
SHA256 (ruby/ruby-password-0.5.3.tar.gz) = 2563d30868f90ed958919b235668639678d4cdc259eeaad528a267ca456f224f
|
||||
SIZE (ruby/ruby-password-0.5.3.tar.gz) = 23088
|
||||
|
@ -1,8 +1,14 @@
|
||||
bin/pwgen
|
||||
%%RUBY_SITEARCHLIBDIR%%/crack.so
|
||||
%%RUBY_SITELIBDIR%%/password.rb
|
||||
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGES
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
|
||||
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrmtry %%RUBY_EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
|
||||
%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%%
|
||||
@dirrmtry %%RUBY_SITEARCHLIBDIR%%
|
||||
@dirrmtry %%RUBY_SITELIBDIR%%
|
||||
@dirrmtry lib/ruby/site_ruby
|
||||
@dirrmtry lib/ruby
|
||||
|
Loading…
Reference in New Issue
Block a user