misc/159346: www/xpi-live_http_headers: files corruption after last
commit
Barbara
barbara.xxx1975 at libero.it
Mon Aug 1 07:00:19 UTC 2011
>Number: 159346
>Category: misc
>Synopsis: www/xpi-live_http_headers: files corruption after last commit
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 01 07:00:18 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Barbara
>Release: RELENG_8
>Organization:
>Environment:
FreeBSD satanasso.local.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Jul 17 12:37:49 CEST 2011 root at satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO i386
>Description:
After last commit (pr=158632), which included a new patch in files, USE_DOS2UNIX has been added in Makefile, resulting in livehttpheaders.jar and LiveHTTPHeaders.ico corruption.
>How-To-Repeat:
# cd /usr/ports/www/xpi-live_http_headers
# make extract
# md5 -r work/live_http_headers-0.17-fx+sm/chrome/livehttpheaders.jar
c02ef7f5fe2035b71d71835daa4be084 work/live_http_headers-0.17-fx+sm/chrome/livehttpheaders.jar
# make patch
# md5 -r work/live_http_headers-0.17-fx+sm/chrome/livehttpheaders.jar
40ae1821fbdfdd847e769be346880970 work/live_http_headers-0.17-fx+sm/chrome/livehttpheaders.jar
work/live_http_headers-0.17-fx+sm/chrome/icons/default/LiveHTTPHeaders.ico get corrupted as well
>Fix:
do not dos2unix binary files
Patch attached with submission follows:
--- Makefile.orig 2011-07-14 16:42:11.000000000 +0200
+++ Makefile 2011-08-01 08:38:08.000000000 +0200
@@ -8,7 +8,7 @@
PORTNAME= live_http_headers
PORTVERSION= 0.17
DISTVERSIONSUFFIX= -fx+sm
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
PKGNAMEPREFIX= xpi-
@@ -36,6 +36,7 @@
defaults
USE_DOS2UNIX= yes
+DOS2UNIX_REGEX= .*\.(js|rdf|txt)
post-patch:
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} \{} \;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list