Нужно мне установить такую штуку.
делай раз.
proxy2# cd /usr/ports/security/vscan/
делай два
proxy2# make
===> uvscan-4.40e_4 depends on shared library: c.3 - not found
===> Verifying install for c.3 in /usr/ports/misc/compat3x
===> compat3x-i386-5.0.20020925 is forbidden: "FreeBSD-SA-03:05.xdr, FreeBSD-SA-
03:08.realpath - not fixed / no lib available".
*** Error code 1
Stop in /usr/ports/misc/compat3x.
*** Error code 1
Stop in /usr/ports/security/vscan.
proxy2#Коллега задал мне вопрос:
Are you sure you had COMPAT3X=yes when you complied FreeBSD from sources?ОТВЕЧАЮ
proxy2# cat /etc/make.conf
COMPAT3X=yes
COMPAT4X=yes
COMPAT5X=yes
# WITH_SASL=yes
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
# added by use.perl 2006-09-20 09:06:50
PERL_VER=5.8.8
PERL_VERSION=5.8.8
proxy2#вотче он прпосит в принципе.
proxy2# make search key=/vscan
Port: uvscan-4.40e_4
Path: /usr/ports/security/vscan
Info: Evaluation version of a DOS/Windows/Linux file virus scanner
Maint: jeh@FreeBSD.org
B-deps: compat3x-i386-5.0.20020925 compat4x-i386-5.3_9 localedata-5.4
R-deps: compat3x-i386-5.0.20020925 compat4x-i386-5.3_9 localedata-5.4
WWW: http://www.networkassociates.com/us/downloads/evals/Попробывал следушй совет
>You can just comment out FORBIDDEN=
> line in /usr/ports/misc/compat3x/Makefile and try to install it again.i try this,
result:proxy2# portinstall uvscan
---> Installing 'uvscan-4.40e_4' from a port (security/vscan)
---> Building '/usr/ports/security/vscan'
===> Cleaning for compat3x-i386-5.0.20020925
===> Cleaning for compat4x-i386-5.3_9
===> Cleaning for localedata-5.4
===> Cleaning for uvscan-4.40e_4
===> Extracting for uvscan-4.40e_4
=> MD5 Checksum OK for vbsd440e.tar.Z.
=> SHA256 Checksum OK for vbsd440e.tar.Z.
===> Patching for uvscan-4.40e_4
===> uvscan-4.40e_4 depends on shared library: c.3 - not found
===> Verifying install for c.3 in /usr/ports/misc/compat3x
=> compat3x-20020925.tar.gz doesn't seem to exist in /usr/ports/distfiles/i386.
=> Attempting to fetch from ftp://ftp.mk.bsdclub.org/pub/FreeBSD/distfiles/.
compat3x-20020925.tar.gz 100% of 1586 kB 85 kBps 00m00s
===> Extracting for compat3x-i386-5.0.20020925
=> MD5 Checksum OK for i386/compat3x-20020925.tar.gz.
=> SHA256 Checksum OK for i386/compat3x-20020925.tar.gz.
/bin/mv /usr/ports/misc/compat3x/work/libc_r.so.4 /usr/ports/misc/compat3x/work/libc_r.so.4.compat3x
/bin/mv /usr/ports/misc/compat3x/work/libperl.so.3 /usr/ports/misc/compat3x/work/libperl.so.3.compat3x
===> Patching for compat3x-i386-5.0.20020925
===> Configuring for compat3x-i386-5.0.20020925
===> Building for compat3x-i386-5.0.20020925
===> Installing for compat3x-i386-5.0.20020925
===> Generating temporary packing list
===> Checking if misc/compat3x already installed
/bin/mkdir -p /usr/local/lib/compat /usr/local/etc/rc.d
install -o root -g wheel -m 444 /usr/ports/misc/compat3x/work/lib*.so.* /usr/local/lib/compat/
cd /usr/local/lib/compat; if [ -e libc_r.so.4.compat3x -a ! -e libc_r.so.4.compat4x ]; then /bin/ln -sf libc_r.so.4.compat3x libc_r.so.4; fi
cd /usr/local/lib/compat; if [ -e libperl.so.3.compat3x -a ! -e libperl.so.3.compat4x ]; then /bin/ln -sf libperl.so.3.compat3x libperl.so.3; fi
install -o root -g wheel -m 555 /usr/ports/misc/compat3x/work/000.compat3x.sh /usr/local/etc/rc.d/
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for compat3x-i386-5.0.20020925
===> SECURITY REPORT:
This port has installed the following files, which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/lib/compat/libwrap.so.2
/usr/local/lib/compat/libfetch.so.1
/usr/local/lib/compat/libperl.so.3.compat3x
/usr/local/lib/compat/libc_r.so.4.compat3x (USES POSSIBLY INSECURE FUNCTIONS: mktemp)
/usr/local/lib/compat/libc_r.so.3 (USES POSSIBLY INSECURE FUNCTIONS: mktemp)
/usr/local/lib/compat/libftpio.so.4
/usr/local/lib/compat/libc.so.3 (USES POSSIBLY INSECURE FUNCTIONS: mktemp)This port has installed the following startup scripts, which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/000.compat3x.shIf there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
===> Returning to build of uvscan-4.40e_4
Error: shared library "c.3" does not exist
*** Error code 1Stop in /usr/ports/security/vscan.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.1557.0 env make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! security/vscan (dependent libraries)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
Есть то чего я незнаю?
>Нужно мне установить такую штуку.
>делай раз.
>proxy2# cd /usr/ports/security/vscan/
>делай два
>proxy2# make
>===> uvscan-4.40e_4 depends on shared library: c.3 - not found
>===> Verifying install for c.3 in /usr/ports/misc/compat3x
>===> compat3x-i386-5.0.20020925 is forbidden: "FreeBSD-SA-03:05.xdr, FreeBSD-SA-
>03:08.realpath - not fixed / no lib available".
>*** Error code 1
>Stop in /usr/ports/misc/compat3x.
>*** Error code 1
>Stop in /usr/ports/security/vscan.
>proxy2#
>
>Коллега задал мне вопрос:
>Are you sure you had COMPAT3X=yes when you complied FreeBSD from sources?
>
>
>ОТВЕЧАЮ
>proxy2# cat /etc/make.conf
>COMPAT3X=yes
>COMPAT4X=yes
>COMPAT5X=yes
># WITH_SASL=yes
>SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
>SENDMAIL_LDFLAGS=-L/usr/local/lib
>SENDMAIL_LDADD=-lsasl2
># added by use.perl 2006-09-20 09:06:50
>PERL_VER=5.8.8
>PERL_VERSION=5.8.8
>proxy2#
>
>вотче он прпосит в принципе.
>
>proxy2# make search key=/vscan
>Port: uvscan-4.40e_4
>Path: /usr/ports/security/vscan
>Info: Evaluation version of a DOS/Windows/Linux file virus scanner
>Maint: jeh@FreeBSD.org
>B-deps: compat3x-i386-5.0.20020925 compat4x-i386-5.3_9 localedata-5.4
>R-deps: compat3x-i386-5.0.20020925 compat4x-i386-5.3_9 localedata-5.4
>WWW: http://www.networkassociates.com/us/downloads/evals/
>
>Попробывал следушй совет
>
>>You can just comment out FORBIDDEN=
>> line in /usr/ports/misc/compat3x/Makefile and try to install it again.
>
>i try this,
>result:
>
>proxy2# portinstall uvscan
>---> Installing 'uvscan-4.40e_4' from a port (security/vscan)
>---> Building '/usr/ports/security/vscan'
>===> Cleaning for compat3x-i386-5.0.20020925
>===> Cleaning for compat4x-i386-5.3_9
>===> Cleaning for localedata-5.4
>===> Cleaning for uvscan-4.40e_4
>===> Extracting for uvscan-4.40e_4
>=> MD5 Checksum OK for vbsd440e.tar.Z.
>=> SHA256 Checksum OK for vbsd440e.tar.Z.
>===> Patching for uvscan-4.40e_4
>===> uvscan-4.40e_4 depends on shared library: c.3 - not found
>===> Verifying install for c.3 in /usr/ports/misc/compat3x
>=> compat3x-20020925.tar.gz doesn't seem to exist in /usr/ports/distfiles/i386.
>=> Attempting to fetch from ftp://ftp.mk.bsdclub.org/pub/FreeBSD/distfiles/.
>compat3x-20020925.tar.gz 100% of 1586 kB 85 kBps 00m00s
>===> Extracting for compat3x-i386-5.0.20020925
>=> MD5 Checksum OK for i386/compat3x-20020925.tar.gz.
>=> SHA256 Checksum OK for i386/compat3x-20020925.tar.gz.
>/bin/mv /usr/ports/misc/compat3x/work/libc_r.so.4 /usr/ports/misc/compat3x/work/libc_r.so.4.compat3x
>/bin/mv /usr/ports/misc/compat3x/work/libperl.so.3 /usr/ports/misc/compat3x/work/libperl.so.3.compat3x
>===> Patching for compat3x-i386-5.0.20020925
>===> Configuring for compat3x-i386-5.0.20020925
>===> Building for compat3x-i386-5.0.20020925
>===> Installing for compat3x-i386-5.0.20020925
>===> Generating temporary packing list
>===> Checking if misc/compat3x already installed
>/bin/mkdir -p /usr/local/lib/compat /usr/local/etc/rc.d
>install -o root -g wheel -m 444 /usr/ports/misc/compat3x/work/lib*.so.* /usr/local/lib/compat/
>cd /usr/local/lib/compat; if [ -e libc_r.so.4.compat3x -a ! -e libc_r.so.4.compat4x ]; then
>/bin/ln -sf libc_r.so.4.compat3x libc_r.so.4; fi
>cd /usr/local/lib/compat; if [ -e libperl.so.3.compat3x -a ! -e libperl.so.3.compat4x ]; then
>/bin/ln -sf libperl.so.3.compat3x libperl.so.3; fi
>install -o root -g wheel -m 555 /usr/ports/misc/compat3x/work/000.compat3x.sh /usr/local/etc/rc.d/
>===> Running ldconfig
>/sbin/ldconfig -m /usr/local/lib
>===> Registering installation for compat3x-i386-5.0.20020925
>===> SECURITY REPORT:
> This port has installed the following files, which may act as
>network
> servers and may therefore pose a remote security risk to the
>system.
>/usr/local/lib/compat/libwrap.so.2
>/usr/local/lib/compat/libfetch.so.1
>/usr/local/lib/compat/libperl.so.3.compat3x
>/usr/local/lib/compat/libc_r.so.4.compat3x (USES POSSIBLY INSECURE FUNCTIONS: mktemp)
>/usr/local/lib/compat/libc_r.so.3 (USES POSSIBLY INSECURE FUNCTIONS: mktemp)
>/usr/local/lib/compat/libftpio.so.4
>/usr/local/lib/compat/libc.so.3 (USES POSSIBLY INSECURE FUNCTIONS: mktemp)
>
> This port has installed the following startup scripts, which may cause
>
> these network services to be started at boot time.
>/usr/local/etc/rc.d/000.compat3x.sh
>
> If there are vulnerabilities in these programs there may be a
>security
> risk to the system. FreeBSD makes no guarantee about the security
>of
> ports included in the Ports Collection. Please type 'make deinstall'
> to deinstall the port if this is a concern.
>===> Returning to build of uvscan-4.40e_4
>Error: shared library "c.3" does not exist
>*** Error code 1
>
>Stop in /usr/ports/security/vscan.
>** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.1557.0 env make
>** Fix the problem and try again.
>** Listing the failed packages (*:skipped / !:failed)
> ! security/vscan (dependent libraries)
>---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
>
>
>
>
>Есть то чего я незнаю?
есть, начиная с какой то 5.x и в 6.x вынесли COMPAT из сборки, можете не напрягаться
с /etc/make.conf - толку не будет.
Все compat вынесены в порты:# ls -la /usr/ports/misc/ | grep compat
тока определитесь КАКОЙ вам нужен, только посмотрите Makefile, а то 22 и 3x FORBIDDEN
- закоментарьте и вперед