FreeBSD Bugzilla – Attachment 184639 Details for
Bug 213250
[NEW PORT] comms/sunxi-tools: collection of tools for hacking on Allwinner ARM boards
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sunxi-tools v1.4.2
sunxi-tools.diff (text/plain), 3.06 KB, created by
Emmanuel Vadot
on 2017-07-23 18:41:13 UTC
(
hide
)
Description:
sunxi-tools v1.4.2
Filename:
MIME Type:
Creator:
Emmanuel Vadot
Created:
2017-07-23 18:41:13 UTC
Size:
3.06 KB
patch
obsolete
>diff --git a/comms/Makefile b/comms/Makefile >index 20a73c41fe7f..0db856eeacbb 100644 >--- a/comms/Makefile >+++ b/comms/Makefile >@@ -168,6 +168,7 @@ > SUBDIR += spandsp > SUBDIR += splat > SUBDIR += sredird >+ SUBDIR += sunxi-tools > SUBDIR += svxlink > SUBDIR += syncterm > SUBDIR += tcpser >diff --git a/comms/sunxi-tools/Makefile b/comms/sunxi-tools/Makefile >new file mode 100644 >index 000000000000..686e76fb9815 >--- /dev/null >+++ b/comms/sunxi-tools/Makefile >@@ -0,0 +1,31 @@ >+# $FreeBSD$ >+ >+PORTNAME= sunxi-tools >+PORTVERSION= 1.4.2 >+DISTVERSIONPREFIX= v >+CATEGORIES= comms >+ >+MAINTAINER= manu@freebsd.org >+COMMENT= Tools to help hacking Allwinner devices >+ >+LICENSE= GPLv2+ >+ >+USE_GITHUB= yes >+GH_ACCOUNT= linux-sunxi >+ >+USES= gmake pkgconfig >+ >+PLIST_FILES= bin/sunxi-fexc \ >+ bin/sunxi-bootinfo \ >+ bin/sunxi-fel \ >+ bin/sunxi-nand-part \ >+ bin/sunxi-pio >+ >+do-install: >+ $(INSTALL_PROGRAM) ${WRKSRC}/sunxi-fexc ${STAGEDIR}${PREFIX}/bin >+ $(INSTALL_PROGRAM) ${WRKSRC}/sunxi-bootinfo ${STAGEDIR}${PREFIX}/bin >+ $(INSTALL_PROGRAM) ${WRKSRC}/sunxi-fel ${STAGEDIR}${PREFIX}/bin >+ $(INSTALL_PROGRAM) ${WRKSRC}/sunxi-nand-part ${STAGEDIR}${PREFIX}/bin >+ $(INSTALL_PROGRAM) ${WRKSRC}/sunxi-pio ${STAGEDIR}${PREFIX}/bin >+ >+.include <bsd.port.mk> >diff --git a/comms/sunxi-tools/distinfo b/comms/sunxi-tools/distinfo >new file mode 100644 >index 000000000000..0aea9fc12f18 >--- /dev/null >+++ b/comms/sunxi-tools/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1499609673 >+SHA256 (linux-sunxi-sunxi-tools-v1.4.2_GH0.tar.gz) = 81f48014a520cb83cac4e17f5ae627a637c4d6a422b60c693c5a705c92e43822 >+SIZE (linux-sunxi-sunxi-tools-v1.4.2_GH0.tar.gz) = 84090 >diff --git a/comms/sunxi-tools/files/patch-Makefile b/comms/sunxi-tools/files/patch-Makefile >new file mode 100644 >index 000000000000..49a2b0499581 >--- /dev/null >+++ b/comms/sunxi-tools/files/patch-Makefile >@@ -0,0 +1,29 @@ >+--- Makefile.orig 2016-11-29 13:07:51 UTC >++++ Makefile >+@@ -17,7 +17,7 @@ >+ # along with this program. If not, see <http://www.gnu.org/licenses/>. >+ >+ CC ?= gcc >+-DEFAULT_CFLAGS := -std=c99 >++DEFAULT_CFLAGS += -std=c99 >+ DEFAULT_CFLAGS += -Wall -Wextra -Wno-unused-result >+ >+ DEFAULT_CFLAGS += -D_POSIX_C_SOURCE=200112L >+@@ -63,7 +63,7 @@ BINDIR ?= $(PREFIX)/bin >+ tools: $(TOOLS) $(FEXC_LINKS) >+ target-tools: $(TARGET_TOOLS) >+ >+-all: tools target-tools >++all: tools >+ >+ misc: $(MISC_TOOLS) >+ >+@@ -75,7 +75,7 @@ install-all: install-tools install-target-tools >+ install-tools: $(TOOLS) >+ install -d $(DESTDIR)$(BINDIR) >+ @set -ex ; for t in $^ ; do \ >+- install -m0755 $$t $(DESTDIR)$(BINDIR)/$$t ; \ >++ $(INSTALL_PROGRAM) -m0755 $$t $(DESTDIR)$(BINDIR)/$$t ; \ >+ done >+ @set -ex ; for l in $(FEXC_LINKS) ; do \ >+ ln -nfs sunxi-fexc $(DESTDIR)$(BINDIR)/$$l ; \ >diff --git a/comms/sunxi-tools/pkg-descr b/comms/sunxi-tools/pkg-descr >new file mode 100644 >index 000000000000..06390a2f5981 >--- /dev/null >+++ b/comms/sunxi-tools/pkg-descr >@@ -0,0 +1,4 @@ >+Tools to help hacking Allwinner A10 (aka sun4i) based devices and possibly >+it's successors, that's why the 'x' in the package name. >+ >+WWW: https://github.com/linux-sunxi/sunxi-tools
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
Actions:
View
|
Diff
Attachments on
bug 213250
:
175473
|
183474
| 184639