1

Topic: iRedMail FreeBSD packages_freebsd.sh and make.conf

==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: FreeBSD 9.2
- Related log if you're reporting an issue:
====

Hi

Some FreeBSD ports versions in İRedMail packages_freebsd.sh  script is very old and not supported. For example iRedMail script required Perl 5.8 . Today my server runs Perl 5.14 . FreeBSD team announced that default Perl release is 5.16 . And make.conf file default version variable changed. If script is adding some default version information into make.conf file, it must be upgrade to new default version variable type.

Here is the announcements:

20130920:
  AFFECTS: Users of ports
  AUTHOR: bapt@FreeBSD.org

  New way to override the default version of a language in the ports
  tree.

  The make variable, DEFAULT_VERSIONS, allows users to override the
  default version defined by the ports tree.

  For example, to declare specific versions for Perl, Ruby and Tcl/Tk,
  it would be defined as:
  DEFAULT_VERSIONS=     perl5=5.18 ruby=2.0 tcltk=8.6

  Today, this only is supported by Perl, Ruby and Tcl/Tk.

20131003:
  AFFECTS: users of lang/python* and ports
  AUTHOR: mva@FreeBSD.org

  The default versions of lang/python* have been changed to support the
  new DEFAULT_VERSIONS variable.

  PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION and
  PYTHON3_DEFAULT_VERSION are deprecated. If you have set them in your
  make.conf, you should change them something like

  DEFAULT_VERSIONS=python=2.7 python2=2.7 python3=3.3

20131023:
  AFFECTS: users of lang/perl5.12 lang/perl5.14
  AUTHOR: mat@FreeBSD.org

  The default perl has been switched to lang/perl5.16.

Best regards.

Sorry about my English.

Hasan Alp İNAN

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedMail FreeBSD packages_freebsd.sh and make.conf

hainan wrote:

For example iRedMail script required Perl 5.8 . Today my server runs Perl 5.14

I guess you mean this line in functions/packages_freebsd.sh:

# Perl 5.8. REQUIRED.

Well, it's just a comment line, it doesn't impact the real version number in ports tree. I removed '5.8' in commend line.

hainan wrote:

And make.conf file default version variable changed.

iRedMail uses 'DEFAULT_VERSIONS=' in development edition, will be available in next release. This was reported by another user, it was fixed weeks ago after the report.