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

Packaging is wrong in several ways #17

Closed
alanking opened this issue Mar 26, 2024 · 2 comments
Closed

Packaging is wrong in several ways #17

alanking opened this issue Mar 26, 2024 · 2 comments
Assignees
Labels
bug Something isn't working packaging
Milestone

Comments

@alanking
Copy link
Contributor

I goofed up the packaging in 8bfa0f6 :(

Only 1 package is produced and we need to be producing 2 packages: one for the client (just the client-side plugin) and one for the server (which includes both the client and server plugins, as well as any tests which will come in the future).

Also, there may be an issue with upgrading/replacing installed files which already exist. May or may not be related.

This is a blocker for release.

@alanking alanking added bug Something isn't working packaging labels Mar 26, 2024
@alanking alanking added this to the 4.3.1.0 milestone Mar 26, 2024
ll4strw added a commit to ll4strw/irods_auth_pam_interactive that referenced this issue Apr 9, 2024
It produces two packages: one for the client wuth just the client-side plugin and
one for the server which includes both the client and server plugins.
@ll4strw
Copy link
Contributor

ll4strw commented Apr 9, 2024

Also, there may be an issue with upgrading/replacing installed files which already exist. May or may not be related.

I think this is something that has to do with the way the pkg manager handles duplicates etc..

SwooshyCueb added a commit to SwooshyCueb/irods_auth_plugin_pam_interactive that referenced this issue May 13, 2024
…Make TLC

- removed unused `main.cpp`
- reorganized project
- created object library target for `auth_check_wrapper.cpp`
- created interface library target for `ipam_client.hpp`
- quoted paths in cmake
- Removed unneeded `CMAKE_SHARED_LINKER_FLAGS_INIT` and `CMAKE_SHARED_LINKER_FLAGS_RELEASE_INIT`
- Added missing `CMAKE_EXE_LINKER_FLAGS_INIT` and `CMAKE_EXE_LINKER_FLAGS_RELEASE_INIT`
- Swapped quotes to angle brackets on irods includes
- Removed references to nonexistent include directory from cmake
- Removed unneeded `pam_conversation.hpp` include from `handshake_session.cpp`
- Bumped irods version and removed exact requirement
- Updated `CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION`
- Split into server and client packages (server package depends on client package)
- Replaced PAM `find_library` logic with a new find module
- Switched to `find_package` for fmt and spdlog

Co-authored-by: ll4strw <l.lenoci@science.leidenuniv.nl>
SwooshyCueb added a commit to SwooshyCueb/irods_auth_plugin_pam_interactive that referenced this issue May 23, 2024
…Make TLC

- removed unused `main.cpp`
- reorganized project
- created object library target for `auth_check_wrapper.cpp`
- created interface library target for `ipam_client.hpp`
- quoted paths in cmake
- Removed unneeded `CMAKE_SHARED_LINKER_FLAGS_INIT` and `CMAKE_SHARED_LINKER_FLAGS_RELEASE_INIT`
- Added missing `CMAKE_EXE_LINKER_FLAGS_INIT` and `CMAKE_EXE_LINKER_FLAGS_RELEASE_INIT`
- Swapped quotes to angle brackets on irods includes
- Removed references to nonexistent include directory from cmake
- Removed unneeded `pam_conversation.hpp` include from `handshake_session.cpp`
- Bumped irods version and removed exact requirement
- Updated `CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION`
- Split into server and client packages (server package depends on client package)
- Replaced PAM `find_library` logic with a new find module
- Switched to `find_package` for fmt and spdlog

Co-authored-by: ll4strw <l.lenoci@science.leidenuniv.nl>
alanking pushed a commit that referenced this issue May 24, 2024
- removed unused `main.cpp`
- reorganized project
- created object library target for `auth_check_wrapper.cpp`
- created interface library target for `ipam_client.hpp`
- quoted paths in cmake
- Removed unneeded `CMAKE_SHARED_LINKER_FLAGS_INIT` and `CMAKE_SHARED_LINKER_FLAGS_RELEASE_INIT`
- Added missing `CMAKE_EXE_LINKER_FLAGS_INIT` and `CMAKE_EXE_LINKER_FLAGS_RELEASE_INIT`
- Swapped quotes to angle brackets on irods includes
- Removed references to nonexistent include directory from cmake
- Removed unneeded `pam_conversation.hpp` include from `handshake_session.cpp`
- Bumped irods version and removed exact requirement
- Updated `CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION`
- Split into server and client packages (server package depends on client package)
- Replaced PAM `find_library` logic with a new find module
- Switched to `find_package` for fmt and spdlog

Co-authored-by: ll4strw <l.lenoci@science.leidenuniv.nl>
@SwooshyCueb
Copy link
Member

Should be fixed with #21. If further changes are needed, please open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working packaging
Projects
None yet
Development

No branches or pull requests

3 participants