Bug 221634 - textproc/expat2: update to 2.2.3
Summary: textproc/expat2: update to 2.2.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Adam Weinberger
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-08-19 17:30 UTC by Don Lewis
Modified: 2017-12-20 19:59 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (kuriyama)
antoine: exp-run+


Attachments
patch to upgrade expat2 to version 2.2.3 (1.59 KB, patch)
2017-08-19 17:30 UTC, Don Lewis
no flags Details | Diff
patch to update 2.2.1 --> 2.2.4 (1.95 KB, patch)
2017-10-31 12:56 UTC, Sergei Vyshenski
no flags Details | Diff
patch to update 2.2.1 --> 2.2.5 (2.11 KB, patch)
2017-12-15 17:01 UTC, Sergei Vyshenski
svysh.fbsd: maintainer-approval? (kuriyama)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Lewis freebsd_committer freebsd_triage 2017-08-19 17:30:10 UTC
Created attachment 185580 [details]
patch to upgrade expat2 to version 2.2.3
Comment 1 Sergei Vyshenski 2017-10-31 12:56:50 UTC
Created attachment 187607 [details]
patch to update 2.2.1 --> 2.2.4

- patch to update 2.2.1 --> 2.2.4
Changes: https://github.com/libexpat/libexpat/blob/R_2_2_4/expat/Changes

- "portlint -AC" just warns about non-empty $FreeBSD$ tag.

- Tested at 11.1-release-amd64 with poudriere 3.1.99.20171028 and perl5-5.24.3

- This patch takes distribution of expat2 from SF. 
I you opt to take distribution form GH instead, 
then you face cyclic dependency between this port and textproc/docbook2X.
The reason is:
Distribution from SF contains docs of expat2 in UNIX man format, while
distribution from GH contains docs of expat2 in docbook format, and expat2 is need to prepare the man.
Comment 2 Sergei Vyshenski 2017-12-15 17:01:53 UTC
Created attachment 188863 [details]
patch to update 2.2.1 --> 2.2.5

- update 2.2.1 --> 2.2.5
Changes: https://github.com/libexpat/libexpat/blob/R_2_2_5/expat/Changes
- add install-strip
- switch to GH distribution.
- "portlint -AC" just warns about non-empty $FreeBSD$ tag.
- testport of poudriere 3.2.99.20171213 at 11.1-release-amd64 with perl 5.24.3 runs ok.
- I could take maintainership (not included in the patch) if needed.
================================================
The proposed patch takes handmade distribution tarball (let us call it H-tarball) provided for a release on GH.
This H-tarball is essentially different from the sources checked-out from GH. 
The latter being identical to the autogenerated tarball (let us call it A-tarball), which we would get if using USE_GITHUB construct in the port's Makefile.

H-tarball contains files, which are missing from the A-tarball, such as:
- configure script,
- several Makefile's
- documentation prebuilt from several formats

To build documentation from A-tarball, it would require this very expat to be installed in advance, thus bringing us to the cycle dependency. No wonder that the author of expat went into trouble and provided the H-tarball.

Hence, building from A-tarball would be a challenging task, which goes far beyond saying "USES=autoreconf gmake" and "GNU_CONFIGURE=yes".

For the textproc/expat2 ver. 2.5.5:
H-tarball:
https://github.com/libexpat/libexpat/releases/download/R_2_2_5/expat-2.2.5.tar.bz2
source:
https://github.com/libexpat/libexpat/tree/master/expat
A-tarball:
https://codeload.github.com/libexpat/libexpat/tar.gz/R_2_2_5?dummy=/R_2_2_5_GH0.tar.bz2

Also, this project has declared that it moves from SF to GH. It still publishes H-tarballs on SF. But it seems that switching of the FreeBSD port such that it takes distribution from GH is inevitable.
Comment 3 Adam Weinberger freebsd_committer freebsd_triage 2017-12-16 00:41:11 UTC
This port clearly needs a new maintainer. truckman or Sergei, do either of you want to take over maintainership?
Comment 4 Adam Weinberger freebsd_committer freebsd_triage 2017-12-16 00:43:31 UTC
A tremendous number of ports depend on expat2. We should do an exp-run to be safe here.
Comment 5 Sergei Vyshenski 2017-12-16 01:33:44 UTC
Adam, 
Thank you, yes, I am ready to take m13p, as already offered to in Comment 2 above.
Regards, Sergei
Comment 6 Antoine Brodin freebsd_committer freebsd_triage 2017-12-20 06:27:44 UTC
Exp-run looks fine.
Comment 7 Sergei Vyshenski 2017-12-20 18:46:06 UTC
Adam,
Do you think that the case of non-standard (H-tarballs) distribution from GH should be addressed 
1) in bsd.sites.mk
2) in Porter's Handbook
Can I prepare patches for theese, or only special people do it?
Regards, Sergei
Comment 8 Adam Weinberger freebsd_committer freebsd_triage 2017-12-20 19:54:18 UTC
(In reply to Sergei Vyshenski from comment #7)

By all means, please do make patches for anything that seems sub-optimal or confusing!
Comment 9 commit-hook freebsd_committer freebsd_triage 2017-12-20 19:58:59 UTC
A commit references this bug:

Author: adamw
Date: Wed Dec 20 19:58:13 UTC 2017
New revision: 456847
URL: https://svnweb.freebsd.org/changeset/ports/456847

Log:
  Update to 2.2.5. Submitter becomes maintainer after consecutive and
  lengthy timeouts.

  PR:		221634
  Submitted by:	svysh.fbsd@gmail.com
  Approved by:	maintainer timeout (4 months)
  Exp-run by:	antoine

Changes:
  head/textproc/expat2/Makefile
  head/textproc/expat2/distinfo
  head/textproc/expat2/pkg-descr
  head/textproc/expat2/pkg-plist
Comment 10 Adam Weinberger freebsd_committer freebsd_triage 2017-12-20 19:59:27 UTC
Committed. Thanks for your work and your patience, Sergei!