Date: Tue, 23 Jun 2009 06:21:05 GMT From: bf <bf1783@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/135950: [PATCH]devel/udis86: update to 1.7 Message-ID: <200906230621.n5N6L50Y072113@www.freebsd.org> Resent-Message-ID: <200906230630.n5N6U1jO023362@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 135950 >Category: ports >Synopsis: [PATCH]devel/udis86: update to 1.7 >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: Tue Jun 23 06:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: bf >Release: 8-CURRENT amd64 >Organization: >Environment: >Description: update and clean up >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN udis86.orig/Makefile udis86/Makefile --- udis86.orig/Makefile 2009-06-23 02:13:00.000000000 -0400 +++ udis86/Makefile 2009-06-23 01:58:29.000000000 -0400 @@ -6,7 +6,7 @@ # PORTNAME= udis86 -PORTVERSION= 1.4 +PORTVERSION= 1.7 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,21 +15,17 @@ COMMENT= Minimalistic x86 and x86-64 disassembler library GNU_CONFIGURE= yes -USE_GMAKE= yes .if !defined(NOPORTDOCS) -DOCS= doc.html index.html ss.jpg style.css +PORTDOCS= index.html ss.jpg style.css udis86.odt udis86.pdf x86optable.xml x86optable.xsl .endif -post-configure: - ${REINPLACE_CMD} -e 's, $$(INSTALL_PROGRAM), $$(INSTALL_DATA),' ${WRKSRC}/libudis86/Makefile - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for i in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR} -.endfor +.ifdef(NOPORTDOCS) +post-patch: + ${REINPLACE_CMD} -e '/SUBDIRS \=/s/\. docs//' ${WRKSRC}/Makefile.in .endif +regression-test: build + @(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} check) + .include <bsd.port.mk> diff -ruN udis86.orig/distinfo udis86/distinfo --- udis86.orig/distinfo 2009-06-23 02:13:06.000000000 -0400 +++ udis86/distinfo 2009-06-23 00:57:12.000000000 -0400 @@ -1,3 +1,3 @@ -MD5 (udis86-1.4.tar.gz) = 73033e2fbdc42c8ef0e17c0ede8c8be6 -SHA256 (udis86-1.4.tar.gz) = cdfd5b8320cef00f4f9b5fe4acbc046d17ff2ca9342d7aa23a9def02a1aa0c5a -SIZE (udis86-1.4.tar.gz) = 106330 +MD5 (udis86-1.7.tar.gz) = e279108e10f774e6c3af83caa18f5dc3 +SHA256 (udis86-1.7.tar.gz) = 6128d266abcabed6077fdeebd2fbb7fb48eb599efbdae98922de2f6acd82ce3a +SIZE (udis86-1.7.tar.gz) = 696651 diff -ruN udis86.orig/files/patch-udcli__udcli.c udis86/files/patch-udcli__udcli.c --- udis86.orig/files/patch-udcli__udcli.c 1969-12-31 19:00:00.000000000 -0500 +++ udis86/files/patch-udcli__udcli.c 2009-06-23 02:07:24.000000000 -0400 @@ -0,0 +1,11 @@ +--- udcli/udcli.c.orig 2009-06-23 02:05:47.000000000 -0400 ++++ udcli/udcli.c 2009-06-23 02:06:25.000000000 -0400 +@@ -46,7 +46,7 @@ + " -o <pc> : Set the value of program counter to <pc>. (default = 0)\n" + " -s <n> : Set the number of bytes to skip before disassembly to <n>.\n" + " -c <n> : Set the number of bytes to disassemble to <n>.\n" +- " -x : Set the input mode to whitespace seperated 8-bit numbers in\n" ++ " -x : Set the input mode to whitespace-separated 8-bit numbers in\n" + " hexadecimal representation. Example: 0f 01 ae 00\n" + " -noff : Do not display the offset of instructions.\n" + " -nohex : Do not display the hexadecimal code of instructions.\n" diff -ruN udis86.orig/pkg-plist udis86/pkg-plist --- udis86.orig/pkg-plist 2009-06-23 02:13:21.000000000 -0400 +++ udis86/pkg-plist 2009-06-23 01:19:16.000000000 -0400 @@ -1,12 +1,8 @@ bin/udcli lib/libudis86.a +lib/libudis86.la include/udis86.h -include/libudis86/types.h include/libudis86/extern.h -include/libudis86/mnemonics.h -%%PORTDOCS%%%%DOCSDIR%%/doc.html -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/ss.jpg -%%PORTDOCS%%%%DOCSDIR%%/style.css +include/libudis86/itab.h +include/libudis86/types.h @dirrm include/libudis86 -%%PORTDOCS%%@dirrm %%DOCSDIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906230621.n5N6L50Y072113>