Date: Sat, 1 Jan 2011 19:09:20 GMT From: Grzegorz Blach <magik@roorback.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/153602: In security/p5-GD-SecurityImage added option for depending on ImageMagick or not Message-ID: <201101011909.p01J9KeN063983@red.freebsd.org> Resent-Message-ID: <201101011910.p01JAB94002416@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 153602 >Category: ports >Synopsis: In security/p5-GD-SecurityImage added option for depending on ImageMagick or not >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Jan 01 19:10:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Grzegorz Blach >Release: 8.2-RC1 >Organization: >Environment: FreeBSD silver.nine 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #4 r216778: Tue Dec 28 23:09:11 CET 2010 root@silver.nine:/usr/obj/usr/src/sys/SILVER amd64 >Description: p5-GD-SecurityImage module can use GD or ImageMagick for creating images. When depends only on GD, it needs 14 ports as dependencies, but when depends on ImageMagick too, it needs 66 ports. In this list some ports are quite huge like eg. python, libX*, ghostscript, cups, glib2. Since this module can be fully useable when use only GD, I added patch which add option for disabling ImageMagick. I don't need this module, so I can save time and disk space when I'm building p5-GD-SecurityImage. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -x .svn -ruN /var/cache/portshaker/ports/security/p5-GD-SecurityImage/Makefile security/p5-GD-SecurityImage/Makefile --- /var/cache/portshaker/ports/security/p5-GD-SecurityImage/Makefile 2010-12-23 02:14:24.000000000 +0100 +++ security/p5-GD-SecurityImage/Makefile 2011-01-01 19:45:49.219011285 +0100 @@ -7,7 +7,7 @@ PORTNAME= GD-SecurityImage PORTVERSION= 1.70 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN @@ -16,8 +16,15 @@ MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 module for creating CAPTCHA security images -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \ - ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD + +OPTIONS= IMAGEMAGICK "Build ImageMagick module" off +.include <bsd.port.options.mk> + +.if defined(WITH_IMAGEMAGICK) +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick +.endif + RUN_DEPENDS= ${BUILD_DEPENDS} PORTSCOUT= skipv:1.581 diff -x .svn -ruN /var/cache/portshaker/ports/security/p5-GD-SecurityImage/distinfo security/p5-GD-SecurityImage/distinfo --- /var/cache/portshaker/ports/security/p5-GD-SecurityImage/distinfo 2009-05-15 00:52:04.000000000 +0200 +++ security/p5-GD-SecurityImage/distinfo 2011-01-01 18:47:43.243306273 +0100 @@ -1,3 +1,2 @@ -MD5 (GD-SecurityImage-1.70.tar.gz) = 44198b091ad179241dcd1b0d270e04bc SHA256 (GD-SecurityImage-1.70.tar.gz) = 9f05c91e83d0502b956f236c9e8f74bc5e2bd1837aba703b9999d66fd0841e0f SIZE (GD-SecurityImage-1.70.tar.gz) = 82046 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101011909.p01J9KeN063983>