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

Update to Unifi 5 and pfSense 2.3 #34

Merged
merged 1 commit into from
Jun 2, 2016

Conversation

jmcphail
Copy link
Contributor

@jmcphail jmcphail commented Jun 2, 2016

Updates Unifi to 5.0.6 and installs FreeBSD packages latest 10.3 release.

Also replace snappyjava version.

@jmcphail
Copy link
Contributor Author

jmcphail commented Jun 2, 2016

This is obviously a nightmare to maintain. Working on a way to track versions and deps of mongodb, openjdk, etc.

The file packagesite.yaml in the archive http://pkg.freebsd.org/freebsd:10:x86:64/latest/packagesite.txz has the information we need to track automatically.

My shell script-fu is rusty.

@jmcphail
Copy link
Contributor Author

jmcphail commented Jun 2, 2016

I found a JSON shell parser that seems to work on the packagesite.yaml file.
https://github.com/dominictarr/JSON.sh

[2.3.1-RELEASE][[email protected]]/root: grep '"name":"mongodb"' packagesite.yaml | ./JSON.sh -l | pcregrep -o1 -o2 --om-separator=- '^\["deps"\,"(.*)","version"\]\s+"(.*)"$'

Produces the following dependency list for mongodb:
snappy-1.1.3
v8-3.18.5_1
pcre-8.38_1

Getting closer...

@gozoinks
Copy link
Collaborator

gozoinks commented Jun 2, 2016

You're doing noble work. This kind of maintenance challenge has had me thinking about whether and how to keep the project moving (which has meant it has not been moving).

Do you anticipate further changes or should I go ahead and test this?

@gozoinks gozoinks merged commit 900943d into unofficial-unifi:master Jun 2, 2016
@jmcphail
Copy link
Contributor Author

jmcphail commented Jun 2, 2016

Thanks for the feedback and testing. I agree with you... whether or not to continue with this project. I think the package dependency tracking is very doable.

More changes are coming... which will get us to hopefully dealing with #11 and #12 eventually.

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

Successfully merging this pull request may close these issues.

2 participants