From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 24 21:40:02 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 114F4B91 for ; Mon, 24 Feb 2014 21:40:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DEE36199A for ; Mon, 24 Feb 2014 21:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1OLe1FB035742 for ; Mon, 24 Feb 2014 21:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1OLe1ZX035741; Mon, 24 Feb 2014 21:40:01 GMT (envelope-from gnats) Resent-Date: Mon, 24 Feb 2014 21:40:01 GMT Resent-Message-Id: <201402242140.s1OLe1ZX035741@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oliver Pinter Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0171B947 for ; Mon, 24 Feb 2014 21:31:42 +0000 (UTC) Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CAA001939 for ; Mon, 24 Feb 2014 21:31:41 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1OLVfPW046954 for ; Mon, 24 Feb 2014 21:31:41 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1OLVfEw046920; Mon, 24 Feb 2014 21:31:41 GMT (envelope-from nobody) Message-Id: <201402242131.s1OLVfEw046920@cgiserv.freebsd.org> Date: Mon, 24 Feb 2014 21:31:41 GMT From: Oliver Pinter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187012: [maintainer update] capstone ports update X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 21:40:02 -0000 >Number: 187012 >Category: ports >Synopsis: [maintainer update] capstone ports update >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Feb 24 21:40:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Oliver Pinter >Release: >Organization: Ukatemi >Environment: >Description: maintainer update of capstone engine >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # devel # devel/capstone # devel/capstone/files # devel/capstone/files/patch-Makefile # devel/capstone/files/patch-tests_Makefile # devel/capstone/pkg-plist # devel/capstone/Makefile # devel/capstone/distinfo # devel/capstone/pkg-descr # echo c - devel mkdir -p devel > /dev/null 2>&1 echo c - devel/capstone mkdir -p devel/capstone > /dev/null 2>&1 echo c - devel/capstone/files mkdir -p devel/capstone/files > /dev/null 2>&1 echo x - devel/capstone/files/patch-Makefile sed 's/^X//' >devel/capstone/files/patch-Makefile << '4d57b0d83fd4b7908946b8e1edd55333' Xdiff --git a/Makefile b/Makefile Xindex 923c247..655fbca 100644 X--- Makefile X+++ Makefile X@@ -15,7 +15,7 @@ RANLIB = $(CROSS)ranlib X STRIP = $(CROSS)strip X endif X X-CFLAGS += -fPIC -O3 -Wall -Iinclude X+CFLAGS += -fPIC -Wall -Iinclude X X ifeq ($(USE_SYS_DYN_MEM),yes) X CFLAGS += -DUSE_SYS_DYN_MEM X@@ -38,9 +38,17 @@ LIBDIR = $(DESTDIR)$(PREFIX)/lib X endif X endif X X+LIBDATADIR = $(LIBDIR) X+UNAME_S := $(shell uname -s) X+ifeq ($(UNAME_S), FreeBSD) X+LIBDATADIR = $(DESTDIR)$(PREFIX)/libdata X+else X+LIBDATADIR = $(LIBDIR) X+endif X+ X INSTALL_BIN ?= install X INSTALL_DATA ?= $(INSTALL_BIN) -m0644 X-INSTALL_LIBRARY ?= $(INSTALL_BIN) -m0755 X+INSTALL_LIB ?= $(INSTALL_BIN) -m0755 X X LIBNAME = capstone X X@@ -88,7 +96,6 @@ endif X X LIBOBJ += MCInst.o X X-UNAME_S := $(shell uname -s) X # OSX? X ifeq ($(UNAME_S),Darwin) X EXT = dylib X@@ -152,18 +159,18 @@ $(PKGCFGF): X X install: $(PKGCFGF) $(ARCHIVE) $(LIBRARY) X mkdir -p $(LIBDIR) X- $(INSTALL_LIBRARY) lib$(LIBNAME).$(EXT) $(LIBDIR) X+ $(INSTALL_LIB) lib$(LIBNAME).$(EXT) $(LIBDIR) X $(INSTALL_DATA) lib$(LIBNAME).$(AR_EXT) $(LIBDIR) X mkdir -p $(INCDIR)/$(LIBNAME) X $(INSTALL_DATA) include/*.h $(INCDIR)/$(LIBNAME) X- mkdir -p $(LIBDIR)/pkgconfig X- $(INSTALL_DATA) $(PKGCFGF) $(LIBDIR)/pkgconfig/ X+ mkdir -p $(LIBDATADIR)/pkgconfig X+ $(INSTALL_DATA) $(PKGCFGF) $(LIBDATADIR)/pkgconfig/ X X uninstall: X rm -rf $(INCDIR)/$(LIBNAME) X rm -f $(LIBDIR)/lib$(LIBNAME).$(EXT) X rm -f $(LIBDIR)/lib$(LIBNAME).$(AR_EXT) X- rm -f $(LIBDIR)/pkgconfig/$(LIBNAME).pc X+ rm -f $(LIBDATADIR)/pkgconfig/$(LIBNAME).pc X X clean: X rm -f $(LIBOBJ) lib$(LIBNAME).* 4d57b0d83fd4b7908946b8e1edd55333 echo x - devel/capstone/files/patch-tests_Makefile sed 's/^X//' >devel/capstone/files/patch-tests_Makefile << '96dd9a5a7164bba339efb6f879f5d89b' X--- tests/Makefile.orig 2014-01-25 19:14:03.000000000 +0100 X+++ tests/Makefile 2014-01-25 19:14:24.000000000 +0100 X@@ -11,7 +11,7 @@ X endif X X X-CFLAGS += -fPIC -O3 -Wall -I$(INCDIR) -L$(LIBDIR) X+CFLAGS += -fPIC -Wall -I$(INCDIR) -L$(LIBDIR) X X LIBNAME = capstone X X@@ -48,8 +48,8 @@ X $(BINARY): $(OBJS) X X %$(BIN_EXT): %.o X- ${CC} $(CFLAGS) $(LDFLAGS) $< -O3 -Wall -l$(LIBNAME) -o $@ X- ${CC} $(CFLAGS) $(LDFLAGS) $< -O3 -Wall ../lib$(LIBNAME).$(AR_EXT) -o $(subst $(BIN_EXT),,$@).static$(BIN_EXT) X+ ${CC} $(CFLAGS) $(LDFLAGS) $< -Wall -l$(LIBNAME) -o $@ X+ ${CC} $(CFLAGS) $(LDFLAGS) $< -Wall ../lib$(LIBNAME).$(AR_EXT) -o $(subst $(BIN_EXT),,$@).static$(BIN_EXT) X X %.o: %.c X ${CC} ${CFLAGS} -c $< -o $@ 96dd9a5a7164bba339efb6f879f5d89b echo x - devel/capstone/pkg-plist sed 's/^X//' >devel/capstone/pkg-plist << '3163f3a81e98d4f80f6173734395927a' Xinclude/capstone/arm.h Xinclude/capstone/arm64.h Xinclude/capstone/capstone.h Xinclude/capstone/mips.h Xinclude/capstone/ppc.h Xinclude/capstone/x86.h Xlib/libcapstone.a Xlib/libcapstone.so Xlibdata/pkgconfig/capstone.pc X@dirrmtry include/capstone 3163f3a81e98d4f80f6173734395927a echo x - devel/capstone/Makefile sed 's/^X//' >devel/capstone/Makefile << 'eb923420b6ee5de6983a578dde37a05b' X# $FreeBSD$ X XPORTNAME= capstone XPORTVERSION= 2.0 XPORTREVISION= 1 XCATEGORIES= devel XMASTER_SITES= http://capstone-engine.org/download/2.0/ X XMAINTAINER= oliver.pntr@gmail.com XCOMMENT= Multi-platform, multi-architecture disassembly framework X XLICENSE= BSD3CLAUSE X XUSES= gmake XUSE_LDCONFIG= yes X XMAKE_ENV+= INSTALL_LIB="${INSTALL_LIB}" \ X INSTALL_DATA="${INSTALL_DATA}" X Xpost-build: X # The pkgconfig file is generated and points to stagedir X ${REINPLACE_CMD} -e '/libdir/s|\(libdir=\)\(.*\)\(devel/capstone/work/stage\)|\1|g' ${WRKSRC}/capstone.pc X X.include eb923420b6ee5de6983a578dde37a05b echo x - devel/capstone/distinfo sed 's/^X//' >devel/capstone/distinfo << 'fe9d0ab735c25aa703cfeff373bb4d0d' XSHA256 (capstone-2.0.tar.gz) = 5d871b1e52047d1b2882bbcc6f049205ba6acc8d55d746937d22af5d0b33fa9e XSIZE (capstone-2.0.tar.gz) = 1731759 fe9d0ab735c25aa703cfeff373bb4d0d echo x - devel/capstone/pkg-descr sed 's/^X//' >devel/capstone/pkg-descr << '24d703243c963978da49c5412a55e8ca' XCapstone is a lightweight multi-platform, multi-architecture disassembly Xframework. X XFeatures: X * Supported architectures: ARM, ARM64 (aka ARMv8), Mips, PowerPC & X86 X * Clean/simple/lightweight/intuitive architecture-neutral API X * Provide details on disassembled instruction (called "decomposer") X * Provide some semantics of the disassembled instruction, such as list of X implicit registers read & written. X * Implemented in pure C language, with bindings for Python, Ruby, C#, Java, X GO, OCaml & Vala available. X * Native support for Windows & *nix (including MacOSX, Linux, *BSD & Solaris) X * Thread-safe by design X * Distributed under the open source BSD license X XWWW: http://capstone-engine.org/ 24d703243c963978da49c5412a55e8ca exit >Release-Note: >Audit-Trail: >Unformatted: