View | Details | Raw Unified | Return to bug 12926
Collapse All | Expand All

(-)bnetd/Makefile (-7 / +7 lines)
Lines 6-12 Link Here
6
# $Id: Makefile,v 1.4 1999/07/09 00:49:29 cpiazza Exp $
6
# $Id: Makefile,v 1.4 1999/07/09 00:49:29 cpiazza Exp $
7
#
7
#
8
8
9
DISTNAME=	bnetd-0.4.9
9
DISTNAME=	bnetd-0.4.15.1
10
CATEGORIES=	games net
10
CATEGORIES=	games net
11
MASTER_SITES=	http://www.bnetd.org/files/
11
MASTER_SITES=	http://www.bnetd.org/files/
12
12
Lines 16-29 Link Here
16
MAN4=		bnetd.conf.4 bntext.4
16
MAN4=		bnetd.conf.4 bntext.4
17
MLINKS=		bntext.4 bnmotd.txt.4 bntext.4 bnnews.txt.4
17
MLINKS=		bntext.4 bnmotd.txt.4 bntext.4 bnnews.txt.4
18
18
19
do-build:
19
WRKSRC=		${WRKDIR}/${DISTNAME}/src
20
	@(cd ${WRKSRC}/src; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS})
20
HAS_CONFIGURE=	yes
21
21
22
do-install:
22
do-install:
23
	cd ${WRKSRC}/bin; ${INSTALL_PROGRAM} bnchat bnftp bnpass ${PREFIX}/bin
23
	cd ${WRKSRC}/../bin; ${INSTALL_PROGRAM} * ${PREFIX}/bin
24
	cd ${WRKSRC}/sbin; ${INSTALL_PROGRAM} bnetd ${PREFIX}/sbin
24
	cd ${WRKSRC}/../sbin; ${INSTALL_PROGRAM} * ${PREFIX}/sbin
25
	cd ${WRKSRC}/man; ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1; ${INSTALL_MAN} ${MAN4} ${MAN4PREFIX}/man/man4
25
	cd ${WRKSRC}/../man; ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1; ${INSTALL_MAN} ${MAN4} ${MAN4PREFIX}/man/man4
26
	${MKDIR} ${PREFIX}/bnetd; ${CP} -R ${WRKSRC}/files ${WRKSRC}/users ${WRKSRC}/conf ${PREFIX}/bnetd
26
	${MKDIR} ${PREFIX}/bnetd; ${CP} -R ${WRKSRC}/../files ${WRKSRC}/../users ${WRKSRC}/../conf ${PREFIX}/bnetd
27
27
28
post-install:
28
post-install:
29
	@if [ ! -f ${PREFIX}/etc/rc.d/bnetd.sh ]; then \
29
	@if [ ! -f ${PREFIX}/etc/rc.d/bnetd.sh ]; then \
(-)bnetd/files/md5 (-1 / +1 lines)
Line 1 Link Here
1
MD5 (bnetd-0.4.9.tar.gz) = 399a5f0f0e4ad77e3f276a73c2a44429
1
MD5 (bnetd-0.4.15.1.tar.gz) = ff4049200e236f80e231e8c48afc7651
(-)bnetd/patches/patch-aa (-11 lines)
Lines 1-11 Link Here
1
--- src/Makefile.orig	Fri Jul  9 17:41:52 1999
2
+++ src/Makefile	Fri Jul  9 17:42:17 1999
3
@@ -23,7 +23,7 @@
4
 
5
 # GCC
6
 #CC	= gcc -pipe -s -O2
7
-CC	= gcc -pipe -g -O2
8
+CC	+= ${CFLAGS}
9
 #CC	= gcc -pipe -pg -g -O0
10
 #CC	= gcc -pipe -g -O0 -Wall -Wshadow -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wnested-externs
11
 #CC	= gcc -pipe -g -O2 -Wall -Wshadow -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wnested-externs
(-)bnetd/patches/patch-ab (-12 lines)
Lines 1-12 Link Here
1
--- src/command.c.orig	Fri Jul  9 17:44:02 1999
2
+++ src/command.c	Fri Jul  9 17:44:29 1999
3
@@ -17,6 +17,9 @@
4
  * along with this program; if not, write to the Free Software
5
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
6
  */
7
+
8
+#include <sys/types.h>
9
+
10
 #include "setup.h"
11
 #include <stdio.h>
12
 #include <string.h>
(-)bnetd/pkg/PLIST (+3 lines)
Lines 1-6 Link Here
1
bin/bnbot
1
bin/bnchat
2
bin/bnchat
2
bin/bnftp
3
bin/bnftp
3
bin/bnpass
4
bin/bnpass
5
bin/bnstat
4
sbin/bnetd
6
sbin/bnetd
7
sbin/bnproxy
5
etc/rc.d/bnetd.sh
8
etc/rc.d/bnetd.sh
6
@unexec rm -rf %D/bnetd 2>/dev/null || true
9
@unexec rm -rf %D/bnetd 2>/dev/null || true

Return to bug 12926