From 8972422b6aa6fedb873971464ea97668dc4242fb Mon Sep 17 00:00:00 2001 From: Samuel Bernardo Date: Thu, 19 Oct 2017 04:53:33 +0100 Subject: add missing binaries symlinks in chefdk-omnibus --- app-admin/chefdk-omnibus/Manifest | 4 +++ .../chefdk-omnibus/chefdk-omnibus-1.6.1.ebuild | 40 ++++++++++++++++++++++ .../chefdk-omnibus/chefdk-omnibus-2.3.4.ebuild | 40 ++++++++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 app-admin/chefdk-omnibus/chefdk-omnibus-1.6.1.ebuild create mode 100644 app-admin/chefdk-omnibus/chefdk-omnibus-2.3.4.ebuild (limited to 'app-admin') diff --git a/app-admin/chefdk-omnibus/Manifest b/app-admin/chefdk-omnibus/Manifest index 24aedc9..3944a63 100644 --- a/app-admin/chefdk-omnibus/Manifest +++ b/app-admin/chefdk-omnibus/Manifest @@ -3,8 +3,12 @@ DIST chefdk_1.2.22-1_amd64.deb 105773606 SHA256 518ecf308764c08a647ddabc6511af23 DIST chefdk_1.3.40-1_amd64.deb 104850448 SHA256 77bbd40587b0411387fe444bef6675f6e3157219e94dc792f247b3a44f172ba5 SHA512 22ab788e3f98cefdd19e20787f4b549b3ec19cbd08c794b9716b232702742933dfaeb020d4bc1103d44ffefb6329697841d273c623b1ccd24f4e92d0ae611c00 WHIRLPOOL a6867a4f9bf53de18d0ec3d73f265ae1d81de203e363f842c192399d2bcd9586b715603552d9f8b51cb7a1be2d90a62c2bacc789576c2cd9aa4d7ce77ded6b98 DIST chefdk_1.3.43-1_amd64.deb 104849402 SHA256 ddc9ae7e0d9d0199c75eda39b84af8005e7f0e8c1c72deea74bda0d5ddfc7944 SHA512 54fbcf82d86a1be21347a85f30606d5467ea43df82615abc81a39bf6c44e6a760ed2c8188952fe982b80e55faddbe93caa7f13a68ef2483fd572b9fdf689aab0 WHIRLPOOL ee0b9ea6c2be3a7d65646af9299ec22786c2be08936f814dba25fe10b30058d3b4ebde81531c147f9de246699a4e945278871c2e900c04992b26989dc3c02729 DIST chefdk_1.4.3-1_amd64.deb 103914920 SHA256 df0d3945b5e508bca890ed74c5a4fa2cabdce19fbb808b6d2dfd5e2eac9adbdf SHA512 cce2c7d466e0eaf55eb71e0d59db091d7671443e8f14c00d732df4603aab78803367a315223a93744d56f39fe477cfb772b67e513befc73fe65574b6ed058975 WHIRLPOOL a3988f990624373f80cc255b3438ca206146cdc811fea6597d838714a3a1969306add00104bee1b5476f1b0a8e84e1642198fc8d0aa65b7a78785fcfa0ce086b +DIST chefdk_1.6.1-1_amd64.deb 105970280 SHA256 ffa2c4e1cd624b86a28a23e9ad13b6b6a7e7e651ef22b3dc55fd56427775ad1c SHA512 3ca1366b37deef40266470c66eade36b934962518a769f97927688895dfb554cbc707660c8c2409f0890afbd452eea69de8cff45e4cebda5df1fba9d7e329bb4 WHIRLPOOL 6977336bf8816366501eaa601021869c2c2a52ef80b538882df1eeee0f96c6e6be95b1cf420d6133fbfc5374b7e1e32d1f132fb3adc4520c5742ddb51437d086 +DIST chefdk_2.3.4-1_amd64.deb 102667650 SHA256 ff7124bfd4ad4b7351177df89b3986661f95e14df2dfb5b9ea6b0af247c2c07d SHA512 9abf85bc3c73fe0e6cb5a1e90985aed1e6eae89ff970ae3ce218ed0e3074d948650bc444f1fd5085dd6f4b04cf5524ee1db583dd58715e9dc87f1ea758c19486 WHIRLPOOL 1d6643d0af7373043d6c716cf812f110b91c47d951ef5a33ad6aafcdfe243b53700e5f6f0e23193f2c9228cdd12bda9c925d1e9dd7b49669e45b57aeb1f6b8bb EBUILD chefdk-omnibus-0.16.28.ebuild 986 SHA256 2eee6476fc6b2a59c67b47f316242c82e633b37094d2529e244e901e5ab59636 SHA512 2b3d5677ba6b462346200bdfb62ac48f5fc015ec234f08dbb15df8f191c687d2d1d01d8967e29ac202201ca9dbdbae752d7990ae1d879e70edede8f9c72d16be WHIRLPOOL b1d68ccf24e55b2721b301cc36099c8f73b00bef4041327abb45b3574df2116f16cf97b6c586cac714b0fe766bc601766800c5c5a94cb0b7408ae6a6b81f417f EBUILD chefdk-omnibus-1.2.22.ebuild 1086 SHA256 c8acacaa7d3cc3029e08181eef69afe6a49124cde6956855f0e94501a6a8479b SHA512 0a43836bc675230e5e6271985bb07f6b23b78825a001157bbf431c1a749dd3120f2c444a391187e41274981b1d11ab9ae9297798b02d9851f3475c17e3003f49 WHIRLPOOL e9f1c49577d369f20a66982f0f6ec63a6cf247c357a22c81fc05ce2397240f71ca16640e8be094e6c7304de52aa8d14203b4fa2540ccaa8dc32b85151579ee9d EBUILD chefdk-omnibus-1.3.40.ebuild 1086 SHA256 c8acacaa7d3cc3029e08181eef69afe6a49124cde6956855f0e94501a6a8479b SHA512 0a43836bc675230e5e6271985bb07f6b23b78825a001157bbf431c1a749dd3120f2c444a391187e41274981b1d11ab9ae9297798b02d9851f3475c17e3003f49 WHIRLPOOL e9f1c49577d369f20a66982f0f6ec63a6cf247c357a22c81fc05ce2397240f71ca16640e8be094e6c7304de52aa8d14203b4fa2540ccaa8dc32b85151579ee9d EBUILD chefdk-omnibus-1.3.43.ebuild 1086 SHA256 c8acacaa7d3cc3029e08181eef69afe6a49124cde6956855f0e94501a6a8479b SHA512 0a43836bc675230e5e6271985bb07f6b23b78825a001157bbf431c1a749dd3120f2c444a391187e41274981b1d11ab9ae9297798b02d9851f3475c17e3003f49 WHIRLPOOL e9f1c49577d369f20a66982f0f6ec63a6cf247c357a22c81fc05ce2397240f71ca16640e8be094e6c7304de52aa8d14203b4fa2540ccaa8dc32b85151579ee9d EBUILD chefdk-omnibus-1.4.3.ebuild 1086 SHA256 c8acacaa7d3cc3029e08181eef69afe6a49124cde6956855f0e94501a6a8479b SHA512 0a43836bc675230e5e6271985bb07f6b23b78825a001157bbf431c1a749dd3120f2c444a391187e41274981b1d11ab9ae9297798b02d9851f3475c17e3003f49 WHIRLPOOL e9f1c49577d369f20a66982f0f6ec63a6cf247c357a22c81fc05ce2397240f71ca16640e8be094e6c7304de52aa8d14203b4fa2540ccaa8dc32b85151579ee9d +EBUILD chefdk-omnibus-1.6.1.ebuild 1086 SHA256 c8acacaa7d3cc3029e08181eef69afe6a49124cde6956855f0e94501a6a8479b SHA512 0a43836bc675230e5e6271985bb07f6b23b78825a001157bbf431c1a749dd3120f2c444a391187e41274981b1d11ab9ae9297798b02d9851f3475c17e3003f49 WHIRLPOOL e9f1c49577d369f20a66982f0f6ec63a6cf247c357a22c81fc05ce2397240f71ca16640e8be094e6c7304de52aa8d14203b4fa2540ccaa8dc32b85151579ee9d +EBUILD chefdk-omnibus-2.3.4.ebuild 1097 SHA256 f084aaffa0bb2c2300257be25197fc48bf156e586c07ed5cb03e969d3fcbc7c4 SHA512 34186f9e657b4b779ce39909594b302f915cc2775387b146d21d0567de4501d976a740093999555d9f2032d72393b0a31938aec04ed2e7a732b06fe4ca24a0cb WHIRLPOOL 9277cf92ec4bb1f802b0c735fafa66c8c5b5202cb265fd83825c869943afa22c189c4149b8868d2d11addf3c92b27ca8b64e50bf1ee221c35596a7709f3bdb9d diff --git a/app-admin/chefdk-omnibus/chefdk-omnibus-1.6.1.ebuild b/app-admin/chefdk-omnibus/chefdk-omnibus-1.6.1.ebuild new file mode 100644 index 0000000..24804a2 --- /dev/null +++ b/app-admin/chefdk-omnibus/chefdk-omnibus-1.6.1.ebuild @@ -0,0 +1,40 @@ +# Blatently stolen from https://github.com/lxmx/gentoo-overlay + +EAPI="4" + +DESCRIPTION="Omnibus installation of ChefDK" +HOMEPAGE="http://www.opscode.com/chefdk/install/" +#SRC_URI="https://packages.chef.io/stable/ubuntu/12.04/chefdk_${PV}-1_amd64.deb" +SRC_URI="https://packages.chef.io/files/stable/chefdk/${PV}/ubuntu/16.04/chefdk_${PV}-1_amd64.deb" + +LICENSE="Apache" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} ./data.tar.gz +} + +src_install() { + + local dest="${D}/opt" + mkdir -p "$dest" + + # cleanup .git folders, any idea why they are in the package? + find "$dest" -type d -name ".git" | xargs rm -rf + + cp -pR ./opt/* "$dest" + + # link executables + binaries="berks chef chef-apply chef-shell chef-solo chef-zero delivery fauxhai foodcritic kitchen knife ohai push-apply pushy-client pushy-service-manager rubocop cookstyle chef-client chef-vault print_execution_environment" + for binary in $binaries; do + dosym "$dest/chefdk/bin/$binary" "/usr/bin/$binary" || die "Cannot link $binary to /usr/bin" + done + +} diff --git a/app-admin/chefdk-omnibus/chefdk-omnibus-2.3.4.ebuild b/app-admin/chefdk-omnibus/chefdk-omnibus-2.3.4.ebuild new file mode 100644 index 0000000..6914866 --- /dev/null +++ b/app-admin/chefdk-omnibus/chefdk-omnibus-2.3.4.ebuild @@ -0,0 +1,40 @@ +# Blatently stolen from https://github.com/lxmx/gentoo-overlay + +EAPI="4" + +DESCRIPTION="Omnibus installation of ChefDK" +HOMEPAGE="http://www.opscode.com/chefdk/install/" +#SRC_URI="https://packages.chef.io/stable/ubuntu/12.04/chefdk_${PV}-1_amd64.deb" +SRC_URI="https://packages.chef.io/files/stable/chefdk/${PV}/ubuntu/16.04/chefdk_${PV}-1_amd64.deb" + +LICENSE="Apache" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} ./data.tar.gz +} + +src_install() { + + local dest="${D}/opt" + mkdir -p "$dest" + + # cleanup .git folders, any idea why they are in the package? + find "$dest" -type d -name ".git" | xargs rm -rf + + cp -pR ./opt/* "$dest" + + # link executables + binaries="berks chef chef-apply chef-shell chef-solo chef-zero delivery fauxhai foodcritic kitchen knife ohai push-apply pushy-client pushy-service-manager rubocop cookstyle chef-client chef-vault print_execution_environment inspec dco" + for binary in $binaries; do + dosym "$dest/chefdk/bin/$binary" "/usr/bin/$binary" || die "Cannot link $binary to /usr/bin" + done + +} -- cgit v1.2.3-65-gdbad