app-admin/fedora-ds-console: repoman cleanup & create versioned symlinks

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@441 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2008-08-01 10:20:41 +00:00
parent f1049dc8db
commit bae836601f
3 changed files with 32 additions and 45 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
01 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
fedora-ds-console-1.1.1.ebuild:
repoman cleanup & create versioned symlinks
19 Jan 2008; Mario Fetka <mario-fetka@gmx.at> 19 Jan 2008; Mario Fetka <mario-fetka@gmx.at>
+files/fedora-ds-console-1.1.1-add_missing_files-1.patch, +files/fedora-ds-console-1.1.1-add_missing_files-1.patch,
fedora-ds-console-1.1.1.ebuild: fedora-ds-console-1.1.1.ebuild:

View File

@ -1,24 +1,6 @@
AUX fedora-ds-console-1.1.1-add_missing_files-1.patch 7204 RMD160 a87c6bce9928c8626cfa2118c4ab00d35c63b824 SHA1 b75a0e8bf4813c1ad458ecc01621e4dba783c10d SHA256 cdf53cceb6122763e35155b421fcf643ad711cbb3fbb50598ac4cb743b2bcaa1 AUX fedora-ds-console-1.1.1-add_missing_files-1.patch 7204 RMD160 a87c6bce9928c8626cfa2118c4ab00d35c63b824 SHA1 b75a0e8bf4813c1ad458ecc01621e4dba783c10d SHA256 cdf53cceb6122763e35155b421fcf643ad711cbb3fbb50598ac4cb743b2bcaa1
MD5 68742599c7e22ae48d581d833f7f98a4 files/fedora-ds-console-1.1.1-add_missing_files-1.patch 7204
RMD160 a87c6bce9928c8626cfa2118c4ab00d35c63b824 files/fedora-ds-console-1.1.1-add_missing_files-1.patch 7204
SHA256 cdf53cceb6122763e35155b421fcf643ad711cbb3fbb50598ac4cb743b2bcaa1 files/fedora-ds-console-1.1.1-add_missing_files-1.patch 7204
AUX fedora-ds-console-cvs.sh 347 RMD160 69a9fa2f78e67bfa34cd82e308a31711f138a140 SHA1 c9a81d98534c7a95d5d7f3c41298053d645b157e SHA256 63d38f338db6940523fb8488f884f34f53eeef5945edcfa41a24d7ee2410a33a AUX fedora-ds-console-cvs.sh 347 RMD160 69a9fa2f78e67bfa34cd82e308a31711f138a140 SHA1 c9a81d98534c7a95d5d7f3c41298053d645b157e SHA256 63d38f338db6940523fb8488f884f34f53eeef5945edcfa41a24d7ee2410a33a
MD5 a9736549ecc474198f8b99bc8ba0e816 files/fedora-ds-console-cvs.sh 347
RMD160 69a9fa2f78e67bfa34cd82e308a31711f138a140 files/fedora-ds-console-cvs.sh 347
SHA256 63d38f338db6940523fb8488f884f34f53eeef5945edcfa41a24d7ee2410a33a files/fedora-ds-console-cvs.sh 347
DIST fedora-ds-console-1.1.1.tar.bz2 802587 RMD160 4660bbf097f0ffce127cb8458ea126568f5e195b SHA1 1aa6bcdc46e105c5d302287b5e6803ebc6814062 SHA256 ccce629aa0435f983cac8c6e7aef4d780cbad8889602efa34cb4ccb5a45fdd5f DIST fedora-ds-console-1.1.1.tar.bz2 802587 RMD160 4660bbf097f0ffce127cb8458ea126568f5e195b SHA1 1aa6bcdc46e105c5d302287b5e6803ebc6814062 SHA256 ccce629aa0435f983cac8c6e7aef4d780cbad8889602efa34cb4ccb5a45fdd5f
EBUILD fedora-ds-console-1.1.1.ebuild 1866 RMD160 19ab12c0fc0e6bfe92c1f42f6a5b1481d8512721 SHA1 da0dfc4edff5c11d91a082303297f8a28a73ddef SHA256 ad8512c64343ed4cece748584b4e41c93a400dc8c69d44087514d2a1b9eb7ab9 EBUILD fedora-ds-console-1.1.1.ebuild 1998 RMD160 305c9b4658028c515d1d28ab5536c2a77c47c3a4 SHA1 a46524e67240333000f5d3be35cebcd41b50c92e SHA256 07bd18522c8d08eeabedae458ac4ac385a4d2fa648ea01c19dcc8dffa21c6d61
MD5 684d2a1cb74293d6f4e74f35b4545081 fedora-ds-console-1.1.1.ebuild 1866 MISC ChangeLog 1237 RMD160 19bff849ea7f2f56865af0671ae78eb56388ac96 SHA1 61c2d23f40940a9f7029d3bbaf28273e12f08024 SHA256 c354a6ecab9ca4892fbbc8af53e4faf4d6e5e602ff501b889a89bf508728ad2f
RMD160 19ab12c0fc0e6bfe92c1f42f6a5b1481d8512721 fedora-ds-console-1.1.1.ebuild 1866
SHA256 ad8512c64343ed4cece748584b4e41c93a400dc8c69d44087514d2a1b9eb7ab9 fedora-ds-console-1.1.1.ebuild 1866
MISC ChangeLog 1105 RMD160 749ebe1cefbf8ffbc1ad1f5ffe558489272ed59c SHA1 2636cb53bf9374b5cdeaf0ace3a77321317284cc SHA256 70c358cba06e903c72443ba16a4166d95dbfe69eba5aa88995e1edf30a78e714
MD5 2dce0eef6dadd27f36282b7019cca61a ChangeLog 1105
RMD160 749ebe1cefbf8ffbc1ad1f5ffe558489272ed59c ChangeLog 1105
SHA256 70c358cba06e903c72443ba16a4166d95dbfe69eba5aa88995e1edf30a78e714 ChangeLog 1105
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
MD5 67d549be536a2a3e281b3db7457ca3a6 files/digest-fedora-ds-console-1.1.1 274
RMD160 c26a628ec07dee0d4416914dd25c63cc208bee03 files/digest-fedora-ds-console-1.1.1 274
SHA256 4db4b59a7364ac98862d760ec103f8f8b5a0265ea829239e4b7cc7e2cb13988c files/digest-fedora-ds-console-1.1.1 274

View File

@ -6,13 +6,14 @@ JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 eutils java-ant-2 inherit java-pkg-2 eutils java-ant-2
MY_V=1.1.1 MY_V=1.1.1
MY_MV=1.1
DESCRIPTION="A Java based remote management console used for Managing Fedora Administration Server and Fedora Directory Server." DESCRIPTION="A Java based remote management console used for Managing Fedora Administration and Directory Server."
HOMEPAGE="http://directory.fedoraproject.org/" HOMEPAGE="http://directory.fedoraproject.org/"
SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2" SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2"
LICENSE="LGPL-2.1" LICENSE="LGPL-2.1"
SLOT="1.1" SLOT="1.1"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" KEYWORDS="~amd64 ~x86"
IUSE="doc source" IUSE="doc source"
COMMON_DEP="=dev-java/jss-4* COMMON_DEP="=dev-java/jss-4*
@ -25,8 +26,8 @@ DEPEND=">=virtual/jdk-1.5
src_unpack() { src_unpack() {
unpack ${A} unpack ${A}
cd ${S} cd "${S}"
epatch ${FILESDIR}/${P}-add_missing_files-1.patch epatch "${FILESDIR}"/${P}-add_missing_files-1.patch
# gentoo java rules say no jars with version number # gentoo java rules say no jars with version number
# so sed away the version indicator '-' # so sed away the version indicator '-'
sed -e "s!-\*!\*!g" -i build.xml sed -e "s!-\*!\*!g" -i build.xml
@ -37,28 +38,28 @@ src_unpack() {
} }
src_compile() { src_compile() {
eant -Dbuilt.dir=${S}/build \ eant -Dbuilt.dir="${S}"/build \
-Dldapjdk.location=${S} \ -Dldapjdk.location="${S}" \
-Djss.location=${S} \ -Djss.location="${S}" \
-Dconsole.location=${S} ${antflags} -Dconsole.location="${S}" ${antflags}
use doc && eant -Dbuilt.dir=${S}/build \
-Dldapjdk.location=${S} \
-Djss.location=${S} \
-Dconsole.location=${S} ${antflags} javadoc
use doc && eant -Dbuilt.dir="${S}"/build \
-Dldapjdk.location="${S}" \
-Djss.location="${S}" \
-Dconsole.location="${S}" ${antflags} javadoc
} }
src_install() { src_install() {
java-pkg_jarinto /usr/share/dirsrv/java java-pkg_jarinto /usr/share/dirsrv/html/java
java-pkg_newjar ${S}/build/package/fedora-ds-${MY_V}.jar fedora-ds.jar java-pkg_newjar "${S}"/build/package/fedora-ds-${MY_V}.jar fedora-ds.jar
java-pkg_newjar ${S}/build/package/fedora-ds-${MY_V}_en.jar fedora-ds_en.jar java-pkg_newjar "${S}"/build/package/fedora-ds-${MY_V}_en.jar fedora-ds_en.jar
dosym fedora-ds.jar /usr/share/dirsrv/html/java/fedora-ds-${MY_MV}.jar
dosym fedora-ds_en.jar /usr/share/dirsrv/html/java/fedora-ds-${MY_MV}_en.jar
insinto /usr/share/dirsrv/manual/en/slapd insinto /usr/share/dirsrv/manual/en/slapd
doins ${S}/help/en/*.html doins "${S}"/help/en/*.html
doins ${S}/help/en/tokens.map doins "${S}"/help/en/tokens.map
insinto /usr/share/dirsrv/manual/en/slapd/help insinto /usr/share/dirsrv/manual/en/slapd/help
doins ${S}/help/en/help/*.html doins "${S}"/help/en/help/*.html
use doc && java-pkg_dojavadoc build/doc use doc && java-pkg_dojavadoc build/doc
use source && java-pkg_dosrc src/com use source && java-pkg_dosrc src/com
} }