diff options
Diffstat (limited to 'audio/opennap')
-rw-r--r-- | audio/opennap/Makefile | 39 | ||||
-rw-r--r-- | audio/opennap/distinfo | 1 | ||||
-rw-r--r-- | audio/opennap/files/opennap.sh | 3 | ||||
-rw-r--r-- | audio/opennap/pkg-comment | 1 | ||||
-rw-r--r-- | audio/opennap/pkg-descr | 11 | ||||
-rw-r--r-- | audio/opennap/pkg-message | 25 | ||||
-rw-r--r-- | audio/opennap/pkg-plist | 15 |
7 files changed, 95 insertions, 0 deletions
diff --git a/audio/opennap/Makefile b/audio/opennap/Makefile new file mode 100644 index 000000000000..d1b1235c0bbd --- /dev/null +++ b/audio/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/audio/opennap/distinfo b/audio/opennap/distinfo new file mode 100644 index 000000000000..8033e64c030d --- /dev/null +++ b/audio/opennap/distinfo @@ -0,0 +1 @@ +MD5 (opennap-0.35.tar.gz) = 56fbcab802c68d53c55649bc814dc528 diff --git a/audio/opennap/files/opennap.sh b/audio/opennap/files/opennap.sh new file mode 100644 index 000000000000..a124c0525b2e --- /dev/null +++ b/audio/opennap/files/opennap.sh @@ -0,0 +1,3 @@ +#!/bin/sh +/usr/local/bin/opennap >/dev/null 2>&1 & +echo -n ' opennap' diff --git a/audio/opennap/pkg-comment b/audio/opennap/pkg-comment new file mode 100644 index 000000000000..7d1ebf6f0af1 --- /dev/null +++ b/audio/opennap/pkg-comment @@ -0,0 +1 @@ +The OpenNAP open-source Napster server diff --git a/audio/opennap/pkg-descr b/audio/opennap/pkg-descr new file mode 100644 index 000000000000..8c73b2123411 --- /dev/null +++ b/audio/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/audio/opennap/pkg-message b/audio/opennap/pkg-message new file mode 100644 index 000000000000..5cc9d917bf46 --- /dev/null +++ b/audio/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/audio/opennap/pkg-plist b/audio/opennap/pkg-plist new file mode 100644 index 000000000000..99cd1d34feaa --- /dev/null +++ b/audio/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 |