Hi.

On 18.02.2010 11:30, Stevie Hryciw wrote:
Hello,

Thank you for providing the FreeBSD port of OptiPNG! I noticed that
the latest port available is 0.6.2, but the software's latest version
is 0.6.3. According to the OptiPNG website, there is a security
vulnerability with all prior 0.6.x versions. Do you have the time to
update the port to the latest version? I would be o so grateful, as
this is a package I rely on.

It looks trivial to me to update this port. Please test this patch and tell me if all is ok. I then make a PR.

cd /usr/ports
patch -p1 < /path/to/optipng063.diff
cd graphics/optipng
[options]
make install clean


http://optipng.sourceforge.net/

Please let me know if this is possible. Thanks again very much,
-Stevie
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


diff -ruNa optipng.old/Makefile optipng/Makefile
--- optipng/Makefile    2009-08-22 04:23:01.000000000 +0400
+++ optipng/Makefile    2010-02-18 21:28:58.000000000 +0300
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=      optipng
-PORTVERSION=   0.6.2
+PORTVERSION=   0.6.3
 CATEGORIES=    graphics
 MASTER_SITES=  SF/${PORTNAME}/OptiPNG/${PORTNAME}-${PORTVERSION}
 
diff -ruNa optipng.old/distinfo optipng/distinfo
--- optipng/distinfo    2009-01-19 23:44:24.000000000 +0300
+++ optipng/distinfo    2010-02-18 21:28:51.000000000 +0300
@@ -1,3 +1,3 @@
-MD5 (optipng-0.6.2.tar.gz) = 08b6195bb5895a7fe167fab16dcdf6d5
-SHA256 (optipng-0.6.2.tar.gz) = 
84312506ea0c683a4e7675b3c8278067222762520016cc61e53c2b0e679120ca
-SIZE (optipng-0.6.2.tar.gz) = 1052509
+MD5 (optipng-0.6.3.tar.gz) = 6cef405197a878acff4c6216cf38e871
+SHA256 (optipng-0.6.3.tar.gz) = 
d11630955e2e72f07dd0aa1270f9d20caaef41796fdbfbbc1caad5b931fdf721
+SIZE (optipng-0.6.3.tar.gz) = 1060571
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to