update to unshield 1.5.1

This commit is contained in:
jsg 2022-01-23 09:14:46 +00:00
parent c1c6cb8cb7
commit 8af306c548
4 changed files with 12 additions and 21 deletions

View File

@ -1,21 +1,21 @@
# $OpenBSD: Makefile,v 1.20 2019/07/12 20:43:30 sthen Exp $
# $OpenBSD: Makefile,v 1.21 2022/01/23 09:14:46 jsg Exp $
COMMENT= extract files from InstallShield CAB archives
GH_ACCOUNT= twogood
GH_PROJECT= unshield
GH_TAGNAME= 1.4.3
GH_TAGNAME= 1.5.1
CATEGORIES= archivers
SHARED_LIBS+= unshield 2.1
SHARED_LIBS+= unshield 2.2
MAINTAINER= Jonathan Gray <jsg@openbsd.org>
# MIT
PERMIT_PACKAGE= Yes
WANTLIB= c crypto ssl z
WANTLIB= c crypto z
MODULES = devel/cmake

View File

@ -1,2 +1,2 @@
SHA256 (unshield-1.4.3.tar.gz) = qoyXjcDrEVjSZurdzRhS1tcWIN38goB/5L8uGQIre6s=
SIZE (unshield-1.4.3.tar.gz) = 58822
SHA256 (unshield-1.5.1.tar.gz) = NM2X/x5vdkQ21xZ249aELce9ji3VAUBo2lxWD+RmH2A=
SIZE (unshield-1.5.1.tar.gz) = 67454

View File

@ -1,10 +0,0 @@
$OpenBSD: patch-CMakeLists_txt,v 1.2 2017/01/21 23:46:01 jsg Exp $
--- CMakeLists.txt.orig Mon Jan 16 05:09:19 2017
+++ CMakeLists.txt Sun Jan 22 09:26:19 2017
@@ -71,5 +71,5 @@ add_definitions(-fPIC)
add_subdirectory(lib)
add_subdirectory(src)
-install(FILES man/unshield.1 DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man1)
+install(FILES man/unshield.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libunshield.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)

View File

@ -1,8 +1,9 @@
$OpenBSD: patch-lib_internal_h,v 1.3 2017/01/21 23:46:01 jsg Exp $
--- lib/internal.h.orig Sun Jan 22 09:33:13 2017
+++ lib/internal.h Sun Jan 22 09:34:10 2017
@@ -103,30 +103,7 @@ uint8_t* unshield_header_get_buffer(Header* header, ui
#define FSIZE(file) (file ? unshield_fsize(file) : 0)
$OpenBSD: patch-lib_internal_h,v 1.4 2022/01/23 09:14:46 jsg Exp $
Index: lib/internal.h
--- lib/internal.h.orig
+++ lib/internal.h
@@ -105,30 +105,7 @@ uint8_t* unshield_header_get_buffer(Header* header, ui
#define FSIZE(file) ((file) ? unshield_fsize(file) : 0)
#define STREQ(s1,s2) (0 == strcmp(s1,s2))
-#if WORDS_BIGENDIAN