- fix potential 64-bit issue by including a missing header

- regen PLIST
- specify license version
This commit is contained in:
jasper 2009-02-14 09:46:59 +00:00
parent 9e25d8e25b
commit e68e51c9b0
4 changed files with 32 additions and 19 deletions

View File

@ -1,15 +1,15 @@
# $OpenBSD: Makefile,v 1.15 2007/09/15 21:26:02 simon Exp $
# $OpenBSD: Makefile,v 1.16 2009/02/14 09:46:59 jasper Exp $
COMMENT= opensource Napster(tm) server
DISTNAME= opennap-0.44
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= audio net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opennap/}
HOMEPAGE= http://opennap.sourceforge.net/
# GPL
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
@ -19,13 +19,12 @@ WANTLIB= c z
SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= \
--enable-email \
--enable-resume \
--datadir=${SYSCONFDIR} \
--with-uid=_opennap \
--with-gid=_opennap
# --enable-chroot \ (breaks uid, gid, and ip lookup)
CONFIGURE_ARGS= --enable-email \
--enable-resume \
--datadir=${SYSCONFDIR} \
--with-uid=_opennap \
--with-gid=_opennap
# --enable-chroot \ (breaks uid, gid, and ip lookup)
.if ${MACHINE_ARCH} == "vax"
CFLAGS+= -O0 # XXX compiler bugs

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-glob_c,v 1.1 2009/02/14 09:46:59 jasper Exp $
Fix potential 64-bit issue.
--- glob.c.orig Sat Feb 14 10:42:13 2009
+++ glob.c Sat Feb 14 10:42:23 2009
@@ -8,6 +8,7 @@
#include "config.h"
#endif
+#include <string.h>
#include <ctype.h>
#include "opennap.h"

View File

@ -1,6 +1,6 @@
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.
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.

View File

@ -1,9 +1,9 @@
@comment $OpenBSD: PLIST,v 1.8 2004/09/24 08:50:39 espie Exp $
@comment $OpenBSD: PLIST,v 1.9 2009/02/14 09:46:59 jasper Exp $
@newgroup _opennap:500
@newuser _opennap:500:_opennap:daemon:Opennap Account:/nonexistent:/sbin/nologin
sbin/metaserver
sbin/opennap
sbin/setup
@bin sbin/metaserver
@bin sbin/opennap
@bin sbin/setup
share/doc/opennap/
share/doc/opennap/FAQ
share/doc/opennap/README
@ -17,9 +17,9 @@ share/examples/opennap/sample.filter
share/examples/opennap/sample.motd
share/examples/opennap/sample.servers
share/examples/opennap/sample.users
@mode 700
@owner _opennap
@group _opennap
@mode 700
@sample ${SYSCONFDIR}/opennap/
@mode 600
@sample ${SYSCONFDIR}/opennap/users