Hello ? just using option two...

Kubilay Kocak koobs at FreeBSD.org
Wed Mar 4 12:05:22 UTC 2015


On 4/03/2015 10:53 PM, R0B_ROD wrote:
> On Wed, Mar 04, 2015 at 03:28:26AM -0800, joey rambish via freebsd-ports wrote:
>> Im not sure how exactly resetting the ports works,but I will do my best
>> to figure it out! Any feedback and suggestions on the subject matter would be 
>> great! Other than that I just like to read and learn 
>> how to do it and what is out there! ?
> 
> Hey,
> I assume you mean removing all the config files? 
> r0b at bsd:/usr/ports/<example-app> # make rmconfig-recursive
> Can take care of "resetting" ports and dependencies.
> 
> OR
> 
> # cp -Rp /usr/ports/distfiles /var/tmp 
> (Backup to minimized downloading files) Not sure if its a good idea but I do it.
> # rm -rf /usr/ports
> # portsnap fetch
> # portsnap extract
> # portsnap update
> 
> NOTE! Please read the manual before doing anything I type. My job is to break
> and play with my computer. I am also a newbie so please take caution
> with my advice.
> 
> -Roberto Rodriguez Jr
> Mach1ne Defense Foundati0n

Thanks for helping out Roberto!

Joey, there's a great page in the FreeBSD Handbook on Customizing Ports:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

Section 5.5.1.1. Customizing Ports Installation

--

Koobs


More information about the freebsd-ports mailing list