BSD Ports

Vulnerable: version 2.6.4 is affected by 1 known vulnerability. See below.

devel/flex 2.6.4 NetBSD

Fast clone of lex(1), the lexical scanner generator

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
2-clause-bsd
Categories
devel, lang
Package size
269.1 KiB, 1214.9 KiB installed

Description

flex is a tool for generating scanners: programs which recognized lexical patterns in text. flex reads the given input files, or its standard input if no file names are given, for a description of a scanner to generate. The description is in the form of pairs of regular expressions and C code, called rules. flex generates as output a C source file, lex.yy.c, which defines a routine yylex(). This file is compiled and linked with the -lfl library to produce an executable. When the executable is run, it analyzes its input for occurrences of the regular expressions. Whenever it finds one, it executes the corresponding C code.

In the other systems

SystemPortVersion
NetBSDdevel/flex2.6.4
FreeBSDtextproc/flex2.6.4_3
DragonFlytextproc/flex2.6.4_3
MidnightBSDtextproc/flex2.6.4
HardenedBSDtextproc/flex2.6.4_3
GhostBSDtextproc/flex2.6.4_3

Install

Binary package:

pkgin install flex

From pkgsrc:

cd /usr/pkgsrc/devel/flex && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.6.4
NetBSD 10.1 aarch642.6.4
SmartOS / illumos x86_642.6.4
macOS 15 arm642.6.4

Dependencies

Run dependencies 1

Known vulnerabilities 1