Summary: NetWare file and print servers which run on Linux systems. Name: mars-nwe Version: 0.99pl17 Release: 4.fix Copyright: GPL Source: ftp://ftp.gwdg.de/pub/linux/misc/ncpfs/mars_nwe-0.99.pl17.tgz Source1: mars_nwe-mk.li Source2: mars_nwe-config.h Source3: mars_nwe-nwserv.conf Source4: mars_nwe-readme.txt Source5: mars_nwe.init Source6: mars_nwe.log Patch1: mars_nwe-glibc21.patch Patch2: mars_nwe-buffer.patch Group: System Environment/Daemons Prereq: /sbin/chkconfig BuildRoot: /var/tmp/%{name}-root %description The mars_nwe (MARtin Stover's NetWare Emulator) package enables Linux to provide both file and print services for NetWare clients (i.e., providing the services of a Novell NetWare file server). Mars_nwe allows the sharing of files between Linux machines and Novell NetWare clients, using NetWare's native IPX protocol suite. Install the mars_nwe package if you need a Novell NetWare file server on your Red Hat Linux system. %prep %setup -q -n mars_nwe %patch1 -p1 -b .glibc21 #%patch2 -p1 -b .buffer cp -f $RPM_SOURCE_DIR/mars_nwe-config.h ./config.h cp -f $RPM_SOURCE_DIR/mars_nwe-mk.li ./mk.li %build make %install rm -rf $RPM_BUILD_ROOT for I in sys/login sys/public sys/system bindery; do \ mkdir -p --mode=0755 $RPM_BUILD_ROOT/var/mars_nwe/$I done mkdir -p $RPM_BUILD_ROOT/var/log $RPM_BUILD_ROOT/var/run install -m644 $RPM_SOURCE_DIR/mars_nwe-readme.txt $RPM_BUILD_ROOT/var/mars_nwe/sys/readme.txt :> $RPM_BUILD_ROOT/var/log/mars_nwe.log chmod 0644 $RPM_BUILD_ROOT/var/log/mars_nwe.log :> $RPM_BUILD_ROOT/var/run/mars_nwe.routes chmod 0644 $RPM_BUILD_ROOT/var/run/mars_nwe.routes mkdir -p $RPM_BUILD_ROOT/etc $RPM_BUILD_ROOT/usr/sbin install -m644 examples/nwserv.stations $RPM_BUILD_ROOT/etc/nwserv.stations for I in nwserv nwconn ncpserv nwclient nwbind; do install -s -m 755 $I $RPM_BUILD_ROOT/usr/sbin/$I done install -m600 $RPM_SOURCE_DIR/mars_nwe-nwserv.conf $RPM_BUILD_ROOT/etc/nwserv.conf mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d $RPM_BUILD_ROOT/etc/logrotate.d install -m755 $RPM_SOURCE_DIR/mars_nwe.init $RPM_BUILD_ROOT/etc/rc.d/init.d/mars-nwe install -m644 $RPM_SOURCE_DIR/mars_nwe.log $RPM_BUILD_ROOT/etc/logrotate.d/mars-nwe.log %clean rm -rf $RPM_BUILD_ROOT %post /sbin/chkconfig --add mars-nwe %preun if [ $1 = 0 ]; then /sbin/chkconfig --del mars-nwe fi %files %dir /var/mars_nwe /var/mars_nwe/sys %dir /var/mars_nwe/bindery %ghost /var/log/mars_nwe.log %ghost /var/run/mars_nwe.routes %config /etc/nwserv.conf %config /etc/nwserv.stations %config /etc/logrotate.d/mars-nwe.log %doc README COPYING doc examples /usr/sbin/nwserv /usr/sbin/nwconn /usr/sbin/ncpserv /usr/sbin/nwclient /usr/sbin/nwbind %config /etc/rc.d/init.d/mars-nwe %changelog * Fri Oct 9 1999 Milan Kerslager - last broken patch removed * Fri Sep 3 1999 Bill Nottingham - add patch to fix some buffer overflows. * Mon Aug 16 1999 Bill Nottingham - initscript munging * Sat Jun 12 1999 Jeff Johnson - update to 0.99.pl17 * Thu Jun 10 1999 Dale Lovelace - fixed logrotate script * Mon May 24 1999 Bill Nottingham - update to 0.99.pl16 * Thu May 13 1999 Bill Nottingham - actually update source to 0.99.pl15. Doh! * Tue Mar 23 1999 Bill Nottingham - logrotate fixes * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 2) * Tue Mar 9 1999 Bill Nottingham - update to 0.99.pl15 * Tue Feb 23 1999 Bill Nottingham - update to 0.99.pl14 * Tue Aug 18 1998 Cristian Gafton - buildroot * Sun May 10 1998 Alan Cox - Made it compile with 2.1.* kernels and also gcc 2.0.7 where sysv_signal is correctly hidden as __sysv_signal. * Fri May 08 1998 Prospector System - translations modified for de, fr, tr * Sat May 02 1998 Cristian Gafton - upgraded to 0.99pl6 - enhanced initscripts * Tue Jan 13 1998 Erik Troan - use sysv_signal everywhere instead of normal signal -- this makes signal handlers not block signals, which mars_nwe expects - changed _ to - in name of logrotate config file * Sun Oct 19 1997 Erik Troan - updated for chkconfig - doesn't start by default - added status, restart options to init script * Fri Aug 22 1997 Erik Troan - built against glibc