From nobody@FreeBSD.org  Fri Mar 14 17:16:31 2014
Return-Path: <nobody@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 C4F5AF81
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Mar 2014 17:16:31 +0000 (UTC)
Received: from cgiserv.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 A51B46A7
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Mar 2014 17:16:31 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2EHGVhw033910
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Mar 2014 17:16:31 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2EHGVdE033906;
	Fri, 14 Mar 2014 17:16:31 GMT
	(envelope-from nobody)
Message-Id: <201403141716.s2EHGVdE033906@cgiserv.freebsd.org>
Date: Fri, 14 Mar 2014 17:16:31 GMT
From: Oliver Pinter <oliver.pntr@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [maintainer update] capstone 2.1.1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         187582
>Category:       ports
>Synopsis:       [maintainer update] devel/capstone 2.1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pawel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 14 17:20:00 UTC 2014
>Closed-Date:    Mon Mar 17 20:45:36 UTC 2014
>Last-Modified:  Mon Mar 17 20:50:00 UTC 2014
>Originator:     Oliver Pinter
>Release:        
>Organization:
>Environment:
>Description:
New version of Capstone engine: 2.0 -> 2.1.1.

Redports build log: https://redports.org/~op/20140314170420-48057-186625/capstone-2.1.1.log
>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 -ru /Makefile /Makefile
X--- Makefile	2014-03-14 17:24:44.000000000 +0100
X+++ Makefile	2014-03-14 17:35:33.000000000 +0100
X@@ -16,7 +16,7 @@
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@@ -39,9 +39,17 @@
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@@ -138,8 +146,7 @@
X LIBOBJ += MCInst.o
X 
X 
X-UNAME_S := $(shell uname -s)
X-PKGCFCGDIR = $(LIBDIR)/pkgconfig
X+PKGCFCGDIR = $(LIBDATADIR)/pkgconfig
X 
X # OSX?
X ifeq ($(UNAME_S),Darwin)
X@@ -244,7 +251,7 @@
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)
4d57b0d83fd4b7908946b8e1edd55333
echo x - devel/capstone/files/patch-tests_Makefile
sed 's/^X//' >devel/capstone/files/patch-tests_Makefile << '96dd9a5a7164bba339efb6f879f5d89b'
Xdiff -ru work.orig/capstone-2.1.1/tests/Makefile work/capstone-2.1.1/tests/Makefile
X--- tests/Makefile	2014-03-14 17:24:44.000000000 +0100
X+++ tests/Makefile	2014-03-14 17:52:47.000000000 +0100
X@@ -13,7 +13,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@@ -66,8 +66,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.1.1
XCATEGORIES=	devel
XMASTER_SITES=	http://capstone-engine.org/download/2.1/
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 <bsd.port.mk>
eb923420b6ee5de6983a578dde37a05b
echo x - devel/capstone/distinfo
sed 's/^X//' >devel/capstone/distinfo << 'fe9d0ab735c25aa703cfeff373bb4d0d'
XSHA256 (capstone-2.1.1.tar.gz) = 8af3c0a0f439d516277f308938935003d072f34a34fcf2e8dcf07dd415b1ca65
XSIZE (capstone-2.1.1.tar.gz) = 1353194
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:
Responsible-Changed-From-To: freebsd-ports-bugs->pawel 
Responsible-Changed-By: pawel 
Responsible-Changed-When: Mon Mar 17 19:15:38 UTC 2014 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187582 
State-Changed-From-To: open->closed 
State-Changed-By: pawel 
State-Changed-When: Mon Mar 17 20:45:35 UTC 2014 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187582 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/187582: commit references a PR
Date: Mon, 17 Mar 2014 20:44:49 +0000 (UTC)

 Author: pawel
 Date: Mon Mar 17 20:44:45 2014
 New Revision: 348504
 URL: http://svnweb.freebsd.org/changeset/ports/348504
 QAT: https://qat.redports.org/buildarchive/r348504/
 
 Log:
   Update to version 2.1.1
   
   PR:		ports/187582
   Submitted by:	maintainer
 
 Modified:
   head/devel/capstone/Makefile
   head/devel/capstone/distinfo
   head/devel/capstone/files/patch-Makefile
   head/devel/capstone/files/patch-tests_Makefile
   head/devel/capstone/pkg-plist
 
 Modified: head/devel/capstone/Makefile
 ==============================================================================
 --- head/devel/capstone/Makefile	Mon Mar 17 19:57:22 2014	(r348503)
 +++ head/devel/capstone/Makefile	Mon Mar 17 20:44:45 2014	(r348504)
 @@ -1,9 +1,9 @@
  # $FreeBSD$
  
  PORTNAME=	capstone
 -PORTVERSION=	2.0
 +PORTVERSION=	2.1.1
  CATEGORIES=	devel
 -MASTER_SITES=	http://capstone-engine.org/download/2.0/
 +MASTER_SITES=	http://capstone-engine.org/download/2.1/
  
  MAINTAINER=	oliver.pntr@gmail.com
  COMMENT=	Multi-platform, multi-architecture disassembly framework
 @@ -13,7 +13,8 @@ LICENSE=	BSD3CLAUSE
  USES=		gmake
  USE_LDCONFIG=	yes
  
 -MAKE_ENV=	INSTALL_LIBRARY="${INSTALL_LIB}"
 +MAKE_ENV+=	INSTALL_LIB="${INSTALL_LIB}" \
 +		INSTALL_DATA="${INSTALL_DATA}"
  
  post-build:
  	# The pkgconfig file is generated and points to stagedir
 
 Modified: head/devel/capstone/distinfo
 ==============================================================================
 --- head/devel/capstone/distinfo	Mon Mar 17 19:57:22 2014	(r348503)
 +++ head/devel/capstone/distinfo	Mon Mar 17 20:44:45 2014	(r348504)
 @@ -1,2 +1,2 @@
 -SHA256 (capstone-2.0.tar.gz) = 5d871b1e52047d1b2882bbcc6f049205ba6acc8d55d746937d22af5d0b33fa9e
 -SIZE (capstone-2.0.tar.gz) = 1731759
 +SHA256 (capstone-2.1.1.tar.gz) = 8af3c0a0f439d516277f308938935003d072f34a34fcf2e8dcf07dd415b1ca65
 +SIZE (capstone-2.1.1.tar.gz) = 1353194
 
 Modified: head/devel/capstone/files/patch-Makefile
 ==============================================================================
 --- head/devel/capstone/files/patch-Makefile	Mon Mar 17 19:57:22 2014	(r348503)
 +++ head/devel/capstone/files/patch-Makefile	Mon Mar 17 20:44:45 2014	(r348504)
 @@ -1,6 +1,7 @@
 ---- Makefile.orig	2014-01-22 10:33:35.000000000 +0000
 -+++ Makefile
 -@@ -15,7 +15,7 @@ RANLIB = $(CROSS)ranlib
 +diff -ru /Makefile /Makefile
 +--- Makefile	2014-03-14 17:24:44.000000000 +0100
 ++++ Makefile	2014-03-14 17:35:33.000000000 +0100
 +@@ -16,7 +16,7 @@
   STRIP = $(CROSS)strip
   endif
   
 @@ -9,38 +10,41 @@
   
   ifeq ($(USE_SYS_DYN_MEM),yes)
   CFLAGS += -DUSE_SYS_DYN_MEM
 -@@ -38,6 +38,8 @@ LIBDIR = $(DESTDIR)$(PREFIX)/lib
 +@@ -39,9 +39,17 @@
   endif
   endif
   
 ++LIBDATADIR = $(LIBDIR)
 ++UNAME_S := $(shell uname -s)
 ++ifeq ($(UNAME_S), FreeBSD)
  +LIBDATADIR = $(DESTDIR)$(PREFIX)/libdata
 ++else
 ++LIBDATADIR = $(LIBDIR)
 ++endif
  +
   INSTALL_BIN ?= install
   INSTALL_DATA ?= $(INSTALL_BIN) -m0644
 - INSTALL_LIBRARY ?= $(INSTALL_BIN) -m0755
 -@@ -88,7 +90,6 @@ endif
 +-INSTALL_LIBRARY ?= $(INSTALL_BIN) -m0755
 ++INSTALL_LIB ?= $(INSTALL_BIN) -m0755
   
 + LIBNAME = capstone
 + 
 +@@ -138,8 +146,7 @@
   LIBOBJ += MCInst.o
   
 + 
  -UNAME_S := $(shell uname -s)
 +-PKGCFCGDIR = $(LIBDIR)/pkgconfig
 ++PKGCFCGDIR = $(LIBDATADIR)/pkgconfig
 + 
   # OSX?
   ifeq ($(UNAME_S),Darwin)
 - EXT = dylib
 -@@ -156,14 +157,14 @@ install: $(PKGCFGF) $(ARCHIVE) $(LIBRARY
 +@@ -244,7 +251,7 @@
 + 
 + install: $(PKGCFGF) $(ARCHIVE) $(LIBRARY)
 + 	mkdir -p $(LIBDIR)
 +-	$(INSTALL_LIBRARY) lib$(LIBNAME).$(EXT) $(LIBDIR)
 ++	$(INSTALL_LIB) lib$(LIBNAME).$(EXT) $(LIBDIR)
   	$(INSTALL_DATA) lib$(LIBNAME).$(AR_EXT) $(LIBDIR)
   	mkdir -p $(INCDIR)/$(LIBNAME)
   	$(INSTALL_DATA) include/*.h $(INCDIR)/$(LIBNAME)
 --	mkdir -p $(LIBDIR)/pkgconfig
 --	$(INSTALL_DATA) $(PKGCFGF) $(LIBDIR)/pkgconfig/
 -+	mkdir -p $(LIBDATADIR)/pkgconfig
 -+	$(INSTALL_DATA) $(PKGCFGF) $(LIBDATADIR)/pkgconfig/
 - 
 - uninstall:
 - 	rm -rf $(INCDIR)/$(LIBNAME)
 - 	rm -f $(LIBDIR)/lib$(LIBNAME).$(EXT)
 - 	rm -f $(LIBDIR)/lib$(LIBNAME).$(AR_EXT)
 --	rm -f $(LIBDIR)/pkgconfig/$(LIBNAME).pc
 -+	rm -f $(LIBDATADIR)/pkgconfig/$(LIBNAME).pc
 - 
 - clean:
 - 	rm -f $(LIBOBJ) lib$(LIBNAME).*
 
 Modified: head/devel/capstone/files/patch-tests_Makefile
 ==============================================================================
 --- head/devel/capstone/files/patch-tests_Makefile	Mon Mar 17 19:57:22 2014	(r348503)
 +++ head/devel/capstone/files/patch-tests_Makefile	Mon Mar 17 20:44:45 2014	(r348504)
 @@ -1,6 +1,7 @@
 ---- tests/Makefile.orig	2014-01-25 19:14:03.000000000 +0100
 -+++ tests/Makefile	2014-01-25 19:14:24.000000000 +0100
 -@@ -11,7 +11,7 @@
 +diff -ru work.orig/capstone-2.1.1/tests/Makefile work/capstone-2.1.1/tests/Makefile
 +--- tests/Makefile	2014-03-14 17:24:44.000000000 +0100
 ++++ tests/Makefile	2014-03-14 17:52:47.000000000 +0100
 +@@ -13,7 +13,7 @@
   endif
   
   
 @@ -9,7 +10,7 @@
   
   LIBNAME = capstone
   
 -@@ -48,8 +48,8 @@
 +@@ -66,8 +66,8 @@
   $(BINARY): $(OBJS)
   
   %$(BIN_EXT): %.o
 
 Modified: head/devel/capstone/pkg-plist
 ==============================================================================
 --- head/devel/capstone/pkg-plist	Mon Mar 17 19:57:22 2014	(r348503)
 +++ head/devel/capstone/pkg-plist	Mon Mar 17 20:44:45 2014	(r348504)
 @@ -1,6 +1,7 @@
  include/capstone/arm.h
  include/capstone/arm64.h
  include/capstone/capstone.h
 +include/capstone/diet.h
  include/capstone/mips.h
  include/capstone/ppc.h
  include/capstone/x86.h
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
