diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-07 15:35:14 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-07 15:35:14 +0000 |
commit | 6355b216b759349ede9f3fdb3826d6d14b0ae82a (patch) | |
tree | 4fd56c49c8a25b5353b543d91511a227f5e6a2d0 /security/cfs/patches/patch-aa | |
parent | 1c6fd1b4dbb2d20db151fdd07a0db31585ec2f4f (diff) | |
download | pkgsrc-6355b216b759349ede9f3fdb3826d6d14b0ae82a.tar.gz |
* Use NetBSD's getpass() function instead of the homegrown one, as the
homegrown one doesn't seem to hide the password when it is being entered.
* Add a rc.d style script to start cfsd, and also install the documentation
for the filesystem.
* Rename c* commands to cfs_* to avoid conflicts with coda programs with
a similar name.
Diffstat (limited to 'security/cfs/patches/patch-aa')
-rw-r--r-- | security/cfs/patches/patch-aa | 76 |
1 files changed, 15 insertions, 61 deletions
diff --git a/security/cfs/patches/patch-aa b/security/cfs/patches/patch-aa index 745c4621ccd..a23447df2cf 100644 --- a/security/cfs/patches/patch-aa +++ b/security/cfs/patches/patch-aa @@ -1,80 +1,34 @@ -$NetBSD: patch-aa,v 1.2 2001/06/05 11:15:42 agc Exp $ +$NetBSD: patch-aa,v 1.3 2001/06/07 15:35:15 jlam Exp $ ---- Makefile 2001/06/05 09:15:05 1.1 -+++ Makefile 2001/06/05 10:08:08 -@@ -79,13 +79,13 @@ +--- Makefile.orig Thu May 3 11:29:21 2001 ++++ Makefile Thu Jun 7 07:28:23 2001 +@@ -74,18 +74,19 @@ + #CC=cc + #COPT=-O -DNOT_ANSI_C -DPROTOTYPES=0 + # for gcc, use +-CC=gcc +-COPT=-O2 -DPROTOTYPES=1 ++#CC=gcc ++#COPT=-O2 -DPROTOTYPES=1 ++CFLAGS+=${CFS_CFLAGS} #1B: paths: #some peple like /usr/local/sbin instead of /usr/local/etc -BINDIR=/usr/local/bin -ETCDIR=/usr/local/etc +BINDIR=${PREFIX}/bin -+ETCDIR=${PREFIX}/libexec ++ETCDIR=${PREFIX}/sbin PRINTCMD=enscript -Gr2 # you only need RSAREF for ESM # these paths WILL have to be changed... -RSALIB=/usr/mab/rsaref/install/rsaref.a -RINCLUDES=/usr/mab/rsaref/source +#RSALIB=/usr/mab/rsaref/install/rsaref.a -+RINCLUDES=${PREFIX}/include ++#RINCLUDES=/usr/mab/rsaref/source # if you're a paranoid fascist, you might want to configure # default timeouts on the attach command. If you do, -@@ -104,6 +104,8 @@ - # Uncomment the options for the your local platform. - # You'll need to figure out how to install man pages yourself. - -+OS!= uname -s -+ - ## Use these for vanilla SUNOS 4.x . - #CFLAGS=$(COPT) -I$(RINCLUDES) -DSUN - #LIBS= -@@ -116,10 +118,12 @@ - ## Linux dists). - ## See NOTE TO LINUX USERS above, and also README.linux, - ## if you can't make things work. --#CFLAGS=$(COPT) -U__STDC__ -Dd_fileno=d_ino -I$(RINCLUDES) --#LIBS= --#COMPAT= --#RPCOPTS= -k -b -+.if ${OS} == "Linux" -+CFLAGS=$(COPT) -U__STDC__ -Dd_fileno=d_ino -I$(RINCLUDES) -+LIBS= -+COMPAT= -+RPCOPTS= -k -b -+.endif - - ## A few Linux users have reported success with these - ## options: -@@ -211,15 +215,18 @@ - #* Use these for NetBSD 1.5 - ## For mounting, use - ## mount -o intr,-2 127.0.0.1:/null /crypt --#CFLAGS=$(COPT) -DBSD44 -DANYPORT -DCFS_PORT=2049 -DSHORTLINKS -I$(RINCLUDES) -traditional --#COMPAT=-lcompat --#RPCOPTS=-b -- --## Solaris 2.3 / SUNOS 5.x --#CFLAGS=$(COPT) -DSOLARIS2X -DPORTMAP -I$(RINCLUDES) -DPTMX --#LIBS=-lsocket -lnsl --#COMPAT= --#RPCOPTS= -+.if ${OS} == "NetBSD" -+CFLAGS=$(COPT) -DBSD44 -DANYPORT -DCFS_PORT=2049 -DSHORTLINKS -I$(RINCLUDES) -traditional -+COMPAT=-lcompat -+RPCOPTS=-b -+.endif -+ -+.if ${OS} == "SunOS" -+CFLAGS=$(COPT) -DSOLARIS2X -DPORTMAP -I$(RINCLUDES) -DPTMX -+LIBS=-lsocket -lnsl -+COMPAT= -+RPCOPTS= -+.endif - - ## not sure what to do for NeXT. I think this works: - #CFLAGS=$(COPT) -posix -D_BSD -DANYPORT -I$(RINCLUDES) -@@ -229,7 +236,7 @@ +@@ -229,7 +230,7 @@ # (3/3) CONFIGURE: one last thing #========================================================================== # finally, comment out the next line: |