List Info

Thread: Postfix + Postgresql RPM?




Postfix + Postgresql RPM?
user name
2006-02-26 05:47:49
Specfile diff for building a
postfix-2.1.5-4.2.RHEL4.pgsql.centos4.i386.rpm

along the lines of the Postfix + Mysql RPM available in
CentosPlus.

Any idea what repository would be appropriate to try and get
this 
included in?

-Mike


--- postfix.spec        2005-02-11 06:52:53.000000000 -0700
+++ postfix-pgsql.spec  2006-02-25 22:33:20.000000000 -0700
 -1,5
+1,6 
  %define LDAP 2
  %define MYSQL 0
+%define PGSQL 1
  %define PCRE 1
  %define SASL 2
  %define TLS 1
 -44,7
+45,7 
  Name: postfix
  Summary: Postfix Mail Transport Agent
  Version: 2.1.5
-Release: 4.2.RHEL4
+Release: 4.2.RHEL4.pgsql.centos4
  Epoch: 2
  Group: System Environment/Daemons
  URL: http://www.postfix.org
 -140,6
+141,11 
  BuildRequires: mysql, mysql-devel
  %endif

+%if %
+Requires: postgresql
+BuildRequires: postgresql, postgresql-devel
+%endif
+
  %if %
  Requires: openssl
  BuildRequires: openssl-devel >= 0.9.6
 -251,6
+257,10 
    CCARGS="$ -DHAS_MYSQL
-I/usr/include/mysql"
    AUXLIBS="$ -L%/mysql
-lmysqlclient -lm"
  %endif
+%if %
+  CCARGS="$ -DHAS_PGSQL
-I/usr/include/pgsql"
+  AUXLIBS="$ -L%/pgsql -lpq"
+%endif
  %if %
    %define sasl_v1_lib_dir %/sasl
    %define sasl_v2_lib_dir %/sasl2
 -556,6
+566,10 


  %changelog
+* Sat Feb 25 2005 Michael Best <mbestpendragon.org> 
2:2.1.5-4.2.RHEL4.pgsql.centos4
+- Added pgsql support to postfix
+- http://www.p
ostfix.org/PGSQL_README.html
+
  * Fri Feb 11 2005 Thomas Woerner <twoernerredhat.com> 2:2.1.5-4.2.RHEL4
  - fixed open relay bug in postfix ipv6 patch: new version
1.26 (#146732)
  - fixed permissions on doc directory (#147280)

_______________________________________________
CentOS-devel mailing list
CentOS-develcentos.org
http://lists.centos.org/mailman/listinfo/centos-devel
Postfix + Postgresql RPM?
user name
2006-02-26 13:05:48
On 2/26/06, Michael Best <mbestpendragon.org> wrote:
> Specfile diff for building a
postfix-2.1.5-4.2.RHEL4.pgsql.centos4.i386.rpm
>
> along the lines of the Postfix + Mysql RPM available in
CentosPlus.
>
> Any idea what repository would be appropriate to try
and get this
> included in?
>
> -Mike

I'll poke it a little later today. Depending on how things
work out,
it may end up in the development repo first. Thanks for the
submission.


--
"They that can give up essential liberty to obtain a
little temporary
safety deserve neither liberty nor safety''
Benjamin Franklin 1775
_______________________________________________
CentOS-devel mailing list
CentOS-develcentos.org
http://lists.centos.org/mailman/listinfo/centos-devel
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )