BSD Ports

devel/inih 58 MidnightBSD

Simple .INI file parser written in C

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd3
Categories
devel

Description

inih (INI Not Invented Here) is a simple .INI file parser written in C. It's only a couple of pages of code, and it was designed to be small and simple, so it's good for embedded systems. It's also more or less compatible with Python's ConfigParser style of .INI files, including RFC 822-style multi-line syntax and name: value entries.

In the other systems

The newest version among them is 62, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/inih58no data-[email protected]-
FreeBSDdevel/inih62 newestnone known-[email protected]2026-10-08
NetBSDtextproc/inih by name62 newestnone known-[email protected]-
DragonFlydevel/inih58none known-[email protected]-
HardenedBSDdevel/inih62 newestno data-[email protected]-
GhostBSDdevel/inih62 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install inih

From mports:

cd /usr/mports/devel/inih && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	inih>0:devel/inih
LIB_DEPENDS=	libINIReader.so:devel/inih

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Test 1

Configuration

No options to configure.

USES
meson
Service scripts
none

Files

pkg-plist 8
  • include/INIReader.h
  • include/ini.h
  • lib/libINIReader.so
  • lib/libINIReader.so.0
  • lib/libinih.so
  • lib/libinih.so.0
  • libdata/pkgconfig/INIReader.pc
  • libdata/pkgconfig/inih.pc
distinfo 1
FileSizeSHA256
benhoyt-inih-r58_GH0.tar.gz19964e79216260d5dffe809bda840be48ab0eec7737b2bb9f02d2275c1b46344ea7b7