d640 [Solved] Example make.conf's problem. - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old September 1st, 2010, 16:45
fender0107401's Avatar
fender0107401 fender0107401 is offline
Member
 
Join Date: Nov 2008
Location: China, Beijing.
Posts: 298
Thanks: 41
Thanked 10 Times in 9 Posts
Default Example make.conf's problem.

From /usr/share/examples/etc/make.conf:

Code:
#SUP_UPDATE=
#
#SUP=            /usr/bin/csup
#SUPFLAGS=       -g -L 2
#SUPHOST=        cvsup.uk.FreeBSD.org
#SUPFILE=        /usr/share/examples/cvsup/standard-supfile
#PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
#DOCSUPFILE=     /usr/share/examples/cvsup/doc-supfile
I think "-g" is redundant.

csup(1) do not support this option.

Why it is still listed in the example make.conf file?

Code:
> csup -g
Usage: csup [options] supfile
  Options:
    -1           Don't retry automatically on failure (same as "-r 0")
    -4           Force usage of IPv4 addresses
    -6           Force usage of IPv6 addresses
    -A addr      Bind local socket to a specific address
    -b base      Override supfile's "base" directory
    -c collDir   Subdirectory of "base" for collections (default "sup")
    -d delLimit  Allow at most "delLimit" file deletions (default unlimited)
    -h host      Override supfile's "host" name
    -i pattern   Include only files/directories matching pattern.
                   May be repeated for an OR operation.  Default is
                   to include each entire collection.
    -k           Keep bad temporary files when fixups are required
    -l lockfile  Lock file during update; fail if already locked
    -L n         Verbosity level (0..2, default 1)
    -p port      Alternate server port (default 5999)
    -r n         Maximum retries on transient errors (default unlimited)
    -s           Don't stat client files; trust the checkouts file
    -v           Print version and exit
    -z           Enable compression for all collections
    -Z           Disable compression for all collections
Someone told me that csup(1) supported this option before, but abandon it now(I am not sure about this).

Since I still run FreeBSD 8.0 release, I don't know whether 8.1 or current branch's example make.conf file still contains "-g" option.

I think maybe the corresponding developer forgot to update this example file.
__________________
Just be yourself.

Last edited by DutchDaemon; September 1st, 2010 at 17:23. Reason: COME ON! proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #2  
Old September 1st, 2010, 16:50
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,020 Times in 1,859 Posts
Default

Quote:
Originally Posted by fender0107401 View Post
I think "-g" is redundant.

csup(1) do not support this option.

Why it is still listed in the example make.conf file?
Because cvsup does have that option. And cvsup was the way to do it before csup was added to the base.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old September 1st, 2010, 17:26
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,817
Thanks: 30
Thanked 1,883 Times in 1,329 Posts
Default

In other words, the -g flag is in there for compatibility between cvsup and csup. It is silently ignored by csup.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #4  
Old September 1st, 2010, 20:40
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,140
Thanks: 43
Thanked 700 Times in 578 Posts
Default

On the flip side, now that csup has been added to the base for more than 1 major version, perhaps it's time to update the includes docs and examples to remove historical cruft?

Submitting doc PRs for this may be desirable, if for no other reason than starting the discussion.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #5  
Old September 2nd, 2010, 05:53
fender0107401's Avatar
fender0107401 fender0107401 is offline
Member
 
Join Date: Nov 2008
Location: China, Beijing.
Posts: 298
Thanks: 41
Thanked 10 Times in 9 Posts
Default

I sent a report through http://www.freebsd.org/send-pr.html.

Seems the web page is more easy to use than send-pr(1).
__________________
Just be yourself.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
make install - file already exists problem ondra_knezour Installation and Maintenance of FreeBSD Ports or Packages 4 May 22nd, 2010 17:22
[Solved] make buildworld vs make install (ports) klabacita Installing & Upgrading 2 February 21st, 2010 02:55
[Solved] the make problem milo Userland Programming & Scripting 4 November 28th, 2009 09:46
[Solved] Problem with big "make install clean" Splatbert Installation and Maintenance of FreeBSD Ports or Packages 16 April 26th, 2009 21:02
updating ports: make index... make fetchindex LateNiteTV Installation and Maintenance of FreeBSD Ports or Packages 14 April 25th, 2009 10:46


All times are GMT +1. The time now is 00:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0