Bug 132402 - databases/postgresql83-server incorrect handling of config options
Summary: databases/postgresql83-server incorrect handling of config options
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: Palle Girgensohn
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-08 08:20 UTC by Andrew "RhodiumToad" Gierth
Modified: 2010-10-07 08:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew "RhodiumToad" Gierth 2009-03-08 08:20:02 UTC
The postgresql83-client and -server ports, and the postgresql-contrib port, build from the same source tree, but with potentially different configuration options, since server-only options are not set in the client or contrib port.

However, the pg_config and pgxs files are installed from the _client_ port, not the server one, despite the fact that the pgxs makefiles are used only to build server extensions. So the installed pgxs files don't exactly match the installed server, and pg_config can't be used to recover the configure args used to build the server.

Likewise, building postgresql-contrib is also ignoring the configure args used to build the server, even though it's installing mostly server-side modules. One side effect of this is that contrib/xml2 is not built even if the server was built with the XML option; another is that contrib modules aren't built with the correct value for --enable-integer-datetimes.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-03-08 08:20:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->girgen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-10-07 07:58:15 UTC
girgen      2010-10-07 06:58:10 UTC

  FreeBSD ports repository

  Modified files:
    databases            Makefile 
    databases/postgresql74-server Makefile distinfo 
    databases/postgresql80-server Makefile distinfo 
                                  pkg-plist-server 
    databases/postgresql81-server Makefile distinfo 
                                  pkg-plist-server 
    databases/postgresql82-server Makefile distinfo 
                                  pkg-plist-server 
    databases/postgresql83-server Makefile distinfo 
                                  pkg-plist-server 
    databases/postgresql84-client Makefile 
    databases/postgresql84-server Makefile distinfo 
                                  pkg-plist-client 
                                  pkg-plist-server 
    databases/postgresql90-client Makefile 
    databases/postgresql90-contrib Makefile 
    databases/postgresql90-server Makefile distinfo 
                                  pkg-plist-client 
                                  pkg-plist-contrib 
                                  pkg-plist-server 
    databases/postgresql90-server/files 
                                        patch-src:backend:utils:misc:postgresql.conf.sample 
  Log:
  Update all PostgreSQL ports to latest versions.
  
  Also, try to break the previous 1:1 relation between FreeBSD system and
  PostgreSQL versions installed. Use different PREFIX:es to install
  different versions on the same system.
  
  PR: ports/132402, ports/145002, ports/146657
  
  Revision  Changes    Path
  1.908     +3 -0      ports/databases/Makefile
  1.164     +7 -6      ports/databases/postgresql74-server/Makefile
  1.56      +3 -3      ports/databases/postgresql74-server/distinfo
  1.185     +12 -7     ports/databases/postgresql80-server/Makefile
  1.68      +3 -3      ports/databases/postgresql80-server/distinfo
  1.17      +2 -0      ports/databases/postgresql80-server/pkg-plist-server
  1.190     +13 -7     ports/databases/postgresql81-server/Makefile
  1.68      +3 -3      ports/databases/postgresql81-server/distinfo
  1.17      +2 -0      ports/databases/postgresql81-server/pkg-plist-server
  1.191     +10 -8     ports/databases/postgresql82-server/Makefile
  1.66      +3 -3      ports/databases/postgresql82-server/distinfo
  1.19      +2 -0      ports/databases/postgresql82-server/pkg-plist-server
  1.201     +17 -10    ports/databases/postgresql83-server/Makefile
  1.75      +3 -3      ports/databases/postgresql83-server/distinfo
  1.25      +2 -0      ports/databases/postgresql83-server/pkg-plist-server
  1.4       +1 -1      ports/databases/postgresql84-client/Makefile
  1.211     +18 -13    ports/databases/postgresql84-server/Makefile
  1.78      +3 -3      ports/databases/postgresql84-server/distinfo
  1.19      +12 -2     ports/databases/postgresql84-server/pkg-plist-client
  1.29      +27 -16    ports/databases/postgresql84-server/pkg-plist-server
  1.2       +1 -1      ports/databases/postgresql90-client/Makefile
  1.2       +1 -0      ports/databases/postgresql90-contrib/Makefile
  1.204     +28 -10    ports/databases/postgresql90-server/Makefile
  1.78      +3 -3      ports/databases/postgresql90-server/distinfo
  1.8       +7 -7      ports/databases/postgresql90-server/files/patch-src:backend:utils:misc:postgresql.conf.sample
  1.19      +5 -2      ports/databases/postgresql90-server/pkg-plist-client
  1.12      +1 -0      ports/databases/postgresql90-server/pkg-plist-contrib
  1.28      +3 -2      ports/databases/postgresql90-server/pkg-plist-server
_______________________________________________
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"
Comment 3 Palle Girgensohn freebsd_committer freebsd_triage 2010-10-07 08:02:28 UTC
State Changed
From-To: open->closed

Port still installs pg_config from the client port, but the options 
are set always, so as long as the "make config" settings aren't changes 
between the server and client installs, pc_config should give the correct 
information.