ports/66926: [PATCH] Dependency problem in ports drweb, drwebd, drweb-postfix, drweb-sendmail

Dmitry A Grigorovich odip at bionet.nsc.ru
Thu May 20 07:30:26 UTC 2004


>Number:         66926
>Category:       ports
>Synopsis:       [PATCH] Dependency problem in ports drweb, drwebd, drweb-postfix, drweb-sendmail
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 20 00:30:25 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry A Grigorovich
>Release:        FreeBSD 4.8-RELEASE-p4 i386
>Organization:
ICiG SB RAS
>Environment:
System: FreeBSD hydra.bionet.nsc.ru 4.8-RELEASE-p4 FreeBSD 4.8-RELEASE-p4 #4: Sat Oct 4 02:33:02 NOVST 2003 root at hydra.bionet.nsc.ru:/usr/obj/usr/src/sys/ODIP i386

>Description:

In ports collection we have following ports ( category security )
drweb, drweb-postfix, drweb-sendmail, drwebd

Port drwebd install script: /usr/local/etc/rc.d/drweb-0.sh
This script need to start daemon, which leaves in port drweb

But newer version of port drweb install own script:
/usr/local/etc/rc.d/00drwebd.sh, which start same drweb daemon

Port drweb-postfix have following dependency:
RUN_DEPENDS=    ${LOCALBASE}/etc/rc.d/drweb-0.sh:${PORTSDIR}/security/drwebd

When we using both ports: drweb and drweb-postfix
we have two scripts: drweb-0.sh and 00drwebd.sh,
which start SAME daemon

Same for drweb and drweb-sendmail

>How-To-Repeat:

Install security/drweb-postfix, security/drweb

You see two files in /usr/local/etc/rc.d: 00drwebd.sh and drweb-0.sh

>Fix:

I see only one way:

1) Removing port security/drwebd

2) Removing following dependency from drweb-postfix:
RUN_DEPENDS=    ${LOCALBASE}/etc/rc.d/drweb-0.sh:${PORTSDIR}/security/drwebd

3) Include dependency to drweb-postfix:
RUN_DEPENDS=	${LOCALBASE}/drweb/drwebd:${PORTSFIX}/security/drweb
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list