FreeBSD Bugzilla – Attachment 233477 Details for
Bug 263562
editors/rehex: update to 0.5.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
editors/rehex: update to 0.5.0
0001-editors-rehex-update-to-0.5.0.patch (text/plain), 6.11 KB, created by
Robert Clausecker
on 2022-04-25 12:07:37 UTC
(
hide
)
Description:
editors/rehex: update to 0.5.0
Filename:
MIME Type:
Creator:
Robert Clausecker
Created:
2022-04-25 12:07:37 UTC
Size:
6.11 KB
patch
obsolete
>From fdce161a8dae6f10b140aac6f39be5f670bacb63 Mon Sep 17 00:00:00 2001 >From: Robert Clausecker <fuz@fuz.su> >Date: Fri, 14 Jan 2022 13:34:15 +0100 >Subject: [PATCH] editors/rehex: update to 0.5.0 > > - pacify portlint, Poudriere > - strip installed binaries > - add missing dependencies > - take over maintainership of this unmaintained port > >Changelog: https://github.com/solemnwarning/rehex/releases/tag/0.5.0 >--- > editors/rehex/Makefile | 18 ++++++++--- > editors/rehex/distinfo | 6 ++-- > editors/rehex/files/patch-Makefile | 32 +++++++++++-------- > .../patch-plugins_binary-template_Makefile | 11 +++++++ > editors/rehex/pkg-plist | 13 ++++++++ > 5 files changed, 58 insertions(+), 22 deletions(-) > create mode 100644 editors/rehex/files/patch-plugins_binary-template_Makefile > >diff --git a/editors/rehex/Makefile b/editors/rehex/Makefile >index 6726ae7b1dd4..3ecdb18f8f95 100644 >--- a/editors/rehex/Makefile >+++ b/editors/rehex/Makefile >@@ -1,23 +1,31 @@ > # Created by: Alexey Dokuchaev <danfe@FreeBSD.org> > > PORTNAME= rehex >-PORTVERSION= 0.4.1 >+DISTVERSION= 0.5.0 > CATEGORIES= editors > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= fuz@fuz.su > COMMENT= Hex editor for reverse engineering > > LICENSE= GPLv2 >+LICENSE_FILE= ${WRKSRC}/LICENSE.txt > >+BUILD_DEPENDS= p5-Template-Toolkit>0:www/p5-Template-Toolkit \ >+ zip:archivers/zip > LIB_DEPENDS= libcapstone.so:devel/capstone4 \ >+ libharfbuzz.so:print/harfbuzz \ >+ libiconv.so:converters/libiconv \ > libjansson.so:devel/jansson \ > libunistring.so:devel/libunistring > >-USES= compiler:c++11-lang gmake gnome lua:53 pkgconfig >-USE_WX= 3.0+ >-MAKE_ENV= LUA_PKG="lua-${LUA_VER}" LUA="${LUA_CMD}" >+USES= compiler:c++11-lang gmake gnome lua:53 perl5 pkgconfig > USE_GITHUB= yes > GH_ACCOUNT= solemnwarning >+USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango >+USE_PERL5= build >+USE_WX= 3.0+ >+MAKE_ENV= LUA_PKG="lua-${LUA_VER}" LUA="${LUA_CMD}" STRIP="${STRIP}" >+TEST_TARGET= check > > PORTDOCS= CHANGES.txt > >diff --git a/editors/rehex/distinfo b/editors/rehex/distinfo >index 3d75ac9b9231..54dfa451bed0 100644 >--- a/editors/rehex/distinfo >+++ b/editors/rehex/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1642090465 >-SHA256 (solemnwarning-rehex-0.4.1_GH0.tar.gz) = 88a8ec41147a5ed5c542d40496b7231fb42ebfd1783c4498202fca5a1ddaae8f >-SIZE (solemnwarning-rehex-0.4.1_GH0.tar.gz) = 3347164 >+TIMESTAMP = 1650880974 >+SHA256 (solemnwarning-rehex-0.5.0_GH0.tar.gz) = f6737e44d98da9a81ba0217da56fc0b4d36338204ab5f076b77af536a4b35981 >+SIZE (solemnwarning-rehex-0.5.0_GH0.tar.gz) = 3905886 >diff --git a/editors/rehex/files/patch-Makefile b/editors/rehex/files/patch-Makefile >index 91c4fea5fd06..2f8727d454e7 100644 >--- a/editors/rehex/files/patch-Makefile >+++ b/editors/rehex/files/patch-Makefile >@@ -1,27 +1,31 @@ >---- Makefile.orig 2021-05-03 12:57:27 UTC >+--- Makefile.orig 2022-04-23 13:09:38 UTC > +++ Makefile >-@@ -388,18 +388,20 @@ PLUGINS_INSTALL := \ >+@@ -503,17 +503,21 @@ PLUGINS := \ > > .PHONY: install >- install: $(EXE) >+ install: $(EXE) help/rehex.htb > - install -D -m 0755 $(EXE) $(DESTDIR)$(bindir)/$(EXE) >-+ $(BSD_INSTALL_PROGRAM) $(EXE) $(DESTDIR)$(bindir)/$(EXE) >++ install -m 0755 $(STRIP) $(EXE) $(DESTDIR)$(bindir)/$(EXE) > > for s in 16 32 48 64 128 256 512; \ > do \ > - install -D -m 0644 res/icon$${s}.png $(DESTDIR)$(datarootdir)/icons/hicolor/$${s}x$${s}/apps/rehex.png; \ > + mkdir -p $(DESTDIR)$(datarootdir)/icons/hicolor/$${s}x$${s}/apps; \ >-+ $(BSD_INSTALL_DATA) res/icon$${s}.png $(DESTDIR)$(datarootdir)/icons/hicolor/$${s}x$${s}/apps/rehex.png; \ >++ install -m 0644 res/icon$${s}.png $(DESTDIR)$(datarootdir)/icons/hicolor/$${s}x$${s}/apps/rehex.png; \ > done >- >+- > - install -D -m 0644 res/rehex.desktop $(DESTDIR)$(datarootdir)/applications/rehex.desktop >-+ $(BSD_INSTALL_DATA) res/rehex.desktop $(DESTDIR)$(datarootdir)/applications/rehex.desktop >- >+- >+- install -D -m 0644 help/rehex.htb $(DESTDIR)$(datadir)/rehex/rehex.htb >+- >++ >++ mkdir -p $(DESTDIR)$(datarootdir)/applications >++ install -m 0644 res/rehex.desktop $(DESTDIR)$(datarootdir)/applications/rehex.desktop >++ >++ mkdir -p $(DESTDIR)$(datadir)/rehex >++ install -m 0644 help/rehex.htb $(DESTDIR)$(datadir)/rehex/rehex.htb >++ > + mkdir -p $(DESTDIR)$(libdir)/rehex/exe >- for f in $(PLUGINS_INSTALL); \ >+ for p in $(PLUGINS); \ > do \ >-- install -D -m 0644 plugins/$${f} $(DESTDIR)$(libdir)/rehex/$${f}; \ >-+ $(BSD_INSTALL_DATA) plugins/$${f} $(DESTDIR)$(libdir)/rehex/$${f}; \ >- done >- >- .PHONY: uninstall >+ $(MAKE) -C plugins/$${p} install || exit $$?; \ >diff --git a/editors/rehex/files/patch-plugins_binary-template_Makefile b/editors/rehex/files/patch-plugins_binary-template_Makefile >new file mode 100644 >index 000000000000..8ab71562080e >--- /dev/null >+++ b/editors/rehex/files/patch-plugins_binary-template_Makefile >@@ -0,0 +1,11 @@ >+--- plugins/binary-template/Makefile.orig 2022-04-25 10:32:52 UTC >++++ plugins/binary-template/Makefile >+@@ -49,7 +49,7 @@ ifeq ($(BUSTED),) >+ endif >+ >+ ifeq ($(BUSTED),) >+- X := $(error Neither busted or busted.bat found in PATH) >++ BUSTED := @echo busted not found in PATH, skipping checks ; true >+ endif >+ endif >+ >diff --git a/editors/rehex/pkg-plist b/editors/rehex/pkg-plist >index 86e612384b8d..6d03734ca597 100644 >--- a/editors/rehex/pkg-plist >+++ b/editors/rehex/pkg-plist >@@ -1,4 +1,16 @@ > bin/rehex >+lib/rehex/binary-template/executor.lua >+lib/rehex/binary-template/executor/arrayvalue.lua >+lib/rehex/binary-template/executor/filearrayvalue.lua >+lib/rehex/binary-template/executor/filevalue.lua >+lib/rehex/binary-template/executor/immediatevalue.lua >+lib/rehex/binary-template/executor/plainvalue.lua >+lib/rehex/binary-template/executor/structvalue.lua >+lib/rehex/binary-template/lulpeg/lulpeg.lua >+lib/rehex/binary-template/parser.lua >+lib/rehex/binary-template/plugin.lua >+lib/rehex/binary-template/preprocessor.lua >+lib/rehex/binary-template/templates/riff.bt > lib/rehex/exe/bitops52.lua > lib/rehex/exe/class.lua > lib/rehex/exe/document_stream.lua >@@ -17,3 +29,4 @@ share/icons/hicolor/32x32/apps/rehex.png > share/icons/hicolor/48x48/apps/rehex.png > share/icons/hicolor/512x512/apps/rehex.png > share/icons/hicolor/64x64/apps/rehex.png >+%%DATADIR%%/rehex.htb >-- >2.35.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
fuz
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 263562
: 233477