Date: Thu, 2 Jun 2005 14:39:50 -0300 From: Renato Botelho <rbgarga@gmail.com> To: ports@freebsd.org Subject: Prevent stale denepndencies of qmail ports Message-ID: <747dc8f305060210394c319053@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello! Today, qmail has 5 slave ports, and, when you install one of them, you can install vpopmail, qmail-scanner, qmailadmin and other qmail related ports because this slave ports are qmail servers too. The only difference is patches that are applied on source code. So, if you install one qmail slave port, and install vpopmail after, it'll install with no problems, but, it registers dependency of qmail port, so, it generates stale dependency. I was thinking about it and the best idea I had is this, add something like this: QMAIL_DIR?=3D=09/var/qmail .if defined(USE_QMAIL) .if defined(USE_QMAIL_SLAVE) RUN_DEPENDS+=3D=09${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail-${USE_= QMAIL_SLAVE} .else RUN_DEPENDS+=3D=09${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail .endif .endif on bsd.port.mk, and, change all ports that depends of qmail, to use USE_QMAIL=3Dyes. Add a message on pkg-message of all slave ports talking to add USE_QMAIL_SLAVE=3Dname_of_slave_port to /etc/make.conf. I sent this email to see if anyone has ideas better than this, before a start tests. Thanks in advance --=20 Renato Botelho ICQ: 54596223 AIM: RBGargaBR
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?747dc8f305060210394c319053>