drac.patch update for drac 1.12

Hendrik Visage hvisage at envisage.co.za
Sun Feb 2 01:24:34 GMT 2003


On Sat, Feb 01, 2003 at 04:41:02PM +0100, Auke Kok wrote:
> On Sat, 2003-02-01 at 16:32, Hendrik Visage wrote:
> > On Sat, Feb 01, 2003 at 05:30:27PM +0200, Hendrik Visage wrote:
> > > 
> > 
> > And as usual, it's the second post :(
> 
> could you report that patch but then 'diff -u ' instead? thx

I prefer Context :), as others could follow what have changed much easier
than unified :)
In fact, I but copied the changes in the previous (current), and imitated
it on the new ones, and I did it via a context diff as intermediate step :(

Now right, let's see
vi /var/lib/lunar/moonbase/mail/drac/BUILD
/patch
iexit 255 &&
:wq
lin drac
cp /usr/src/drac-1.12/Makefile ~root/drac.makefile
cd /usr/src/drac-1.12
patch < /var/lib/lunar/moonbase/mail/drac/drac.patch
cd
diff -u /usr/src/drac-1.12/Makefile ~root/drac.makefile >sofar.drac.patch

And I'll leave the patching of the patch file to sofar :)

Greetz
Hendrik
-------------- next part --------------
--- /usr/src/drac-1.12/Makefile	2003-02-02 01:21:22.000000000 +0200
+++ /root/drac.makefile	2003-02-02 01:20:36.000000000 +0200
@@ -5,9 +5,9 @@
 
 # Paths
 
-INSTALL = /usr/bin/install
-EBIN = /usr/sbin
-MAN = /usr/share/man/man
+INSTALL = /usr/ucb/install
+EBIN = /usr/local/sbin
+MAN = /usr/local/man/man
 
 # OS-Dependant settings
 
@@ -33,26 +33,26 @@
 # -DCIDR_KEY	# keys in CIDR format
 # -DTERM_KD	# keys and data nul-terminated
 
-DEFS = -DSOCK_RPC -DFCNTL_LOCK -DGETHOST -DDASH_C  -DREQ_HASH
+DEFS = -DTI_RPC -DFCNTL_LOCK -DSYSINFO
 
 # Compiler flags 
 CC = cc
 RANLIB = :
-CFLAGS = $(DEFS) -g 
+CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-4.1.25/build_unix
 #CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-3.1.17/build_unix
 #CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-2.4.14/Unix
 #CFLAGS = $(DEFS) -g -I/usr/local/src/db/db.1.85/PORT/sunos.5.2/include
-LDLIBS = -ldb
+LDLIBS = -L/usr/local/src/db/db-4.1.25/build_unix -lnsl -ldb-4.1
 #LDLIBS = -L/usr/local/src/db/db-3.1.17/build_unix -lnsl -ldb
 #LDLIBS = -L/usr/local/src/db/db-2.4.14/Unix -lnsl -ldb
 #LDLIBS = -L/usr/local/src/db/db.1.85/PORT/sunos.5.2 -lnsl -ldb
-TSTLIBS = -L. -ldrac 
-RPCGENFLAGS = -C -I
+TSTLIBS = -L. -ldrac -lnsl
+RPCGENFLAGS = 
 #RPCGENFLAGS = -C
 
 # Man sections
 MANLIB = 3
-MANADM = 1
+MANADM = 1m
 
 ## Nothing to change after this point
 


More information about the Lunar mailing list