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

Support IPK package format #507

Open
2 tasks done
mlois-efimob opened this issue May 9, 2022 · 10 comments
Open
2 tasks done

Support IPK package format #507

mlois-efimob opened this issue May 9, 2022 · 10 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mlois-efimob
Copy link

Is your feature request related to a problem? Please describe.

Create a package for a OpenWrt or another embedded distribution that uses opkg and ipkg packages, that are debian simplified packages.

Describe the solution you'd like

To be able to generate a ipk with as deb packaging is supported

Describe alternatives you've considered

Build the packages by myself.

Search

  • I did search for other open and closed issues before opening this.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

@mlois-efimob mlois-efimob added the enhancement New feature or request label May 9, 2022
@caarlos0
Copy link
Member

might be worth investigating if we can test the packages on docker...

@mlois-efimob
Copy link
Author

mlois-efimob commented May 10, 2022

I think that the OpenWrt project that uses this package format has docker images already built for every release: https://github.com/openwrt/docker also other distributions as OpenEmbedded uses ipk as well.

@erikgeiser
Copy link
Member

In what way do these packages actually differ from deb packages?

@caarlos0
Copy link
Member

1 year, no reply, closing.... reopen/comment if needed.

@schmidtw
Copy link
Contributor

I have a need for this for supporting yocto build communities. I'm exploring what it would take to write this.

@schmidtw
Copy link
Contributor

@erikgeiser there are quite a few ways these differ from deb packages. There isn't any formal documentation from what I have found 😞 but I have been focusing on the opkg packaging tool code from openwrt & yocto.

Summary:

  • Signing isn't done at the package level, but the "feed" or repo provider level.
  • Fewer configuration options, more opinionated.
  • No triggers/rules, limited scripts.
  • Documentation is stripped for size.

@caarlos0
Copy link
Member

1 year, no reply, closing.... reopen/comment if needed.

didn't actually close it.. closing it now.

@caarlos0 caarlos0 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 26, 2024
@schmidtw
Copy link
Contributor

@caarlos0 I'm about a week away from having a PR submitted to add ipk support if you'll still take it. I'm working out the acceptance tests.

@caarlos0
Copy link
Member

Ah, yeah sounds good!

@caarlos0 caarlos0 reopened this Apr 26, 2024
schmidtw added a commit to schmidtw/nfpm that referenced this issue Apr 29, 2024
Implements goreleaser#507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
schmidtw added a commit to schmidtw/nfpm that referenced this issue Apr 29, 2024
Implements goreleaser#507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
schmidtw added a commit to schmidtw/nfpm that referenced this issue Apr 29, 2024
Implements goreleaser#507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
schmidtw added a commit to schmidtw/nfpm that referenced this issue Apr 29, 2024
Implements goreleaser#507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
schmidtw added a commit to schmidtw/nfpm that referenced this issue Apr 29, 2024
Implements goreleaser#507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
schmidtw added a commit to schmidtw/nfpm that referenced this issue Apr 29, 2024
Implements goreleaser#507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
schmidtw added a commit to schmidtw/nfpm that referenced this issue Apr 29, 2024
Implements goreleaser#507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
schmidtw added a commit to schmidtw/nfpm that referenced this issue Apr 29, 2024
Implements goreleaser#507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
schmidtw added a commit to schmidtw/nfpm that referenced this issue Apr 29, 2024
Implements goreleaser#507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
schmidtw added a commit to schmidtw/nfpm that referenced this issue Apr 29, 2024
Implements goreleaser#507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
schmidtw added a commit to schmidtw/nfpm that referenced this issue Apr 29, 2024
Implements goreleaser#507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
schmidtw added a commit to schmidtw/nfpm that referenced this issue Apr 30, 2024
Implements goreleaser#507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
schmidtw added a commit to schmidtw/nfpm that referenced this issue Apr 30, 2024
Implements goreleaser#507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
@schmidtw
Copy link
Contributor

I'm sorry - I didn't realize my local branch pushes were creating all these comments ... 😞

caarlos0 pushed a commit that referenced this issue May 8, 2024
Implements #507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
@caarlos0 caarlos0 added this to the 2.38.0 milestone May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants