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

FreeBSD support #189

Open
ZeWaren opened this issue Oct 5, 2017 · 3 comments
Open

FreeBSD support #189

ZeWaren opened this issue Oct 5, 2017 · 3 comments
Labels

Comments

@ZeWaren
Copy link

ZeWaren commented Oct 5, 2017

I have successfully run uniqush-push 2.2.0 in production on FreeBSD.

I made a FreeBSD port for it and I think it would make sense to add it to the official port tree.

Is there somebody in the project that is responsible for the distribution packages?
If not, I don't mind pushing the port myself.

@TysonAndre
Copy link
Contributor

What do you mean by distribution packages?

http://uniqush.org/documentation/install.html lists the current installation methods.

https://github.com/uniqush/uniqush-push/blob/master/build/build-uniqush-push.sh uses fpm in order to generate the RPMs and DEBs published with github releases. It may be possible to add a txz with the following line or similar:

fpm -s dir -t freebsd -v "$VERSION" -n uniqush-push --license="$LICENSE" --maintainer="Nan Deng" --vendor "uniqush" --url="http://uniqush.org" --category Network --description "Uniqush is a free and open source software which provides a unified push service for server-side notification to apps on mobile devices" -a "$ARCH" -C "$BUILD" .

As for maintaining a FreeBSD repo, I don't use FreeBSD, and I'm not really familiar with their processes and bug management tools and package management, so I'd be unsuitable for maintaining that.

@ZeWaren
Copy link
Author

ZeWaren commented Oct 10, 2017

Do you have any plan to release the packages to the OS repositories so that people can install the application just by apt-get install uniqush-push or yum install uniqush-push?

On FreeBSD, people could just do:

  • pkg install uniqush-push to install a binary.
  • make -C /usr/ports/net/uniqush-push to build from source from github and install.

In the meantime, I'll see if I can configure fpm to also build the FreeBSD tgz file.

@mishan
Copy link
Member

mishan commented Oct 10, 2017

If you wouldn't mind pushing the port to FreeBSD, that would be great!

To get our package into various Linux distributions requires us to either have someone sponsor the package like in Debian or to host our own repo and support the various distro versions. I used to be a Debian Developer (retired from the project due to lack of time) and I'm pretty sure they won't accept the fpm package. We'll need a proper debian/control, debian/rules, etc. that conform to all the current standards and such. Not sure what the process is with, say, Ubuntu (don't people prefer to just run their own PPAs?) or CentOS. If I were still a Debian Developer, I could take care of getting it into Debian, but alas, I am no longer one.

I don't personally have the time to maintain packages for a bunch of distributions. I would be very grateful for anyone who wants to spearhead the initiative to get uniqush into FreeBSD, CentOS, Debian, etc.

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

No branches or pull requests

3 participants