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

Create nym-repo-setup debian package and nym-vpn meta package #4837

Merged
merged 19 commits into from
Sep 9, 2024

Conversation

octol
Copy link
Contributor

@octol octol commented Sep 3, 2024

Create nym-repo-setup debian package that sets up the nymtech debian repo on the system it's installed on. It does 2 things

  1. Copy the keyring to /usr/share/keyrings/nymtech.gpg
  2. Copy the repo spec to /etc/apt/sources.list.d/nymtech.list

Also create a meta package nym-vpn which only purpose is to depend on the daemon and UI.

Usage

Install with

$ sudo dpkg -i ./nym-repo-setup.deb

Once it's installed, it should be possible to install the vpn client with

$ sudo apt install nym-vpnc

Remove the repo with

$ sudo apt remove nym-repo-setup

NOTE: removing the repo will not remove any installed nym-vpn packages

Copy link

vercel bot commented Sep 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
nym-explorer ⬜️ Ignored (Inspect) Visit Preview Sep 4, 2024 6:59am
nym-next-explorer ⬜️ Ignored (Inspect) Visit Preview Sep 4, 2024 6:59am

@octol octol added this to the Wedel milestone Sep 3, 2024
@octol octol changed the title Create nym-repo-setup debian package Create nym-repo-setup debian package and nym-vpn meta package Sep 3, 2024
@octol octol requested a review from Bykow September 3, 2024 14:27
@octol octol requested review from pronebird, jstuczyn and dynco-nym and removed request for Bykow September 3, 2024 20:14
@octol octol merged commit dd70192 into develop Sep 9, 2024
7 checks passed
@octol octol deleted the jon/nym-repo-deb-package branch September 9, 2024 09:21
@tommyv1987
Copy link
Contributor

tommyv1987 commented Sep 16, 2024

Testing Completion Date: 16/09/2024

Testing Steps Performed:

  1. Downloaded the nym-repo-setup.deb package to a Debian-based test system

  2. Installed the repository setup package using the command:

    sudo dpkg -i ./nym-repo-setup.deb
  3. Verified that the GPG keyring was copied to /usr/share/keyrings/nymtech.gpg:

    ls -l /usr/share/keyrings/nymtech.gpg
  4. Checked that the repository specification was added to /etc/apt/sources.list.d/nymtech.list:

    cat /etc/apt/sources.list.d/nymtech.list
  5. Updated the package list:

    sudo apt update
  6. Installed the VPN client meta-package:

    sudo apt install nym-vpnc
  7. Confirmed that the nym-vpnc package and its dependencies (daemon and UI) were installed successfully

  8. Tested the VPN client to ensure it operates as expected

  9. Removed the repository setup package:

    sudo apt remove nym-repo-setup
  10. Verified that the repository specification file /etc/apt/sources.list.d/nymtech.list was removed

  11. Ensured that the installed nym-vpnc packages remained installed and functional after removing the repo setup package

Validation:

  • Test Passed
  • Issues Found (Please specify below)

Notes (if any):

  • The removal of nym-repo-setup did not affect the installed VPN client packages, as expected.
  • All functionalities of the VPN client remained operational after the repository setup package was removed.

Attachments (if applicable):

  • N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants