dmiller
f4619edece
Update http urls for nmap.org to https
2015-11-05 20:41:05 +00:00
dmiller
d7d145d940
Use MSVCRT _unlink function (unlink was not setting errno)
2014-12-08 18:00:29 +00:00
dmiller
3f0d0c16f9
Spellcheck on Nmap, Nsock, Nbase source files
2014-02-20 18:44:12 +00:00
david
89d52c8f4f
Declare the function name we actually use.
...
It was nmap_update_svn_cmdline_create_auth_baton, but should be
nmap_update_svn_cmdline_setup_auth_baton.
This was missed in r27746, which otherwise was making the same change.
This was noticed by John Spencer.
http://seclists.org/nmap-dev/2012/q3/942
2012-09-19 15:16:24 +00:00
david
9729059ccb
Replace svn_auth.c with function from subversion-1.5.x.
...
This is for compatibility with the OS X 10.5 SDK.
2012-01-02 05:13:19 +00:00
david
0aee7fc4a2
Changes to svn_auth.c to compile on Windows.
2012-01-02 03:20:46 +00:00
david
eeecdea68d
Copy some code from libsvn to disable username guessing.
2012-01-02 03:10:07 +00:00
david
2dde427109
Add a message about the testing-only nature of nmap-update.
2012-01-02 01:22:08 +00:00
david
d9be338136
Add -v --verbose to nmap-update.
...
Verbosity is now off by default.
2012-01-02 01:22:06 +00:00
david
f7aa1eea8a
Add a "repo" configuration file option, the same as --repo.
2012-01-01 23:17:09 +00:00
david
c5422af0c3
Add a --repo option to override the built-in svn.nmap.org.
2012-01-01 23:17:08 +00:00
david
6a25fbe836
Remove a memory leak in --help.
2012-01-01 23:17:07 +00:00
david
52e617630a
Add --username and --password to nmap-update.
2011-12-29 22:53:00 +00:00
david
c37d7d6d28
Call svn_config_ensure.
...
This is needed to allow caching of authentication credentials, which
Subversion can do in a more secure fashion than keeping them in
nmap-update.conf.
2011-12-23 01:27:53 +00:00
david
f4634db423
Fix a bug in Windows rename_file.
...
It was returning before moving the file if the unlink succeeded.
2011-12-23 00:19:32 +00:00
david
db8d98daba
Fix an opposite return code in Windows copy_tree.
2011-12-23 00:03:56 +00:00
david
4ec4641ce8
Remove the right diagnostic.
2011-12-21 00:00:07 +00:00
david
2dae73f251
Automatically update the default update channel.
2011-12-21 00:00:05 +00:00
david
1a955d99e4
Remove unused NMAP_DATADIR from nmap-update.
2011-12-21 00:00:04 +00:00
david
8b8de75ce6
Use svn_cmdline_setup_auth_baton.
...
This is instead of svn_cmdline_create_auth_baton, for compatibility with
the MacOSX10.5 SDK.
2011-12-20 02:40:47 +00:00
david
7c8bd6b699
Use svn_client_checkout2 instead of svn_client_checkout3.
...
This is for compatibility with the MacOSX10.5 SDK.
2011-12-20 02:31:31 +00:00
david
38ddd57eea
Remove another metadata diagnostic.
2011-12-19 23:34:15 +00:00
david
bff7bf50f1
Use sscanf instead of strptime.
...
strptime isn't on Windows.
2011-12-19 23:31:00 +00:00
fyodor
36a50d64c3
modify expired channel text a bit
2011-12-19 23:10:39 +00:00
david
04e0bc0f60
Fix the expiration test.
...
The order of the dates was inverted.
2011-12-19 23:02:59 +00:00
david
5a45a94d68
Remove metadata diagnostic.
2011-12-19 22:42:09 +00:00
david
e6f8d33298
Output correction.
2011-12-19 22:41:45 +00:00
david
8a2b0d6196
It's not a fatal error not to have nmap-update.conf.
2011-12-19 22:41:44 +00:00
david
6bdce5cfd6
Remove a temporary variable.
2011-12-19 22:41:43 +00:00
david
097e52a7a4
Check a metadata.conf file for channel expiration.
2011-12-19 22:00:19 +00:00
david
86bb24947a
Return 0 on success in read_config_file.
2011-12-19 22:00:17 +00:00
david
21921dae6b
Use svn_cmdline_create_auth_baton.
...
This is in place of our own auth providers. This appears to do the same
things that the svn client does, like prompt on an unknown server
certificate and prompt for and cache credentials.
2011-12-19 20:27:59 +00:00
david
7d14c0f058
Use the default Windows CA store.
2011-12-19 05:16:34 +00:00
david
4b401ad4be
Make a separate rename function for Windows.
2011-12-19 05:16:33 +00:00
david
684f6e18d5
Make Windows-specific versions of functions.
...
get_user_dir, makedirs, copy_tree.
2011-12-19 05:16:32 +00:00
david
63cd5edfb7
Includes for Windows.
2011-12-19 05:16:29 +00:00
david
d75d74b015
Factor out a makedir function.
2011-12-19 05:16:28 +00:00
david
4766bae3ae
Refactor user dir retrieval.
2011-12-19 05:16:27 +00:00
david
8cd4763fe1
Use '\\' in Windows paths.
2011-12-19 05:16:26 +00:00
david
cb4210cf7c
Message output consistency.
2011-12-19 05:16:25 +00:00
david
9f44db4c50
Use consistent naming for tokens.
2011-12-19 05:16:24 +00:00
david
e83890e6be
Fix an error check.
2011-12-19 05:16:23 +00:00
david
571a1bab4a
Link with libnbase.
2011-12-19 05:16:22 +00:00
david
17aaa5b6f1
Allow svn include files to be in /usr/include or a subversion-1
...
subdirectory.
2011-12-19 05:16:20 +00:00
david
29726989fc
Use -1 as an error status code.
2011-12-19 05:16:18 +00:00
david
cefbbb961a
Add initial configure.ac and Makefile.in for nmap-update.
2011-12-19 05:16:15 +00:00
david
b55263be4e
Add nmap-update.c.
2011-12-19 05:16:11 +00:00