diff --git a/net-p2p/kommute/ChangeLog b/net-p2p/kommute/ChangeLog new file mode 100644 index 0000000..f9d710c --- /dev/null +++ b/net-p2p/kommute/ChangeLog @@ -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 \ No newline at end of file diff --git a/net-p2p/kommute/Manifest b/net-p2p/kommute/Manifest new file mode 100644 index 0000000..0f08775 --- /dev/null +++ b/net-p2p/kommute/Manifest @@ -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 diff --git a/net-p2p/kommute/files/digest-kommute-0.1-r1 b/net-p2p/kommute/files/digest-kommute-0.1-r1 new file mode 100644 index 0000000..c3844b6 --- /dev/null +++ b/net-p2p/kommute/files/digest-kommute-0.1-r1 @@ -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 diff --git a/net-p2p/kommute/files/gcc4.patch b/net-p2p/kommute/files/gcc4.patch new file mode 100644 index 0000000..88d3276 --- /dev/null +++ b/net-p2p/kommute/files/gcc4.patch @@ -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; + #endif + +-#if defined(__GNUC__) && __GNUC__ > 3 +-template class CRYPTOPP_DLL AbstractEuclideanDomain; +-template class CRYPTOPP_DLL AbstractEuclideanDomain; +-template class CRYPTOPP_DLL AbstractGroup; +-template class CRYPTOPP_DLL AbstractGroup; +-template class CRYPTOPP_DLL AbstractGroup; +-template class CRYPTOPP_DLL AbstractGroup; +-template class CRYPTOPP_DLL AbstractPolicyHolder, RandomNumberGenerator> >; +-template class CRYPTOPP_DLL AbstractRing; +-template class CRYPTOPP_DLL AbstractRing; +-template class CRYPTOPP_DLL AdditiveCipherTemplate<>; +-template class CRYPTOPP_DLL AdditiveCipherTemplate >; +-template class CRYPTOPP_DLL AdditiveCipherTemplate >; +-template class CRYPTOPP_DLL AllocatorWithCleanup; +-template class CRYPTOPP_DLL AllocatorWithCleanup; +-template class CRYPTOPP_DLL AllocatorWithCleanup; +-template class CRYPTOPP_DLL AutoSeededX917RNG; +-template class CRYPTOPP_DLL CFB_CipherTemplate >; +-template class CRYPTOPP_DLL CFB_CipherTemplate >; +-template class CRYPTOPP_DLL CFB_DecryptionTemplate<>; +-template class CRYPTOPP_DLL CFB_DecryptionTemplate >; +-template class CRYPTOPP_DLL CFB_EncryptionTemplate<>; +-template class CRYPTOPP_DLL CFB_EncryptionTemplate >; +-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher; +-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher; +-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher; +-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher; +-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher; +-template class CRYPTOPP_DLL DH_Domain; +-template class CRYPTOPP_DLL DL_Algorithm_GDSA; +-template class CRYPTOPP_DLL DL_Algorithm_GDSA; +-template class CRYPTOPP_DLL DL_Algorithm_GDSA; +-template class CRYPTOPP_DLL DL_FixedBasePrecomputationImpl; +-template class CRYPTOPP_DLL DL_FixedBasePrecomputationImpl; +-template class CRYPTOPP_DLL DL_FixedBasePrecomputationImpl; +-template class CRYPTOPP_DLL DL_GroupParameters; +-template class CRYPTOPP_DLL DL_GroupParameters_EC; +-template class CRYPTOPP_DLL DL_GroupParameters_EC; +-template class CRYPTOPP_DLL DL_GroupParameters_IntegerBasedImpl; +-template class CRYPTOPP_DLL DL_GroupPrecomputation; +-template class CRYPTOPP_DLL DL_GroupPrecomputation; +-template class CRYPTOPP_DLL DL_PrivateKeyImpl >; +-template class CRYPTOPP_DLL DL_PrivateKeyImpl >; +-template class CRYPTOPP_DLL DL_PrivateKey_EC; +-template class CRYPTOPP_DLL DL_PrivateKey_EC; +-template class CRYPTOPP_DLL DL_PrivateKey_GFP; +-template class CRYPTOPP_DLL DL_PrivateKey_WithSignaturePairwiseConsistencyTest, ECDSA >; +-template class CRYPTOPP_DLL DL_PrivateKey_WithSignaturePairwiseConsistencyTest, ECDSA >; +-template class CRYPTOPP_DLL DL_PrivateKey_WithSignaturePairwiseConsistencyTest, DSA>; +-template class CRYPTOPP_DLL DL_PublicKeyImpl >; +-template class CRYPTOPP_DLL DL_PublicKeyImpl >; +-template class CRYPTOPP_DLL DL_PublicKey_EC; +-template class CRYPTOPP_DLL DL_PublicKey_EC; +-template class CRYPTOPP_DLL DL_PublicKey_GFP; +-template class CRYPTOPP_DLL EuclideanDomainOf; +-template class CRYPTOPP_DLL IteratedHashBase; +-template class CRYPTOPP_DLL IteratedHashBase; +-#ifdef WORD64_AVAILABLE +-template class CRYPTOPP_DLL IteratedHashBase; +-template class CRYPTOPP_DLL IteratedHashBase; +-#endif +-template class CRYPTOPP_DLL OAEP; +-#ifdef CRYPTOPP_IS_DLL +-template class CRYPTOPP_DLL PKCS_DigestDecoration; +-#endif +-template class CRYPTOPP_DLL QuotientRing >; +-template class CRYPTOPP_DLL SimpleKeyedTransformation; +-template class CRYPTOPP_DLL SimpleKeyedTransformation; +-template class CRYPTOPP_DLL SimpleKeyedTransformation; +-template class CRYPTOPP_DLL StringSinkTemplate; +-template class CRYPTOPP_DLL TwoBases; +-#endif // __GNUC__ > 3 +- + template<> const byte PKCS_DigestDecoration::decoration[] = {0x30,0x21,0x30,0x09,0x06,0x05,0x2B,0x0E,0x03,0x02,0x1A,0x05,0x00,0x04,0x14}; + template<> const unsigned int PKCS_DigestDecoration::length = sizeof(PKCS_DigestDecoration::decoration); + diff --git a/net-p2p/kommute/files/gcc4_configure.patch b/net-p2p/kommute/files/gcc4_configure.patch new file mode 100644 index 0000000..47685de --- /dev/null +++ b/net-p2p/kommute/files/gcc4_configure.patch @@ -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 + diff --git a/net-p2p/kommute/kommute-0.1-r1.ebuild b/net-p2p/kommute/kommute-0.1-r1.ebuild new file mode 100644 index 0000000..8e8ba03 --- /dev/null +++ b/net-p2p/kommute/kommute-0.1-r1.ebuild @@ -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" +} +