aboutsummaryrefslogtreecommitdiff
path: root/net/mute-net
diff options
context:
space:
mode:
Diffstat (limited to 'net/mute-net')
-rw-r--r--net/mute-net/Makefile175
-rw-r--r--net/mute-net/distinfo3
-rw-r--r--net/mute-net/files/patch-MUTE::configure66
-rw-r--r--net/mute-net/files/patch-MUTE::layers::messageRouting::test::testMessageRouter.cpp17
-rw-r--r--net/mute-net/files/wrapper.sh37
-rw-r--r--net/mute-net/pkg-descr10
-rw-r--r--net/mute-net/pkg-message10
-rw-r--r--net/mute-net/pkg-plist42
8 files changed, 0 insertions, 360 deletions
diff --git a/net/mute-net/Makefile b/net/mute-net/Makefile
deleted file mode 100644
index 9e7d5a38e164..000000000000
--- a/net/mute-net/Makefile
+++ /dev/null
@@ -1,175 +0,0 @@
-# New ports collection makefile for: mute-net
-# Date created: Sat Dec 20 00:39:52 UTC 2003
-# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= mute
-PORTVERSION= 0.3
-PORTREVISION= 3
-CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}-net
-PKGNAMESUFFIX= -net
-DISTNAME= MUTE_fileSharing-${PORTVERSION}_UnixSource
-
-MAINTAINER= lioux@FreeBSD.org
-COMMENT?= Peer-to-peer client with privacy protection and easy search/download
-
-USE_GMAKE= yes
-HAS_CONFIGURE= yes
-
-USE_PERL5_BUILD=yes
-USE_REINPLACE= yes
-
-#RELEASE_DIRECTORY= MUTE_fileSharing-${PORTVERSION}-rc${PORTVERSION:E}_UnixSource
-RELEASE_DIRECTORY= MUTE_fileSharing-${PORTVERSION}-rc4_UnixSource
-
-WRKSRC= ${WRKDIR}/${RELEASE_DIRECTORY}/MUTE
-PATCH_WRKSRC= ${WRKDIR}/${RELEASE_DIRECTORY}
-
-.ifndef(WITHOUT_GUI)
-LIB_DEPENDS+= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk24
-
-WX_CONFIG?= ${X11BASE}/bin/wxgtk2-2.4-config
-.endif
-
-#
-MUTE_SETTINGS= otherApps/fileSharing/userInterface/settings/
-MUTE_CORE_GUI= otherApps/fileSharing/userInterface/wxWindows/fileSharingMUTE
-MUTE_CORE_GUI_FILE= fileSharingMUTE
-#
-MUTE_CORE_TEXT= otherApps/fileSharing/userInterface/textBased/textFileSharingMUTE
-MUTE_CORE_TEXT_FILE= textFileSharingMUTE
-
-pre-everything::
-#
-.if (defined(WITHOUT_GUI) && defined(WITHOUT_TEXT))
- @${ECHO_MSG} "You need either GUI or TEXT interfaces."
- @${ECHO_MSG} "Only disable one of them!"
- @${FALSE}
-.endif
-#
-.if !defined(WITHOUT_GUI) && !defined(WITHOUT_TEXT)
- @${ECHO_MSG} "You can disable the GUI interface by defining WITHOUT_GUI."
- @${ECHO_MSG} "You can disable the TEXT interface by defining WITHOUT_TEXT."
-.endif
-
-post-patch:
-# C{flags,XX}, PTHREAD safeness
- @${REINPLACE_CMD} -E \
- -e 's|^GXX.+$$|GXX=${CXX}|' \
- -e 's|^(PLATFORM_LINK_FLAGS).+$$|\1=${PTHREAD_LIBS}|' \
- -e 's|(-DBSD)|\1 ${CFLAGS} ${PTHREAD_CFLAGS}|' \
- ${PATCH_WRKSRC}/MUTE/Makefile.FreeBSDX86
-# do not redefine socket_t
-.for file in \
- minorGems/network/linux/SocketClientLinux.cpp \
- minorGems/network/linux/SocketLinux.cpp \
- minorGems/network/linux/SocketServerLinux.cpp
- @${REINPLACE_CMD} -E \
- -e 's|typedef int socklen_t;||' \
- ${PATCH_WRKSRC}/${file}
-.endfor
-# do we want GUI?
-.ifndef(WITHOUT_GUI)
- @${REINPLACE_CMD} -E \
- -e 's|%%WX_CONFIG%%|${WX_CONFIG}|' \
- ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
- @${SED} -e "s|%%PREFIX%%|${PREFIX}|" \
- -e "s|%%DATADIR%%|${DATADIR}|" \
- -e "s|%%INTERFACE%%|gui|" \
- ${FILESDIR}/wrapper.sh > \
- ${WRKDIR}/wrapper-gui.sh
-.endif
-.ifndef(WITHOUT_TEXT)
- @${SED} -e "s|%%PREFIX%%|${PREFIX}|" \
- -e "s|%%DATADIR%%|${DATADIR}|" \
- -e "s|%%INTERFACE%%|text|" \
- ${FILESDIR}/wrapper.sh > \
- ${WRKDIR}/wrapper-text.sh
-.endif
-
-post-configure:
-# we will use GNU make
-# XXX - g modifier does not work with sed from REINPLACE_CMD
-# @${REINPLACE_CMD} -E \
- @${PERL} -pi \
- -e 's| make| ${GMAKE}|g' \
- ${CONFIGURE_WRKSRC}/${MAKEFILE}
-# CXX safeness
- @${REINPLACE_CMD} -E \
- -e 's|g\+\+|${CXX}|' \
- ${WRKSRC}/otherApps/fileSharing/userInterface/wxWindows/Makefile
-
-post-build:
-.ifndef(WITHOUT_GUI)
- @cd ${BUILD_WRKSRC}/otherApps/fileSharing/userInterface/wxWindows/ ; \
- ${GMAKE}
-
-.endif
-
-do-install:
-# install initial settings
- @${MKDIR} ${DATADIR}/settings/
- @${INSTALL_DATA} ${INSTALL_WRKSRC}/${MUTE_SETTINGS}/* \
- ${DATADIR}/settings/
-# gui interface
-.ifndef(WITHOUT_GUI)
-# install binary
- @${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${MUTE_CORE_GUI} \
- ${PREFIX}/bin/${MUTE_CORE_GUI_FILE}-real
-# install wrapper
- @${INSTALL_SCRIPT} ${WRKDIR}/wrapper-gui.sh \
- ${PREFIX}/bin/${MUTE_CORE_GUI_FILE}
-.endif
-# text interface
-.ifndef(WITHOUT_TEXT)
-# install binary
- @${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${MUTE_CORE_TEXT} \
- ${PREFIX}/bin/${MUTE_CORE_TEXT_FILE}-real
-# install wrapper
- @${INSTALL_SCRIPT} ${WRKDIR}/wrapper-text.sh \
- ${PREFIX}/bin/${MUTE_CORE_TEXT_FILE}
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-USE_GCC= 3.3
-.endif
-
-# we cannot install if either a slave or master port is already
-# installed
-CONFLICTS+= mute-net-[0-9]*
-
-# gui interface
-.ifndef(WITHOUT_GUI)
-# we cannot install if slave gui port is installed
-PLIST_SUB+= GUI=""
-
-CONFLICTS+= mute-net-gui-*
-.else
-# tag package name properly
-PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-text
-
-PLIST_SUB+= GUI="@comment "
-.endif
-
-# text interface
-.ifndef(WITHOUT_TEXT)
-PLIST_SUB+= TEXT=""
-
-CONFLICTS+= mute-net-text-*
-.else
-# tag package name properly
-PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gui
-
-PLIST_SUB+= TEXT="@comment "
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/net/mute-net/distinfo b/net/mute-net/distinfo
deleted file mode 100644
index 39451f233895..000000000000
--- a/net/mute-net/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (MUTE_fileSharing-0.3_UnixSource.tar.gz) = a0c4f859e87013a144587c44e39cafb8
-SHA256 (MUTE_fileSharing-0.3_UnixSource.tar.gz) = 83764065a46eaef0c14da97b1a19b9e2ae4bb94a809650c832036a15247123b1
-SIZE (MUTE_fileSharing-0.3_UnixSource.tar.gz) = 469394
diff --git a/net/mute-net/files/patch-MUTE::configure b/net/mute-net/files/patch-MUTE::configure
deleted file mode 100644
index fc11841a4c92..000000000000
--- a/net/mute-net/files/patch-MUTE::configure
+++ /dev/null
@@ -1,66 +0,0 @@
---- MUTE/configure.orig Mon Apr 5 20:28:43 2004
-+++ MUTE/configure Mon Apr 5 20:29:47 2004
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
-
- #
- # Modification History
-@@ -37,21 +37,10 @@
-
- while [ -z "$userEntry" ]
- do
-- echo "select platform:"
-
-- echo " 1 -- GNU/Linux X86"
-- echo " 2 -- GNU/Linux PPC"
-- echo " 3 -- FreeBSD X86"
-- echo " 4 -- MacOSX"
-- echo " 5 -- Solaris"
-- echo " 6 -- Win32 using MinGW"
-- echo " q -- quit"
-
-- echo ""
-- echo -n "> "
--
-- read userEntry
-
-+userEntry=3
-
- if [ "$userEntry" = "q" ]
- then
-@@ -61,12 +50,12 @@
-
- # use ASCII comparison.
-
-- if [[ "$userEntry" > "6" ]]
-+ if [ "$userEntry" -gt "6" ]
- then
- userEntry=""
- fi
-
-- if [[ "$userEntry" < "1" ]]
-+ if [ "$userEntry" -lt "1" ]
- then
- userEntry=""
- fi
-@@ -330,18 +319,9 @@
- esac
-
-
--echo ""
--echo ""
--echo "Enter full path to wxWindows wx-config script."
--echo " Example: /usr/bin/wx-config"
--echo "To us the default setting, or if you do not plan to build the"
--echo "wxWindows-based GUI, leave this blank."
--
--echo ""
--echo -n "> "
-
--read userEntry
-
-+userEntry=%%WX_CONFIG%%
-
- if [ "$userEntry" = "" ]
- then
diff --git a/net/mute-net/files/patch-MUTE::layers::messageRouting::test::testMessageRouter.cpp b/net/mute-net/files/patch-MUTE::layers::messageRouting::test::testMessageRouter.cpp
deleted file mode 100644
index db605b5a4b64..000000000000
--- a/net/mute-net/files/patch-MUTE::layers::messageRouting::test::testMessageRouter.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
---- MUTE/layers/messageRouting/test/testMessageRouter.cpp.orig Sat Jan 24 18:30:19 2004
-+++ MUTE/layers/messageRouting/test/testMessageRouter.cpp Sat Jan 24 18:32:02 2004
-@@ -21,12 +21,13 @@
- #include <stdio.h>
-
-
--void messageHandler( char *inFromAddress, char *inToAddress, char *inBody,
-+int messageHandler( char *inFromAddress, char *inToAddress, char *inBody,
- void *inExtraArgument ) {
-
- printf( "Got message from %s to %s:\n%s\n", inFromAddress,
- inToAddress, inBody );
-
-+ return (0);
- }
-
-
diff --git a/net/mute-net/files/wrapper.sh b/net/mute-net/files/wrapper.sh
deleted file mode 100644
index 0620fc43a4d8..000000000000
--- a/net/mute-net/files/wrapper.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-
-PREFIX="%%PREFIX%%"
-PROGRAM="${0}"
-DIRNAME="${HOME}/.mute-net/%%INTERFACE%%"
-DIR_FILES="${DIRNAME}/files"
-DIR_SETTINGS_ORIGINAL="%%DATADIR%%/settings"
-DIR_SETTINGS="${DIRNAME}/settings"
-
-if [ ! -d ${DIRNAME} ]
-then
- mkdir -p ${DIRNAME}
-fi
-
-if [ ! -d ${DIR_FILES} ]
-then
- mkdir -p ${DIR_FILES}
-fi
-
-if [ ! -d ${DIR_SETTINGS} ]
-then
- mkdir -p "${DIR_SETTINGS}"
- cp -R "${DIR_SETTINGS_ORIGINAL}/." "${DIR_SETTINGS}"
-fi
-
-if [ ! -h ${DIRNAME}/${PROGRAM##*/} ]
-then
- ln -sf ${PREFIX}/bin/${PROGRAM##*/}-real ${DIRNAME}/${PROGRAM##*/}
-fi
-
-echo " ${*} " | grep " \-createdironly " ||
-{
- cd ${DIRNAME} &&
- echo Running under ${DIRNAME} &&
- exec ./${PROGRAM##*/} "${@}" ||
- echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
-}
diff --git a/net/mute-net/pkg-descr b/net/mute-net/pkg-descr
deleted file mode 100644
index a315cf9aa94d..000000000000
--- a/net/mute-net/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-[ excerpt with modifications from developer's web site ]
-
-MUTE File Sharing is a new peer-to-peer network that provides easy
-search-and-download functionality while also protecting your privacy:
-
-o MUTE protects your privacy
-o Routing mechanism is inspired by ant behavior
-o Based on research
-
-WWW: http://mute-net.sourceforge.net/
diff --git a/net/mute-net/pkg-message b/net/mute-net/pkg-message
deleted file mode 100644
index 274d8983e2a8..000000000000
--- a/net/mute-net/pkg-message
+++ /dev/null
@@ -1,10 +0,0 @@
- ATTENTIONATTENTION:
-
-This is a brand new peer-to-peer system. Please,
-make sure to check the developers' website if
-any problem arises.
-
-They might already be aware of the issue or you
-could let them know about it if they are not.
-
-http://mute-net.sourceforge.net/
diff --git a/net/mute-net/pkg-plist b/net/mute-net/pkg-plist
deleted file mode 100644
index 6073dfc3baec..000000000000
--- a/net/mute-net/pkg-plist
+++ /dev/null
@@ -1,42 +0,0 @@
-%%GUI%%bin/fileSharingMUTE
-%%GUI%%bin/fileSharingMUTE-real
-%%TEXT%%bin/textFileSharingMUTE
-%%TEXT%%bin/textFileSharingMUTE-real
-%%DATADIR%%/settings/README.txt
-%%DATADIR%%/settings/broadcastProbability.ini
-%%DATADIR%%/settings/continueForwardProbability.ini
-%%DATADIR%%/settings/downloadChunkRetries.ini
-%%DATADIR%%/settings/downloadFileInfoRetries.ini
-%%DATADIR%%/settings/downloadRetryFreshRouteProbability.ini
-%%DATADIR%%/settings/downloadTimeoutCurrentTimeoutWeight.ini
-%%DATADIR%%/settings/downloadTimeoutMilliseconds.ini
-%%DATADIR%%/settings/downloadTimeoutRecentChunkWeight.ini
-%%DATADIR%%/settings/inboundMessageLimit.ini
-%%DATADIR%%/settings/logConnectionContents.ini
-%%DATADIR%%/settings/logConnections.ini
-%%DATADIR%%/settings/logDownloadTimeoutChanges.ini
-%%DATADIR%%/settings/logLevel.ini
-%%DATADIR%%/settings/logMessageHistory.ini
-%%DATADIR%%/settings/logRoutingHistory.ini
-%%DATADIR%%/settings/maxConnectionCount.ini
-%%DATADIR%%/settings/maxDroppedMessageFraction.ini
-%%DATADIR%%/settings/maxMessageUtility.ini
-%%DATADIR%%/settings/maxSubfolderDepth.ini
-%%DATADIR%%/settings/mime.ini
-%%DATADIR%%/settings/muteVersion.ini
-%%DATADIR%%/settings/outboundMessageLimit.ini
-%%DATADIR%%/settings/port.ini
-%%DATADIR%%/settings/printSearchSyncTrace.ini
-%%DATADIR%%/settings/seedHosts.ini
-%%DATADIR%%/settings/sharingPath.ini
-%%DATADIR%%/settings/showNiceQuit.ini
-%%DATADIR%%/settings/tailChainDropProbability.ini
-%%DATADIR%%/settings/targetConnectionCount.ini
-%%DATADIR%%/settings/useMajorityRouting.ini
-%%DATADIR%%/settings/utilityAlpha.ini
-%%DATADIR%%/settings/utilityBeta.ini
-%%DATADIR%%/settings/utilityGamma.ini
-%%DATADIR%%/settings/webHostCachePostIntervalSeconds.ini
-%%DATADIR%%/settings/webHostCaches.ini
-@dirrm %%DATADIR%%/settings
-@dirrm %%DATADIR%%