summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-10-04 18:01:24 +0000
committerUlrich Müller <ulm@gentoo.org>2013-10-04 18:01:24 +0000
commite6989ad0aaba84544116b23f7642cdfa990844de (patch)
treea5a78d02f1c89205791e1b964ebd7302c4651bd0 /dev-libs/clens
parentAdd ruby20 target. (diff)
downloadhistorical-e6989ad0aaba84544116b23f7642cdfa990844de.tar.gz
historical-e6989ad0aaba84544116b23f7642cdfa990844de.tar.bz2
historical-e6989ad0aaba84544116b23f7642cdfa990844de.zip
Initial import. This is a convenience library used by app-editors/mg. Ebuild contributed by me.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x9433907D693FB5B8!
Diffstat (limited to 'dev-libs/clens')
-rw-r--r--dev-libs/clens/ChangeLog11
-rw-r--r--dev-libs/clens/Manifest22
-rw-r--r--dev-libs/clens/clens-0.7.0.ebuild27
-rw-r--r--dev-libs/clens/files/clens-0.7.0-no-arc4random.patch15
-rw-r--r--dev-libs/clens/metadata.xml13
5 files changed, 88 insertions, 0 deletions
diff --git a/dev-libs/clens/ChangeLog b/dev-libs/clens/ChangeLog
new file mode 100644
index 000000000000..da40f277184c
--- /dev/null
+++ b/dev-libs/clens/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-libs/clens
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/clens/ChangeLog,v 1.1 2013/10/04 18:01:05 ulm Exp $
+
+*clens-0.7.0 (04 Oct 2013)
+
+ 04 Oct 2013; Ulrich Müller <ulm@gentoo.org> +clens-0.7.0.ebuild,
+ +files/clens-0.7.0-no-arc4random.patch, +metadata.xml:
+ Initial import. This is a convenience library used by app-editors/mg.
+ Ebuild contributed by me.
+
diff --git a/dev-libs/clens/Manifest b/dev-libs/clens/Manifest
new file mode 100644
index 000000000000..9295939b23c6
--- /dev/null
+++ b/dev-libs/clens/Manifest
@@ -0,0 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX clens-0.7.0-no-arc4random.patch 461 SHA256 54c86e2abe3f43c19477dc280b6bfb8348a1610e47db1ba4c7fd380fd288f8f6 SHA512 29ebbe4eb9b325370a1d1ddfe3f6e1fe05fc84120ea451b53a808c67eabc35c2c3af3754639a512c91ac3b5bcc90215c054ef038b21c39cac79d8bc5e39bfa0c WHIRLPOOL c109cd6731a22a74bc047ae0db5f6397b01a09d6388bfec80e57eda714ab671c88f014cc5447c4a87159ab74200eb1e207bf892de494d1ef9a88434eb694ed78
+DIST clens-0.7.0.tar.gz 33046 SHA256 064ac9954d38633e2cff6b696fd049dedc3e90b79acffbee1a87754bcf604267 SHA512 c771669e10d03e9616ef6b19a997f80e3aa72f0e50f935e661b320084c9ec5efb5b8f42b90f814c44d615d8bd33f78815c837d2ea0746a37e617ec55e6dc7604 WHIRLPOOL f646a0de7a21a25fc83205f551a9c1502c2e2d9bde70fed6f89b3b65f57a1f857028eb7f8dd634a75d2167b6745b7886474f4b985fdb4ec169b8788e6dfd7074
+EBUILD clens-0.7.0.ebuild 708 SHA256 65bd99ecf960e66fa8380b94f33ae58f7e81e20cb80ad464102427a701cb7679 SHA512 4c85664dabea2d9cc3276fb139fb16a132be22a94070aca4433eea5d122d6abfc9c2dd734e134b097a53041c1f2e36d466526a6b92527613e35d74cec9dd5665 WHIRLPOOL 16ec7bab2473aea58ebec0e5c67c922ff9cd8f6eae37f946ab139b24ed33efd0e2a707138df343843397f0f777590f4a8dac5819b12bb561ef23a4a0b1b12021
+MISC ChangeLog 452 SHA256 0e73331cf9ab9fda05b35e835ccd663ecd48279234834ce92701a1473b63a87e SHA512 52a277ad7d655a1e921723adbbca6eb5b6d698fed12057eb0922356095773c318c12f93be799da0481aee075fac6a6524bf517c1e365d920227d4f1eb035af1d WHIRLPOOL 3f6d95f51a8ead820664d5fae658a3562889af1b09527b461df31cdd65dec682ed530cac91cbcd2688a61dddb76f0e41b4e491530b51b98a7a2fa4b7c019a682
+MISC metadata.xml 598 SHA256 bc9cec18cfb8ef9a9d5d49392e7bf49d2cc8a00cee8fb0d407f68f92aacef505 SHA512 c4859020661c87162553646d192a8274928031b214b0866e5e6e936f26cb881d2cd20cdda3626212ae80deeadd319c2e6ae11df99c6fcaa8052f78bfa9eae3a7 WHIRLPOOL d0db1e08f590cacb68791ebf5f4935ba00d77423196a94fcc180ffa3b1463299d437f7ba35d19b67903fcde6f0867cf2aceeb4cb9445f0e2d7f5e1ee74d4d555
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.21 (GNU/Linux)
+
+iQGcBAEBCAAGBQJSTwKXAAoJEJQzkH1pP7W41oIMAIUzYttVboBiLij19+wd+d+E
+vBX0k66DABrh27UUIWvTI4EMKfUkVuttvOOzO72px+ig6cROexkN5oj3QQf68E4X
+24MboTAbFXxLHLWYoYS6o58l+w+9I5KSkhs4adIeuSFFVQaM5LV+GPb6C+tKbIzB
+Bsce8t4MrtwsUYMVRr2GB7hJUi+0fO+q7wfo+PKGgloYogv2eNtXltGlDuPW3RGN
+ORLb5yVA8VaCY6fwVPch78By5RPPhQD44F3CSBpw6H7VoaIa2mOhp+eGqOIExxpO
+rF5S/rQkRAhIGpkVQv2ZIhf5pedHVJAHHd/BH29Dn8Z/m5kZmI1If2vRX1RdIbu/
+uBL9xcTq/2shXvlzKCh0dsa4rXmhz1haVjsQC371yWLTgqT8pJISSqj2hKN2eXe4
+0ji4zJ5hE65JPUx+xb3Cb3igXyspHsTn794ownRmt+2cW7NbTEmPIGO7RbkYwgu6
+mTsHpxS6Hcze7LB0mI7HTH98DrLkJZNswZsFEg4/GQ==
+=73n4
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/clens/clens-0.7.0.ebuild b/dev-libs/clens/clens-0.7.0.ebuild
new file mode 100644
index 000000000000..1d205aafe8be
--- /dev/null
+++ b/dev-libs/clens/clens-0.7.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/clens/clens-0.7.0.ebuild,v 1.1 2013/10/04 18:01:05 ulm Exp $
+
+EAPI=5
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Convenience library to aid in porting OpenBSD code to other OSes"
+HOMEPAGE="https://opensource.conformal.com/wiki/clens"
+SRC_URI="https://opensource.conformal.com/snapshots/${PN}/${P}.tar.gz"
+
+LICENSE="ISC BSD BSD-4"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-no-arc4random.patch
+ tc-export CC AR
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ LOCALBASE="/usr" \
+ LIBDIR="/usr/$(get_libdir)" \
+ install
+}
diff --git a/dev-libs/clens/files/clens-0.7.0-no-arc4random.patch b/dev-libs/clens/files/clens-0.7.0-no-arc4random.patch
new file mode 100644
index 000000000000..e2e650c10054
--- /dev/null
+++ b/dev-libs/clens/files/clens-0.7.0-no-arc4random.patch
@@ -0,0 +1,15 @@
+Disable arc4random_buf and arc4random_uniform. These functions would
+need libbsd as dependency for the arc4random function, but they are
+already included in newer versions of that library.
+
+--- clens-0.7.0-orig/include/clens/clens.h
++++ clens-0.7.0/include/clens/clens.h
+@@ -73,8 +73,6 @@
+ #include <stdlib.h>
+ #define NO_UTIL_H
+
+-#define NEED_ARC4RANDOM_BUF
+-#define NEED_ARC4RANDOM_UNIFORM
+ #define NEED_STRNVIS
+ #define NEED_STRNUNVIS
+ #define NEED_STRLCAT
diff --git a/dev-libs/clens/metadata.xml b/dev-libs/clens/metadata.xml
new file mode 100644
index 000000000000..11fd8486c799
--- /dev/null
+++ b/dev-libs/clens/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ clens is a convenience library to aid in porting code from OpenBSD
+ to different operating systems. Operating systems traditionally have
+ different enough APIs that porting code is painful and can litter
+ pretty code with ugly #ifdef goo. In order to keep code readable and
+ drastically reduce the number of #ifdefs needed, clens brings other
+ APIs or missing functions into specific OS "focus".
+</longdescription>
+</pkgmetadata>