How to create a simple package for copying custom theme files?
-
Hi there,
I am newbie here. My client asked me to place my theme files (css, images and js) into right places by creating a package. I am front end developer and not familiar with pfSense or FreeBSD. I have gone through documentation and understand that I need to create a bunch of files and compile on FreeBSD to create package. This might be helpful for experts but for me most of it gone above from my head. Is there any helo world type tutorial for package creation?
Please help. Thanks in advance.
-
I'm not sure you will find much information about that here. Perhaps it might be better to approach it from the FreeBSD angle first. Learn how to create a generic/simple FreeBSD package, then focus on getting it working with pfSense.
-
@KOM Thanks I have done with it and its working.
I have placed it in pfSense and run it using
pkg add /path/to/file/pfSense-pkg-ThemeName.txzThere are only three problems:
1- When I place the above file in pfsense it stopped showing packages in web configurator. I have deleted and its back to normal.
2- I do not see it in my installed packages list in web configurator, why? Did I miss some thing? How to remove the package if its not in list?
3- I had to over write login.css and I hate this, How to avoide it?Thanks in advance
-
I don't have anything else to add since you're way past what I know about FreeBSD packages & ports. Maybe the pfSense Development forum might have some folks who know more.