# HG changeset patch # User Dirk Olmes # Date 1286214338 -7200 # Node ID ee84db816ec9566a710a262448dcef966d73bb00 # Parent 97d85f6a8c328a301c25bca0faca89d25489eb63 fix the RC3 ebuild (don't have the final tarball at hand right now) diff -r 97d85f6a8c32 -r ee84db816ec9 dev-java/maven-bin/Manifest --- a/dev-java/maven-bin/Manifest Mon Oct 04 18:26:45 2010 +0200 +++ b/dev-java/maven-bin/Manifest Mon Oct 04 19:45:38 2010 +0200 @@ -7,4 +7,4 @@ EBUILD maven-bin-3.0.0_beta2.ebuild 1066 RMD160 18a6b1c6f6d3f77b6d45fe103033f76281b5ddb1 SHA1 131f4e088498298376192203ddf9bb1ecfb97f55 SHA256 84d0191aa8d980cb21d7258b2d1dcba80403181f3986f13faa816442c23a5246 EBUILD maven-bin-3.0.0_rc1.ebuild 1063 RMD160 262d30a633f892a4e9c7abbdd661d04f29027f08 SHA1 15ebf79d1a2e5c2316cc790814fcff3a3ba6ad45 SHA256 f718d7f489070fd1d1cb08b6419f4c2e62444254d0de225a6abb1ed6bbcdfefd EBUILD maven-bin-3.0.0_rc2.ebuild 1063 RMD160 9b062a4033ed984ac96ff7eb7a8657a4dbf5c480 SHA1 cfd6ce9cd19c04869f785b5dbfba62636d3cf02b SHA256 f99ef855247651b6d79808a6e424874939dc012f0b625a398542f368853ecc20 -EBUILD maven-bin-3.0.0_rc3.ebuild 1063 RMD160 f6dd81e078a707b8323aad2caaa12e022d10f976 SHA1 1215a788645c427f103d4dc323fc22568a58f5d7 SHA256 83a2d6419b19621fc386f7309e3e67a188df8c3ec3ab6d2bbd0b7acd1b60c3cc +EBUILD maven-bin-3.0.0_rc3.ebuild 1344 RMD160 71341097a7371c7fcd6ac7034ff3466e49f96e7a SHA1 c79dc8f0abeec89671630165881689c918598cd4 SHA256 781346d4873998b6b3b1c75a8c68f77cf3fe9dbb0a56c3fcef9b16abdeb724da diff -r 97d85f6a8c32 -r ee84db816ec9 dev-java/maven-bin/maven-bin-3.0.0_rc3.ebuild --- a/dev-java/maven-bin/maven-bin-3.0.0_rc3.ebuild Mon Oct 04 18:26:45 2010 +0200 +++ b/dev-java/maven-bin/maven-bin-3.0.0_rc3.ebuild Mon Oct 04 19:45:38 2010 +0200 @@ -30,15 +30,21 @@ rm -v "${S}"/bin/*.bat || die } -# TODO we should use jars from packages, instead of what is bundled src_install() { dodir "${MAVEN_SHARE}" cp -Rp bin boot conf lib "${D}/${MAVEN_SHARE}" || die "failed to copy" java-pkg_regjar "${D}/${MAVEN_SHARE}"/lib/*.jar + + # the Maven distro comes with really weird permissions in the tarball + # which will cause the ebuild to preserve these weird permissions, leaving + # users with a broken maven installationy + chown root: "${D}/${MAVEN_SHARE}"/lib/*.jar "${D}/${MAVEN_SHARE}"/boot/*.jar + chmod 644 "${D}/${MAVEN_SHARE}"/lib/*.jar "${D}/${MAVEN_SHARE}"/boot/*.jar dodoc NOTICE.txt README.txt || die dodir /usr/bin dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT} } +