Opened 21 years ago

Closed 21 years ago

Last modified 19 years ago

#277 closed defect (fixed)

sources.conf does not allow for newlines

Reported by: jpm@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

unfortunately sources.conf cannot contain any newlines (other than after the file:/// designation). if newlines are not to be supported the config file should indicate so in the comment block and perhaps a more meaningful error message should be spewed out.

jpm.metadata opendarwin/darwinports/dports -=> cat /etc/ports/sources.conf # To enable your local ports repository, uncomment and customize the following # line to point at your local dports directory # Example: file:///Users/landonf/misc/darwinports/dports # file:///usr/dports #default file:///Volumes/playground_sources/opendarwin/darwinports/dports

#test #file:///Users/jpm/SandBox/darwinports/dports jpm.metadata opendarwin/darwinports/dports -=> port search cat port search failed: Can't open index file for source . Have you synced your source indexes?

<remove newline in sources.conf>

jpm.metadata opendarwin/darwinports/dports -=> cat /etc/ports/sources.conf # To enable your local ports repository, uncomment and customize the following # line to point at your local dports directory # Example: file:///Users/landonf/misc/darwinports/dports # file:///usr/dports #default file:///Volumes/playground_sources/opendarwin/darwinports/dports #test #file:///Users/jpm/SandBox/darwinports/dports jpm.metadata opendarwin/darwinports/dports -=> port search cat netcat 1.10 Utility for managing network connections jpm.metadata opendarwin/darwinports/dports -=>

Change History (2)

comment:1 Changed 21 years ago by landonf@…

Owner: changed from kevin@… to landonf@…

comment:2 Changed 21 years ago by landonf@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.