pkgsrc-WIP-changes archive

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

Import gcc-7.2.0 as wip/gcc7-contrib.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Sep 14 01:56:06 2017 +0200
Changeset:	2c1d7c35a6b567685c47f7d4770f65aae8bce0e4

Added Files:
	gcc7-contrib/DESCR
	gcc7-contrib/Makefile
	gcc7-contrib/PLIST
	gcc7-contrib/distinfo
	gcc7-contrib/patches/patch-contrib_download__prerequisites

Log Message:
Import gcc-7.2.0 as wip/gcc7-contrib.

GNU GCC contrib utilities.

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

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

diffstat:
 gcc7-contrib/DESCR                                  |  1 +
 gcc7-contrib/Makefile                               | 21 +++++++++++++++++++++
 gcc7-contrib/PLIST                                  |  1 +
 gcc7-contrib/distinfo                               |  7 +++++++
 .../patches/patch-contrib_download__prerequisites   | 13 +++++++++++++
 5 files changed, 43 insertions(+)

diffs:
diff --git a/gcc7-contrib/DESCR b/gcc7-contrib/DESCR
new file mode 100644
index 0000000000..72b7985b83
--- /dev/null
+++ b/gcc7-contrib/DESCR
@@ -0,0 +1 @@
+GNU GCC contrib utilities.
diff --git a/gcc7-contrib/Makefile b/gcc7-contrib/Makefile
new file mode 100644
index 0000000000..d08c0c505b
--- /dev/null
+++ b/gcc7-contrib/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+GCC7_DIST_VERSION=	7.2.0
+
+DISTNAME=	gcc-${GCC7_DIST_VERSION}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GNU:=gcc/gcc-${GCC7_DIST_VERSION}/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://gcc.gnu.org/
+COMMENT=	GNU GCC helper utilities
+LICENSE=	gnu-gpl-v3
+
+NO_BUILD=	yes
+
+INSTALL_DIRS=	bin
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/contrib/mklog bin/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/gcc7-contrib/PLIST b/gcc7-contrib/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/gcc7-contrib/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/gcc7-contrib/distinfo b/gcc7-contrib/distinfo
new file mode 100644
index 0000000000..5fe7b3d987
--- /dev/null
+++ b/gcc7-contrib/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (gcc-7.2.0.tar.gz) = dec3effe9f73bf2216a88804ac805a05f9b33ea8
+RMD160 (gcc-7.2.0.tar.gz) = fa4eb09ea8c3fc388c6918096f134e188cce4c2d
+SHA512 (gcc-7.2.0.tar.gz) = ae287b4696e78764136a60457dc147b2ef2cc108b2721c5c81d02467f47f08470a1be72b9576dd9af7c86838bc8543eabfe7a1c4ca7bd3166c40929ff5abd3ab
+Size (gcc-7.2.0.tar.gz) = 111997123 bytes
+SHA1 (patch-contrib_download__prerequisites) = fa71cd48499617f785ac6b5583268a58c0c87626
diff --git a/gcc7-contrib/patches/patch-contrib_download__prerequisites b/gcc7-contrib/patches/patch-contrib_download__prerequisites
new file mode 100644
index 0000000000..632961c12c
--- /dev/null
+++ b/gcc7-contrib/patches/patch-contrib_download__prerequisites
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- contrib/download_prerequisites.orig	2017-04-11 16:34:07.637265000 +0000
++++ contrib/download_prerequisites
+@@ -122,7 +122,7 @@ md5_check() {
+   md5_checksum_output=$(md5 -r "${file_to_check}")
+   # Grab the text before the first space
+   md5_checksum_detected="${md5_checksum_output%% *}"
+-  [ "${md5_checksum_expected}" == "${md5_checksum_detected}" ] \
++  [ "${md5_checksum_expected}" = "${md5_checksum_detected}" ] \
+     || die "Cannot verify integrity of possibly corrupted file ${file_to_check}"
+   echo "${file_to_check}: OK"
+ }


Home | Main Index | Thread Index | Old Index