Date: Fri, 25 May 2007 16:24:36 +0200 (CEST) From: Jan Srzednicki <w@wrzask.pl> To: FreeBSD-gnats-submit@FreeBSD.org Cc: stas@FreeBSD.org Subject: ports/112996: [PATCH] security/ruby-password: fix dependency on cracklib, avoid conflict with pwgen Message-ID: <20070525142436.9858117145@oak.pl> Resent-Message-ID: <200705251500.l4PF0A6m064200@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 112996 >Category: ports >Synopsis: [PATCH] security/ruby-password: fix dependency on cracklib, avoid conflict with pwgen >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri May 25 15:00:09 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Jan Srzednicki >Release: FreeBSD 6.2 >Organization: >Environment: System: FreeBSD oak.pl 6.2 >Description: This small patch fixes the dependency (which is also run-time) on libcrack.so. And it avoids using the name 'pwgen' to install it's example password generating script (so it doesn't conflict with ports/security/pwgen). I chose the name 'ruby-pwgen' for that small utility. Port maintainer (stas@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- ruby18-password-0.5.3.patch begins here --- diff -ruN --exclude=CVS /usr/ports/security/ruby-password/Makefile /srv/home/winfried/tmp/ports/ruby-password/Makefile --- /usr/ports/security/ruby-password/Makefile Tue Jan 16 16:55:30 2007 +++ /srv/home/winfried/tmp/ports/ruby-password/Makefile Fri May 25 16:19:23 2007 @@ -16,7 +16,7 @@ MAINTAINER= stas@FreeBSD.org COMMENT= A Ruby library to create, verify and manipulate passwords -BUILD_DEPENDS= ${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib +LIB_DEPENDS= crack:${PORTSDIR}/security/cracklib RUN_DEPENDS= ${LOCALBASE}/${SADIR}/termios.so:${PORTSDIR}/comms/ruby-termios USE_RUBY= yes @@ -27,7 +27,7 @@ CONFIGURE_ARGS= --with-crack-dict="${LOCALBASE}/libdata/cracklib/pw_dict.pwd" INSTALL_TARGET= site-install -MAN1= pwgen.1 +MAN1= ruby-pwgen.1 MANCOMPRESSED= no DOCS_EN= CHANGES README @@ -37,8 +37,8 @@ ${WRKSRC}/rbcrack.c ${WRKSRC}/extconf.rb post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/example/pwgen ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/pwgen.1 ${MANPREFIX}/man/man1/ + ${INSTALL_SCRIPT} ${WRKSRC}/example/pwgen ${PREFIX}/bin/ruby-pwgen + ${INSTALL_MAN} ${WRKSRC}/pwgen.1 ${MANPREFIX}/man/man1/ruby-pwgen.1 .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODEXAMPLESDIR} ${MKDIR} ${RUBY_MODDOCDIR} diff -ruN --exclude=CVS /usr/ports/security/ruby-password/pkg-plist /srv/home/winfried/tmp/ports/ruby-password/pkg-plist --- /usr/ports/security/ruby-password/pkg-plist Tue Jan 16 16:55:30 2007 +++ /srv/home/winfried/tmp/ports/ruby-password/pkg-plist Fri May 25 16:04:57 2007 @@ -1,4 +1,4 @@ -bin/pwgen +bin/ruby-pwgen %%RUBY_SITEARCHLIBDIR%%/crack.so %%RUBY_SITELIBDIR%%/password.rb %%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGES --- 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?20070525142436.9858117145>