Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Apr 2010 09:14:02 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        freebsd-questions@freebsd.org
Cc:        Ihsan Junaidi Ibrahim <ihsan.junaidi@gmail.com>
Subject:   Re: make delete-old question (removing old binaries)
Message-ID:  <201004040914.02120.bruce@cran.org.uk>
In-Reply-To: <n2i829875541004030304w9bf3bd04s27a8837c5012b995@mail.gmail.com>
References:  <n2i829875541004030304w9bf3bd04s27a8837c5012b995@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 03 April 2010 11:04:37 Ihsan Junaidi Ibrahim wrote:
> Hi folks,
> 
> I've rebuild my world with NO_MAIL (in src.conf) and a few other NO_
> options however I noticed that related binaries are not removed
> entirely i.e. mailwrapper when I ran make delete-old /
> delete-old-libs. I can see that the old binaries have a timestamp
> older than the binaries rebuilt by the make world process.
> 
> [anggerik:/usr/sbin]# ls -l mailwrapper
> -r-xr-xr-x  1 root  wheel  7808 Nov 21 22:31 mailwrapper
> [anggerik:/usr/sbin]# ls -l trac
> traceroute*  traceroute6*
> [anggerik:/usr/sbin]# ls -l traceroute
> -r-sr-xr-x  1 root  wheel  28240 Apr  3 08:54 traceroute
> 
> Is this simply a cosmetic issue and I can just remove those binaries
> manually or if not so, is there a special configs needed to remove
> them.
> 
> Apologize if this question has been asked before.

You should  be using WITHOUT_ versions of the options - see src.conf(5). Files 
won't be removed unless they're listed in ObsoleteFiles.inc, and it's 
typically not been kept up-to-date. This is being fixed in -CURRENT but for 
just now you can remove the binaries manually.

-- 
Bruce Cran



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004040914.02120.bruce>