diff options
author | Samuel Bernardo <samuelbernardo@tecnico.ulisboa.pt> | 2017-04-11 11:15:16 +0100 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2017-04-11 11:15:16 +0100 |
commit | 3019a6540581878a7b797ac8130db268c2c28ba2 (patch) | |
tree | b57f8b08eb62fb102cd06116ddacf7993a8dda9c /app-admin | |
parent | dev-utils updates (diff) | |
download | ssnb-3019a6540581878a7b797ac8130db268c2c28ba2.tar.gz ssnb-3019a6540581878a7b797ac8130db268c2c28ba2.tar.bz2 ssnb-3019a6540581878a7b797ac8130db268c2c28ba2.zip |
chefdk update
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/chefdk-omnibus/Manifest | 2 | ||||
-rw-r--r-- | app-admin/chefdk-omnibus/chefdk-omnibus-1.3.40.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/chefdk-omnibus/Manifest b/app-admin/chefdk-omnibus/Manifest index d0484d7..7cb0fa4 100644 --- a/app-admin/chefdk-omnibus/Manifest +++ b/app-admin/chefdk-omnibus/Manifest @@ -1,4 +1,6 @@ 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 +DIST chefdk_1.3.40-1_amd64.deb 104850448 SHA256 77bbd40587b0411387fe444bef6675f6e3157219e94dc792f247b3a44f172ba5 SHA512 22ab788e3f98cefdd19e20787f4b549b3ec19cbd08c794b9716b232702742933dfaeb020d4bc1103d44ffefb6329697841d273c623b1ccd24f4e92d0ae611c00 WHIRLPOOL a6867a4f9bf53de18d0ec3d73f265ae1d81de203e363f842c192399d2bcd9586b715603552d9f8b51cb7a1be2d90a62c2bacc789576c2cd9aa4d7ce77ded6b98 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 diff --git a/app-admin/chefdk-omnibus/chefdk-omnibus-1.3.40.ebuild b/app-admin/chefdk-omnibus/chefdk-omnibus-1.3.40.ebuild new file mode 100644 index 0000000..24804a2 --- /dev/null +++ b/app-admin/chefdk-omnibus/chefdk-omnibus-1.3.40.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 + +} |