diff options
-rw-r--r-- | eclass/bjam.eclass | 20 | ||||
-rw-r--r-- | eclass/systemd-unit.eclass | 1 | ||||
-rw-r--r-- | sys-cluster/netfs/Manifest | 4 | ||||
-rw-r--r-- | sys-cluster/netfs/netfs-1.2.0.3.ebuild | 12 |
4 files changed, 27 insertions, 10 deletions
diff --git a/eclass/bjam.eclass b/eclass/bjam.eclass new file mode 100644 index 0000000..f2007d9 --- /dev/null +++ b/eclass/bjam.eclass @@ -0,0 +1,20 @@ +# Distributed under the terms of the GNU General Public License v2 + +# @ECLASS: bjam.eclass +# @MAINTAINER: +# randomdan +# @AUTHOR: +# randomdan +# @BLURB: +# @DESCRIPTION: + +src_prepare() { + ebegin "Setting portage CXX and LD flags" + sed -i "s|^using gcc .*|using gcc : : : <compileflags>\"${CXXFLAGS}\" <linkflags>\"${LDFLAGS}\" ;|" ${S}/Jamroot.jam + eend $? +} + +bjambuild() { + setarch $(uname -m) -RL b2 ${BJAMOPTS} variant=release -q $@ +} + diff --git a/eclass/systemd-unit.eclass b/eclass/systemd-unit.eclass index 9436c15..cf6c62b 100644 --- a/eclass/systemd-unit.eclass +++ b/eclass/systemd-unit.eclass @@ -1,4 +1,3 @@ -# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/sys-cluster/netfs/Manifest b/sys-cluster/netfs/Manifest index 26c5d6a..b15e4d3 100644 --- a/sys-cluster/netfs/Manifest +++ b/sys-cluster/netfs/Manifest @@ -8,7 +8,7 @@ DIST netfs-1.1.5.tar.bz2 16570 SHA256 7d96de0d67334b20f86ea31d7d0aa556254e31ed94 DIST netfs-1.1.6.1.tar.bz2 17338 SHA256 286e7fc11fb1c663ce03f8e4e289940c00c8670d2394ee303d9a4c011e80ba9b SHA512 3c2c8e1725060cebaab470972fd587127199ba94b7544abd0cacc0707238a76bcbd07aa2f0bd7be1ce39c6a31c271de2ee96ba9a4d543ce19f4136fbbf28f0a9 WHIRLPOOL 861c49ab348991458e1561f9107354aa8c1ff30bf6d69afc3308cdbb576cd66c531d5c0de629812825fc83d49a905013587ad4ac10d8a0c2b42fff5c514e0122 DIST netfs-1.2.0.1.tar.bz2 18659 SHA256 cd07b1e3803d73f7b4096c3f8aada4b2586a34a41f92aa06b8a9236d5717cad7 SHA512 58d75a8d7f259ef9503d4ace0d03494456455da6b631652babb981adb02a5da25cb560ff0ef3c61c8e2a7fa56525256339182193106ec1847456ab92adcee2c7 WHIRLPOOL af9c1e6b627bd13cf8cd3a6028048c80b7d100ea300418aa8323362ce6f5bb6517e5c59a7a69971e17d012f29d0d04343582e01320b5d01d4a618a0d5d12009e DIST netfs-1.2.0.2.tar.bz2 18940 SHA256 2388006adc81f74837e1ec04d06c25572d0f8a9e7aade332079975f62c0f6228 SHA512 ccb99152dfa3386bd1ac6a94ee13ef09a2542dcd352ee46c9bf17b5bb8e0fbb16c3093480722b9373ac88c8c5086c9bc8ce6ed168bae36a85afa0d5d0ef11862 WHIRLPOOL 59a15e3dc86497498216ad4ad21a4f908be0bd17cb96f0ce080de61308c148d98c053138a81c7380f9e9fe80ac3b9120f89e5220644b64dca62058c47955755c -DIST netfs-1.2.0.3.tar.bz2 18939 SHA256 c78060e806f1678c7f6ce1bb3055fc8ff868ffa0ffdc1efa93997769e3b01e93 SHA512 18dc5ad2a4b9a103aff36a652df5a4856a32e80c01f8feac39fd97ead18abdc7d4bb1ad322902fe6b1b22de2236c3adee91b5dcaed08849976e3ef7ad00aee83 WHIRLPOOL 8ed129a1a60321ecce9f458d48034889bdb873aa1c717cd84e2cbaca5807249f2e41e96fffc54419660ed0fd3a1d62daddd5cf29270a299ed56f5118dfd31bec +DIST netfs-1.2.0.3.tar.xz 19336 SHA256 775d790eff90035b5181c8def31843048d35e846f7b3a128e149732c6975dccc SHA512 e8159bbed0ba6d1158f517574eb04de01733112543ea9a0658ae2e0d902c0c1e1854fb22a0f70b5cc49b772aa04cd5e7537b3bc15aba2a80d337eab973c06466 WHIRLPOOL eeeca3933a8222ae5ea49f1d996c6f75b42be1c1d58df4e3e9c27dfe99048ec9a6e59ff879f48babf3f76217628f3d9f2f6cf523a47bf42fdf69fd93f8d62242 EBUILD netfs-1.1.2.ebuild 1228 SHA256 9aa3d645d489b45f253e625eb03df10288f9223ec983f684f3ca4385a5a365e5 SHA512 c7f4f4a4cf13c4f167bf791be325290ef5017e7946d76347464aaa217be83a068a9178e2b917519f4d84277e80b895163d988eb315f5cf31c3ad5cb91cb88e7e WHIRLPOOL 3c016ad4f46bb72a43a901193aabe4e7de847332543625d60d569e1c1234272d437fe524c30ed43c814f0c40c273a7ec3d5d3c566da3acf7f38715f7f838022e EBUILD netfs-1.1.3.ebuild 1228 SHA256 9aa3d645d489b45f253e625eb03df10288f9223ec983f684f3ca4385a5a365e5 SHA512 c7f4f4a4cf13c4f167bf791be325290ef5017e7946d76347464aaa217be83a068a9178e2b917519f4d84277e80b895163d988eb315f5cf31c3ad5cb91cb88e7e WHIRLPOOL 3c016ad4f46bb72a43a901193aabe4e7de847332543625d60d569e1c1234272d437fe524c30ed43c814f0c40c273a7ec3d5d3c566da3acf7f38715f7f838022e EBUILD netfs-1.1.4.1-r1.ebuild 1421 SHA256 6687c35ec18e8788785e053a79826dd3696eaa0e9c7cdb03d1213e8b85a4e957 SHA512 545c0b4116b73b04c545732c2b35f496ab808ee6a07f5d43cf81fb8539be3fa349da03d65755fa2cf2755669830457fd959535696306e21162edc1708d6e4e59 WHIRLPOOL 0973663ce773ac6485b2ae72e8d4bbf3e462323668657f05c3d6a9e52e98678dc26f90d37de8ee0d897929ea17ce4c2f1b227db1db59786ab7454fb8265bb8ad @@ -17,4 +17,4 @@ EBUILD netfs-1.1.5.ebuild 1577 SHA256 6d061d97c23978bd65a231431c2df11273a4477f3a EBUILD netfs-1.1.6.1.ebuild 1593 SHA256 6bf9ba7272741f2f834d648bf8f27c1a403adcdc4a8b44912439676fdc497d73 SHA512 f88c506c4b7425a7760f16e3e7e503b6ddee8bc11d35c5796f2e33cea7377afc8e124a01bc7e9c8c1aafe2240e46c8635a1c1bd92006db21410ec8b93bd05015 WHIRLPOOL e026b536b4e03cad35de6619d36be79e410bd87c7aedfa339cf55403116be1e690c0c87265276689e595374180ca0c3397ad09cb4bbfd5a0866cae86953be115 EBUILD netfs-1.2.0.1.ebuild 1593 SHA256 6bf9ba7272741f2f834d648bf8f27c1a403adcdc4a8b44912439676fdc497d73 SHA512 f88c506c4b7425a7760f16e3e7e503b6ddee8bc11d35c5796f2e33cea7377afc8e124a01bc7e9c8c1aafe2240e46c8635a1c1bd92006db21410ec8b93bd05015 WHIRLPOOL e026b536b4e03cad35de6619d36be79e410bd87c7aedfa339cf55403116be1e690c0c87265276689e595374180ca0c3397ad09cb4bbfd5a0866cae86953be115 EBUILD netfs-1.2.0.2.ebuild 1554 SHA256 5e903f1feef3526f8a52ad7a3003275049adc63dbe51ab0f8bb13aad8442d4a4 SHA512 56fd6be6cf78a458fcd1280a5e3f30bf0d9fdfba4ae5ae9046703470cf9ecd5c823d5a7b4f5f380b7935002aa20fbcf6db2782fe3100603a938205aeb2249ff7 WHIRLPOOL 0088a54337bac7fb7753e8552bcb2b05f408b5045d73f72e560092c9e105fd63d3abe115230656ccd46beb951fd4fd8371fb680a14fa4fff8ce01eca100fd3f6 -EBUILD netfs-1.2.0.3.ebuild 1554 SHA256 5e903f1feef3526f8a52ad7a3003275049adc63dbe51ab0f8bb13aad8442d4a4 SHA512 56fd6be6cf78a458fcd1280a5e3f30bf0d9fdfba4ae5ae9046703470cf9ecd5c823d5a7b4f5f380b7935002aa20fbcf6db2782fe3100603a938205aeb2249ff7 WHIRLPOOL 0088a54337bac7fb7753e8552bcb2b05f408b5045d73f72e560092c9e105fd63d3abe115230656ccd46beb951fd4fd8371fb680a14fa4fff8ce01eca100fd3f6 +EBUILD netfs-1.2.0.3.ebuild 1343 SHA256 33cc3ea49a2b4c02cb1e198ddb680ec2c778846d9521c08ffba9202aa007e378 SHA512 d5ef74011fa6e5c6a7cffbd950d3a30aed3b5e505424724062d8ae0c80812fbdec5b08a5fdf70813e09ad5e69c5840e2f1ee5b51f93d7edf37b5cd6a1644b54d WHIRLPOOL b6b83784ff90d1a8b718a95ff09c8e595ec0ce2a7c8177168fb47db0846cf8036b8b99dd30cc2d8495b1c9b0b482568652eb2e44cb17dea0595abdbebc8c8d4f diff --git a/sys-cluster/netfs/netfs-1.2.0.3.ebuild b/sys-cluster/netfs/netfs-1.2.0.3.ebuild index 7429a4b..72405cc 100644 --- a/sys-cluster/netfs/netfs-1.2.0.3.ebuild +++ b/sys-cluster/netfs/netfs-1.2.0.3.ebuild @@ -1,9 +1,11 @@ EAPI="5" +inherit eutils bjam + DESCRIPTION="Cluster capable network filesytem" HOMEPAGE="http://netfs.randomdan.homeip.net/" -SRC_URI="http://releases.randomdan.homeip.net/git-modules/${P}.tar.bz2" +SRC_URI="http://git.randomdan.homeip.net/repo/${PN}/snapshot/${P}.tar.xz" LICENSE="GPL" SLOT="0" KEYWORDS="x86 amd64" @@ -22,13 +24,9 @@ RDEPEND="dev-libs/Ice DEPEND="${DEPEND} dev-util/boost-build" -src_prepare() { - sed -ie "s|^using gcc .*|using gcc : : : <compileflags>\"${CXXFLAGS}\" <linkflags>\"${LDFLAGS}\" ;|" ${S}/Jamroot.jam -} - src_compile() { cd ${S}/netfs || die - setarch $(uname -m) -RL b2 ${BJAMOPTS} variant=release -q \ + bjambuild \ $(use client && echo fuse//netfs) \ $(use server && echo daemon//netfsd) \ ice//netfsComms || die @@ -36,7 +34,7 @@ src_compile() { src_install() { cd ${S}/netfs || die - setarch $(uname -m) -RL b2 ${BJAMOPTS} variant=release -q \ + bjambuild \ $(use client && echo fuse//install) \ $(use server && echo daemon//install) \ ice//install \ |