Date: Wed, 30 Aug 2006 15:50:50 +0400 (MSD) From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/102689: [PATCH] security/ruby-password: update to 0.5.3, take maintainership Message-ID: <20060830115050.7326211B6B@fonon.realnet> Resent-Message-ID: <200608301200.k7UC0b0t086841@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 102689 >Category: ports >Synopsis: [PATCH] security/ruby-password: update to 0.5.3, take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Aug 30 12:00:37 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stanislav Sedov >Release: FreeBSD 7.0-CURRENT i386 >Organization: MBSD labs, Inc. >Environment: System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug 2 21:44:37 MSD >Description: - Update to 0.5.3 - Make prefix clean - Take maintainership Depends on ports/102685 >How-To-Repeat: >Fix: --- ruby18-password-0.5.3.patch begins here --- diff -ruN --exclude=CVS /usr/ports/security/ruby-password/Makefile /var/tmp/ruby-password/Makefile --- /usr/ports/security/ruby-password/Makefile Fri Nov 11 04:17:48 2005 +++ /var/tmp/ruby-password/Makefile Wed Aug 30 15:49:30 2006 @@ -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= ssedov@mbsd.msk.ru 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 @@ 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> diff -ruN --exclude=CVS /usr/ports/security/ruby-password/distinfo /var/tmp/ruby-password/distinfo --- /usr/ports/security/ruby-password/distinfo Fri Nov 25 21:01:12 2005 +++ /var/tmp/ruby-password/distinfo Wed Aug 30 15:26:37 2006 @@ -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 diff -ruN --exclude=CVS /usr/ports/security/ruby-password/pkg-plist /var/tmp/ruby-password/pkg-plist --- /usr/ports/security/ruby-password/pkg-plist Sun Apr 18 21:25:51 2004 +++ /var/tmp/ruby-password/pkg-plist Wed Aug 30 15:48:45 2006 @@ -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 --- ruby18-password-0.5.3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060830115050.7326211B6B>