Merge ~ahasenack/ubuntu/+source/squid:squid-4-merge into ubuntu/+source/squid:debian/sid
Status: | Merged |
---|---|
Approved by: | Christian Ehrhardt |
Approved revision: | e4f96de5d26b16d2ea4d981288dd627eacc7eec7 |
Merge reported by: | Christian Ehrhardt |
Merged at revision: | e4f96de5d26b16d2ea4d981288dd627eacc7eec7 |
Proposed branch: | ~ahasenack/ubuntu/+source/squid:squid-4-merge |
Merge into: | ubuntu/+source/squid:debian/sid |
Diff against target: |
434 lines (+291/-6) 13 files modified
debian/changelog (+65/-0) debian/control (+5/-3) debian/patches/0003-installed-binary-for-debian-ci.patch (+37/-0) debian/patches/90-cf.data.ubuntu.patch (+16/-0) debian/patches/99-ubuntu-ssl-cert-snakeoil.patch (+22/-0) debian/patches/fix-uninitialized-var.patch (+25/-0) debian/patches/series (+4/-0) debian/rules (+11/-0) debian/squid.install (+3/-0) debian/squid.preinst (+15/-0) debian/tests/test-squid.py (+2/-2) debian/tests/upstream-test-suite (+1/-1) debian/usr.sbin.squid (+85/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christian Ehrhardt (community) | Approve | ||
Canonical Server | Pending | ||
Review via email: mp+353097@code.launchpad.net |
Description of the change
This is the merge of the new major upstream squid version from debian into ubuntu.
To work with this, I created logical/
Therefore this will be the first ubuntu changelog entry in the squid repository. This looks a bit odd, as there are ancient squid-3.0.X changelogs in there from debian, and we had such releases in ubuntu, but the ubuntu ones are in the squid3 repository. I don't know how to recover that, or if that is even important since this is a new source package after all.
Noteworthy changes:
- dropped a good part of our delta, I hope the commit messages and d/changelog are enough.
Added changes:
* These were all accepted by debian already via salsa MPs, so they can be dropped in the next update:
- dep8 fixes: https:/
- d/t/test-squid.py: fix apparmor profile filename
- d/t/test-squid.py: fix the process name. The PID points at the parent.
- d/t/upstream-
- parallel build: https:/
- d/rules: enable cdbs parallel build
* This is in debian salsa already and will be part of debian's 4.2 package update:
- d/t/0003-
binary from the system, instead of the one from the source tree.
* These two I had to add to workaround the PPC64EL build failures:
- d/p/fix-
error in parse_time_t.
- d/rules: Add -Wno-format-
building for ppc64el. On that arch, dpkg-buildflags sets -O3 instead of
-O2 and that triggers a format-truncation error on pcon.cc. See
See https:/
The first one is part of an open PR at https:/
DEP8 tests for all architectures passed: https:/
I think I can fix some of the "always failed" tests, one at least seems a silly path expansion error, but I won't block this upload on that.
PPA used by bileto: https:/
Other manual tests I did:
- release upgrade all the way from xenial to these packages in cosmic
- squid as an ssl reverse proxy (not possible with previous builds in ubuntu or debian)
Remaining delta bits we could perhaps drop, as they are about squid3 and that has been a transitional package for some time already:
* only affects squid3.
- Drop wrong short-circuiting of various invocations; we always want to call the debhelper block.
* what was this one about? We are no longer using sysv anyway:
- Revert "Set pidfile for systemd's sysv-generator" from Debian.
I could use some help with the above.
Finally, these two I can probably submit to debian, I just didn't want to block this upload on that, as they are easy to carry for now:
- Add an example refresh pattern for debs.
- Add disabled by default AppArmor profile.
## Drop/Remaining Changes ##
I went through the old and new Delta one by one and side by side, I'll only mention the ones worth to talk about (Thanks for the changelog entries explaining drops/adds).
#1 on the "refresh patterns" I wonder, this carried over as it was. Packages( .gz)*) - probably worth to improve the changelog wording at least.
But it also adds a pattern for (Release|
I'd have expected this to be commented out as well - do we want to change that?
#2 The "Correct attribution and add explanatory note in d/NEWS.debian" also is nor more relevant due to no related upgrade path being left. This can be Dropped IMHO.
Would you agree?
#3 "Set pidfile for systemd's sysv-generator" is no more needed. We have a native service which will be used (not the generator). This was from early Xenial and back then we had no service, so it made sense in the past, but no more.
#4 "short-circuiting"
It is important to note that this is in the maintscripts of the squid3 transitional package.
That transition already happened.
There is nothing generated after the removed short-circuit
The package is empty transitional now.
While in theory there could be something, there is in real life nothing in there.
The combination of "nothing is there" and "transition already happened" and "empty" makes me think we can drop this Delta - it isn't perfect in Debian, but also has no effect.
Turn it around, how would you explain Debian they need this Delta - see, there is no compelling reason I can think of.
Ack to all other Drops/Keep entries
## Added Changes ##
I checked debian/master - ack on the new changes themselve AND that are already in Debian and later to be dropped.
On the others:
#5 "d/t/0003- installed- binary- for-debian- ci.patch: use the squid binary from the system"
I see what you are doing, why are we doing that?
Bug or minimal in changelog reasoning would be nice
#6 "Workaround gcc's maybe-unitialized" I know since I remember our discussion, but maybe add "ppc64el build issue" to the changelog for this?
I was confused why Debian has taken "fix apparmor profile filename" if we are the only ones adding the disabled profile?! I found there is an upstream profile in tools/apparmor/ usr.sbin. squid but it is not installed.
Maybe as you said, just submit the disabled profile to Debian as well and be good with it.
Maybe OTOH a merge of our profile with the one from upstream would be better (submit our things upstream).
And finally I think best would be
a) bring our apparmor Delta to upstream
b) change Debian packaging to install that profile
That way we can actually benefit from what upstream is maintaining there - we can always add pacthes that extend it if needed.
This won't stall the upload, but being curious, is there more background to it already?
Ack on the other new changes.
## Fin ##
From a testing POV I haven't found anything that breaks - so good to go from that as well.
I tested manual upgrades, start/stop and the qa-regression tests.
The qa tests showed one issue, but I'll debug first if it is an issue in the test due to the rename.
Already great work and if you follow my reasoning even more cleanup will happen.
Eager to hear your opini...