pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sunxi-tools: remove, in pkgsrc now



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Thu Oct 22 18:12:32 2015 +0200
Changeset:	84bea811d19b80d93a23a3dbaee046d63e3c520e

Modified Files:
	Makefile
Removed Files:
	sunxi-tools/DESCR
	sunxi-tools/Makefile
	sunxi-tools/PLIST
	sunxi-tools/distinfo
	sunxi-tools/patches/patch-Makefile
	sunxi-tools/patches/patch-include_endian__compat.h
	sunxi-tools/patches/patch-nand-part.c

Log Message:
sunxi-tools: remove, in pkgsrc now

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=84bea811d19b80d93a23a3dbaee046d63e3c520e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |  1 -
 sunxi-tools/DESCR                                  |  1 -
 sunxi-tools/Makefile                               | 25 --------------------
 sunxi-tools/PLIST                                  |  7 ------
 sunxi-tools/distinfo                               |  8 -------
 sunxi-tools/patches/patch-Makefile                 | 13 -----------
 sunxi-tools/patches/patch-include_endian__compat.h | 15 ------------
 sunxi-tools/patches/patch-nand-part.c              | 27 ----------------------
 8 files changed, 97 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index a74e91c..1d4e94f 100644
--- a/Makefile
+++ b/Makefile
@@ -3657,7 +3657,6 @@ SUBDIR+=	sudo
 SUBDIR+=	suitesparse
 SUBDIR+=	sun-j2me
 SUBDIR+=	sunterlib
-SUBDIR+=	sunxi-tools
 SUBDIR+=	supercat
 SUBDIR+=	superchic
 SUBDIR+=	superlfv
diff --git a/sunxi-tools/DESCR b/sunxi-tools/DESCR
deleted file mode 100644
index 17f522a..0000000
--- a/sunxi-tools/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-Tools for hacking Allwinner Axx (sunxi) based devices.
diff --git a/sunxi-tools/Makefile b/sunxi-tools/Makefile
deleted file mode 100644
index e290293..0000000
--- a/sunxi-tools/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: Makefile,v 1.1 2015/06/11 20:47:30 tnn2 Exp $
-
-MASTER_SITES=	https://github.com/linux-sunxi/
-DISTNAME=	sunxi-tools-1.2
-CATEGORIES=	sysutils
-GITHUB_TAG=	v${PKGVERSION_NOREV}
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/linux-sunxi/sunxi-tools
-COMMENT=	Tools for hacking Allwinner Axx (sunxi) based devices
-LICENSE=	gnu-gpl-v2
-
-USE_TOOLS=	gmake
-
-CFLAGS.NetBSD+=	-D_NETBSD_SOURCE
-
-INSTALLATION_DIRS=	bin
-
-do-install:
-.for f in fexc bin2fex fex2bin fel pio nand-part
-	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/bin
-.endfor
-
-.include "../../devel/libusb1/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/sunxi-tools/PLIST b/sunxi-tools/PLIST
deleted file mode 100644
index 39884ba..0000000
--- a/sunxi-tools/PLIST
+++ /dev/null
@@ -1,7 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2015/06/11 20:47:30 tnn2 Exp $
-bin/bin2fex
-bin/fel
-bin/fex2bin
-bin/fexc
-bin/nand-part
-bin/pio
diff --git a/sunxi-tools/distinfo b/sunxi-tools/distinfo
deleted file mode 100644
index de8a2dc..0000000
--- a/sunxi-tools/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.1 2015/06/11 20:47:30 tnn2 Exp $
-
-SHA1 (sunxi-tools-1.2.tar.gz) = a6ac7071ce8e4ce60fec10e884d86a34a98d6261
-RMD160 (sunxi-tools-1.2.tar.gz) = 3d748bef4a173cc990e213d8b86a1a923de9e320
-Size (sunxi-tools-1.2.tar.gz) = 35378 bytes
-SHA1 (patch-Makefile) = ff2ee438848056a648c3bcf79ea448efe073efe6
-SHA1 (patch-include_endian__compat.h) = cf6c176d8f2f0b1f432deefda14e9234dfd05f43
-SHA1 (patch-nand-part.c) = 3d0ea6f8cefd3ebef72f13e7359cf7098673440e
diff --git a/sunxi-tools/patches/patch-Makefile b/sunxi-tools/patches/patch-Makefile
deleted file mode 100644
index ec08a06..0000000
--- a/sunxi-tools/patches/patch-Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-Makefile,v 1.1 2015/06/11 20:47:30 tnn2 Exp $
-
-Allow pkgsrc to override CFLAGS.
-
---- Makefile.orig	2014-04-26 18:59:49.000000000 +0000
-+++ Makefile
-@@ -1,5 +1,5 @@
- CC = gcc
--CFLAGS = -g -O0 -Wall -Wextra
-+#CFLAGS += -g -O0 -Wall -Wextra
- CFLAGS += -std=c99 -D_POSIX_C_SOURCE=200112L
- CFLAGS += -Iinclude/
- 
diff --git a/sunxi-tools/patches/patch-include_endian__compat.h b/sunxi-tools/patches/patch-include_endian__compat.h
deleted file mode 100644
index 6d57200..0000000
--- a/sunxi-tools/patches/patch-include_endian__compat.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-include_endian__compat.h,v 1.1 2015/06/11 20:47:30 tnn2 Exp $
-
-NetBSD build fix.
-
---- include/endian_compat.h.orig	2014-04-26 18:59:49.000000000 +0000
-+++ include/endian_compat.h
-@@ -7,6 +7,8 @@
- #define le32toh(x) CFSwapInt32LittleToHost(x)
- #define htole16(x) CFSwapInt16HostToLittle(x)
- #define le16toh(x) CFSwapInt16LittleToHost(x)
-+#elif defined(__NetBSD__)
-+#include <sys/endian.h>
- #else
- #include <endian.h>
- #endif
diff --git a/sunxi-tools/patches/patch-nand-part.c b/sunxi-tools/patches/patch-nand-part.c
deleted file mode 100644
index 41450a6..0000000
--- a/sunxi-tools/patches/patch-nand-part.c
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-nand-part.c,v 1.1 2015/06/11 20:47:31 tnn2 Exp $
-
-Only use Linux ioctl's on Linux.
-
---- nand-part.c.orig	2014-04-26 18:59:49.000000000 +0000
-+++ nand-part.c
-@@ -249,8 +249,10 @@ static int writembrs(int fd, char names[
- 		write(fd,mbr,MBR_SIZE);
- 	}
- 
-+#ifdef __linux__
- 	if (ioctl(fd, BLKRRPART, NULL))
- 		perror("Failed rereading partition table");
-+#endif
- 
- 	return 1;
- }
-@@ -312,7 +314,9 @@ int nand_part (int argc, char **argv, co
- 		if (writembrs(fd, names, start, lens, user_types, argc, partoffset, force)) {
- 			printf("\nverifying new partition tables:\n");
- 			checkmbrs(fd);
-+#ifdef __linux__
- 			printf("rereading partition table... returned %d\n", ioctl(fd, BLKRRPART, 0));
-+#endif
- 		}
- 	}
- 	close(fd);


Home | Main Index | Thread Index | Old Index