No source packages in APT repo?
I added a deb-src entry to my APT config matching the deb entry:
deb https://repo.dovecot.org/ce-2.3-latest/ubuntu/focal focal main deb-src https://repo.dovecot.org/ce-2.3-latest/ubuntu/focal focal main
When this is there, I see a warning when running "apt update".
W: Skipping acquire of configured file 'main/source/Sources' as repository 'https://repo.dovecot.org/ce-2.3-latest/ubuntu/focal focal InRelease' does not seem to provide it (sources.list entry misspelt?)
Were source packages excluded deliberately? The github repo for dovecot does not have a "debian" directory, which is the other route that would allow me to build packages.
Thanks, Shawn
On 03/12/2021 22:27 Shawn Heisey elyograg@elyograg.org wrote:
I added a deb-src entry to my APT config matching the deb entry:
deb https://repo.dovecot.org/ce-2.3-latest/ubuntu/focal focal main deb-src https://repo.dovecot.org/ce-2.3-latest/ubuntu/focal focal main
When this is there, I see a warning when running "apt update".
W: Skipping acquire of configured file 'main/source/Sources' as repository 'https://repo.dovecot.org/ce-2.3-latest/ubuntu/focal focal InRelease' does not seem to provide it (sources.list entry misspelt?)
Were source packages excluded deliberately? The github repo for dovecot does not have a "debian" directory, which is the other route that would allow me to build packages.
Thanks, Shawn
Is there a particular reason you need to build source packages?
Aki
On 12/3/21 1:28 PM, Aki Tuomi wrote:
Is there a particular reason you need to build source packages?
There are sometimes moments when I want to test out a code change in a program I'm running on a server. If a source package is available, I can make the change and build a new package that includes all of the Ubuntu customizations for that program plus the change I am testing. To test, I just manually install the package. To revert, I reinstall the original package with apt. Without a source package, testing might require complex steps with the upstream source and customization information that I may not have access to.
Thanks, Shawn
+1.
I *was* using the repo's packages for Ubuntu - but when I wanted to try fts-flatcurve I needed something to compile against. I'd rather do so against the repo sources if possible.
-- Daniel
------ Original Message ------ From: "Shawn Heisey" elyograg@elyograg.org To: dovecot@dovecot.org Sent: 12/3/2021 1:45:26 PM Subject: Re: No source packages in APT repo?
On 12/3/21 1:28 PM, Aki Tuomi wrote:
Is there a particular reason you need to build source packages?
There are sometimes moments when I want to test out a code change in a program I'm running on a server. If a source package is available, I can make the change and build a new package that includes all of the Ubuntu customizations for that program plus the change I am testing. To test, I just manually install the package. To revert, I reinstall the original package with apt. Without a source package, testing might require complex steps with the upstream source and customization information that I may not have access to.
Thanks, Shawn
You only need dovecot-dev for that, not the sources.
Aki
On 04/12/2021 00:30 Daniel Miller dmiller@amfes.com wrote:
+1.
I *was* using the repo's packages for Ubuntu - but when I wanted to try fts-flatcurve I needed something to compile against. I'd rather do so against the repo sources if possible.
-- Daniel
------ Original Message ------ From: "Shawn Heisey" elyograg@elyograg.org To: dovecot@dovecot.org Sent: 12/3/2021 1:45:26 PM Subject: Re: No source packages in APT repo?
On 12/3/21 1:28 PM, Aki Tuomi wrote:
Is there a particular reason you need to build source packages?
There are sometimes moments when I want to test out a code change in a program I'm running on a server. If a source package is available, I can make the change and build a new package that includes all of the Ubuntu customizations for that program plus the change I am testing. To test, I just manually install the package. To revert, I reinstall the original package with apt. Without a source package, testing might require complex steps with the upstream source and customization information that I may not have access to.
Thanks, Shawn
On 12/8/21 3:46 AM, Aki Tuomi wrote:
You only need dovecot-dev for that, not the sources.
The dovecot-dev package looks like it's for writing programs that integrate with dovecot, not for building dovevot.
If I'm wrong about that, can somebody explain how I can use it to build custom dovecot packages?
Thanks, Shawn
On 8 December 2021 18.03.04 UTC, Shawn Heisey elyograg@elyograg.org wrote:
On 12/8/21 3:46 AM, Aki Tuomi wrote:
You only need dovecot-dev for that, not the sources.
The dovecot-dev package looks like it's for writing programs that integrate with dovecot, not for building dovevot.
If I'm wrong about that, can somebody explain how I can use it to build custom dovecot packages?
Thanks, Shawn
You can compile fts-flatcurve with dovecot-dev. We are looking into getting the source debs there.
Aki
participants (3)
-
Aki Tuomi
-
Daniel Miller
-
Shawn Heisey