Commit graph

31 commits

Author SHA1 Message Date
Mathieu Arnold
8b4093cba5 Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.

PR:		214780
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-12-02 11:58:21 +00:00
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Kurt Jaeger
9b796fdfb0 devel/lfcbase: 1.6.7 -> 1.7.0
devel/lfcxml: 1.1.8 -> 1.2.2
databases/cego: 2.27.2 -> 2.28.3
databases/p5-DBD-cego: bump portrevision
databases/cegobridge: bump portrevision

IMPORTANT: Upgrades of cego 2.27.x to 2.28.x databases has to be done by
export and import.

lfcbase:
- Adaptions made for build with msys2 / mingw64. Many windows
  specific stuff could be eliminated, since mingw64 provides better
  POSIX support ( e.g. pthreads, timer functions .. )

lfcxml:
- Fix in configure.ac to find lfcbase and for FreeBSD

cego:
- Fix in CegoSelect::CegoSelect, the pCacheList variable was not
  initialized to 0 for all constructors. In case of system table
  selects, the variable might be undefined which might lead to
  segmetation faults.
- Changed synchronization level for btree creation. So the base
  table can also be accessed while btree is created ( During creation
  btree status is invalid )
  This also allows to perform on online btree reorganization, since
  a new btree can be build up in parallel
- Fix in CegoSystemObject::createSystemSpace, id values for bustat
  table must start with id 1 instead of id 0, otherwise, bustat
  information retrievel fails or may result in a core dump
  ( select * from $bustat )
- Added performance fix for CegoQueryHelper::decodeFVL, since the
  tuple context information is already from the method called, the
  tid, tastep and ts parameters have been remove from this method.
  This saves some decoding time
- Please note, that version 2.28.x makes datafiles from older versions
  incompatible.
  An upgrade requires a xml tableset export of existing data and a
  restore after succesful upgrade
- 2.28.x also contains many code cleanup fixes and some fixes for
  btree handling.
- Fix in CegoTableManager::createBTree, in case of an exception
  during build up, the allocated have to be cleanup up. For this the
  a rollback method was introduced in class CegoBTreeManager.
  Fix in CegoTableCursor, invalid btree objects have not been ignored
- Many adapations to make cego full 64bit ready also in combination
  with MSYS2 / MINGW64. This resulted in change of many variables
  from type long to type unsigned long long (type long is just 32 bit
  for Windows ) With an appropriate MSYS2 / MINGW64 installation,
  cego compiles proper and runs stable now.
  Many thanks to the MSYS/MINGW developers for their amazing work !
- Several changes from type int to type unsigned long long
- Fix in CegoTableManager::deleteDataTable ( renamed to
  deleteDataTableEntry )
  Since we allow now parallel updates, the method must check if the
  target tuple has already been touched by another transaction.
  Otherwise, invalid double entries could occur in case of concurrent
  updates on the same tuple.
  If a concurrent transaction is detected, the method returns false.
  This return value is used by the updateTuple method to decide,
  if the subsequent insert operation must be performed.
- Since it is not enough jut checking the tuple header info for
  update deletes, a record locking has to be added to avoid duplicates.
  In this sense, record locking for setTupleInfo method call ( used
  in CegoTableManager and CegoTransactionManager ) was added. For
  this, the lockRecord and unlockRecord method have been reactivated
  in CegoLockManager class.
  This lock avoids, that in case of concurrent tuple updates duplicate
  tuples are produced by an update.
- Fix in configure.ac to find lfcbase and lfcxml and for FreeBSD

Submitted by:	lemke@lemke-it.com
2016-01-11 12:30:27 +00:00
Kurt Jaeger
9b18b33e7b devel/lfcbase: 1.5.11 -> 1.6.1
databases/cego: 2.21.1 -> 2.22.0
databases/p5-DBD-cego: 1.2.9 -> 1.3.0

lfcbase:
- Added syslog support
- syslog is enabled per default

cego:
- fix in CegoFieldValue::comp for correct null value ordering
- adapt to lfcbase 1.6 with syslog support

p5-DBD-cego:
- adapt to lfcbase 1.6 with syslog support

Submitted by:	Björn Lemke <lemke@lemke-it.com>
2015-05-01 17:21:21 +00:00
Mathieu Arnold
eee58d187e Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.

As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.

The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.

The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.

PR:		194969
Differential Revision:	https://reviews.freebsd.org/D1019
Exp-run by:	antoine
Reviewed by:	perl@
Approved by:	portmgr
2014-11-26 13:08:24 +00:00
Kurt Jaeger
4d307e20a7 databases/p5-DBD-cego: fix Makefile 2014-11-04 20:28:43 +00:00
Kurt Jaeger
7038f2a33b databases/p5-DBD-cego: 1.2.8 -> 1.2.9
- Modifications in Cego.xs to support newer releases of DBI

Submitted by:	Björn Lemke <lemke@lemke-it.com>
2014-11-04 20:27:05 +00:00
Baptiste Daroussin
3edc030b9f Cleanup plist 2014-10-20 10:41:12 +00:00
Mathieu Arnold
61de712f46 Remove all the bootstrap files (.bs) from the plists.
Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
2014-06-10 12:14:12 +00:00
Kurt Jaeger
c4e1289ca5 Mass-update maintainer from fbsd-ports@opsec.eu -> pi@FreeBSD.org 2014-06-08 19:05:27 +00:00
Martin Wilke
cbb35e1713 - Remove useless bmake/fmake check
- While here convert USE_GMAKE to USES
2014-02-14 16:23:18 +00:00
William Grzybowski
826d914121 databases/p5-DBD-cego: update to 1.2.8
- Update to 1.2.8
- Fix a quoting bug

PR:		ports/183596
Submitted by:	Kurt Jaeger <fbsd-ports opsec.eu> (maintainer)
2013-11-02 18:07:46 +00:00
Sunpoet Po-Chuan Hsieh
31794a02d9 - Update to 1.2.7
- While I'm here:
  - Convert to new LIB_DEPENDS format
  - Respect CC
  - Use USES=gmake
  - Support STAGEDIR

Changes:	http://www.lemke-it.com/litexec?request=pubclogcegodbd
PR:		ports/183359
Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu> (maintainer)
2013-10-27 18:05:42 +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
Andrej Zverev
0aad97bb5c - Convert to new perl framework 2013-08-02 18:21:05 +00:00
Frederic Culot
cd219950d2 - Update to 1.2.6
- Update LICENSE (now GPLv3, was GPLv2)

PR:		ports/179254
Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu> (maintainer)
2013-07-30 13:50:28 +00:00
Baptiste Daroussin
1b0c773340 Mark job unsafe, remove now useless bmake workaround 2013-07-10 12:25:52 +00:00
Baptiste Daroussin
e7b467e4a6 Fix build with bmake 2013-05-04 20:02:52 +00:00
Martin Wilke
dcce2e2940 - Unbreak build
PR:		177473
Submitted by:	maintainer
Reported by:	pointyhat
2013-03-30 04:40:54 +00:00
Frederic Culot
625c2d36bb - Update to 1.2.0
PR:		ports/167839
Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu> (maintainer)
2012-05-15 18:20:11 +00:00
Frederic Culot
c2ea8bba0b - Update to 1.1.15 to unbreak build [1]
- Pet portlint(1) by moving LICENSE section earlier
- Use dirrmtry instead of dirrm in pkg-plist for directories not specific to
  this port

PR:		ports/166631 [1]
Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu> (maintainer)
Feature safe:	yes
2012-04-04 14:54:36 +00:00
Pav Lucistnik
bbbfc48f5d - Mark BROKEN: does not compile
In file included from Cego.c:142:
  /usr/local/lib/perl5/site_perl/5.12.4/mach/auto/DBI/Driver_xst.h: In function 'int dbdxst_bind_params(SV*, imp_sth_t*, I32, I32)':
  /usr/local/lib/perl5/site_perl/5.12.4/mach/auto/DBI/Driver_xst.h:72: error: cannot convert 'imp_sth_t*' to 'imp_xxh_t*' in argument passing
  /usr/local/lib/perl5/site_perl/5.12.4/mach/auto/DBI/Driver_xst.h: In function 'SV* dbdxst_fetchall_arrayref(SV*, SV*, SV*)':
  /usr/local/lib/perl5/site_perl/5.12.4/mach/auto/DBI/Driver_xst.h:98: error: cannot convert 'imp_sth_t*' to 'imp_xxh_t*' in argument passing
  ./Cego.xsi: In function 'void XS_DBD__Cego__db__login(CV*)':
  ./Cego.xsi:96: error: invalid conversion from 'const char*' to 'char*'
  ./Cego.xsi:97: error: invalid conversion from 'const char*' to 'char*'
  [..]

Reported by:	pointyhat
2012-02-10 20:19:13 +00:00
Sunpoet Po-Chuan Hsieh
861d4ba907 - Fix build with Perl 5.14 [1]
- Fix typo: PORTREVISION
- Make portlint happier

PR:		ports/157222 [1]
Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu> (maintainer)
2011-05-31 06:01:41 +00:00
Beech Rintoul
08057ec7e5 -Restore maintainership to submitter
PR:		ports/157030
Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu>
Approved by:	itetcu (mentor)(implicit)
2011-05-14 21:27:28 +00:00
Thomas Abthorpe
8570eb69d2 - Reset maintainer due to email bounces
Final-Recipient: rfc822; fbsd-ports@opsec.eu
Original-Recipient: rfc822;fbsd-ports@opsec.eu
Action: failed
Status: 5.0.0
Remote-MTA: dns; home.opsec.eu
Diagnostic-Code: smtp; 550 Unrouteable address

Submitted by:	erwin
With hat:	portmgr
2011-04-28 20:26:29 +00:00
Baptiste Daroussin
776ff90929 - Fix DBD/Cego/Cego.so missing symbols
- Bump port revision

PR:		ports/156623
Submitted by:	Kurt Jaeger <fbsd-ports _at_ opsec.eu> (maintainer)
2011-04-27 10:06:19 +00:00
Philip M. Gollucci
f379add303 - Update to 1.1.14
- Remove MD5

PR:             ports/153055
Submitted by:   myself (pgollucci)
Approved by:    fbsd-ports@opsec.eu (maintainer)
Changes:        http://www.lemke-it.com/Changes
2010-12-12 23:12:11 +00:00
Max Brazhnikov
68b4db74a3 Update to 1.1.13
PR:		ports/150681
Submitted by:	Kurt Jaeger (maintainer)
2010-10-01 23:16:23 +00:00
Philip M. Gollucci
6b4f995c4f - Mark BROKEN does not compile b/c of lots of bad c/c++/xs code
With Hat:       perl@
Reported by:    QAT
Confirmed by:   P6 TB
2010-09-24 04:51:35 +00:00
Philip M. Gollucci
76f3222580 - %%SITE_PERL%%/auto and %%SITE_PERL%%/%%PERL_ARCH%%/auto
are part of lang/perl5* pkg-plist
- Bump PORTREVISIONs

With Hat:   perl@
2010-09-24 00:44:29 +00:00
Sylvio Cesar Teixeira
515764819e A DBI driver for the Cego database for Perl 5
Many more details are available at:

WWW:	http://www.lemke-it.com/

PR:		ports/148331
Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu>
Feature safe:	yes
2010-07-07 14:06:02 +00:00