Install new package which is not available in FreeBSD Ports nor Package

Let us assume that there is a new personal package for FreeBSD 9.1 downloadable from:
http://www.mysite.com/myapp.tbz

  1. How could I download and install it in my FreeBSD machine? (needed commands).
  2. How can I make it available for FreeBSD users in the form of a port in /usr/ports and a package such that it can be installed by: pkg_add myapp.tbz?
 
It's easiest to just set PACKAGESITE, for example:

$ setenv PACKAGESITE [url]http://www.mysite.com/path_to_packages/Latest[/url]
 
anti said:
Let us assume that there is a new personal package for FreeBSD 9.1 downloadable from:
http://www.mysite.com/myapp.tbz

1- How could I download and install it in my FreeBSD machine ? (needed commands).

Code:
# cd /tmp
# fetch http://www.mysite.com/myapp.tbz
# pkg_add myapp.tbz

2- How can I make it available for FreeBSD users in a form of Port in /usr/ports & Package such that, it can be installed by: pkg_add myapp.tbz ?
Submit a request.
 
SirDice said:
anti said:
2- How can I make it available for FreeBSD users in a form of Port in /usr/ports & Package such that, it can be installed by: pkg_add myapp.tbz ?
Submit a request.

SirDice is right, submit a request. There are a few straightforward steps involved, that are perfectly described in the FreeBSD Porter's Handbook.

The ports maintainers are very responsive, for example, I got my port uploaded in less than 12 h after submitting the new port request. Only, I found it more convenient to use the web-based equivalent of the send-pr(1)() tool.
 
Back
Top