=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/anoncvs.shar,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- www/anoncvs.shar 2002/02/06 18:54:07 1.12 +++ www/anoncvs.shar 2002/08/13 02:12:47 1.13 @@ -61,7 +61,7 @@ X X********************************************************************** XSTEP 1) find enough disk space. -X you need roughly 1.5GB. +X you need roughly 1.6GB. X mount it on /open X if you are not able to mount it as /open, substitute it's location X throughout the rest of this description @@ -136,21 +136,31 @@ Xsources on an OpenBSD machine, using obj directories. X Xcreate tmp space for the account -X cd var; ln -s ../tmp tmp -X chmod a+rwx tmp +X # cd var; ln -s ../tmp tmp +X # chmod a+rwx tmp X -X mkdir usr/{bin,lib} -X cp /usr/bin/{ci,co,cvs,diff,diff3,gzip,rcs,rcsclean} usr/bin/ -X cp /usr/bin/{rcsdiff,rcsfreeze,rcsmerge,rlog,sdiff,zdiff} usr/bin/ -X cp /usr/bin/grep usr/bin +X # mkdir usr/{bin,lib} +X # cp /usr/bin/cvs usr/bin/ X Xif your system has ld.so in /usr/libexec, -X mkdir usr/libexec -X cp /usr/libexec/ld.so usr/libexec/ +X # mkdir usr/libexec +X # cp /usr/libexec/ld.so usr/libexec/ X -Xif using shared libraries, copy the shared libs you might need: -X cp /usr/lib/lib*.so.* usr/lib/ +Xif using shared libraries, use ldd to find out which shared libs you need: +X # ldd /usr/bin/cvs +X /usr/bin/cvs: +X -lz.1 => /usr/lib/libz.so.1.4 (0x40097000) +X -lgssapi.1 => /usr/lib/libgssapi.so.1.0 (0x400a4000) +X -lkrb.10 => /usr/lib/libkrb.so.10.0 (0x400ae000) +X -lkrb5.4 => /usr/lib/libkrb5.so.4.0 (0x400c8000) +X -lasn1.2 => /usr/lib/libasn1.so.2.0 (0x400ff000) +X -lcrypto.6 => /usr/lib/libcrypto.so.6.0 (0x4011d000) +X -ldes.7 => /usr/lib/libdes.so.7.0 (0x40203000) +X -lkafs.10 => /usr/lib/libkafs.so.10.0 (0x4020d000) +X -lc.28 => /usr/lib/libc.so.28.5 (0x40210000) X +X and then copy the required libraries to usr/lib/ +X Xas a final pass, make sure that all the files you have just created are Xnot world writable (except dev/null) X @@ -313,60 +323,21 @@ Xtotal 1968 Xdrwxr-xr-x 2 deraadt wheel 512 Nov 30 1995 ./ Xdrwxr-xr-x 5 deraadt wheel 512 Nov 30 1995 ../ -X--wx--x--x 1 deraadt wheel 73728 Jun 18 09:46 ci* -X--wx--x--x 1 deraadt wheel 73728 Jun 18 09:46 co* X--wx--x--x 1 deraadt wheel 317787 Jun 18 09:46 cvs* -X--wx--x--x 1 deraadt wheel 73728 Jun 18 09:46 diff* -X--wx--x--x 1 deraadt wheel 24576 Jun 18 09:46 diff3* -X--wx--x--x 1 deraadt wheel 90112 Jun 18 09:46 gzip* -X--wx--x--x 1 deraadt wheel 73728 Jun 18 09:46 rcs* -X--wx--x--x 1 deraadt wheel 65536 Jun 18 09:46 rcsclean* -X--wx--x--x 1 deraadt wheel 57344 Jun 18 09:46 rcsdiff* -X--wx--x--x 1 deraadt wheel 3228 Jun 18 09:46 rcsfreeze* -X--wx--x--x 1 deraadt wheel 57344 Jun 18 09:46 rcsmerge* -X--wx--x--x 1 deraadt wheel 57344 Jun 18 09:46 rlog* -X--wx--x--x 1 deraadt wheel 24576 Jun 18 09:46 sdiff* -X--wx--x--x 1 deraadt wheel 2006 Jun 18 09:46 zdiff* X Xusr/lib: Xtotal 5594 Xdrwxr-xr-x 2 deraadt wheel 1024 Jun 18 09:50 ./ Xdrwxr-xr-x 5 deraadt wheel 512 Nov 30 1995 ../ -X-rw-r--r-- 1 deraadt wheel 16665 Jun 18 09:50 libacl.so.4.0 -X-rw-r--r-- 1 deraadt wheel 351730 Jun 18 09:50 libc.so.12.3 -X-rw-r--r-- 1 deraadt wheel 377359 Jun 18 09:50 libc.so.12.6 -X-rw-r--r-- 1 deraadt wheel 16608 Jun 18 09:50 libcrypt.so.0.0 -X-rw-r--r-- 1 deraadt wheel 16465 Jun 18 09:50 libcrypt.so.1.0 -X-rw-r--r-- 1 deraadt wheel 44424 Jun 18 09:50 libcurses.so.2.1 -X-rw-r--r-- 1 deraadt wheel 86198 Jun 18 09:50 libcurses.so.3.0 -X-rw-r--r-- 1 deraadt wheel 42254 Jun 18 09:50 libdes.so.4.1 -X-rw-r--r-- 1 deraadt wheel 66099 Jun 18 09:50 libedit.so.0.0 -X-rw-r--r-- 1 deraadt wheel 43131 Jun 18 09:50 libform.so.0.0 -X-rw-r--r-- 1 deraadt wheel 387976 Jun 18 09:50 libg++.so.2.0 -X-rw-r--r-- 1 deraadt wheel 305738 Jun 18 09:50 libg++.so.27.1 -X-rw-r--r-- 1 deraadt wheel 25544 Jun 18 09:50 libgnumalloc.so.0.0 -X-rw-r--r-- 1 deraadt wheel 42696 Jun 18 09:50 libiberty.so.0.0 -X-rw-r--r-- 1 deraadt wheel 25282 Jun 18 09:50 libkadm.so.4.0 -X-rw-r--r-- 1 deraadt wheel 16610 Jun 18 09:50 libkafs.so.4.0 -X-rw-r--r-- 1 deraadt wheel 25539 Jun 18 09:50 libkdb.so.4.0 -X-rw-r--r-- 1 deraadt wheel 59943 Jun 18 09:50 libkrb.so.4.0 -X-rw-r--r-- 1 deraadt wheel 25328 Jun 18 09:50 libkvm.so.4.0 -X-rw-r--r-- 1 deraadt wheel 102104 Jun 18 09:50 libm.so.0.1 -X-rw-r--r-- 1 deraadt wheel 26540 Jun 18 09:50 libmenu.so.0.0 -X-rw-r--r-- 1 deraadt wheel 44424 Jun 18 09:50 libocurses.so.2.1 -X-rw-r--r-- 1 deraadt wheel 16881 Jun 18 09:50 libpanel.so.0.0 -X-rw-r--r-- 1 deraadt wheel 60222 Jun 18 09:50 libpcap.so.0.0 -X-rw-r--r-- 1 deraadt wheel 25060 Jun 18 09:50 libresolv.so.1.0 -X-rw-r--r-- 1 deraadt wheel 16465 Jun 18 09:50 libresolv.so.2.0 -X-rw-r--r-- 1 deraadt wheel 33538 Jun 18 09:50 libskey.so.0.0 -X-rw-r--r-- 1 deraadt wheel 25764 Jun 18 09:50 libss.so.4.0 -X-rw-r--r-- 1 deraadt wheel 277954 Jun 18 09:50 libstdc++.so.27.1 -X-rw-r--r-- 1 deraadt wheel 16835 Jun 18 09:50 libtelnet.so.1.0 -X-rw-r--r-- 1 deraadt wheel 16691 Jun 18 09:50 libtermcap.so.0.0 -X-rw-r--r-- 1 deraadt wheel 16691 Jun 18 09:50 libtermlib.so.0.0 -X-rw-r--r-- 1 deraadt wheel 75039 Jun 18 09:50 libtermlib.so.1.0 -X-rw-r--r-- 1 deraadt wheel 16625 Jun 18 09:50 libutil.so.3.1 -X-rw-r--r-- 1 deraadt wheel 25628 Jun 18 09:50 libutil.so.3.2 +X-rw-r--r-- 1 deraadt wheel 351730 Jun 18 09:50 libasn1.so.2.0 +X-rw-r--r-- 1 deraadt wheel 351730 Jun 18 09:50 libc.so.28.5 +X-rw-r--r-- 1 deraadt wheel 16608 Jun 18 09:50 libcrypto.so.6.0 +X-rw-r--r-- 1 deraadt wheel 44424 Jun 18 09:50 libdes.so.7.0 +X-rw-r--r-- 1 deraadt wheel 16665 Jun 18 09:50 libgssapi.so.1.0 +X-rw-r--r-- 1 deraadt wheel 86198 Jun 18 09:50 libkafs.so.10.0 +X-rw-r--r-- 1 deraadt wheel 42254 Jun 18 09:50 libkrb.so.10.0 +X-rw-r--r-- 1 deraadt wheel 66099 Jun 18 09:50 libkrb5.so.4.0 +X-rw-r--r-- 1 deraadt wheel 387976 Jun 18 09:50 libz.so.1.4 X Xusr/libexec: Xtotal 100 @@ -389,7 +360,7 @@ XNOTES FOR OTHER PLATFORMS: X XIf you're not that familiar with your other platform (i.e. you haven't -Xbuilt a chroot jail for a server on it) You may be better off +Xbuilt a chroot jail for a server on it) you may be better off Xfinding an OpenBSD machine to use. (and duplicating the example above) X X**SunOS 5) @@ -413,19 +384,12 @@ X X GNU X cvs (from the OpenBSD source tree) -X diff[utils] (unless you're running *BSD, probably better get it from a gnu -X mirror...the Makefile doesn't work otherwise) -X rcs (from the OpenBSD source tree) X XSome notes on compiling. X -X rcs must have diff3 capable of diff3 -m during configure. -X OSF doesn't by default, thus I had to compile diffutils first. -X X cvs fails to install if you don't have makeinfo ... just search for the X string ' install-info$' with regex and remove it from the Makefile for the X install and you'll be fine, or install 'texinfo', your choice. -X END-of-README echo x - anoncvssh.c sed 's/^X//' >anoncvssh.c << 'END-of-anoncvssh.c'