Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This project needs a dev repository #12

Open
gozoinks opened this issue Mar 31, 2015 · 9 comments
Open

This project needs a dev repository #12

gozoinks opened this issue Mar 31, 2015 · 9 comments

Comments

@gozoinks
Copy link
Collaborator

We need a development package repository so that we can start actually making the pfsense package.

Docs:
https://doc.pfsense.org/index.php/Creating_a_Custom_Package_Repository
https://doc.pfsense.org/index.php/Developing_Packages

@jmcphail
Copy link
Contributor

jmcphail commented Feb 22, 2017

I have started something here:
jmcphail@bf78cf0

@gozoinks
Copy link
Collaborator Author

Great. Coincidentally, I was just thinking again about this.

Trying to piece together the workflow (having never done a pfsense package or a freebsd port before) it looks like we need to be working from a fork of the fork of FreeBSD-ports maintained by pfsense. This seems a little awkward, because it means moving all the work done here so far over to a new repository, but if I'm understanding correctly how this is supposed to work, I think we have no choice. At least it's clearer how to proceed than under 2.2 and prior; ports makes more sense.

If all this is the case, then we're facing a rebirth of this effort in a new home and a sunsetting of this particular project, no?

@jmcphail
Copy link
Contributor

I have just started to investigate the port setup as well, and do not know enough to answer your question. Over the short term I will be looking in more detail. I just want to ensure we are not duplicating effort.

@gozoinks
Copy link
Collaborator Author

I appreciate you taking the initiative and your contributions as a whole.

@jmcphail
Copy link
Contributor

jmcphail commented Feb 24, 2017

I made some progress last night with manually building a package. These are my thoughts so far... Long term you are right, we would be better off to fork the pfsense FreeBSD-ports and contrib accordingly. But that seems like a bit of a leap, and likely would involve a lot of extra work to bring things up to snuff for the pfSense crew to accept this. Short term, maybe we can build the package manually, and have it available for download and install? That seems like a big improvement from what we have now, for example:

pkg add https://github.com/gozoinks/unifi-pfSense/pfSense-pkg-UniFi-0.0.1.txz

Some thoughts...

Do you have a sense of how many people have used this script? It looks like the FreeNAS community has used this as well.

Does the pfSense team even want to see UniFi controller as an official package? The UniFi software and hardware product line are rapidly becoming a replacement for many core functions of pfSense. I wonder, does this effort even make sense anymore?!

Is pfSense and/or FreeBSD dying?

Anyways, I think it would be great, at the very least, to provide a link to UniFi from the pfSense menu, to be able to stop,start,restart the service and uninstall.

This looks interesting! https://github.com/malle-pietje/UniFi-API-browser

@gozoinks
Copy link
Collaborator Author

gozoinks commented Feb 25, 2017 via email

@kklouzal
Copy link

kklouzal commented Jul 12, 2017

This project needs it's own official repository. You have strong user-base and push updates quite frequently. The time is long overdue and this needs to be an immediate goal.

Any word on progress?

@gozoinks
Copy link
Collaborator Author

Things have changed, and this issue as written is now less relevant. In the early days, you had to do some work to set up a development package repository and modify your pfSense config to point to that, then when you were finished, submit a PR to the pfsense team to have them bring your package into their repo.

Since then, it looks like what we need to do is fork the package repo and build the package within that.

That means this project, as it stands, would end. A new project would begin, as a fork of the pfsense package repo, where a new package would be created and from which PRs would be submitted to the pfsense package repo maintainers. The work done so far here would have to be migrated into that project, and work going forward would proceed on that project. No progress on that.

I figure, if we are looking at going to all that trouble, and if there is interest in this sort of package on non-pfsense FreeBSD systems, then (as I muse above) there is probably a need for a plain FreeBSD plugin that provides a UniFi controller, plus a pfSense package based on that.

So, the current vision is this:

  1. Respawn this project as a FreeBSD package project, forked from the FreeBSD package repo
  2. Develop a separate pfSense package that incorporates the FreeBSD package, adding in pfSense goodies
  3. Support development of packages for other FreeBSD-based systems, like FreeNAS.

@gozoinks
Copy link
Collaborator Author

@jmcphail In response to your questions about the prognosis for pfSense, I don't think it's dying. At the same time, one of the principal pfSense developers has been recruited at Ubiquiti. What does that mean for the future of either platform? I dunno. I see many possibilities, most of which may obviate this particular project, either by something official coming from either camp or by one product being absorbed into the other. This project might be relegated to a niche that serves developers and admins interested in an adaptable open source alternative to whatever pfSense/NetGate/Ubiquiti might offer, all of which increments my motivation to generalize.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants