"Fossies" - the Fresh Open Source Software Archive 
Member "scponly-20110526/build_extras/INSTALL.IRIX" (20 Nov 2003, 4231 Bytes) of package /linux/privat/old/scponly-20110526.tgz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 From Olaf.Menkens@IMK.Fraunhofer.DE Sat Oct 26 16:16:47 2002
2 Date: Wed, 09 Oct 2002 20:58:39 +0200
3 To: joe@sublimation.org
4 Subject: using scponly under IRIX
5
6 Hi Joe,
7
8 Thank you for developing scponly !
9 This is the solution to avoid anonymous ftp uploads, which I was looking
10 for quite a while.
11
12 Finally I managed to get scponly to work on SGI - IRIX in a chroot'ed
13 environment !
14
15 I had to do some minor changes:
16
17 - to compile, I needed to run "env CC=gcc gmake install-chroot",
18 (gmake is GNU-make from /usr/freeware)
19
20 - in the sources I needed to change the call to openlog(), as
21 "LOG_AUTHPRIV" is unknown in IRIX. I used "LOG_AUTH" instead. (the only
22 source patch necessary !) *** SOURCE CHANGE MADE IN SCPONLY-3.2 ***
23
24 - the manual page is formatted in a way IRIX can't understand. As I'm no
25 expert in this, I decided to format it under Linux "man scponly >
26 scponly.8.out". This can be installed after compression on IRIX as a
27 "preformatted" man page into /usr/share/catman/local/cat8 as scponly.Z.
28
29 - setting up a chrooted environment under IRIX is quite different to
30 what is done by setup_chroot: Below I appended a list of all files, I
31 needed to install/copy.
32
33 Notes to the chroot environment:
34 - IRIX supports three ABIs (o32, n32, n64), but most binaries use n32
35 today, so support for n32 should be sufficient (check with `file bin/*`)
36 - /lib32/rld is the runtime linker, which opens /dev/zero for some
37 unknown reason
38 - system(3) calls /sbin/sh, thus the link from /sbin to /bin
39 - "ldd bin/*", as done by setup_chroot doesn't work, as it fails for
40 the static binaries.
41
42 Olaf
43
44 P.S.: In case other users try to install scponly under IRIX, you might
45 decide to add this mail as "README.IRIX" to the source distribution. I
46 could also try to develop a patch to add IRIX compatibility, but this is
47 a rather difficult task, as some software (gcc, gmake, scp, libcrypto,
48 ...) are nonstandard tools under IRIX and might be installed to
49 different places than on my machine.
50
51
52 [server->home/scpguest] 172> ls -lR
53 total 8
54 drwxr-xr-x 2 root sys 4096 Oct 9 20:06 bin/
55 drwxr-xr-x 2 root sys 17 Oct 9 18:43 dev/
56 drwxr-xr-x 2 root sys 31 Oct 9 19:33 etc/
57 drwxr-xr-x 2 scpguest scponly 22 Oct 9 20:33 incoming/
58 drwxr-xr-x 2 root sys 83 Oct 9 18:50 lib32/
59 lrwxr-xr-x 1 root sys 3 Oct 9 20:00 sbin -> bin/
60 drwxr-xr-x 3 root sys 18 Oct 9 20:36 usr/
61
62 ./bin:
63 total 2432
64 -rwx--x--x 1 root sys 14060 Oct 9 15:13 chmod*
65 -rwx--x--x 1 root sys 14104 Oct 9 15:14 chown*
66 -rwx--x--x 1 root sys 13824 Oct 9 15:14 groups*
67 -rwx--x--x 1 root sys 22200 Oct 9 18:51 ldd*
68 -rwx--x--x 1 root sys 316588 Oct 9 15:14 ln*
69 -rwx--x--x 1 root sys 39620 Oct 9 19:25 ls*
70 -rwx--x--x 1 root sys 13992 Oct 9 15:13 mkdir*
71 lrwxr-xr-x 1 root sys 2 Oct 9 18:46 mv -> ln*
72 -rwx--x--x 1 root sys 9568 Oct 9 15:14 pwd*
73 -rwx--x--x 1 root sys 18224 Oct 9 15:13 rm*
74 -rwx--x--x 1 root sys 13792 Oct 9 15:13 rmdir*
75 -rwx--x--x 1 root sys 64904 Oct 9 15:13 scp*
76 -rwx--x--x 1 root sys 68424 Oct 9 15:13 sftp-server*
77 -rwx--x--x 1 root sys 606532 Oct 9 15:13 sh*
78
79 ./dev:
80 total 0
81 crw-rw-rw- 1 root sys 37, 0 Oct 9 20:29 zero
82
83 ./etc:
84 total 16
85 -rw-r--r-- 1 root sys 56 Oct 9 19:34 group
86 -rw-r--r-- 1 root sys 194 Oct 9 19:32 passwd
87
88 ./incoming:
89 total 0
90
91 ./lib32:
92 total 10664
93 -r-xr-xr-t 1 root sys 2684664 Oct 9 18:42 libc.so.1*
94 -rw-r--r-- 1 root sys 2053348 Oct 9 18:50 libcrypto.so.0
95 -r--r--r-- 1 root sys 88132 Oct 9 18:47 libgen.so
96 -rwxr-xr-x 1 root sys 132724 Oct 9 18:50 libz.so*
97 -rwxr-xr-x 1 root sys 490256 Oct 9 18:40 rld*
98
99 ./usr:
100 total 0
101 drwxr-xr-x 2 root sys 38 Oct 9 20:33 lib32/
102
103 ./usr/lib32:
104 total 0
105 lrwxr-xr-x 1 root sys 21 Oct 9 20:33 libc.so.1 ->
106 ../../lib32/libc.so.1*
107 lrwxr-xr-x 1 root sys 21 Oct 9 18:55 libgen.so ->
108 ../../lib32/libgen.so
109