1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00
Commit Graph

62 Commits

Author SHA1 Message Date
david
6270d3f7c9 Move -Wno-deprecated-declarations from Makefile.in to configure.ac.
It's a flag specific to GCC, so shouldn't be set unconditionally.
2012-09-19 15:33:56 +00:00
david
98bb6cff31 Add -Wall to CFLAGS when using GCC. 2012-09-19 15:33:50 +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
7f5d53184c Uniform handling of makefile.dep in makefiles.
"make clean" keeps makefile.dep and "make distclean" deletes it. This
patch is by Michael McTiernan.

http://seclists.org/nmap-dev/2012/q2/827
2012-06-19 14:06:49 +00:00
sean
e53b573688 Added -Wno-deprecated-declarations to the make file to supress the warning
"nmap-update.c: In function ‘checkout_svn’:
nmap-update.c:894:2: warning: ‘svn_client_checkout2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1072) [-Wdeprecated-declarations]" 
Because as was pointed out in http://seclists.org/nmap-dev/2012/q2/818 the SDK for OSX doesn't yet support SVN3
2012-06-19 02:37:51 +00:00
david
35d54e2db6 Allow nmap-update DEFAULT_CHANNEL to update to "6.00". 2012-05-24 02:28:21 +00:00
david
899a1314d3 Add --with-apr using the APR_FIND_APR macro from Apache. 2012-02-01 00:38:41 +00:00
david
83f1d573c0 Add --with-subversion to configure scripts. 2012-02-01 00:38:39 +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
70f735f35f Install the nmap-update man page. 2012-01-02 03:26:48 +00:00
david
cfd095bccb Further changes to compile on GNU/Linux again. 2012-01-02 03:23:26 +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
fyodor
c3c0bb9a0a Create new update channel for 5.61TEST4 2012-01-02 00:50:17 +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
4cd625f089 Make the destination directory for nmap-update. 2011-12-20 02:50:04 +00:00
david
083065ea3a Add install and uninstall targets. 2011-12-20 02:44:12 +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
9a615acd22 Use LDFLAGS when linking nmap-update. 2011-12-20 02:37:01 +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
e04a965620 Keep nmap-update output files in its own directory. 2011-12-20 01:38:54 +00:00
david
ddec55252d Change to link against libsvn1 in nmap-private-dev. 2011-12-20 01:32:39 +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
david
11f76fc189 Add win_config.h, missed earlier. 2011-12-19 23:13:02 +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
534aa298a6 README for libsvn1 and libapr building on Windows. 2011-12-19 05:16:37 +00:00
david
ce9c4688ab Add nmap-update.vcxproj. 2011-12-19 05:16:35 +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