Bug 231189 - security/py-gssapi: Strip libraries; add ssl
Summary: security/py-gssapi: Strip libraries; add ssl
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2018-09-06 03:25 UTC by Nathan
Modified: 2018-11-11 08:34 UTC (History)
3 users (show)

See Also:
john: maintainer-feedback+


Attachments
Strip libraries; add ssl (724 bytes, patch)
2018-09-06 03:25 UTC, Nathan
john: maintainer-approval-
Details | Diff
security/py-gssapi: Strip shared objects, use ssl when needed (820 bytes, patch)
2018-09-16 13:38 UTC, John W. O'Brien
john: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan 2018-09-06 03:25:31 UTC
Created attachment 196907 [details]
Strip libraries; add ssl

Outside of poudriere with flavor py36 I got errors of *.so files not been stripped and it gave also that USES=ssl was needed
Comment 1 John W. O'Brien 2018-09-13 22:17:58 UTC
Thank you for the submission, Nathan. I expect to be able to review your patch and give feedback or approval this weekend.
Comment 2 John W. O'Brien 2018-09-16 13:38:31 UTC
Created attachment 197144 [details]
security/py-gssapi: Strip shared objects, use ssl when needed

Nathan, I've revised your patch as follows.

*   Before patching, poudriere testport only emits the USES=ssl warning if GSSAPI_BASE is selected. With your patch, it no longer warns on GSSAPI_BASE, but does emit "Warning: you may not need USES=ssl" on both other GSSAPI options. Therefore I moved "ssl" from the general USES to GSSAPI_BASE_USES. Could you please confirm that this also works for you?

*   I would prefer to avoid the sub-shell + cd pattern in this case. There is no benefit to setting the CWD on behalf of the subsequent work---as there would be for running a test suite, for instance---so stripping in three steps instead of one just adds complexity, and is more likely to increase the scope of future diffs. While here, I parameterize the package directory.
Comment 3 Nathan 2018-09-22 03:05:43 UTC
(In reply to John W. O'Brien from comment #2)
Looks good to me
Comment 4 John W. O'Brien 2018-09-23 21:08:24 UTC
I'm not sure what the significance is of marking the whole bug "maintainer-feedback+" after I've already marked an attached patch "maintainer-approval+", but bugzilla seems to want me to do that.
Comment 5 Kurt Jaeger freebsd_committer freebsd_triage 2018-11-11 08:33:57 UTC
Committed, thanks!
Comment 6 commit-hook freebsd_committer freebsd_triage 2018-11-11 08:34:04 UTC
A commit references this bug:

Author: pi
Date: Sun Nov 11 08:33:47 UTC 2018
New revision: 484665
URL: https://svnweb.freebsd.org/changeset/ports/484665

Log:
  security/py-gssapi: Strip libraries; add ssl

  PR:		231189
  Submitted by:	ndowens@yahoo.com
  Approved by:	John W. O'Brein <john@saltant.com> (maintainer)

Changes:
  head/security/py-gssapi/Makefile