Bug 104881 - [patch] port mail/sqlgrey make with -DWITH_PGSQL
Summary: [patch] port mail/sqlgrey make with -DWITH_PGSQL
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alejandro Pulver
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-28 13:30 UTC by Olli Hauer
Modified: 2006-11-06 19:50 UTC (History)
0 users

See Also:


Attachments
file.diff (427 bytes, patch)
2006-10-28 13:30 UTC, Olli Hauer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olli Hauer 2006-10-28 13:30:18 UTC
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)

Fix: .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)


# 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--nwjEufUkpnVaKexRDi5MDXR4kag6W9m9xWxeBWBOZxGc6mea
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- 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
How-To-Repeat: cd /usr/ports/mail/sqlgrey; make install -DWITH_PGSQL
Comment 1 Alejandro Pulver freebsd_committer freebsd_triage 2006-10-31 23:06:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alepulver

I'll take it.
Comment 2 Alejandro Pulver freebsd_committer freebsd_triage 2006-11-06 19:46:31 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2006-11-06 19:46:41 UTC
alepulver    2006-11-06 19:46:25 UTC

  FreeBSD ports repository

  Modified files:
    mail/sqlgrey         Makefile 
    mail/sqlgrey/files   pkg-install.in 
  Log:
  - Typo in Makefile (RUN_DEPENDS) prevent mail/sqlgrey from install with
    pgsql support.
  - Some cosmetic cleanup patch for fresh install.
  
  PR:             ports/104881
  Submitted by:   Olli Hauer <ohauer@gmx.de>
  
  Revision  Changes    Path
  1.11      +1 -1      ports/mail/sqlgrey/Makefile
  1.2       +5 -5      ports/mail/sqlgrey/files/pkg-install.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"