Kommute added.

This commit is contained in:
Micha Glave 2006-06-13 07:22:57 +00:00
parent ff739bc1bd
commit 5fa00e961d
6 changed files with 205 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# Changelog for net-p2p/kommute
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
* kommute-0.1 ( 4 January 2006 )
Initial ebuild for kommute
written by dongeon, additions by feivelda

21
net-p2p/kommute/Manifest Normal file
View File

@ -0,0 +1,21 @@
AUX gcc4.patch 5584 RMD160 28b7dc694fb7788c072016381268f46152f56844 SHA1 5f0cb32f5caa32d80dd5b36e9783c59a1f0e7e4d SHA256 9a5de65bce3dba5e3cd0766055bf7552bdc24c77ff28ce3f6beab9034e664cc5
MD5 621d9be6eec0fd0d8fe2b0fa3460b1b0 files/gcc4.patch 5584
RMD160 28b7dc694fb7788c072016381268f46152f56844 files/gcc4.patch 5584
SHA256 9a5de65bce3dba5e3cd0766055bf7552bdc24c77ff28ce3f6beab9034e664cc5 files/gcc4.patch 5584
AUX gcc4_configure.patch 310 RMD160 bab1c77d1f51acc7508ce6c19419ce37d52cd71d SHA1 f2f5847f9640118878040f9b3a7988caba042ff3 SHA256 0fc371cf8ad35cb0b3c914db5c3100d00abfc907e6f106c7bef4d96022ff465f
MD5 c6ba4c39fbbbb61a031b428cb0bc2d16 files/gcc4_configure.patch 310
RMD160 bab1c77d1f51acc7508ce6c19419ce37d52cd71d files/gcc4_configure.patch 310
SHA256 0fc371cf8ad35cb0b3c914db5c3100d00abfc907e6f106c7bef4d96022ff465f files/gcc4_configure.patch 310
DIST MUTE_fileSharing-0.5_UnixSource.tar.gz 717833 RMD160 5c0f534d80c1c38551d715597a2b76602552563e SHA1 4c7b3c74622601a0f7e1955aff86ad4ecd83db27 SHA256 13091fb3899549f5f4fd7cc2382c53b6560762025b25df858aca37e96b2646b3
DIST kommute-0.1.tar.gz 975329
EBUILD kommute-0.1-r1.ebuild 1968 RMD160 ab2e00e8ce3b41e50b577ae5af7a7f040dbaabe5 SHA1 99caadcb0e5958f06fdd6bab98f3faacb29d8076 SHA256 71f9c3fbc2fcd335cf4c23dd567803c386e1946d6b8f50582f7ee2afe1d1deb6
MD5 5540b332c3b3f0d3856e80d12a238c8f kommute-0.1-r1.ebuild 1968
RMD160 ab2e00e8ce3b41e50b577ae5af7a7f040dbaabe5 kommute-0.1-r1.ebuild 1968
SHA256 71f9c3fbc2fcd335cf4c23dd567803c386e1946d6b8f50582f7ee2afe1d1deb6 kommute-0.1-r1.ebuild 1968
MISC ChangeLog 223 RMD160 7c50843445e0a2b9be28072674e120e0a6e6ab25 SHA1 7c2d9a6456cae74638b1aa02610eddd4dca74dbd SHA256 4a715cef6554e1c57a4f3151296603ef2e1a127c32b180c381e732d7b3b0fe9b
MD5 f4c9462494dca5fd51aaf095932d92eb ChangeLog 223
RMD160 7c50843445e0a2b9be28072674e120e0a6e6ab25 ChangeLog 223
SHA256 4a715cef6554e1c57a4f3151296603ef2e1a127c32b180c381e732d7b3b0fe9b ChangeLog 223
MD5 9cb1ad2a74aa81c6264e90701342b96c files/digest-kommute-0.1-r1 358
RMD160 f1e5193de7260dcb9f730fb750fea58f1f603559 files/digest-kommute-0.1-r1 358
SHA256 5f4a549e7304747d8b13faddf45770aed5a0a77b5476a68ce9c78f413c0c20b5 files/digest-kommute-0.1-r1 358

View File

@ -0,0 +1,4 @@
MD5 34e65407b42d67626642124f50e13687 MUTE_fileSharing-0.5_UnixSource.tar.gz 717833
RMD160 5c0f534d80c1c38551d715597a2b76602552563e MUTE_fileSharing-0.5_UnixSource.tar.gz 717833
SHA256 13091fb3899549f5f4fd7cc2382c53b6560762025b25df858aca37e96b2646b3 MUTE_fileSharing-0.5_UnixSource.tar.gz 717833
MD5 1a913a1188c46c705ce57cddfe0a33ca kommute-0.1.tar.gz 975329

View File

@ -0,0 +1,82 @@
--- MUTE/crypto/dll.cpp 2005-11-23 15:31:23.000000000 +0100
+++ MUTE/crypto/dll.cpp 2006-06-10 07:38:00.334382979 +0200
@@ -37,79 +37,6 @@
CRYPTOPP_DLL_TEMPLATE_CLASS AbstractEuclideanDomain<Integer>;
#endif
-#if defined(__GNUC__) && __GNUC__ > 3
-template class CRYPTOPP_DLL AbstractEuclideanDomain<Integer>;
-template class CRYPTOPP_DLL AbstractEuclideanDomain<PolynomialMod2>;
-template class CRYPTOPP_DLL AbstractGroup<Integer>;
-template class CRYPTOPP_DLL AbstractGroup<EC2NPoint>;
-template class CRYPTOPP_DLL AbstractGroup<ECPPoint>;
-template class CRYPTOPP_DLL AbstractGroup<PolynomialMod2>;
-template class CRYPTOPP_DLL AbstractPolicyHolder<AdditiveCipherAbstractPolicy, TwoBases<SimpleKeyedTransformation<StreamTransformation>, RandomNumberGenerator> >;
-template class CRYPTOPP_DLL AbstractRing<Integer>;
-template class CRYPTOPP_DLL AbstractRing<PolynomialMod2>;
-template class CRYPTOPP_DLL AdditiveCipherTemplate<>;
-template class CRYPTOPP_DLL AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, CTR_ModePolicy> >;
-template class CRYPTOPP_DLL AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, OFB_ModePolicy> >;
-template class CRYPTOPP_DLL AllocatorWithCleanup<byte>;
-template class CRYPTOPP_DLL AllocatorWithCleanup<word16>;
-template class CRYPTOPP_DLL AllocatorWithCleanup<word32>;
-template class CRYPTOPP_DLL AutoSeededX917RNG<DES_EDE3>;
-template class CRYPTOPP_DLL CFB_CipherTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >;
-template class CRYPTOPP_DLL CFB_CipherTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, SymmetricCipher> >;
-template class CRYPTOPP_DLL CFB_DecryptionTemplate<>;
-template class CRYPTOPP_DLL CFB_DecryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >;
-template class CRYPTOPP_DLL CFB_EncryptionTemplate<>;
-template class CRYPTOPP_DLL CFB_EncryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >;
-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher<CBC_CTS_Decryption>;
-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher<CBC_CTS_Encryption>;
-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher<CBC_Decryption>;
-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher<CBC_Encryption>;
-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher<ECB_OneWay>;
-template class CRYPTOPP_DLL DH_Domain<DL_GroupParameters_GFP_DefaultSafePrime>;
-template class CRYPTOPP_DLL DL_Algorithm_GDSA<EC2N::Point>;
-template class CRYPTOPP_DLL DL_Algorithm_GDSA<ECP::Point>;
-template class CRYPTOPP_DLL DL_Algorithm_GDSA<Integer>;
-template class CRYPTOPP_DLL DL_FixedBasePrecomputationImpl<EC2N::Point>;
-template class CRYPTOPP_DLL DL_FixedBasePrecomputationImpl<ECPPoint>;
-template class CRYPTOPP_DLL DL_FixedBasePrecomputationImpl<Integer>;
-template class CRYPTOPP_DLL DL_GroupParameters<Integer>;
-template class CRYPTOPP_DLL DL_GroupParameters_EC<EC2N>;
-template class CRYPTOPP_DLL DL_GroupParameters_EC<ECP>;
-template class CRYPTOPP_DLL DL_GroupParameters_IntegerBasedImpl<ModExpPrecomputation>;
-template class CRYPTOPP_DLL DL_GroupPrecomputation<EC2N::Point>;
-template class CRYPTOPP_DLL DL_GroupPrecomputation<ECPPoint>;
-template class CRYPTOPP_DLL DL_PrivateKeyImpl<DL_GroupParameters_EC<EC2N> >;
-template class CRYPTOPP_DLL DL_PrivateKeyImpl<DL_GroupParameters_EC<ECP> >;
-template class CRYPTOPP_DLL DL_PrivateKey_EC<EC2N>;
-template class CRYPTOPP_DLL DL_PrivateKey_EC<ECP>;
-template class CRYPTOPP_DLL DL_PrivateKey_GFP<DL_GroupParameters_DSA>;
-template class CRYPTOPP_DLL DL_PrivateKey_WithSignaturePairwiseConsistencyTest<DL_PrivateKey_EC<EC2N>, ECDSA<EC2N> >;
-template class CRYPTOPP_DLL DL_PrivateKey_WithSignaturePairwiseConsistencyTest<DL_PrivateKey_EC<ECP>, ECDSA<ECP> >;
-template class CRYPTOPP_DLL DL_PrivateKey_WithSignaturePairwiseConsistencyTest<DL_PrivateKey_GFP<DL_GroupParameters_DSA>, DSA>;
-template class CRYPTOPP_DLL DL_PublicKeyImpl<DL_GroupParameters_EC<EC2N> >;
-template class CRYPTOPP_DLL DL_PublicKeyImpl<DL_GroupParameters_EC<ECP> >;
-template class CRYPTOPP_DLL DL_PublicKey_EC<EC2N>;
-template class CRYPTOPP_DLL DL_PublicKey_EC<ECP>;
-template class CRYPTOPP_DLL DL_PublicKey_GFP<DL_GroupParameters_DSA>;
-template class CRYPTOPP_DLL EuclideanDomainOf<PolynomialMod2>;
-template class CRYPTOPP_DLL IteratedHashBase<word32, HashTransformation>;
-template class CRYPTOPP_DLL IteratedHashBase<word32, MessageAuthenticationCode>;
-#ifdef WORD64_AVAILABLE
-template class CRYPTOPP_DLL IteratedHashBase<word64, HashTransformation>;
-template class CRYPTOPP_DLL IteratedHashBase<word64, MessageAuthenticationCode>;
-#endif
-template class CRYPTOPP_DLL OAEP<SHA>;
-#ifdef CRYPTOPP_IS_DLL
-template class CRYPTOPP_DLL PKCS_DigestDecoration<SHA>;
-#endif
-template class CRYPTOPP_DLL QuotientRing<EuclideanDomainOf<PolynomialMod2> >;
-template class CRYPTOPP_DLL SimpleKeyedTransformation<BlockTransformation>;
-template class CRYPTOPP_DLL SimpleKeyedTransformation<HashTransformation>;
-template class CRYPTOPP_DLL SimpleKeyedTransformation<StreamTransformation>;
-template class CRYPTOPP_DLL StringSinkTemplate<std::string>;
-template class CRYPTOPP_DLL TwoBases<SymmetricCipher, RandomNumberGenerator>;
-#endif // __GNUC__ > 3
-
template<> const byte PKCS_DigestDecoration<SHA>::decoration[] = {0x30,0x21,0x30,0x09,0x06,0x05,0x2B,0x0E,0x03,0x02,0x1A,0x05,0x00,0x04,0x14};
template<> const unsigned int PKCS_DigestDecoration<SHA>::length = sizeof(PKCS_DigestDecoration<SHA>::decoration);

View File

@ -0,0 +1,11 @@
--- kommute/configure.in.in 2006-06-11 19:34:50.660863885 +0200
+++ kommute/configure.in.in 2006-06-11 19:34:05.633709053 +0200
@@ -1,6 +1,7 @@
#MIN_CONFIG(3.2.0)
-AM_INIT_AUTOMAKE(kommute, 0.1)
+AM_INIT_AUTOMAKE(kommute, 0.2)
+CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS"
AC_C_BIGENDIAN
AC_CHECK_KDEMAXPATHLEN

View File

@ -0,0 +1,80 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# written by dongeon, additions by feivelda
inherit eutils toolchain-funcs kde
DESCRIPTION="KDE file sharing client using the anonymous file sharing network MUTE"
HOMEPAGE="http://kommute.sourceforge.net/"
MUTE_VER="0.5"
MUTE_NAME="MUTE_fileSharing-${MUTE_VER}_UnixSource"
SRC_URI="http://dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz
http://dl.sourceforge.net/sourceforge/mute-net/${MUTE_NAME}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND=""
need-kde 3.2
S=${WORKDIR}/${MUTE_NAME}
src_unpack()
{
unpack ${A} || die "unpack failed"
mv -f ${PN} ${MUTE_NAME} || die
cd ${S}
epatch ${FILESDIR}/gcc4.patch || die
epatch ${FILESDIR}/gcc4_configure.patch || die
}
src_compile() {
if useq ppc ; then
echo 2 > cmd
einfo "Compiling for ppc"
elif useq x86 ; then
echo 1 > cmd
einfo "Compiling for x86"
else
die "Can't determine the archiquecture x86 or ppc"
fi
echo -e \\n2\\n >> cmd
./runToBuild < cmd || die "Build failed"
cd ${S}/${PN}
export KDE_DIR="$(kde-config --prefix)"
if use arts; then
export PREFIX="--prefix ${KDE_DIR}"
else
export PREFIX="--prefix ${KDE_DIR} --without-arts"
fi
make -f Makefile.cvs || die
econf ${PREFIX} || die "econf failed"
emake || die "emake failed"
}
src_install() {
cd ${S}/${PN}
make install DESTDIR=${D} || die "make install fail"
make_desktop_entry ${PN} || eerror "make_desktop_entry fail"
}
pkg_postinst() {
einfo "Visit these webs for more info:"
einfo "http://kommute.sourceforge.net"
einfo "http://www.mymute.info"
einfo "http://www.planetpeer.de/wiki/index.php"
}