aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorDonald Burr <dburr@FreeBSD.org>2000-07-27 08:21:25 +0000
committerDonald Burr <dburr@FreeBSD.org>2000-07-27 08:21:25 +0000
commit090683237ad0645c3a33dfd34c5edcd64877227a (patch)
treeab42fd42e591067c6d56f4f7ce75f7a68ef7ff54 /net-p2p
parent7a9f5f9b33cb055790746399c0e97db409162247 (diff)
downloadports-090683237ad0645c3a33dfd34c5edcd64877227a.tar.gz
ports-090683237ad0645c3a33dfd34c5edcd64877227a.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/opennap/Makefile39
-rw-r--r--net-p2p/opennap/distinfo1
-rw-r--r--net-p2p/opennap/files/opennap.sh3
-rw-r--r--net-p2p/opennap/pkg-comment1
-rw-r--r--net-p2p/opennap/pkg-descr11
-rw-r--r--net-p2p/opennap/pkg-message25
-rw-r--r--net-p2p/opennap/pkg-plist15
7 files changed, 95 insertions, 0 deletions
diff --git a/net-p2p/opennap/Makefile b/net-p2p/opennap/Makefile
new file mode 100644
index 000000000000..d1b1235c0bbd
--- /dev/null
+++ b/net-p2p/opennap/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: opennap
+# Date created: 26 July 2000
+# Whom: Donald Burr <dburr@FreeBSD.ORG>
+#
+# $FreeBSD$
+#
+
+PORTNAME= opennap
+PORTVERSION= 0.35
+CATEGORIES= audio net
+MASTER_SITES= ftp://download.sourceforge.net/pub/sourceforge/opennap/ \
+ ftp://ftp.darenet.dk/mirrors/mirror.linuxberg.com/files/console/servers/ \
+ ftp://ftp.netis.com/pub/mirrors2/linuxberg/files/console/servers/ \
+ ftp://ftp.sblug.com/pub/unix/
+
+MAINTAINER= dburr@FreeBSD.ORG
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+
+post-install:
+ (${ECHO} "" ; ${ECHO} "admin" ; ${ECHO} "opennap" ; ${ECHO} "") | ${WRKSRC}/setup
+.if defined(NOPORTDOCS)
+ @echo "===> Documentation skipped."
+.else
+ @echo "===> Installing documentation into ${PREFIX}/share/doc/opennap."
+ @${MKDIR} ${PREFIX}/share/doc/opennap
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/opennap
+ ${INSTALL_DATA} ${WRKSRC}/napster.txt ${PREFIX}/share/doc/opennap
+.endif
+ @echo "===> Installing example config files into ${PREFIX}/share/doc/opennap."
+ @${MKDIR} ${PREFIX}/share/opennap/examples
+ ${CHOWN} -R nobody:nobody ${PREFIX}/share/opennap
+ cd ${WRKSRC} ; for FILE in sample.*; do ${INSTALL_DATA} $${FILE} ${PREFIX}/share/opennap/examples ; done
+ @echo "===> Installing startup script into ${PREFIX}/etc/rc.d."
+ ${INSTALL_SCRIPT} ${FILESDIR}/opennap.sh ${PREFIX}/etc/rc.d
+ @${CAT} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/net-p2p/opennap/distinfo b/net-p2p/opennap/distinfo
new file mode 100644
index 000000000000..8033e64c030d
--- /dev/null
+++ b/net-p2p/opennap/distinfo
@@ -0,0 +1 @@
+MD5 (opennap-0.35.tar.gz) = 56fbcab802c68d53c55649bc814dc528
diff --git a/net-p2p/opennap/files/opennap.sh b/net-p2p/opennap/files/opennap.sh
new file mode 100644
index 000000000000..a124c0525b2e
--- /dev/null
+++ b/net-p2p/opennap/files/opennap.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+/usr/local/bin/opennap >/dev/null 2>&1 &
+echo -n ' opennap'
diff --git a/net-p2p/opennap/pkg-comment b/net-p2p/opennap/pkg-comment
new file mode 100644
index 000000000000..7d1ebf6f0af1
--- /dev/null
+++ b/net-p2p/opennap/pkg-comment
@@ -0,0 +1 @@
+The OpenNAP open-source Napster server
diff --git a/net-p2p/opennap/pkg-descr b/net-p2p/opennap/pkg-descr
new file mode 100644
index 000000000000..8c73b2123411
--- /dev/null
+++ b/net-p2p/opennap/pkg-descr
@@ -0,0 +1,11 @@
+Napster is a protocol for sharing files between users. With Napster,
+the files stay on the client machine, never passing through
+the server. The server provides the ability to search for particular
+files and initiate a direct transfer between the clients. In
+addition, chat forums similar to IRC are available. OpenNap extends
+the Napster protocol to allow sharing of any media type,
+and the ability to link servers together.
+
+WWW: http://opennap.sourceforge.net/
+
+[ This port is maintained by Donald Burr <dburr@FreeBSD.ORG> ]
diff --git a/net-p2p/opennap/pkg-message b/net-p2p/opennap/pkg-message
new file mode 100644
index 000000000000..5cc9d917bf46
--- /dev/null
+++ b/net-p2p/opennap/pkg-message
@@ -0,0 +1,25 @@
+*************************************************
+
+A default administrator user has been created.
+The user name is 'admin', password 'opennap'.
+You will probably want to change these.
+To do so, edit the file
+${PREFIX}/share/opennap/users .
+
+Example configuration files are located in
+${PREFIX}/share/opennap/examples/ . Copy
+them to ${PREFIX}/share/opennap, removing the
+'sample.' prefix (e.g. 'sample.conf' becomes
+'conf') and edit to your preferences.
+
+DOcumentation is installed under
+${PREFIX}/share/doc/opennap .
+
+If you would like to link your server to the
+global Napigator search system, go to
+http://www.napigator.com/ and follow the
+directions under "CAN I RUN MY OWN NAP SERVER?"
+
+Have fun!
+
+*************************************************
diff --git a/net-p2p/opennap/pkg-plist b/net-p2p/opennap/pkg-plist
new file mode 100644
index 000000000000..99cd1d34feaa
--- /dev/null
+++ b/net-p2p/opennap/pkg-plist
@@ -0,0 +1,15 @@
+bin/opennap
+bin/mkpass
+bin/metaserver
+bin/setup
+share/opennap/users
+share/opennap/examples/sample.channels
+share/opennap/examples/sample.conf
+share/opennap/examples/sample.motd
+share/opennap/examples/sample.servers
+share/opennap/examples/sample.users
+@dirrm share/opennap/examples
+@dirrm share/opennap
+share/doc/opennap/README
+share/doc/opennap/napster.txt
+@dirrm share/doc/opennap