Ports question ....

Arthur Chance freebsd at qeng-ho.org
Fri Aug 29 12:49:21 UTC 2014


On 29/08/2014 13:26, William A. Mahaffey III wrote:
>
> On 08/29/14 07:11, Arthur Chance wrote:
>> On 29/08/2014 13:00, William A. Mahaffey III wrote:
>>>
>>> On 08/28/14 17:51, Roland Smith wrote:
>>>> On Thu, Aug 28, 2014 at 02:43:49PM -0500, William A. Mahaffey III
>>>> wrote:
>>>>>
>>>>> .... How do I check to see if the ports collection has been updated
>>>>> ? I
>>>>> had some problems a week or so ago getting some stuff to compile.
>>>>> There
>>>>> were some later posts alluding to some ports being a bit stale .... If
>>>>> that was my problem, I'd like to update & try again ....
>>>> The http://www.freshports.org/ site gives a nice overview of recent
>>>> port
>>>> changes. It also lists the SVN revision. If you use subversion to keep
>>>> your
>>>> ports tree up to date you can check the state of your ports tree with;
>>>>
>>>>      > svnlite log -r HEAD /usr/ports/
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>      r366459 | danilo | 2014-08-29 00:34:41 +0200 (Fri, 29 Aug 2014) |
>>>> 2 lines
>>>>
>>>>      - Update from 1.40.01 to 1.40.02
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> In this case my ports tree is at r366459.
>>>>
>>>> Generally I like to update my ports tree weekly. That *generally*
>>>> makes for
>>>> relatively small updates using svnlite (in the base system in FreeBSD
>>>> 10) and
>>>> ports-mgmt/portmaster;
>>>>
>>>>      # svnlite /usr/ports
>>>>      # less /usr/ports/UPDATING
>>>>      # portmaster -ai
>>>>
>>>> Reading UPDATING is important! Sometimes updates need special actions.
>>>>
>>>> Roland
>>>
>>> This sounds like it is very close to what I am looking for. I typed in
>>> the above command & the shell said command not found .... What pkg('s)
>>> do I need for svnlite support ? TIA ....
>>
>> It's in the base system:
>>
>> fileserver:3# which svnlite
>> /usr/bin/svnlite
>>
>>
>
>
> [root at kabini1, /etc, 7:26:08am] 334 %  uname -a
> FreeBSD kabini1 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r268512: Thu Jul 10
> 23:44:39 UTC 2014 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
> [root at kabini1, /etc, 7:26:13am] 335 %  which svnlite
> svnlite: Command not found.
> [root at kabini1, /etc, 7:26:18am] 336 %

Ah, I'm on 10.0-RELEASE and 10-STABLE. If you simply want to update 
/usr/ports, why not use portsnap? It works well enough for me.

If you specifically want a light version of svn, take look at the 
net/svnup port. I started using that before svnlite turned up, and still 
do out of habit.




More information about the freebsd-questions mailing list