From 51c41cfee1e01e3d84e27c734530285ef64497e3 Mon Sep 17 00:00:00 2001 From: brad Date: Wed, 23 Aug 2000 07:04:49 +0000 Subject: [PATCH] add opennap port; -- OpenNAP open-source Napster(tm) server --- audio/opennap/Makefile | 32 ++++++++++++++++++++++++++++++++ audio/opennap/files/md5 | 3 +++ audio/opennap/pkg/COMMENT | 1 + audio/opennap/pkg/DESCR | 8 ++++++++ audio/opennap/pkg/MESSAGE | 13 +++++++++++++ audio/opennap/pkg/PLIST | 15 +++++++++++++++ 6 files changed, 72 insertions(+) create mode 100644 audio/opennap/Makefile create mode 100644 audio/opennap/files/md5 create mode 100644 audio/opennap/pkg/COMMENT create mode 100644 audio/opennap/pkg/DESCR create mode 100644 audio/opennap/pkg/MESSAGE create mode 100644 audio/opennap/pkg/PLIST diff --git a/audio/opennap/Makefile b/audio/opennap/Makefile new file mode 100644 index 00000000000..343401eb730 --- /dev/null +++ b/audio/opennap/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2000/08/23 07:04:49 brad Exp $ + +DISTNAME= opennap-0.36 +CATEGORIES= audio net +NEED_VERSION= 1.310 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= opennap + +HOMEPAGE= http://opennap.sourceforge.net/ + +MAINTAINER= brad@openbsd.org + +PERMIT_PACKAGE_CDROM= +PERMIT_PACKAGE_FTP= +PERMIT_DISTFILES_CDROM= +PERMIT_DISTFILES_FTP= + +USE_GMAKE= Yes +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS= --enable-resume + +DOCS= README napster.txt + +post-install: + (echo "${PREFIX}/share/opennap"; echo "admin"; echo "opennap"; echo "") | ${WRKSRC}/setup + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/opennap + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opennap + @chown -R nobody:nobody ${PREFIX}/share/opennap + cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/opennap + ${INSTALL_DATA} ${WRKSRC}/sample.* ${PREFIX}/share/examples/opennap + +.include diff --git a/audio/opennap/files/md5 b/audio/opennap/files/md5 new file mode 100644 index 00000000000..9864126e3ea --- /dev/null +++ b/audio/opennap/files/md5 @@ -0,0 +1,3 @@ +MD5 (opennap-0.36.tar.gz) = 89a93049a1b774613b8097d921e0e55e +RMD160 (opennap-0.36.tar.gz) = dc564e93bba5e6aa7c3051a59e547d43af8e8856 +SHA1 (opennap-0.36.tar.gz) = 92c9f43b360f42999d4ac3e1621cd4e69788d39a diff --git a/audio/opennap/pkg/COMMENT b/audio/opennap/pkg/COMMENT new file mode 100644 index 00000000000..e215e06c429 --- /dev/null +++ b/audio/opennap/pkg/COMMENT @@ -0,0 +1 @@ +OpenNAP open-source Napster(tm) server diff --git a/audio/opennap/pkg/DESCR b/audio/opennap/pkg/DESCR new file mode 100644 index 00000000000..8976a906dbe --- /dev/null +++ b/audio/opennap/pkg/DESCR @@ -0,0 +1,8 @@ +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: ${HOMEPAGE} diff --git a/audio/opennap/pkg/MESSAGE b/audio/opennap/pkg/MESSAGE new file mode 100644 index 00000000000..156809cc5ab --- /dev/null +++ b/audio/opennap/pkg/MESSAGE @@ -0,0 +1,13 @@ +************************************************* +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?" +************************************************* diff --git a/audio/opennap/pkg/PLIST b/audio/opennap/pkg/PLIST new file mode 100644 index 00000000000..a1b3be2cf22 --- /dev/null +++ b/audio/opennap/pkg/PLIST @@ -0,0 +1,15 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2000/08/23 07:04:49 brad Exp $ +sbin/opennap +sbin/metaserver +sbin/setup +share/doc/opennap/README +share/doc/opennap/napster.txt +share/examples/opennap/sample.channels +share/examples/opennap/sample.conf +share/examples/opennap/sample.motd +share/examples/opennap/sample.servers +share/examples/opennap/sample.users +share/opennap/users +@dirrm share/doc/opennap +@dirrm share/examples/opennap/ +@dirrm share/opennap