diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-01 23:05:26 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-01 23:05:26 +0000 |
commit | 39a5b78f8797ded2c50107a77794cd671dff707f (patch) | |
tree | 39f650e2e85c255908675444e0ce32d9639f251f /net-p2p/opennap | |
parent | 11b0d3ddde2150d23a51c55b5597d968fe3a03bb (diff) | |
download | ports-39a5b78f8797ded2c50107a77794cd671dff707f.tar.gz ports-39a5b78f8797ded2c50107a77794cd671dff707f.zip |
Notes
Diffstat (limited to 'net-p2p/opennap')
-rw-r--r-- | net-p2p/opennap/Makefile | 37 | ||||
-rw-r--r-- | net-p2p/opennap/distinfo | 2 | ||||
-rw-r--r-- | net-p2p/opennap/files/opennap.sh | 23 | ||||
-rw-r--r-- | net-p2p/opennap/files/pkg-message.in | 25 | ||||
-rw-r--r-- | net-p2p/opennap/pkg-descr | 9 | ||||
-rw-r--r-- | net-p2p/opennap/pkg-plist | 17 |
6 files changed, 0 insertions, 113 deletions
diff --git a/net-p2p/opennap/Makefile b/net-p2p/opennap/Makefile deleted file mode 100644 index 826f43da4fc4..000000000000 --- a/net-p2p/opennap/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# Created by: Donald Burr <dburr@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= opennap -PORTVERSION= 0.44 -PORTREVISION= 1 -CATEGORIES= net-p2p -MASTER_SITES= SF - -MAINTAINER= ports@FreeBSD.org -COMMENT= Open-source Napster server - -USES= gmake -GNU_CONFIGURE= YES -PKGMESSAGE= ${WRKDIR}/pkg-message -SUB_FILES= pkg-message - -NO_STAGE= yes -post-install: - (${ECHO_CMD} "" ; ${ECHO_CMD} "admin" ; ${ECHO_CMD} "opennap" ; ${ECHO_CMD} "") | ${WRKSRC}/setup -.if defined(NOPORTDOCS) - @${ECHO_MSG} "===> Documentation skipped." -.else - @${ECHO_MSG} "===> 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_MSG} "===> 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_MSG} "===> Installing startup script into ${PREFIX}/etc/rc.d." - ${INSTALL_SCRIPT} ${FILESDIR}/opennap.sh ${PREFIX}/etc/rc.d - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/net-p2p/opennap/distinfo b/net-p2p/opennap/distinfo deleted file mode 100644 index dba59225858c..000000000000 --- a/net-p2p/opennap/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (opennap-0.44.tar.gz) = 9de766b0833ef023bb647ac4ec89001e2d1d524f16bf95a58011e685bd640a00 -SIZE (opennap-0.44.tar.gz) = 330323 diff --git a/net-p2p/opennap/files/opennap.sh b/net-p2p/opennap/files/opennap.sh deleted file mode 100644 index ecf5937fc025..000000000000 --- a/net-p2p/opennap/files/opennap.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -start) - if [ -x ${PREFIX}/sbin/opennap ]; then - ${PREFIX}/sbin/opennap > /dev/null 2>&1 & - echo -n ' opennap' - fi - ;; -stop) - [ -r ${PREFIX}/share/opennap/pid ] && kill -15 `cat ${PREFIX}/share/opennap/pid` > /dev/null && rm -f ${PREFIX}/share/opennap/pid && echo -n ' opennap' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - ;; -esac - -exit 0 diff --git a/net-p2p/opennap/files/pkg-message.in b/net-p2p/opennap/files/pkg-message.in deleted file mode 100644 index 475a03b6158c..000000000000 --- a/net-p2p/opennap/files/pkg-message.in +++ /dev/null @@ -1,25 +0,0 @@ -************************************************* - -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-descr b/net-p2p/opennap/pkg-descr deleted file mode 100644 index 2ee0d95aa682..000000000000 --- a/net-p2p/opennap/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -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/ diff --git a/net-p2p/opennap/pkg-plist b/net-p2p/opennap/pkg-plist deleted file mode 100644 index 36a5302a893b..000000000000 --- a/net-p2p/opennap/pkg-plist +++ /dev/null @@ -1,17 +0,0 @@ -sbin/opennap -sbin/metaserver -sbin/setup -share/opennap/users -share/opennap/examples/sample.block -share/opennap/examples/sample.channels -share/opennap/examples/sample.config -share/opennap/examples/sample.filter -share/opennap/examples/sample.motd -share/opennap/examples/sample.servers -share/opennap/examples/sample.users -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/napster.txt -@dirrm share/opennap/examples -@dirrm share/opennap -%%PORTDOCS%%@dirrm %%DOCSDIR%% -etc/rc.d/opennap.sh |