diff options
author | Samuel Bernardo <samuelbernardo@tecnico.ulisboa.pt> | 2017-02-13 11:14:33 +0000 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2017-02-13 11:14:33 +0000 |
commit | caad103f3a0bf9673a44861409fae7cd84fd381e (patch) | |
tree | 68140fb0bb6270dc052433cd695a37a465f617b8 | |
parent | update zrep to latest version (diff) | |
download | ssnb-caad103f3a0bf9673a44861409fae7cd84fd381e.tar.gz ssnb-caad103f3a0bf9673a44861409fae7cd84fd381e.tar.bz2 ssnb-caad103f3a0bf9673a44861409fae7cd84fd381e.zip |
update chefdk to version 1.2.22 (chef12)
-rw-r--r-- | app-admin/chefdk-omnibus/Manifest | 2 | ||||
-rw-r--r-- | app-admin/chefdk-omnibus/chefdk-omnibus-1.2.22.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/chefdk-omnibus/Manifest b/app-admin/chefdk-omnibus/Manifest index 6103764..d0484d7 100644 --- a/app-admin/chefdk-omnibus/Manifest +++ b/app-admin/chefdk-omnibus/Manifest @@ -1,2 +1,4 @@ DIST chefdk_0.16.28-1_amd64.deb 141448156 SHA256 2126434d87149cc8373d882705b1f538706f2194ef62abed995ff4cc923bd886 SHA512 89787cb17b7e1e0dd99b6248e63d1e7b93ca5ceaf5bce51a44312d99d6db7c3be96aafdaa29236619c7676493750ee046ad0797ca99ed80e5b357b0e1da398ff WHIRLPOOL 4f445541097d35d54e77b8ea643737fb71a108fb2de142e1fdfba3c846669d6c2a20fdf2e2acbeb37db201508dda8c7cab48ef069d3ef619fea41f945b6986a6 +DIST chefdk_1.2.22-1_amd64.deb 105773606 SHA256 518ecf308764c08a647ddabc6511af231affd2bf3e6526e60ef581926c8e7105 SHA512 b4d874ea179bc8b6b9289c443931369aeeaaffbc4159413f7458ccb7bd5d3f7174e14963e2310529939c69fcea992bfc4625eb23bce32a0ab46118e38132ee60 WHIRLPOOL a98a9af099677d7fbf853d8a3de2039e1575c64f43db376940d80be0495fbb64d0152312cfe7ffe55242eca9a1b0668c5921a94df92108797c5b601e24d96c37 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 diff --git a/app-admin/chefdk-omnibus/chefdk-omnibus-1.2.22.ebuild b/app-admin/chefdk-omnibus/chefdk-omnibus-1.2.22.ebuild new file mode 100644 index 0000000..24804a2 --- /dev/null +++ b/app-admin/chefdk-omnibus/chefdk-omnibus-1.2.22.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 + +} |