Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Package for Fedora / RHEL / CentOS #127

Open
agoode opened this issue Nov 6, 2015 · 18 comments
Open

Package for Fedora / RHEL / CentOS #127

agoode opened this issue Nov 6, 2015 · 18 comments

Comments

@agoode
Copy link
Contributor

agoode commented Nov 6, 2015

I am working on this.

Currently I first need to package launchpad.net/go-xdg/v0 and github.com/codegangsta/cli.

@agoode
Copy link
Contributor Author

agoode commented Nov 6, 2015

github.com/codegangsta/cli is already packaged.

@jacobmarble
Copy link
Contributor

FYI the xdg package already exists in Debian, but it has a non-standard name. Don't know why.
https://packages.debian.org/sid/golang-go-xdg-dev

@agoode
Copy link
Contributor Author

agoode commented Nov 10, 2015

package review for golang-launchpad-go-xdg-v0: https://bugzilla.redhat.com/show_bug.cgi?id=1279660

@agoode
Copy link
Contributor Author

agoode commented Nov 13, 2015

I filed an issue against firewalld to better support the privet use case:
https://github.com/t-woerner/firewalld/issues/55

Right now the only way to support privet with firewalld is to open all the ephemeral ports. For Fedora Workstation it doesn't matter, since the default firewalld config does this. But this is not the default on Fedora Server nor CentOS.

@jacobmarble
Copy link
Contributor

I'm not familiar with firewalld, but if it helps, we could limit the port range with a config value. The libraries don't make this simple, but I don't think it would be hard to implement.

@agoode
Copy link
Contributor Author

agoode commented Dec 8, 2015

The last dependency for Fedora is packaged:
https://admin.fedoraproject.org/pkgdb/package/golang-launchpad-go-xdg-v0/

It will be appearing in f22, f23, rawhide, and el7.

There may be more el7 dependencies to work through.
I have not looked at el6 yet at all.

@agoode
Copy link
Contributor Author

agoode commented Dec 8, 2015

el6 looks similar dependency-wise. I will package xdg for el6 as well.

el6 will be a little more work from the others mostly because of logging and systemd, but should be doable.

@agoode
Copy link
Contributor Author

agoode commented Dec 9, 2015

el6 should be fine. "go get" works just fine (except for https://bugzilla.redhat.com/show_bug.cgi?id=1253897). I think all dependencies are packaged.

@agoode
Copy link
Contributor Author

agoode commented Dec 30, 2015

This is a little tricky still since the policies for RHEL7 are not well documented. Fedora and RHEL6 should be fine.

@agoode
Copy link
Contributor Author

agoode commented Feb 13, 2016

I've not made any progress here since Fedora hasn't yet figured out a complete (non-draft) packaging story for Go.
https://fedorahosted.org/fpc/ticket/382

Until things are figured out, this should be installable quite easily with the normal go get tool except for the bug mentioned above.

@jacobmarble
Copy link
Contributor

Roger, thanks for the update.

@agoode
Copy link
Contributor Author

agoode commented May 24, 2016

Just some notes for me here:

  • Should set Restart=on-failure in the service file
  • Need to add d /run/cups-connector 0755 gcp gcp - to /usr/lib/tmpfiles.d/cups-connector.conf (/tmp is not the right place for sockets, they don't get cleaned up there)
  • Definitely need "log_to_journal": true and "monitor_socket_filename": "/run/cups-connector/cups-connector-monitor.sock" in the default config file or the command line

@agoode
Copy link
Contributor Author

agoode commented Aug 16, 2016

Blocking on #266.

@agoode
Copy link
Contributor Author

agoode commented Feb 27, 2017

Things are still moving (slowly) in Fedora land.
https://pagure.io/packaging-committee/issue/382

I am not working on this right now but if #266 is resolved I could revisit this.

@agoode agoode removed their assignment Feb 27, 2017
@mintslice
Copy link

@agoode there's a bunch of golang packages in fedora 25 now.

$ sudo dnf search golang | wc
1314 6286 85562

Is it possible that that packaging issues have been resolved. I would be great to see yum support for this.

@agoode
Copy link
Contributor Author

agoode commented Apr 7, 2017

This is still blocked on #266.

@iranzo
Copy link

iranzo commented Oct 3, 2019

Any progress on getting this package released?

@agoode
Copy link
Contributor Author

agoode commented Oct 3, 2019

No, I'm not working on this right now.

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

No branches or pull requests

4 participants