Interchange is the open source alternative to commercial e-commerce
servers and "best of breed" application server/component applications.
Interchange is one of the most powerful tools available to automate and
database-enable your web site or build online applications. It's also
one of the easiest tools to learn, plus it's open source, making it the
most open and least expensive solution to implement.
For some documentation and resources for it have a look at
http://www.interchange.rtfm.info/
===> The following configuration options are available for interchange-5.6.3_1:
MYSQL=on: MySQL database support
PGSQL=off: PostgreSQL database support
===> Use 'make config' to modify these settings
databases/p5-DBD-mysql: Fix for MariaDB users
Add a new variable DBD_MYSQL, use that in *_DEPENDS and add mysql to USES
where required. DBD_MYSQL will automatically set the correct DBD dependency.
In cd16748194e2 databases/p5-DBD-mysql was updated to 5.x, in 5.x the
support for MariaDB was removed and only MySQL >= 8.0 is supported.
In the 4.x releases MariaDB is still supported, according to upstream 4.x
will still be supported for a while [1], so use that for now when we detect
that MYSQL_FLAVOUR is set to mariadb. databases/p5-DBD-mysql4 was added in
d95f49cb3b54.
DBD:MariaDB would be another alternative, but migrating to it might need
more analysis than just staying with the 4.x releases of p5-DBD-mysql. This
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
(Only the first 15 lines of the commit message are shown above )
Remove all := from BUILD_DEPENDS, here are never needed.
While there, cleanup, and sort depends.
When build and run dependencies are the same, there are three ways to
avoid duplicating the list while not adding the framework added
BUILD_DEPENDS to the RUN_DEPENDS. In order of preference, they are:
1) use RUN_DEPENDS to set BUILD_DEPENDS:
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= foo:bar/baz
2) create another variable and use it:
MY_DEPENDS= foo:bar/baz
BUILD_DEPENDS= ${MY_DEPENDS}
RUN_DEPENDS= ${MY_DEPENDS}
3) use BUILD_DEPENDS to set RUN_DEPENDS and force evaluation:
BUILD_DEPENDS= foo:bar/baz
RUN_DEPENDS:= ${BUILD_DEPENDS}
Sponsored by: Absolight
Make it so that the default Perl is always called perl5.
- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
Though you should note that only the default version can be used to
install Perl modules, and the non default Perl versions cannot use the
modules installed via ports if they contain .so as they are installed
in a version specific directory.
Reviewed by: bapt (the Mk bits)
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3542
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
(Only the first 15 lines of the commit message are shown above )
Override do-configure with our own.
We install most of interchange's files into ${PREFIX}/interchange. This does
not play well with Uses/perl5.mk, since it appends some values to
CONFIGURE_ARGS that do not work with a custom prefix (it overrides PREFIX,
INSTALLARCHLIB and INSTALLPRIVLIB). Since the right paths are necessary at
the configure stage, we have to implement do-configure ourselves with a
custom INTERCH_CONFIGURE_ARGS with the values we want.
Additionally, set only the required values in INTERCH_CONFIGURE_ARGS and
MAKE_ARGS, based on what upstream's RPM spec file does.
Submitted by: loader@freebsdmall.com
- Reset maintainership to ports@.
- Support staging.
- Modernise the Makefile:
* Switch from USE_BZIP2=yes to USES=tar:bzip2
* Use <OPTION>_RUN_DEPENDS instead of including bsd.port.options.mk and
doing checks ourselves.
* Drop the pkg-deinstall and pkg-install scripts. Instead, just rely on
the ports infrastructure with GROUPS/USERS to create the "interch"
group/user and use the plist to create /var/run/interchange and change
the ownership in %D/interchange.
- Add some missing entries to the plist.
Based on a patch sent by the former maintainer.
PR: 191464
Submitted by: loader@freebsdmall.com (based on)
- Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} or
RUN_DEPENDS=${BUILD_DEPENDS} to use := which portlint has warned
about for a while.
PR: ports/168208
Approved by: portmgr (miwi)
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.
Work done by: gabor
Sponsored by: Google Summer of Code 2007
Hat: portmgr
Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
Ooops... instead of removing the perl 5.8 test completely revert
to check for perl 5.6.1 or better. [1]
Remove -DCHECK_FOR_IC_USER from MAKE_ARGS, it's not needed there.
Noticed by: erwin [1]
- remove BROKEN, the user gets used as intended
- remove perl 5.8 dependency, no problems with 5.6 here
- fix one very little bug in the plist (only shows up if you deinstall
right after installing interchange)
If you experience a problem, please report via send-pr and not in some
kind of chat where the actual content of the report may get lost.
Go ahead and do what's needed by: linimon
Force dependency on Perl 5.8. Without that, the port attempt to
do nasty things like install into non-subdirectories of /usr/local.
(This was reported to me privately). Also, mark as BROKEN due to a
configuration error in which it requests you create a userid but then
refuses to use it.
The submitter of the original email reports that this port has become
out of date, and that he also had much better success with the (upcoming)
port of osCommerce, which is much less difficult to understand.
Fix the databases/p5-SQL-Statement dependency. SQL/Statement.pm
installed by databases/p5-SQL-Statement lives right under ${PERL_VER},
not under ${PERL_VER}/${PERL_ARCH}.
Submitted by: bento
Repeat after me: Always redo your tests if you get distracted while you
are testing some changes... (missing action in post-install)
Noticed by: Mike Harding <mvh@ix.netcom.com>
While I'm here:
- add missing character in 'Whom:'
- use correct path in vendor-after-install message
Add interchange 4.8.6, RedHat's database-enabled e-commerce server.
The committed port is an improved and updated version of the submitted one,
thanks to Stefan (Racke) Hornburg <racke@linuxia.de> for his helpful hints
about some configure/build internals of interchange.
I decided to take over maintainership of this port for a while until someone
more responsive than the port submitter (no answer so far from him since I
decided to take over the PR) is interested in it or until I think the testing
period of this port is over.
PR: 41390
Submitted by: Seth Kingsley <sethk@meowfishies.com>
Thanks to: Stefan (Racke) Hornburg <racke@linuxia.de>