uniqush / uniqush-push

Uniqush is a free and open source software system which provides a unified push service for server side notification to apps on mobile devices.
http://uniqush.org
Apache License 2.0
1.54k stars 201 forks source link

FreeBSD support #189

Open ZeWaren opened 6 years ago

ZeWaren commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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:

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

mishan commented 6 years ago

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.