Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2020 20:02:00 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r523495 - in head/emulators: py-unicorn py-unicorn/files unicorn unicorn/files
Message-ID:  <202001182002.00IK208u047202@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Jan 18 20:02:00 2020
New Revision: 523495
URL: https://svnweb.freebsd.org/changeset/ports/523495

Log:
  Update unicorn and py-unicorn to 1.0.2-rc1

Modified:
  head/emulators/py-unicorn/Makefile
  head/emulators/py-unicorn/distinfo
  head/emulators/py-unicorn/files/patch-setup.py
  head/emulators/unicorn/Makefile
  head/emulators/unicorn/distinfo
  head/emulators/unicorn/files/patch-Makefile
  head/emulators/unicorn/files/patch-tests_unit_Makefile
  head/emulators/unicorn/pkg-plist

Modified: head/emulators/py-unicorn/Makefile
==============================================================================
--- head/emulators/py-unicorn/Makefile	Sat Jan 18 19:58:21 2020	(r523494)
+++ head/emulators/py-unicorn/Makefile	Sat Jan 18 20:02:00 2020	(r523495)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	unicorn
-PORTVERSION=	1.0.1
+DISTVERSION=	1.0.2-rc1
 CATEGORIES=	emulators python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 

Modified: head/emulators/py-unicorn/distinfo
==============================================================================
--- head/emulators/py-unicorn/distinfo	Sat Jan 18 19:58:21 2020	(r523494)
+++ head/emulators/py-unicorn/distinfo	Sat Jan 18 20:02:00 2020	(r523495)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1492722479
-SHA256 (unicorn-engine-unicorn-1.0.1_GH0.tar.gz) = 3a6a4f2b8c405ab009040ca43af8e4aa10ebe44d9c8b336aa36dc35df955017c
-SIZE (unicorn-engine-unicorn-1.0.1_GH0.tar.gz) = 3241225
+TIMESTAMP = 1579342823
+SHA256 (unicorn-engine-unicorn-1.0.2-rc1_GH0.tar.gz) = d6d71e9854e53b5268792572656d87ccde8ff726e6f9343aab6da46089367983
+SIZE (unicorn-engine-unicorn-1.0.2-rc1_GH0.tar.gz) = 3340182

Modified: head/emulators/py-unicorn/files/patch-setup.py
==============================================================================
--- head/emulators/py-unicorn/files/patch-setup.py	Sat Jan 18 19:58:21 2020	(r523494)
+++ head/emulators/py-unicorn/files/patch-setup.py	Sat Jan 18 20:02:00 2020	(r523495)
@@ -1,8 +1,8 @@
 # Do not bundle libunicorn.so
 
---- setup.py.orig	2017-04-20 06:14:24 UTC
+--- setup.py.orig	2019-10-08 02:44:50 UTC
 +++ setup.py
-@@ -260,11 +260,4 @@ setup(
+@@ -268,11 +268,4 @@ setup(
          'Programming Language :: Python :: 3',
      ],
      requires=['ctypes'],

Modified: head/emulators/unicorn/Makefile
==============================================================================
--- head/emulators/unicorn/Makefile	Sat Jan 18 19:58:21 2020	(r523494)
+++ head/emulators/unicorn/Makefile	Sat Jan 18 20:02:00 2020	(r523495)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	unicorn
-PORTVERSION=	1.0.1
-PORTREVISION=	2
+DISTVERSION=	1.0.2-rc1
 CATEGORIES=	emulators
 
 MAINTAINER=	antoine@FreeBSD.org
@@ -21,10 +20,10 @@ BROKEN_mips64=		fails to compile: 'ICACHE' undeclared 
 USE_GITHUB=	yes
 GH_ACCOUNT=	unicorn-engine
 
-USES=		compiler:c11 gmake python:2.7,build
+USES=		compiler:c11 gmake python:build
 USE_LDCONFIG=	yes
+BINARY_ALIAS=	python=${PYTHON_CMD}
 MAKE_ENV=	INSTALL_LIB="${INSTALL_LIB}" \
-		UNICORN_QEMU_FLAGS=--python=${PYTHON_CMD} \
 		SMP_MFLAGS=-j${MAKE_JOBS_NUMBER} \
 		V=1
 TEST_TARGET=	test

Modified: head/emulators/unicorn/distinfo
==============================================================================
--- head/emulators/unicorn/distinfo	Sat Jan 18 19:58:21 2020	(r523494)
+++ head/emulators/unicorn/distinfo	Sat Jan 18 20:02:00 2020	(r523495)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1492722479
-SHA256 (unicorn-engine-unicorn-1.0.1_GH0.tar.gz) = 3a6a4f2b8c405ab009040ca43af8e4aa10ebe44d9c8b336aa36dc35df955017c
-SIZE (unicorn-engine-unicorn-1.0.1_GH0.tar.gz) = 3241225
+TIMESTAMP = 1579342823
+SHA256 (unicorn-engine-unicorn-1.0.2-rc1_GH0.tar.gz) = d6d71e9854e53b5268792572656d87ccde8ff726e6f9343aab6da46089367983
+SIZE (unicorn-engine-unicorn-1.0.2-rc1_GH0.tar.gz) = 3340182

Modified: head/emulators/unicorn/files/patch-Makefile
==============================================================================
--- head/emulators/unicorn/files/patch-Makefile	Sat Jan 18 19:58:21 2020	(r523494)
+++ head/emulators/unicorn/files/patch-Makefile	Sat Jan 18 20:02:00 2020	(r523495)
@@ -1,7 +1,7 @@
---- Makefile.orig	2017-04-20 06:14:24 UTC
+--- Makefile.orig	2019-10-08 02:44:50 UTC
 +++ Makefile
-@@ -72,9 +72,9 @@ V ?= 0
- MACOS_UNIVERSAL ?= yes
+@@ -75,9 +75,9 @@ V ?= 0
+ MACOS_UNIVERSAL ?= no
  
  ifeq ($(UNICORN_DEBUG),yes)
 -CFLAGS += -g
@@ -12,7 +12,7 @@
  UNICORN_QEMU_FLAGS += --disable-debug-info
  endif
  
-@@ -181,7 +181,7 @@ LIBDIRARCH ?= lib
+@@ -195,7 +195,7 @@ LIBDIRARCH ?= lib
  # Or better, pass 'LIBDIRARCH=lib64' to 'make install/uninstall' via 'make.sh'.
  #LIBDIRARCH ?= lib64
  

Modified: head/emulators/unicorn/files/patch-tests_unit_Makefile
==============================================================================
--- head/emulators/unicorn/files/patch-tests_unit_Makefile	Sat Jan 18 19:58:21 2020	(r523494)
+++ head/emulators/unicorn/files/patch-tests_unit_Makefile	Sat Jan 18 20:02:00 2020	(r523495)
@@ -1,10 +1,11 @@
---- tests/unit/Makefile.orig	2017-04-20 06:14:24 UTC
+--- tests/unit/Makefile.orig	2019-10-08 02:44:50 UTC
 +++ tests/unit/Makefile
-@@ -1,6 +1,6 @@
+@@ -1,7 +1,7 @@
  CFLAGS += -Wall -Werror -Wno-unused-function -g
+ CFLAGS += -D__USE_MINGW_ANSI_STDIO=1
  CFLAGS += -L ../../ -I ../../include
 -CFLAGS += -L ../../cmocka/src -I ../../cmocka/include
 +CFLAGS += -L $(LOCALBASE)/lib -I $(LOCALBASE)/include
+ ASFLAGS += --32
+ OBJCOPY = objcopy
  
- UNAME_S := $(shell uname -s)
- ifeq ($(UNAME_S), Linux)

Modified: head/emulators/unicorn/pkg-plist
==============================================================================
--- head/emulators/unicorn/pkg-plist	Sat Jan 18 19:58:21 2020	(r523494)
+++ head/emulators/unicorn/pkg-plist	Sat Jan 18 20:02:00 2020	(r523495)
@@ -2,6 +2,7 @@ include/unicorn/arm.h
 include/unicorn/arm64.h
 include/unicorn/m68k.h
 include/unicorn/mips.h
+include/unicorn/platform.h
 include/unicorn/sparc.h
 include/unicorn/unicorn.h
 include/unicorn/x86.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001182002.00IK208u047202>