Commit graph

16 commits

Author SHA1 Message Date
Pawel Pekala
6d4a383e7f - UPdate to version 3.2.2 [1]
- Convert to USES=mysql
- Use options helpers
- Regenerate patch with make makepatch

3.2.2, 2015.03.18 (r2780)
    o The DBDriver::operator= would leak a live connection if you
      assigned a disconnected DBDriver to it.  Patch by Quentin Armitage.
    o Plugged a potential DBDriver instance leak in Connection ctor.
      Patch by Yury Alekseev.
    o Explicitly #including algorithm.h in examples/multiquery.cpp for
      std::max().
    o Added missing "break;" statements in Transaction ctor taking an
      isolation level parameter, which caused only the last one to do
      the right thing.  Problem noticed by Tony Whyman, fix by me.
    o The bootstrap script now checks for the existence of needed build
      tools before trying to use them.  This lets us emit a clearer
      error message than the shell will.  Original patch by Adrian
      Cornish.
    o Fixed a build problem related to std::min/max with Visual C++ 2013
      due to a change in the definitions provided by its header files.
    o Tracked several changes made to Connector/C made since 3.2.1.
    o Assorted documentation updates.
    o Generating HTML with UTF-8 encoding, not 8859-1
3.2.1, 2013.12.10 (r2756)
    o Connection copy ctor wasn't copying the "throw exceptions"
      flag.  The copy always had exceptions enabled.
    o The resetdb example would print a bogus message about logging in
      as '1'@'1' instead of showing the actual values passed on the
      command line.  This did not affect how it actually logged in.
    o Previous release tarball was missing a few text files present in
      the source repository.
    o Updated build paths for VC++ and MinGW to track a file layout
      change in Connector/C 6.1.2.
3.2.0, 2013.06.20 (r2747)
    o References to MySQL 5.1 have been replaced with 5.6, that
      being the current GA release.
    o All Windows builds now assume you're using Connector/C 6.1
      instead of having installed the MySQL server on your machine
      just to get development files.  If you are running a MySQL
      server on your development machine and don't want to install
      Connector/C just to make MySQL++ happy, see the README-*.txt
      file for your platform to get instructions on fixing the paths
      so the build system finds the development files under the MySQL
      server directory.
    o The generated VC++ 2008 project files now assume you want 64-bit
      executables.  (It is 2013 now, after all.)
      Since the VC++ 2005 project files continue to be configured for
      32-bit builds, the easiest way to get a 32-bit project in VC++
      2008+ is to import the VC++ *2005* project files, rather than
      adjust the build target settings of all 44 vc2008/*.vcproj
      files within the IDE.
    o Added Query::replacefrom(): like insertfrom() but it uses
      REPLACE statements instead of INSERT.  Patch by Adrian Cornish.
    o Added support for SQL "unsigned float" columns.  Patch by
      Leonardo Lang.
    o Added "abicheck" top-level build target, which runs the
      ISPRAS ABI checker tool (http://goo.gl/e19lD) against
      a predecided "ABI-stable" version of MySQL++, comparing it
      against the current version.  This should help avoid future
      unplanned ABI breakages, as happened between 3.0.9 and 3.1.0.
      We have chosen not to revert those changes that broke the ABI,
      but instead have chosen to accept the 3.1.0 ABI as the new
      stable ABI for the rest of the 3.x series.  Running the ABI
      checker is now part of the release process, so we should not
      change the ABI again until 4.0!
    o The Query::insert() and replace() overloads that take a pair
      of iterators now work with containers that only provide forward
      iterators.  Idea by Adrian Cornish.
    o Using libtool again on Autotools systems.  It gives us
      relocatable libraries, which is needed in some linking
      situations.  Patch by Adrian Cornish.
    o VC++ release builds now have optimization enabled.  This might
      also affect other toolchains that create separate Debug and
      Release builds, if Bakefile obeys the directive for those
      systems.  (Such as, perhaps, Xcode.)  Initial patch by Matthew
      Bradbury.
    o Fixed a crash in CommandLine mechanism when the usage message is
      called up for programs that have no "extra" parameter and
      corresponding usage appendage.  Initial patch by "Crazy Pete".
    o Query::storein() now tolerates empty result sets, due either to
      DBMS failure or passing a query that never returns results,
      such as INSERT.
    o Exposed DBDriver::result_empty() as Query::result_empty().  We
      did this primarily because it was needed as a helper for the
      previous fix, but it could also be useful more broadly.
    o Added -Wextra to the pedantic build flags.
    o Fixed the "escape" manipulator so it will work with Null<>
      wrapped types.  Patch by "Kemet".
    o ssqls2parse now depends on libmysqlpp.  (It wasn't getting
      relinked when you changed the library.)
    o The configure script's test for the existence of mysql_ssl_set()
      got broken by a change in the mysql_loc.m4 test, causing it to
      always return "no" even if the platform's MySQL C API library did
      have the function.  Therefore, the SslOption could never be set.
      Fixes this bug: stackoverflow.com/questions/7794408
    o Fixed a missing a "buried headers" ifdef wrapper for
      type_info.cpp.  Patch provided by Xavier Richez.
    o We now export the DBDriver class from the MySQL++ DLL when
      building on Windows.  Client programs can now access it directly,
      instead of being able to access only the fields and members
      exposed through Connection and Query.  Fix suggested by Xavier
      Richez.
    o MinGW builds no longer require that you manually create an import
      library for the MySQL C API DLL from a .def file we provide,
      which would inevitably get outdated.  We can now link directly to
      the DLL, and rely on the MinGW linker to figure out the imports.
    o Split the -l flags out of LDFLAGS in the userman's example
      Makefiles.  They're now in LDLIBS, which causes them to be
      put after -o $(EXE) by the default GNU make rules, where they
      should be.
    o Assorted documentation and build system improvements.
    o Assorted fixes for newer GCCs.

PR:		211431 [1]
Submitted by:	Anon <tfaykpgl@sharklasers.com> [1]
Approved by:	maintainer timeout
2016-08-17 18:22:17 +00:00
Dmitry Marakasov
1d1f878054 - Fix trailing whitespace in pkg-descrs, categories [a-f]*
Approved by:	portmgr blanket
2016-05-19 10:21:23 +00:00
Baptiste Daroussin
3edc030b9f Cleanup plist 2014-10-20 10:41:12 +00:00
Dmitry Marakasov
a5cf958603 - Drop USE_AUTOTOOLS=libtool, libtool is not used
Approved by:	portmgr blanket
2014-08-25 22:53:44 +00:00
Adam Weinberger
4586d2ad5c Nuke NOPORTDOCS. While, here, correct a couple offenders who label examples
with PORTDOCS. And, fix a couple WITH_foo invocations.
2014-07-03 21:48:44 +00:00
Vanilla I. Shu
d73e537850 Support STAGEDIR.
Approved by:	portmgr@
2014-05-16 02:44:55 +00:00
Baptiste Daroussin
36117d7097 Add NO_STAGE all over the place in preparation for the staging support (cat: databases) 2013-09-20 16:13:47 +00:00
Martin Wilke
4626221edc - Fix build with GCC 4.6
PR:		162377
Submitted by:	Yuri Karaban <dev@dev97.com>
Approved by:	maintainer
Feature safe:	yes
2011-11-25 18:24:36 +00:00
Doug Barton
7ec3b1d0f5 Update to version 3.1.0
Submitted by:	maintainer
2011-08-02 20:54:43 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Alex Dupre
1bda2b2725 Bump PORTREVISION for ports linking to default libmysqlclient. 2011-03-19 13:15:34 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Vanilla I. Shu
95f2f230ab Upgrade to 3.0.8.
Approved by:	maintainer
2009-02-02 07:51:45 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Ion-Mihai Tetcu
21d3c3e73f MySQL++ is a C++ wrapper for MySQL's C API.
It is built around STL principles, to make dealing with
the database as easy as dealing with an STL container.

This port contains the version 3 of the library; see databases/mysql++ and
databases/mysql++1 for the older versions.

WWW: http://tangentsoft.net/mysql++/
2008-04-05 11:54:42 +00:00