summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libcli/ChangeLog8
-rw-r--r--dev-libs/libcli/Manifest17
-rw-r--r--dev-libs/libcli/files/libcli-1.9.7-libdir.patch24
-rw-r--r--dev-libs/libcli/libcli-1.9.7.ebuild38
-rw-r--r--dev-libs/libcli/metadata.xml6
5 files changed, 80 insertions, 13 deletions
diff --git a/dev-libs/libcli/ChangeLog b/dev-libs/libcli/ChangeLog
index 03d5327671e4..232105fb5bf0 100644
--- a/dev-libs/libcli/ChangeLog
+++ b/dev-libs/libcli/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libcli
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcli/ChangeLog,v 1.10 2013/07/09 18:56:12 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcli/ChangeLog,v 1.11 2013/08/05 06:40:52 xmw Exp $
+
+*libcli-1.9.7 (05 Aug 2013)
+
+ 05 Aug 2013; Michael Weber <xmw@gentoo.org> +files/libcli-1.9.7-libdir.patch,
+ +libcli-1.9.7.ebuild, metadata.xml:
+ Taking maint, update upstream, version bump.
09 Jul 2013; Michael Palimaka <kensington@gentoo.org> -libcli-1.9.4.ebuild:
Remove old.
diff --git a/dev-libs/libcli/Manifest b/dev-libs/libcli/Manifest
index 996469c3f7c8..5b0d32a88ce6 100644
--- a/dev-libs/libcli/Manifest
+++ b/dev-libs/libcli/Manifest
@@ -2,18 +2,17 @@
Hash: SHA256
AUX libcli-1.9.4-ldflags.patch 367 SHA256 92fb06ab3b1ebd520927e7f689cb44d36f24fa69a1ccf9d255a2d3acfd3c8e23 SHA512 bc1848fe5ae0f913aa4063e4efacf87bce9010255efb8f1b6b7c2acce79d45af50860d6040405ba8d6e2e5239a0075059070be719a6607a937180fce1930a4cf WHIRLPOOL 27cceef170e6b6643fbb5a5734d70ed950094386acfdd996fee578e74c0dd48e6312b0c00687a3dd37cbec9dad4d2c896f848cb160c3c7fd2b8bdf7752d6d69b
+AUX libcli-1.9.7-libdir.patch 814 SHA256 515d2c927d508533c723bbd87f832046aac612039a9b0bd0a85a2eec91ecad00 SHA512 2056600d5560196119bc690fc5c02151e7376608408c5b7205eadf7e69f4138758738c34203b93b2ceaa938de58d1b81e9050d259245e9e739ae3bc385a9a2a6 WHIRLPOOL 7a6abb29815084fef71fb65a65a4887b7cb69aa80d044f03945228ec0b3917afa7ff47d25f2ad59b1cd069df7eb1107139bdc3120b2b235ae13c80b636aa26bf
DIST libcli-1.9.4.tar.gz 27960 SHA256 c1e56ff2e55a879b7c89b5808aea76063512d9a24cffd601aa3d9a84cd6a7928 SHA512 51de601733029f696cbfa435639addeef33ec52c390352164db96f1c14a375eca90e890134958178aaf77e57eaf05dda8bdbbc08df637767e820bfc65360b747 WHIRLPOOL 79b3b33262a05083dba0a7fbf64950aae123438c260bcebec431eef232419db114c351adec43302e6d321c9e438e1054d297066e268523f19c09351330095866
+DIST libcli-1.9.7.tar.gz 29557 SHA256 7ddda6b6e044a1498cf3a27e49ed5d7b97840bbe5a036c43fb0532b5e431886c SHA512 b2dacfd40bc068ddcc0dc3d60576ef2f7d7e2af80b93c6e7ae899d654afca6f0f8d2df2b33c9c8e760bdbea9aa2eaf757029d46032dcf307341f78f1a8f4f66f WHIRLPOOL 0bc14f3d27e04c7ea9f4421aac59c2269ba4fb12b821bf8bebe7330a6350c89430118444cf746baae587dc8b21c56d24ae87fe1a6d5ce3617ebbf1d9ceb63b6d
EBUILD libcli-1.9.4-r1.ebuild 1013 SHA256 862f509d0ce1b46de7fe0262d0dcb79ec732166345bca326256f8f70eda3efa5 SHA512 41bb22cbe8f8198518a293c5c27f12e577064b8bf21ddb00bdc782125ab1918645ba4e2655c11cb628820d86e072be8e786447c32fa2e98a4db5f070428a84cc WHIRLPOOL 47729158cfdfca908dd9e8072510bcf96969afd645b2cf8af68b8ef81c06dfe0fe62a809679c747689e96f9c373d5299504daa6b45b9d07b807b716f1cc7e93a
-MISC ChangeLog 1648 SHA256 66ce721b19db9b67b3b0dca1602d560e06be0f4a4732f3a90f7756953c3e55cd SHA512 578ed1fcd068f72d08fbc639f2b5cd2a94b4ccc2f234ba1969be7c8bfa8c5f4348fece0c469fb9a6b7325ea98d42cad3b52d4bdc16509d39920e500ce83ff972 WHIRLPOOL ca2e637e65d0d7fd0a30b59cc651ecf3a2c694541b6ac04f8c77a8a136ee2fe1672ab5466cff5b6c7eeb3f5a67354da123cafb6d6f8e34a49591b08e3a7d1dd6
-MISC metadata.xml 635 SHA256 5184ef2c74b120c6ff07325c9b58a097be19b5e9ce3f5b9360e2334421fb6897 SHA512 cdd77b4bfccc8ca35955e39814284cb534d75736c13f7bfdc57d5fde238f280f8166d6821f93638d4cc51fe12f1bde936bb48bfc6f5d3e470402cda44834b0ad WHIRLPOOL 71989362a61e842d1c081782121529366ddd2030f0209ebdc9ffbd451a8de718a6ace4bee2b846d5520556ff57e4004eccecf353c34e797e974533011e9f9f55
+EBUILD libcli-1.9.7.ebuild 870 SHA256 5e79d96cad2736fab9b2577f6e4e2ff00b1e00bfdc39d86334cf01ab2a596416 SHA512 3fc73c4d9b4718a3bc804ff43621c550e1e8437ad911a67ef26bdf3e4d8b1ff8fbfc5163bdbf5ca0a6aef678eeb95302a1a455caff8195fa1f418179deb1867d WHIRLPOOL 5aee8f52192e89208f20630fedce8c83116ba436b197ab17581d70b49b52ef472174067c7dc2c7c4b5e4e9b7dbd5cbb3c6f14b0848ccd0b8c81bd9d6f8aceb71
+MISC ChangeLog 1836 SHA256 9f306bcb0fdc9b47f4a47118591e1c0566b86ed2c629c1b5999e2dd168dd664c SHA512 51b815de95719d36f00f62f24da9ac2293b54296be23bcdcdb4878d59878f718150dcaada9dd3df6d78794f17650fa7771c35432c00b7025464e0ccb4fdf4543 WHIRLPOOL aece5a092869850334c295221edb71e5fcf7185319b88ad4628d3e65e66be22106a27e1cffde146f56f0c46c6dad7b2f1d42eac285960b6d2647c0a6d77b950c
+MISC metadata.xml 600 SHA256 f525e0372009d69b10f9e7bfcd53031778c5551d6abab58b393fb359e3745f12 SHA512 466c4e6fee16c94b6ab38b65c76ebeb6c4f39401f20eb6e7466a648681c1623227f67d04b00ef1b628ea3943faca7e1536569e4d2895d6d2ec202ba65e936f63 WHIRLPOOL 8b6e72a4a8aceecfe42bee372ad6e3ae13e9d93f0053210822f9dcd8cfb9d820c51d94dc19604ce317508d6c9c7c93109ca3689db512a333abd67cad4a81cbe2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQEcBAEBCAAGBQJR3FxgAAoJEMbwO6tnXQ0seRoH/RkZ3BcPwbNq41ajho9iYwUn
-gx/Xs9OIvOY1MHxDprXvVaSBuGV3tFRz5IuwETl1Gx3xZYYkAHPJaVOXqUWS+kNQ
-qOXCLUMzZ/tTl/wvFJJBt/iiBN0fRhlmu3OlKNk0jMLPcawRQAgdPV2OCEJ7mFs0
-uxte6wK9UDPInMtn3XKzGe312tp1x9Q7hHPSePDgsBbcHXtgjr286vKsksZXfEwI
-09jHy7GgD7F6L6X7x342RbWaua1QGtsV+R0IbsRCT4Czj8Z9s32gRJuAbw7gZ3m2
-MdubM3DNUyRqz8san/o9QZdgv8U9mAFCZUrIEodTSlfvQX/AWKeHlhf+eMbqFe8=
-=RKfS
+iF0EAREIAAYFAlH/SPwACgkQknrdDGLu8JCWaAD4k6g3d6jamCuofi+kt/41cOBU
+ttAdlsJY6H5pPi4BEAD9Htv2WCs3HRpD20raB+iipAptUf/vj9wRwz/A3O/fxMk=
+=3b3D
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libcli/files/libcli-1.9.7-libdir.patch b/dev-libs/libcli/files/libcli-1.9.7-libdir.patch
new file mode 100644
index 000000000000..99f817095adc
--- /dev/null
+++ b/dev-libs/libcli/files/libcli-1.9.7-libdir.patch
@@ -0,0 +1,24 @@
+--- libcli-1.9.7/Makefile
++++ libcli-1.9.7/Makefile
+@@ -1,6 +1,7 @@
+ UNAME = $(shell sh -c 'uname -s 2>/dev/null || echo not')
+ DESTDIR =
+ PREFIX = /usr/local
++libdir = $(PREFIX)/lib
+
+ MAJOR = 1
+ MINOR = 9
+@@ -50,10 +51,10 @@
+ rm -f *.o $(LIB)* $(LIB_STATIC) clitest
+
+ install: $(LIB)
+- install -d $(DESTDIR)$(PREFIX)/include $(DESTDIR)$(PREFIX)/lib
++ install -d $(DESTDIR)$(PREFIX)/include $(DESTDIR)$(libdir)
+ install -m 0644 libcli.h $(DESTDIR)$(PREFIX)/include
+- install -m 0755 $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(DESTDIR)$(PREFIX)/lib
+- cd $(DESTDIR)$(PREFIX)/lib && \
++ install -m 0755 $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(DESTDIR)$(libdir)
++ cd $(DESTDIR)$(libdir) && \
+ ln -fs $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(LIB).$(MAJOR).$(MINOR) && \
+ ln -fs $(LIB).$(MAJOR).$(MINOR) $(LIB)
+
diff --git a/dev-libs/libcli/libcli-1.9.7.ebuild b/dev-libs/libcli/libcli-1.9.7.ebuild
new file mode 100644
index 000000000000..3f3c78c7dbbf
--- /dev/null
+++ b/dev-libs/libcli/libcli-1.9.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcli/libcli-1.9.7.ebuild,v 1.1 2013/08/05 06:40:52 xmw Exp $
+
+EAPI=5
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Cisco-style (telnet) command-line interface library"
+
+HOMEPAGE="http://sites.dparrish.com/libcli"
+SRC_URI="https://github.com/dparrish/libcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="LGPL-2.1"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.9.7-libdir.patch" \
+ "${FILESDIR}/${PN}-1.9.4-ldflags.patch"
+}
+
+src_compile() {
+ emake OPTIM="" DEBUG="" \
+ CC="$(tc-getCC)" AR="$(tc-getAR)"
+}
+
+src_install() {
+ emake DESTDIR="${ED}" PREFIX="/usr" \
+ libdir="/usr/$(get_libdir)" install
+
+ dobin clitest
+ dodoc README
+}
diff --git a/dev-libs/libcli/metadata.xml b/dev-libs/libcli/metadata.xml
index e37d4bb7c79a..a094f1afe782 100644
--- a/dev-libs/libcli/metadata.xml
+++ b/dev-libs/libcli/metadata.xml
@@ -2,14 +2,14 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
- <name>Default assignee for orphaned packages</name>
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
</maintainer>
<longdescription lang="en">libcli provides a shared library for including a Cisco-like command-line
interface into other software. It's a telnet interface which supports
command-line editing, history, authentication and callbacks for a
user-definable function tree.</longdescription>
<upstream>
- <remote-id type="google-code">libcli</remote-id>
+ <remote-id type="github">dparrish/libcli</remote-id>
</upstream>
</pkgmetadata>