Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2005 22:25:20 -0800
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        Jiawei Ye <leafy7382@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Why does security/amavisd-new depend on db3?
Message-ID:  <200511142225.21487.ringworm01@gmail.com>
In-Reply-To: <c21e92e20511142206q216c8b4br9dc96ab309d054d5@mail.gmail.com>
References:  <c21e92e20511130557g4ad76176l85beb6ceee078886@mail.gmail.com> <c21e92e20511142201o70752d66p20b4ef233612d6e@mail.gmail.com> <c21e92e20511142206q216c8b4br9dc96ab309d054d5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 14 November 2005 22:06, Jiawei Ye wrote:
> On 11/15/05, Jiawei Ye <leafy7382@gmail.com> wrote:
> > It is correct when you invoke it manually, but I rebuilt p5-BerkeleyDB
> > numerous times already and still get wrong dependancies for
> > amavisd-new.
> >
> >
> > Jiawei
>
> One more point to add, the dependanc recorded for p5-BerkeleyDB is
> actually correct.
>
> root@chihiro:/usr/ports/databases/p5-BerkeleyDB# pkg_glob -R
> databases/p5-BerkeleyDB
> perl-threaded-5.8.7
> db42-4.2.52_4
> p5-BerkeleyDB-0.27
>
> It looks like somehow when determining dependancies for amavisd-new,
> it did not reference the option set for p5-BerkeleyDB.
>
> Jiawei
>

Looking at  /usr/local/share/portmanager/ports_available_dependencies.db
with a text editor here is how portmanager sees the dependencies, of course I 
have no idea what version portmanager you are running, but this is from the 
latest:

Here is what's relevent:

port										port's dependencies
/security/amavisd-new^@amavisd-new-2.3.3,1^@/databases/p5-BerkeleyDB^@p5-BerkeleyDB-0.27^@RUN_DEPENDS^@
/databases/p5-BerkeleyDB^@p5-BerkeleyDB-0.27^@/databases/db42^@db42-4.2.52_4^@RUN_DEPENDS^@


Mind posting some sort of output that demonstrates the problem you are having? 
It is working fine for me with version 0.3.5

To get the data base right for you to look at run

portmanager security/amavisd-new -ui

When it either is finished or asks y/n just <ctr> C out of portmanager then 
the data base will have all the relevent dependences for building 
security/amavisd-new, see if you have the same records as I posted above.

ee /usr/local/share/portmanager/ports_available_dependencies.db

-Mike

Here is what I got with portmanager security/amavisd-new

------------------------------------------------------------------------
 Port Status Report
------------------------------------------------------------------------
00001 have:p5-Unix-Syslog-0.100      status: CURRENT: /sysutils/p5-Unix-Syslog
00002 have:unrar-3.54,3              status: CURRENT: /archivers/unrar
00003 have:rpm2cpio-1.2_2            status: CURRENT: /archivers/rpm2cpio
00004 have:perl-5.8.7                status: CURRENT: /lang/perl5.8
00005 have:p5-Mail-Tools-1.67        status: CURRENT: /mail/p5-Mail-Tools
00006 have:p5-MIME-Base64-3.05       status: 
CURRENT: /converters/p5-MIME-Base64
00007 have:p5-Net-DNS-0.53           status: CURRENT: /dns/p5-Net-DNS
00008 have:p5-IO-Socket-SSL-0.97     status: 
CURRENT: /security/p5-IO-Socket-SSL
00009 have:db42-4.2.52_4             status: CURRENT: /databases/db42
00010 have:gmake-3.80_2              status: CURRENT: /devel/gmake
00011 have:p5-Digest-HMAC-1.01       status: CURRENT: /security/p5-Digest-HMAC
00012 have:p5-Net-IP-1.24            status: CURRENT: /net-mgmt/p5-Net-IP
00013 have:p5-HTML-Tagset-3.10       status: CURRENT: /www/p5-HTML-Tagset
00014 have:p5-Net-SSLeay-1.25        status: CURRENT: /security/p5-Net-SSLeay
00015 have:libtool-1.5.20            status: CURRENT: /devel/libtool15
00016 have:gettext-0.14.5            status: CURRENT: /devel/gettext
00017 have:p5-Digest-SHA1-2.10       status: CURRENT: /security/p5-Digest-SHA1
00018 have:libiconv-1.9.2_1          status: CURRENT: /converters/libiconv
00019 have:p5-Convert-UUlib-1.05.1,1 status: 
CURRENT: /converters/p5-Convert-UUlib
00020 have:p5-Compress-Zlib-1.41     status: 
CURRENT: /archivers/p5-Compress-Zlib
00021 have:p5-Net-Server-0.88_1      status: CURRENT: /net/p5-Net-Server
00022 have:p5-BerkeleyDB-0.27        status: CURRENT: /databases/p5-BerkeleyDB
00023 have:arc-5.21n                 status: CURRENT: /archivers/arc
00024 have:freeze-2.5_1              status: CURRENT: /archivers/freeze
00025 have:lha-1.14i_6               status: CURRENT: /archivers/lha
00026 have:unarj-2.65_1              status: CURRENT: /archivers/unarj
00027 have:zoo-2.10.1_1              status: CURRENT: /archivers/zoo
00028 have:cabextract-1.1            status: CURRENT: /archivers/cabextract
00029 have:p5-IO-stringy-2.110       status: CURRENT: /devel/p5-IO-stringy
00030 have:p5-Convert-BinHex-1.119   status: 
CURRENT: /converters/p5-Convert-BinHex
00031 have:p5-MIME-Tools-5.418,2     status: CURRENT: /mail/p5-MIME-Tools
00032 have:p5-Convert-TNEF-0.17      status: 
CURRENT: /converters/p5-Convert-TNEF
00033 have:p5-IO-Zlib-1.04_1         status: CURRENT: /archivers/p5-IO-Zlib
00034 have:p5-IO-String-1.07         status: CURRENT: /devel/p5-IO-String
00035 have:p5-HTML-Parser-3.46       status: CURRENT: /www/p5-HTML-Parser
00036 have:p5-Mail-SpamAssassin-3.1.0_3 status: 
CURRENT: /mail/p5-Mail-SpamAssassin
00037 have:lzo2-2.02                 status: CURRENT: /archivers/lzo2
00038 have:lzop-1.02.r1              status: CURRENT: /archivers/lzop
00039 have:p5-Scalar-List-Utils-1.17,1 status: 
CURRENT: /lang/p5-Scalar-List-Utils
00040 have:p5-PathTools-3.12         status: CURRENT: /devel/p5-PathTools
00041 have:p5-Test-Harness-2.56      status: CURRENT: /devel/p5-Test-Harness
00042 have:p5-Test-Simple-0.62       status: CURRENT: /devel/p5-Test-Simple
00043 have:p5-Archive-Tar-1.26       status: 
CURRENT: /archivers/p5-Archive-Tar
00044 have:p5-File-Temp-0.16_2       status: CURRENT: /devel/p5-File-Temp
00045 have:p5-Archive-Zip-1.16       status: 
CURRENT: /archivers/p5-Archive-Zip
00046 have:p5-URI-1.35               status: CURRENT: /net/p5-URI
00047 have:p5-Authen-SASL-2.09       status: CURRENT: /security/p5-Authen-SASL
00048 have:p5-DBI-1.48               status: CURRENT: /databases/p5-DBI
00049 have:mysql-client-4.1.15       status: 
CURRENT: /databases/mysql41-client
00050 have:p5-DBD-mysql-3.0002       status: CURRENT: /databases/p5-DBD-mysql
00051 have:p5-Convert-ASN1-0.18      status: 
CURRENT: /converters/p5-Convert-ASN1
00052 have:p5-XML-NamespaceSupport-1.09_1 status: 
CURRENT: /textproc/p5-XML-NamespaceSupport
00053 have:p5-XML-SAX-0.13           status: CURRENT: /textproc/p5-XML-SAX
00054 have:p5-perl-ldap-0.33         status: CURRENT: /net/p5-perl-ldap
00055 have:postgresql-client-7.4.9   status: 
CURRENT: /databases/postgresql74-client
00056 have:p5-DBD-Pg-1.43_1          status: CURRENT: /databases/p5-DBD-Pg
00057 have:amavisd-new-2.3.3,1       status: CURRENT: /security/amavisd-new
========================================================================
portmanager 0.3.6 INFO: all ports are up to date


-Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511142225.21487.ringworm01>