Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to create a simple package for copying custom theme files?

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 453 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      concypt
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        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.

        C 1 Reply Last reply Reply Quote 1
        • C
          concypt @KOM
          last edited by

          @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.txz

          There 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

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.