diff --git a/sysutils/Makefile b/sysutils/Makefile index 78324c487b83..b2ad725f3e70 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -107,6 +107,7 @@ SUBDIR += biosfont SUBDIR += bkpupsd SUBDIR += bksh + SUBDIR += boot-extract SUBDIR += boxbackup-devel SUBDIR += brasero SUBDIR += bsd-splash-changer diff --git a/sysutils/boot-extract/Makefile b/sysutils/boot-extract/Makefile new file mode 100644 index 000000000000..8fee551aa9e4 --- /dev/null +++ b/sysutils/boot-extract/Makefile @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= boot-extract +PORTVERSION= g20190614 +CATEGORIES= sysutils + +MAINTAINER= freebsd@sysctl.cz +COMMENT= Android Boot image extraction tool + +LICENSE= GPLv2 + +USES= gmake + +USE_GITHUB= yes +GH_ACCOUNT= csimmonds +GH_PROJECT= boot-extract +GH_TAGNAME= 486995f + +PLIST_FILES= bin/boot-extract + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/sysutils/boot-extract/distinfo b/sysutils/boot-extract/distinfo new file mode 100644 index 000000000000..b3a7bfe49bae --- /dev/null +++ b/sysutils/boot-extract/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1563120360 +SHA256 (csimmonds-boot-extract-g20190614-486995f_GH0.tar.gz) = 3dcdc36c308e6a8a76db8cb902c2162ee02d9bd06704c010c39ee15ea9b475ba +SIZE (csimmonds-boot-extract-g20190614-486995f_GH0.tar.gz) = 3785 diff --git a/sysutils/boot-extract/files/patch-Makefile b/sysutils/boot-extract/files/patch-Makefile new file mode 100644 index 000000000000..3088ed5edab4 --- /dev/null +++ b/sysutils/boot-extract/files/patch-Makefile @@ -0,0 +1,16 @@ +--- Makefile.orig 2017-11-25 09:25:52 UTC ++++ Makefile +@@ -1,4 +1,5 @@ + ++ + CFLAGS=-Wall + PROGS=boot-extract + +@@ -10,3 +11,7 @@ clean: + rm -f *.o + rm -f $(PROGS) + ++install: boot-extract ++ ++.PHONY: all clean install ++ diff --git a/sysutils/boot-extract/pkg-descr b/sysutils/boot-extract/pkg-descr new file mode 100644 index 000000000000..a8e52b5e80d6 --- /dev/null +++ b/sysutils/boot-extract/pkg-descr @@ -0,0 +1,4 @@ +Utility to extract kernel and ramdisk from +an Android boot or recovery image file + +WWW: https://github.com/csimmonds/boot-extract