diff options
Diffstat (limited to 'dev-vcs/cssc')
-rw-r--r-- | dev-vcs/cssc/Manifest | 9 | ||||
-rw-r--r-- | dev-vcs/cssc/cssc-1.4.0.ebuild | 51 | ||||
-rw-r--r-- | dev-vcs/cssc/files/cssc-1.3.0-gcc47.patch | 10 | ||||
-rw-r--r-- | dev-vcs/cssc/files/cssc-1.4.0-config.patch | 15 | ||||
-rw-r--r-- | dev-vcs/cssc/files/cssc-1.4.0-m4.patch | 13 | ||||
-rw-r--r-- | dev-vcs/cssc/files/cssc-1.4.0-test-large.patch | 14 | ||||
-rw-r--r-- | dev-vcs/cssc/metadata.xml | 10 |
7 files changed, 122 insertions, 0 deletions
diff --git a/dev-vcs/cssc/Manifest b/dev-vcs/cssc/Manifest new file mode 100644 index 000000000000..f9f653f84e62 --- /dev/null +++ b/dev-vcs/cssc/Manifest @@ -0,0 +1,9 @@ +AUX cssc-1.3.0-gcc47.patch 187 SHA256 97577b288fb35dc5416eb7a4e5f8a3f99aea7709bd020a061b1e1436e860d8e2 SHA512 75706187dccd2cfbf0ef0f95eb6520bdf8134da0f6414e4e7e1ee92d54835f5d857320cfc81eb1f4ebf8584ea6da4e4a26e3a5990d60d7b7609b9bf19b6dec74 WHIRLPOOL fbba6f818f7b8201cf0e3bea2ec84006b6272410eb4bfe0097bea8d3b0f809e088c4b2e4e9af82a030a3514fa53fdccf6d375013556dd8a975bddbdf3f3d544e +AUX cssc-1.4.0-config.patch 317 SHA256 1d0abfd4bbbb1576e8e550e733cf546e8f27735d4d77a36174278fea2d0b906e SHA512 c5bab5de20fa978100009f462434df586d9951850459b41aa70f290bebbcfbb2164b31eada89d6b55151bfd1e852b402ccd822d97cd0b898ce501f925e3c7e53 WHIRLPOOL d4540735035e62771bdd03595d0c34854e81ad314b54e9171c7d08941daacbf93bfc064a744fe4dd4a3d2423e30587b78c573b844f25bb19e204b9e5533d16cf +AUX cssc-1.4.0-m4.patch 356 SHA256 d0f2add0e5802f51628bc2f50ac02e44504700a7831b58d38129cb5c274fbdf5 SHA512 8dd984f1d98a943fbed14db43840b18f63a48bc71fb8e537031761bdd59639a4af554de9eda8d5aa0a5f1afe04169a752f3e281381a15fe91cc9f53e7195db9e WHIRLPOOL c8e63d270b35bdaa7a388ac98b3bd2e4b12ab1540acd898c5747bf0ccbdd6b092c5f5948118e0bcc50bd563358706cc2faecca8d1e1532f29bef14344db29cea +AUX cssc-1.4.0-test-large.patch 455 SHA256 f66802e24a3cfcfd9b5d77cd4f9b09de8739536682117e8e1e96a17206d78306 SHA512 8e28f6b6cb9c9e15f5000e89722aa9aa66cb578faa136aa229947eae66e185a07a2b528dea418e0cef43027cce705a269214a2b6f4ec2c355450f13417c2c3e1 WHIRLPOOL bab0063ddebdacfca88af26ea717c8dd942231027abe6f02debf773c74e3541f33a5330d9dbd0c99bd840e647f3084f63f4974e685b30c3fc51a7794538b3b73 +DIST CSSC-1.4.0.tar.gz 2012122 SHA256 30146f96c26c2a4c6b742bc8a498993ec6ea9f289becaaf566866488600b2994 SHA512 7abb38ecfb5120e807d1f09d16ce81306b3eb16746e44da5029f626feba67dfb46db20bd2b89daffb2e3cdc51ffadc51cd666eef7d1b94e56b4c7dc24f93ea76 WHIRLPOOL 725702d94cf5e0d2b393e98ab3b2d552d59d562626d4778dfe6a0ff1b4211577123c3fa3689a14738499780413ab73e7e1c10897793a89190c0bcd5b36a65829 +EBUILD cssc-1.4.0.ebuild 1007 SHA256 c8c852c12db942d0838ec8335a5aad6f3eba0d75e4d4e4b6522941a0f811f017 SHA512 2aacc1f9eeb0bc50d13e8790c1036143f1ed9187bb14ca91631daa34232c5c8664207d237d4d3359de813365ae1be5f3ddb1895318e6b93ec177b2392a1c8886 WHIRLPOOL be92603bd71acad361358d28529836f1a11b4e29b07cfeeea5724e550e00d7c35092d2abc377eeddedf8410551ae22335e3d079da0d92de4823e584a0af0a64b +MISC ChangeLog 3094 SHA256 529bf26fb292f22e978507b554025f10fc280c82b7937fbe6e42c9dbe456146d SHA512 d43efd3bb807925038fe81599a822f3c3db0fdeb97bcbc7c096b575c3a49484bc63d28e480bcc3ce0167fb6848d9974f6fabe9fde1924d2cc2a86f80e861b097 WHIRLPOOL a897954a3b5306fb59a07832c2368ff53e081802829c5342cf8f7f4d3185d41412c1dac0190ec936321a2a8487b8a6b3f8e878e9d1e48c6dfac178f51f723911 +MISC ChangeLog-2015 4995 SHA256 80228869edbe70fe0f0a7dcabf7019529d32f3e71492003b7b5a6096b49d4eb1 SHA512 1a89958e95c4c40efed0cc72dfd68260f113d3b288ce9476becefb47d59fe600c6c2c0550289a69a91f9b4bd5edc0fdfe1e0a329cad423ab62dbbf837ed5149a WHIRLPOOL 63724f4f5b85eda1c8864e2984e69e57e1b68323fc828831892739df19307af44b421af4336a0ec0f4c93f6ac44640fccbc62be477cfd4986376baf7a1a76d69 +MISC metadata.xml 306 SHA256 f3a0f1e4a1e8b66f3fad8f0335a5a6353ff8861d5214cdf257396186b4e803fa SHA512 cdd22fea0f9079aebfdcd542e0a5a11721c424a5b2d388c25399f22232c5536e126d1fd988e72de222da14684c2ed3a422e645fa99476470018e8cc009a41368 WHIRLPOOL 847dfe5ccf4de8618c7d5f600ade8e7f95345365bb498b8bad4d5f028f7809c9f3cdd7b81adaa5423b68a8478c20db52b1e56f8eb7f861d9bf1907f1e7deea53 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 <unistd.h> /* 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>jer@gentoo.org</email> +</maintainer> +<use> +<flag name="valgrind">Enable usage of <pkg>dev-util/valgrind</pkg> in tests</flag> +</use> +</pkgmetadata> |