Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 1999 16:25:53 +0700
From:      bp@butya.kz
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12408: New port for ncplib (Netware client)
Message-ID:  <E10yBCD-0005Xt-00@lion.butya.kz>

next in thread | raw e-mail | index | archive | help

>Number:         12408
>Category:       ports
>Synopsis:       New port for ncplib (Netware client)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 27 02:30:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Boris Popov
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
home
>Environment:

	none

>Description:

	This port can build and install Netware client. It requires
kernel source tree to build.

>How-To-Repeat:

	A shar file follows.

>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ncplib
#	ncplib/files
#	ncplib/files/md5
#	ncplib/Makefile
#	ncplib/pkg
#	ncplib/pkg/COMMENT
#	ncplib/pkg/DESCR
#	ncplib/pkg/MESSAGE
#	ncplib/pkg/PLIST
#	ncplib/scripts
#	ncplib/scripts/configure
#
echo c - ncplib
mkdir -p ncplib > /dev/null 2>&1
echo c - ncplib/files
mkdir -p ncplib/files > /dev/null 2>&1
echo x - ncplib/files/md5
sed 's/^X//' >ncplib/files/md5 << 'END-of-ncplib/files/md5'
XMD5 (ncplib-1.3b9.tar.gz) = 22343ff8b7754bec6c7cda78c7ee9862
END-of-ncplib/files/md5
echo x - ncplib/Makefile
sed 's/^X//' >ncplib/Makefile << 'END-of-ncplib/Makefile'
X# New ports collection makefile for:	ncplib
X# Version required:     1.3b9
X# Date created:		26 Jun 1999
X# Whom:			Boris Popov <bp@butya.kz>
X#
X# $Id$
X#
X
XDISTNAME=	ncplib-1.3b9
XCATEGORIES=	net
XMASTER_SITES=	ftp://ftp.butya.kz/pub/nwlib/ \
X		http://www.chat.ru/~rbp/pub/nwlib/
X
XMAINTAINER=	bp@butya.kz
X
X.if !exists(/usr/src/sys/kern/vnode_if.src)
XBROKEN=		requires kernel source
X.endif
X
XNO_PACKAGE=	is interactive
X
XMANCOMPRESSED=	yes
X
XMAN1=	ncpasswd.1 ncplogin.1 ncplogout.1 ncprint.1 ncpsend.1 ncpurge.1
XMAN8=	mount_nwfs.8
X
X.include <bsd.port.mk>
X
X.if ${OSVERSION} < 310000
X.error this program requires FreeBSD 3.1-stable or later.
X.endif
END-of-ncplib/Makefile
echo c - ncplib/pkg
mkdir -p ncplib/pkg > /dev/null 2>&1
echo x - ncplib/pkg/COMMENT
sed 's/^X//' >ncplib/pkg/COMMENT << 'END-of-ncplib/pkg/COMMENT'
XNetWare client for FreeBSD.
END-of-ncplib/pkg/COMMENT
echo x - ncplib/pkg/DESCR
sed 's/^X//' >ncplib/pkg/DESCR << 'END-of-ncplib/pkg/DESCR'
Xncplib is a free client for NetWare servers.
XWWW: http://www.chat.ru/~rbp/ncpleng.html
X
X--
XBoris Popov
Xrbp@chat.ru
END-of-ncplib/pkg/DESCR
echo x - ncplib/pkg/MESSAGE
sed 's/^X//' >ncplib/pkg/MESSAGE << 'END-of-ncplib/pkg/MESSAGE'
XAfter building please read README file in the build directory.
END-of-ncplib/pkg/MESSAGE
echo x - ncplib/pkg/PLIST
sed 's/^X//' >ncplib/pkg/PLIST << 'END-of-ncplib/pkg/PLIST'
Xbin/ncpasswd
Xbin/ncplist
Xbin/ncplogin
Xbin/ncplogout
Xbin/ncplpd
Xbin/ncprint
Xbin/ncpsend
Xbin/ncpurge
Xsbin/ncpsvc
X@cwd /
Xmodules/nwfs.ko
Xsbin/mount_nwfs
END-of-ncplib/pkg/PLIST
echo c - ncplib/scripts
mkdir -p ncplib/scripts > /dev/null 2>&1
echo x - ncplib/scripts/configure
sed 's/^X//' >ncplib/scripts/configure << 'END-of-ncplib/scripts/configure'
X#!/bin/sh
X
XCMK=${WRKSRC}/config.mk
X
Xread_yn() {
X	read res                                        
X	case "$res" in                                     
X		y*) done=y ;;
X		*)  res=n ;;
X	esac
X}
X
X
Xecho -n "Do you want to include 866 codepage support ? [n]"
Xread_yn
Xuse866=$res
X
Xecho "SRCTREE=/usr/src" > $CMK
Xecho "PREFIX="$PREFIX >> $CMK
Xecho "BUILDKLD=yes" >> $CMK
X
Xif [ $use866 = y ]; then
X	echo "NCP_NLS_KOI_866=" >> $CMK
X	echo "NCP_NLS_DEFAULT=NCP_NLS_KOI_866" >> $CMK
Xfi
END-of-ncplib/scripts/configure
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E10yBCD-0005Xt-00>