Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
[SOLVED] Ports and Portsnap not present in 19.1.9
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Ports and Portsnap not present in 19.1.9 (Read 4691 times)
LouieLouie
Newbie
Posts: 43
Karma: 8
[SOLVED] Ports and Portsnap not present in 19.1.9
«
on:
June 17, 2019, 02:09:21 pm »
Greetings,
How do I enable access to opnsense ports on 19.1.9? Portsnap is not present by default in the command line. Neither are ports (applications) available in the file system despite ports being listed in github. I didn't find anything in the manual, pkg search portsnap = no return.
Thank you.
«
Last Edit: June 21, 2019, 05:21:51 pm by LouieLouie
»
Logged
LouieLouie
Newbie
Posts: 43
Karma: 8
Re: Portsnap not present in 19.1.9
«
Reply #1 on:
June 21, 2019, 02:12:54 pm »
documenting for any future searchers.
*found the hardened BSD repository on github...
https://github.com/HardenedBSD
*found the portsnap source folder on github....
https://github.com/HardenedBSD/hardenedBSD/tree/hardened/current/master/usr.sbin/portsnap
*read the makefile, reviewed portsnap.sh
I don't know how to use makefile or install with make (doh!). I started to try to figure that out, got lost. The software is on github. I locally installed the git package, tried to pull the portsnap directory down, failed. Logged onto github, read instructions, got lost trying to 'clone' the repository which would supposedly give me access to the portsnap source code. Gave up when it seemed I would have to download the source for the entire OS instead of just 'portsnap'.
However, portsnap.sh is script instead of a compiled application, so I thought I could install manually. I used wget to download everything from the portsnap directory on github. I copied the config file to /etc, but then I looked at the dependency file (Makefile.depend). Stalled, not sure if I can, or should try to manually install those dependencies. I'd have to learn how to search the local system to see if they're there, 1st.
Current status: stalled. I can either figure out how to use github to allow git to retrieve the software, learn how to use git to do whatever git does locally, and then to learn how to use 'make' to install this stuff... OR I can manually install the dependencies, copy portsnap to where ever system scripts go ( /usr/sbin/
), ensure it has correct permissions, and pray.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Portsnap not present in 19.1.9
«
Reply #2 on:
June 21, 2019, 05:05:09 pm »
Sorry for the delay. Portsnap is really not what you're looking for here as you won't be loading the correct ports repository.
# opnsense-code ports
# cd /usr/ports
done
Cheers,
Franco
Logged
LouieLouie
Newbie
Posts: 43
Karma: 8
Re: Portsnap not present in 19.1.9
«
Reply #3 on:
June 21, 2019, 05:21:06 pm »
Ha!
That worked. I learned some more. Success.
Thank you, Franco, appreciated.
Regards!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
[SOLVED] Ports and Portsnap not present in 19.1.9