Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2006 12:26:27 GMT
From:      Olli Hauer<ohauer@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/104881: [patch] port mail/sqlgrey make with -DWITH_PGSQL
Message-ID:  <200610281226.k9SCQRwB041817@www.freebsd.org>
Resent-Message-ID: <200610281230.k9SCUJTX031873@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         104881
>Category:       ports
>Synopsis:       [patch] port mail/sqlgrey make with -DWITH_PGSQL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 28 12:30:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Olli Hauer
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
typo in Makefile (RUN_DEPENDS) prevent mail/sqlgrey from install with pgsql support

+ some cosmetic cleanup patch for fresh install.
the full user name shuld by 'Sqlgrey Owner' and not 'Postgrey Owner'
(this is the full user name from the mail/postgrey port)
>How-To-Repeat:
cd /usr/ports/mail/sqlgrey; make install -DWITH_PGSQL
>Fix:
--- Makefile.orig       Sat Sep 16 22:54:19 2006
+++ Makefile    Sat Oct 14 23:05:01 2006
@@ -19,7 +19,7 @@
                ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-Pod-Parser

 .if defined(WITH_PGSQL)
-RUN_DEPENDS+=  ${SITE_PERL}/${PERL_ARCH}/DBD/pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
+RUN_DEPENDS+=  ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
 .elif defined(WITH_MYSQL)
 RUN_DEPENDS+=  ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
 .elif defined(WITH_SQLITE)
--- files/pkg-install.in.orig   Fri Feb 18 12:39:31 2005
+++ files/pkg-install.in        Sat Oct 14 23:11:52 2006
@@ -29,16 +29,16 @@
        else
            echo "---> Adding user \"%%USER%%\""
            /usr/sbin/pw useradd "%%USER%%" -g "%%GROUP%%" -h - \
-           -d "%%DATADIR%%" -s "/sbin/nologin" -c "Postgrey Owner" || exit 1
+           -d "%%DATADIR%%" -s "/sbin/nologin" -c "Sqlgrey Owner" || exit 1
        fi

        # Create home directory if required
        if [ -d "%%DATADIR%%" ]; then
-           echo "---> Using existing Postgrey database directory (%%DATADIR%%)"
-           echo "     (There may be existing active postgrey databases - this installation"
+           echo "---> Using existing Sqlgrey database directory (%%DATADIR%%)"
+           echo "     (There may be existing active sqlgrey databases - this installation"
            echo "     will attempt to preserve them.)"
            else
-       echo "---> Creating Postgrey database directory (%%DATADIR%%)"
+       echo "---> Creating Sqlgrey database directory (%%DATADIR%%)"
            (umask 002 && /bin/mkdir -p "%%DATADIR%%") || exit 1
            /usr/sbin/chown -R "%%USER%%:%%GROUP%%" "%%DATADIR%%" || exit 1
            /bin/chmod g+s "%%DATADIR%%" || exit 1
>Release-Note:
>Audit-Trail:
>Unformatted:



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