pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Config files in PLIST



Hello, I have a newbie question...

I'm trying to package openfortivpn, which is a client for Fortinet VPNs.
I followed the usual steps, and when I generate PLIST file one of the
files included is etc/openfortivpn/config. So pkglint raises an error.

I dove into the package build configuration, and I saw that one of the
install targets uses a file template (that also is installed in share
directory) to generate a default file in etc.

My question is how to properly deal with this situation. I believe I have
at least two options:
* patch the package to do not template the config file, and generate it using
CONF_FILES framework
* create a post-build step that does the dirty work

but I would appreciate an expert advice about this situation.

Best regards.

-- 
Francisco J. Tsao Santín
http://gattaca.es
1024D/71CF4D62  42 F1 53 35 EF 98 98 8A FC 6C 56 B3 4C A7 7D FB


Home | Main Index | Thread Index | Old Index