From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 95C19138CD0 for ; Tue, 19 May 2015 21:42:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6408E08D0; Tue, 19 May 2015 21:42:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 36005E08D0 for ; Tue, 19 May 2015 21:42:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D295C340AC9 for ; Tue, 19 May 2015 21:42:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D4019FF for ; Tue, 19 May 2015 21:42:04 +0000 (UTC) From: "Andrew Savchenko" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Savchenko" Message-ID: <1432071708.d1ef2e9061794e1a972111987c63cdd6ea87a24d.bircoph@gentoo> Subject: [gentoo-commits] dev/bircoph:master commit in: dev-libs/libclsync/ X-VCS-Repository: dev/bircoph X-VCS-Files: dev-libs/libclsync/ChangeLog dev-libs/libclsync/Manifest dev-libs/libclsync/libclsync-0.4.1.ebuild dev-libs/libclsync/libclsync-9999.ebuild X-VCS-Directories: dev-libs/libclsync/ X-VCS-Committer: bircoph X-VCS-Committer-Name: Andrew Savchenko X-VCS-Revision: d1ef2e9061794e1a972111987c63cdd6ea87a24d X-VCS-Branch: master Date: Tue, 19 May 2015 21:42:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8caa328d-fd45-4697-9c99-91e081fd6b11 X-Archives-Hash: 10bfcd14c14a6639f2f8fc758abcba24 commit: d1ef2e9061794e1a972111987c63cdd6ea87a24d Author: Andrew Savchenko gentoo org> AuthorDate: Tue May 19 21:41:48 2015 +0000 Commit: Andrew Savchenko gentoo org> CommitDate: Tue May 19 21:41:48 2015 +0000 URL: https://gitweb.gentoo.org/dev/bircoph.git/commit/?id=d1ef2e90 libclsync: 0.4.1+ fixes dev-libs/libclsync/ChangeLog | 3 ++ dev-libs/libclsync/Manifest | 6 +-- dev-libs/libclsync/libclsync-0.4.1.ebuild | 75 ++++++++++++++++++++++++++++++- dev-libs/libclsync/libclsync-9999.ebuild | 11 ++--- 4 files changed, 84 insertions(+), 11 deletions(-) diff --git a/dev-libs/libclsync/ChangeLog b/dev-libs/libclsync/ChangeLog index 23b2c1e..fa4acb3 100644 --- a/dev-libs/libclsync/ChangeLog +++ b/dev-libs/libclsync/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 19 May 2015; Andrew Savchenko libclsync-9999.ebuild: + Fix docs stuff + *libclsync-0.4.1 (18 May 2015) 18 May 2015; Andrew Savchenko +libclsync-0.4.1.ebuild, diff --git a/dev-libs/libclsync/Manifest b/dev-libs/libclsync/Manifest index 3c6804a..c0ce699 100644 --- a/dev-libs/libclsync/Manifest +++ b/dev-libs/libclsync/Manifest @@ -1,5 +1,5 @@ DIST clsync-0.4.1.tar.gz 253890 SHA256 3f14a72d7c3c1747ea908e373f25bd1918ce00450492fbb7094549db6bf21e27 SHA512 875280f706026d44806b92c22fa58d016136b2792f67a6b7e77f932465081da7a1ebaf22c25e538e4b58bfe04cd1cd5450ecab99c3df53ddd2a0fa966442d444 WHIRLPOOL 10ab11821766f7d16d03993069ac4da5fe362a1e5977ea6721e49ada7044d3659e59b507b03be4de09609b0a0ca9d7878407d7b6e1f40df5dbe1d041dac373cb -EBUILD libclsync-0.4.1.ebuild 1803 SHA256 c35605c14261402647fbbb1bb014fbfe88dd7bf436a8d299174051f64a0db9ca SHA512 0effa621f158b1ba462e6549e50c14145a651681bfe9d854ebb9c87d50d740c01d5d5e5b271b1b5963b589f65dcfbccc1d886b6db02cd65f0f357c4425b09566 WHIRLPOOL 78e5bc0b20e479cafb2df70d3139c465e59d62a332a87a902231b58050f1229d703748bd53474ca6dcfa646bada363212ea9c2f513c182e4b1e5a5be818423e4 -EBUILD libclsync-9999.ebuild 1803 SHA256 c35605c14261402647fbbb1bb014fbfe88dd7bf436a8d299174051f64a0db9ca SHA512 0effa621f158b1ba462e6549e50c14145a651681bfe9d854ebb9c87d50d740c01d5d5e5b271b1b5963b589f65dcfbccc1d886b6db02cd65f0f357c4425b09566 WHIRLPOOL 78e5bc0b20e479cafb2df70d3139c465e59d62a332a87a902231b58050f1229d703748bd53474ca6dcfa646bada363212ea9c2f513c182e4b1e5a5be818423e4 -MISC ChangeLog 1288 SHA256 a34d614c741b2310f2a98197b08db5c4de2c048667564912be18545a1734b119 SHA512 dc21ea3efdb1fd5bf79230da18a4db06878e04e85264f733bc1a71f59fa025a86a70eebdb0be425043220d7877a89efabe7e2c37f90686767a8cd986a1c0446b WHIRLPOOL efbabd2547fd34ddc86ceade6d3bbed12068b2fbd3e47c9126f0ea52b41b401067973e1f0fc0f9f5ddd41571e7450e39b8258e7a64ba6815976e5388ab358b96 +EBUILD libclsync-0.4.1.ebuild 1693 SHA256 029c59b5fc3a56148dcab9207f65894191c93149120b1c066477c55fd55b6e4f SHA512 01ad38053ecf795670aff4c4621acc79a2886644527b0489defbeca1d0e9f3486b30b4e585d524b981c8d017e2780d7cbe704c82d087ac74655e1aa97d0fb6c2 WHIRLPOOL 5592c190885bb9c2ef802677242991ce4424eb7c5d27038c1bad47b310eb82f3ea099a30c89b918f82cc472cc5b5a0b168e755855f948ef86c6227dd13376061 +EBUILD libclsync-9999.ebuild 1694 SHA256 14f917ab4652786e7f45581c4771b0169dfd5f604ff5968ad95c835475ddf7f2 SHA512 ce514d671c111a935f81e34d98816e89f828fb13850dffa3f436f04ac8679ca92c38331bdb1a32057a297d6675078f81ae8a95f565990942c00651121e76149f WHIRLPOOL dae087bce63f230fdeeefba5176aec18a9b54dad377000a661e8d1928ea8ccf254b4d28907cecdd6be015333c76a5ca891954b2476c540239a160c2745c98802 +MISC ChangeLog 1382 SHA256 4e0361e5a593ebeeb7e542cd740112824c835fba00e72d623f870bc7c1cdfeba SHA512 5ce5b82ed139d29cf63cfe6e85afce5a1baed70d6f63af1f6897bf2ebbf35029f1fb7da2dac57f875397114d223f94ef0e45dccd686e0dfac525b184268776ef WHIRLPOOL 0e140e536516388576e81c6f49601ec0e9e3776bee0c88aa46a0bc377b7331c282e48a75b92df578d8e330bfc023f93dee0e12e1c4f30e41d33e19d2fa243ec9 MISC metadata.xml 480 SHA256 45d0bd4fe8668c34065d6e58b4faab484f9ba9afb5708912ff1f527a4502654f SHA512 992b714c750ccf6d5cde22c5f2a8426ec3ad69a7e0617a40a4fba5f3fe04278a1758f11e6f57434db9e7aac5bec158ca163038d2f871ef02e6e1dd214c664107 WHIRLPOOL ec0fac7cbf08f1477b9fb3d8580fa9b8b9bd7dbb777a53d5cd98b7f9ada76a5b4ecd320d2c0f3a74a9ef949ed4b78669d601fd056f699051f64d3c17cff30c5e diff --git a/dev-libs/libclsync/libclsync-0.4.1.ebuild b/dev-libs/libclsync/libclsync-0.4.1.ebuild deleted file mode 120000 index 77fb1eb..0000000 --- a/dev-libs/libclsync/libclsync-0.4.1.ebuild +++ /dev/null @@ -1 +0,0 @@ -libclsync-9999.ebuild \ No newline at end of file diff --git a/dev-libs/libclsync/libclsync-0.4.1.ebuild b/dev-libs/libclsync/libclsync-0.4.1.ebuild new file mode 100644 index 0000000..8820a39 --- /dev/null +++ b/dev-libs/libclsync/libclsync-0.4.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +MY_PN=${PN#lib} +MY_P="${MY_PN}-${PV}" + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/xaionaro/${MY_PN}.git" +else + SRC_URI="https://github.com/xaionaro/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +inherit autotools eutils + +DESCRIPTION="Control and monitoring library for clsync" +HOMEPAGE="http://ut.mephi.ru/oss/clsync https://github.com/xaionaro/clsync" +LICENSE="GPL-3+" +SLOT="0" +IUSE="debug extra-hardened hardened static-libs" +REQUIRED_USE=" + extra-hardened? ( hardened ) +" + +DEPEND="virtual/pkgconfig " +RDEPEND="=app-doc/clsync-docs-0.4*" + +src_prepare() { + eautoreconf +} + +src_configure() { + local harden_level=0 + use hardened && harden_level=1 + use extra-hardened && harden_level=2 + + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --enable-socket-library \ + --disable-clsync \ + --enable-paranoid=${harden_level} \ + --without-bsm \ + --without-kqueue \ + --disable-capabilities \ + --disable-cluster \ + --enable-socket \ + $(use_enable debug) \ + --disable-highload-locks \ + --disable-unshare \ + --disable-seccomp \ + --without-libcgroup \ + --without-gio \ + --with-inotify=native \ + --without-mhash +} + +src_install() { + emake DESTDIR="${D}" install + prune_libtool_files + use static-libs || find "${ED}" -name "*.a" -delete || die "failed to remove static libs" + + # docs go into clsync-docs + rm -rf "${ED}/usr/share/doc" || die +} + +pkg_postinst() { + einfo "clsync instances you are going to use _must_ be compiled" + einfo "with control-socket support" +} diff --git a/dev-libs/libclsync/libclsync-9999.ebuild b/dev-libs/libclsync/libclsync-9999.ebuild index 6675067..45841e7 100644 --- a/dev-libs/libclsync/libclsync-9999.ebuild +++ b/dev-libs/libclsync/libclsync-9999.ebuild @@ -27,10 +27,8 @@ REQUIRED_USE=" extra-hardened? ( hardened ) " -DEPEND=" - virtual/pkgconfig - =app-doc/clsync-docs-0.4* -" +DEPEND="virtual/pkgconfig " +RDEPEND="~app-doc/clsync-docs-${PV}" src_prepare() { eautoreconf @@ -66,9 +64,8 @@ src_install() { prune_libtool_files use static-libs || find "${ED}" -name "*.a" -delete || die "failed to remove static libs" - # remove unwanted docs - rm "${ED}/usr/share/doc/${PF}"/{LICENSE,TODO} || die "failed to cleanup docs" - rm -r "${ED}/usr/share/doc/${PF}/examples" || die "failed to remove examples" + # docs go into clsync-docs + rm -rf "${ED}/usr/share/doc" || die } pkg_postinst() {