From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-vcs/cssc/Manifest | 7 ++++ dev-vcs/cssc/cssc-1.4.0.ebuild | 51 ++++++++++++++++++++++++++ dev-vcs/cssc/files/cssc-1.3.0-gcc47.patch | 10 +++++ dev-vcs/cssc/files/cssc-1.4.0-config.patch | 15 ++++++++ dev-vcs/cssc/files/cssc-1.4.0-m4.patch | 13 +++++++ dev-vcs/cssc/files/cssc-1.4.0-test-large.patch | 14 +++++++ dev-vcs/cssc/metadata.xml | 10 +++++ 7 files changed, 120 insertions(+) create mode 100644 dev-vcs/cssc/Manifest create mode 100644 dev-vcs/cssc/cssc-1.4.0.ebuild create mode 100644 dev-vcs/cssc/files/cssc-1.3.0-gcc47.patch create mode 100644 dev-vcs/cssc/files/cssc-1.4.0-config.patch create mode 100644 dev-vcs/cssc/files/cssc-1.4.0-m4.patch create mode 100644 dev-vcs/cssc/files/cssc-1.4.0-test-large.patch create mode 100644 dev-vcs/cssc/metadata.xml (limited to 'dev-vcs/cssc') diff --git a/dev-vcs/cssc/Manifest b/dev-vcs/cssc/Manifest new file mode 100644 index 000000000000..9afee0b9df3b --- /dev/null +++ b/dev-vcs/cssc/Manifest @@ -0,0 +1,7 @@ +AUX cssc-1.3.0-gcc47.patch 187 BLAKE2B 4dd734c33914267c8f4441184316c33bea299c2ef09d6a6d98a7dfa2c57349885ac83df79362bc5b7f496f99da1aaa6801cb69d8409a3878869df6bdd418b4f2 SHA512 75706187dccd2cfbf0ef0f95eb6520bdf8134da0f6414e4e7e1ee92d54835f5d857320cfc81eb1f4ebf8584ea6da4e4a26e3a5990d60d7b7609b9bf19b6dec74 +AUX cssc-1.4.0-config.patch 317 BLAKE2B 05b55dca021fdc37ad9ade846c633c7f83935f46332cdebea9c7efff7bace6a175202239d240521bdb9cccbd725a077922c33494abac0d00792db7704b969b24 SHA512 c5bab5de20fa978100009f462434df586d9951850459b41aa70f290bebbcfbb2164b31eada89d6b55151bfd1e852b402ccd822d97cd0b898ce501f925e3c7e53 +AUX cssc-1.4.0-m4.patch 356 BLAKE2B b1e79296c96a1fc281e3a481d6a0fbaff697db87317b185bd795740fed75bd755dc2af147d1335d57f2b58d82c56ef9f75875175700b72c543cdb6e7adc8d6ec SHA512 8dd984f1d98a943fbed14db43840b18f63a48bc71fb8e537031761bdd59639a4af554de9eda8d5aa0a5f1afe04169a752f3e281381a15fe91cc9f53e7195db9e +AUX cssc-1.4.0-test-large.patch 455 BLAKE2B 98891f0f6ce149a7ca7d8ee8aa373bc28e05f8a4a397d1f4067e9c3589fac701b46585b629965125e140eabc02c9ad4a2d09976f8752909e8176018d85cc69e2 SHA512 8e28f6b6cb9c9e15f5000e89722aa9aa66cb578faa136aa229947eae66e185a07a2b528dea418e0cef43027cce705a269214a2b6f4ec2c355450f13417c2c3e1 +DIST CSSC-1.4.0.tar.gz 2012122 BLAKE2B c38bf9f50e372559c87d318780973a28fd2fec384cffd0c077c556b321f9f3e68324f59f26900e63c9235f30c564a60783c5a48b515b9b878977fe10266cd0be SHA512 7abb38ecfb5120e807d1f09d16ce81306b3eb16746e44da5029f626feba67dfb46db20bd2b89daffb2e3cdc51ffadc51cd666eef7d1b94e56b4c7dc24f93ea76 +EBUILD cssc-1.4.0.ebuild 1007 BLAKE2B fb9de33fff08aeffb2b1579a54fa0b313cfa058a20872dffbed7dfcfc62ea533e1a56cad6d37cc0f814f88b99a3181f7f9781d447c65c0175ce8e2c71ce651c7 SHA512 2aacc1f9eeb0bc50d13e8790c1036143f1ed9187bb14ca91631daa34232c5c8664207d237d4d3359de813365ae1be5f3ddb1895318e6b93ec177b2392a1c8886 +MISC metadata.xml 306 BLAKE2B 220fde0f7458c161491c4a47f50c34b39a117bf8d0d2295611e9a66a628015345f71f71feef9d33567dcb9814004dbbcfc995b35c4712456e597a6d1a960d12b SHA512 cdd22fea0f9079aebfdcd542e0a5a11721c424a5b2d388c25399f22232c5536e126d1fd988e72de222da14684c2ed3a422e645fa99476470018e8cc009a41368 diff --git a/dev-vcs/cssc/cssc-1.4.0.ebuild b/dev-vcs/cssc/cssc-1.4.0.ebuild new file mode 100644 index 000000000000..2f891e4d3c0e --- /dev/null +++ b/dev-vcs/cssc/cssc-1.4.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +# Switch to ^^ when we switch to EAPI=6. +#MY_PN="${PN^^}" +MY_PN="CSSC" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="The GNU Project's replacement for SCCS" +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz" +HOMEPAGE="https://www.gnu.org/software/cssc/" +SLOT="0" +LICENSE="GPL-3" + +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="test valgrind" + +DEPEND=" + test? ( valgrind? ( dev-util/valgrind ) ) +" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.3.0-gcc47.patch \ + "${FILESDIR}"/${P}-config.patch \ + "${FILESDIR}"/${P}-m4.patch \ + "${FILESDIR}"/${P}-test-large.patch + + eautoreconf +} + +src_configure() { + econf \ + $(use test && use_with valgrind) \ + --enable-binary +} + +src_test() { + if [[ ${froobUID} = 0 ]]; then + einfo "The test suite can not be run as root" + else + emake check + fi +} diff --git a/dev-vcs/cssc/files/cssc-1.3.0-gcc47.patch b/dev-vcs/cssc/files/cssc-1.3.0-gcc47.patch new file mode 100644 index 000000000000..4c319016eccd --- /dev/null +++ b/dev-vcs/cssc/files/cssc-1.3.0-gcc47.patch @@ -0,0 +1,10 @@ +--- a/src/file.h ++++ b/src/file.h +@@ -31,6 +31,7 @@ + #define CSSC__FILE_H__ + + #include "filelock.h" ++#include /* gid_t */ + + enum create_mode { + CREATE_EXCLUSIVE = 001, diff --git a/dev-vcs/cssc/files/cssc-1.4.0-config.patch b/dev-vcs/cssc/files/cssc-1.4.0-config.patch new file mode 100644 index 000000000000..c5790489a9a7 --- /dev/null +++ b/dev-vcs/cssc/files/cssc-1.4.0-config.patch @@ -0,0 +1,15 @@ +In file included from file.h:36:0, + from delta.cc:36: + ../gl/lib/unistd.h:135:3: error: #error "Please include config.h first." + + +--- a/src/delta.h ++++ b/src/delta.h +@@ -25,6 +25,7 @@ + #ifndef CSSC_DELTA_H + #define CSSC_DELTA_H 1 + ++#include "config.h" + #include "sid.h" + #include "sccsdate.h" + #include "mystring.h" diff --git a/dev-vcs/cssc/files/cssc-1.4.0-m4.patch b/dev-vcs/cssc/files/cssc-1.4.0-m4.patch new file mode 100644 index 000000000000..91c163f14104 --- /dev/null +++ b/dev-vcs/cssc/files/cssc-1.4.0-m4.patch @@ -0,0 +1,13 @@ +libtoolize chokes on this line + + +--- a/configure.ac ++++ b/configure.ac +@@ -33,7 +33,6 @@ + + # Changes to AC_CONFIG_MACRO_DIR shoulld be reflected in ACLOCAL_AMFLAGS in Makefile.am. + AC_CONFIG_MACRO_DIR([m4]) +-AC_CONFIG_MACRO_DIR([unit-tests/googletest/m4]) + + AM_INIT_AUTOMAKE([gnits readme-alpha check-news tar-ustar 1.11.6]) + AC_CONFIG_HEADERS(config.h) diff --git a/dev-vcs/cssc/files/cssc-1.4.0-test-large.patch b/dev-vcs/cssc/files/cssc-1.4.0-test-large.patch new file mode 100644 index 000000000000..c7c23fb6a074 --- /dev/null +++ b/dev-vcs/cssc/files/cssc-1.4.0-test-large.patch @@ -0,0 +1,14 @@ +Takes a very long time. + + +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -136,7 +136,7 @@ + test-rmdel \ + test-admin test-delta test-get test-prs test-prt test-unget \ + test-cdc test-sact test-val \ +- test-large test-sccsdiff test-binary test-bsd-sccs test-what \ ++ test-sccsdiff test-binary test-bsd-sccs test-what \ + test-year-2000 + echo Tests passed. + diff --git a/dev-vcs/cssc/metadata.xml b/dev-vcs/cssc/metadata.xml new file mode 100644 index 000000000000..dd7b8493d1b5 --- /dev/null +++ b/dev-vcs/cssc/metadata.xml @@ -0,0 +1,10 @@ + + + + +jer@gentoo.org + + +Enable usage of dev-util/valgrind in tests + + -- cgit v1.2.3