AdaControl is a free (GMGPL) tool that detects the use of various kinds of
constructs in Ada programs. Its first goal is to control proper usage of
style or programming rules, but it can also be used as a powerful tool to
search for use (or non-use) of various forms of programming styles or design
patterns. Searched elements range from very simple, like the occurrence of
certain entities, declarations, or statements, to very sophisticated, like
verifying that certain programming patterns are being obeyed..
Which elements or constructs are searched is defined by a set of rules; the
following table gives a short summary of rules currently checked by
AdaControl. The number in parentheses after the rule name gives the number
of subrules, if any. Considering all possible rules and subrules, this makes
452 tests that can be performed currently by AdaControl!
WWW: http://www.adalog.fr
===> The following configuration options are available for adacontrol-1.18r9_1:
DOCS=on: Build and/or install documentation
PROJECTS=off: Support the direct processing of .gpr files
===> Use 'make config' to modify these settings
cleanup: Remove ports depending on expired lang/gcc6-aux
Keep ports-mgmt/synth and dependencies (including lang/gcc6-aux itself)
for now as synth is the only Ada port still maintained and might be
somewhat high-profile.
Removed ports:
archivers/zip-ada
cad/ghdl
databases/adabase
databases/apq
databases/apq-mysql
databases/apq-odbc
databases/apq-pgsql
devel/ada-util
(Only the first 15 lines of the commit message are shown above )
Return the ports mistakenly reset to ports@ in r433856 to John Marino.
The mistake was completely on my part, I somehow connected the dots the
wrong way in my head.
The only exceptions (for now) are archivers/zstd and ports-mgmt/synth
which were already picked up by new volunteers in the mean time.
lang/adacontrol: Upgrade version 1.17r3 => 1.18r9
The big feature for adacontrol 1.18 is the direct support of .gpr project
files. Unfortunately, the project support requires devel/gnatcoll, a heavy
dependency. Thus, a PROJECT option was created which is "OFF" by default to
maintain the relatively lean dependency requirements. If project support is
vital, reconfigure the build with the PROJECT option.
Change Ada Framework foundation from gcc5-aux to gcc6-aux
GCC 6.1 was released this week. The Ada Framework in FreeBSD ports has
been based on GCC 5.3 GNAT although GCC 6.x has been supported for awhile
via the ADA_DEFAULT option in make.conf.
Now that GCC 6 has been officially released, switch to it by default.
People can maintain the old foundation by putting "ADA_DEFAULT=5" in
/etc/make.conf.
Libraries built by one GNAT are unusable by another, so almost every Ada
port has been bumped as a result. Noticable exceptions are dns/ironsides
which fails to build on gcc6 (thus USES=ada:5 is set) and cad/ghdl which
needs additional testing as it may require gcc5 on FreeBSD (DragonFly
uses the LLVM backend only).
lang/adacontrol: distfile was re-rolled
The upstream distfile was changed. Most of the changes were regenerated
documentation, but a build file (gpr) was also updated. The changes are
legitimate (but should have been provided r4)
Introduce DIST_SUBDIR now that adacontrol joined the reroll club.
lang/adacontrol: Upgrade version 1.15r5 => 1.16r10
Rule changes according to HISTORY file since version 1.15r5:
New rules:
----------
positional_associations (took over style (positional_association))
type_usage
unit_pattern
unsafe_elaboration
Changes to existing rules:
--------------------------
No_Operator_Usage:
added observed relational
(Only the first 15 lines of the commit message are shown above )
lang/adacontrol: Reaction to gcc-aux upgrade to gcc49
While the version remains the same, AdaControl comes with two flavors of
distfiles: "old" and "new". The "old" distfile was appropriate for
gcc47-aux, but the "new" one is required for the gcc49-based ada compiler.
This change updates the distfile to be used to build adacontrol.
Tie libgnat_util.a to libasis
Rather than specify gnat_util every time ASIS is a dependency, set it
as a library dependency for ASIS. LIB_DEPENDS doesn't work because it
is a static library, so just manually add libgnat_util.a to BUILD_DEPENDS
and RUN_DEPENDS, then adjust 3 ports accordingly.
Add new port: lang/adacontrol
Adacontrol is a tool that analyzes language constructs in Ada programs. It
can be used as a standalone tool, or integrated into other tools. An
example of integration can be seen with the upcoming devel/ahven port.
Approved by: bapt (mentor)