Project

General

Profile

Actions

Correction #11471

open

Inconsistencies in Developing Packages document (``config_file``/``configurationfile``)

Added by Andreas Lindhé almost 4 years ago. Updated over 2 years ago.

Status:
New
Priority:
Low
Assignee:
Category:
Development
Target version:
-
Start date:
02/19/2021
Due date:
% Done:

0%

Estimated time:

Description

Page: https://docs.netgate.com/pfsense/en/latest/development/develop-packages.html

Feedback:

It seems like there are inconsistencies in the text. In the sample manifest file, it says <configurationfile>someprogram.xml</configurationfile> but in the text we find "The manifest specifies a Package Configuration File for the package using the config_file tag. The convention is to keep this file inside the files/usr/local/pkg/ directory inside the port structure for the package."

Instead of

<configurationfile>someprogram.xml</configurationfile>

I would expect

<config_file>files/usr/local/pkgsomeprogram.xml</config_file>

if I read the text right. Otherwise, I think it should be clarified in some other way, because I don't know what's the right format form reading the text and examples.

Actions

Also available in: Atom PDF