From 48737f0e68709f55577fb3486f7da18688927563 Mon Sep 17 00:00:00 2001 From: Charles Davis Date: Mon, 8 Feb 2016 02:31:15 -0700 Subject: [PATCH] icacls: New stub program. Signed-off-by: Charles Davis Signed-off-by: Alexandre Julliard --- configure | 2 ++ configure.ac | 1 + programs/icacls/Makefile.in | 5 +++++ programs/icacls/icacls_main.c | 39 +++++++++++++++++++++++++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 programs/icacls/Makefile.in create mode 100644 programs/icacls/icacls_main.c diff --git a/configure b/configure index 85d85a831a0..4eb195a8c2c 100755 --- a/configure +++ b/configure @@ -1446,6 +1446,7 @@ enable_extrac32 enable_findstr enable_hh enable_hostname +enable_icacls enable_icinfo enable_iexplore enable_ipconfig @@ -18109,6 +18110,7 @@ wine_fn_config_program extrac32 enable_extrac32 install wine_fn_config_program findstr enable_findstr install wine_fn_config_program hh enable_hh install wine_fn_config_program hostname enable_hostname install,po +wine_fn_config_program icacls enable_icacls install wine_fn_config_program icinfo enable_icinfo install wine_fn_config_program iexplore enable_iexplore install wine_fn_config_program ipconfig enable_ipconfig install,po diff --git a/configure.ac b/configure.ac index c4bd6a01bb7..76fb87dc1ca 100644 --- a/configure.ac +++ b/configure.ac @@ -3452,6 +3452,7 @@ WINE_CONFIG_PROGRAM(extrac32,,[install]) WINE_CONFIG_PROGRAM(findstr,,[install]) WINE_CONFIG_PROGRAM(hh,,[install]) WINE_CONFIG_PROGRAM(hostname,,[install,po]) +WINE_CONFIG_PROGRAM(icacls,,[install]) WINE_CONFIG_PROGRAM(icinfo,,[install]) WINE_CONFIG_PROGRAM(iexplore,,[install]) WINE_CONFIG_PROGRAM(ipconfig,,[install,po]) diff --git a/programs/icacls/Makefile.in b/programs/icacls/Makefile.in new file mode 100644 index 00000000000..af919a5fa41 --- /dev/null +++ b/programs/icacls/Makefile.in @@ -0,0 +1,5 @@ +MODULE = icacls.exe +APPMODE = -mconsole + +C_SRCS = \ + icacls_main.c diff --git a/programs/icacls/icacls_main.c b/programs/icacls/icacls_main.c new file mode 100644 index 00000000000..8f93a97309e --- /dev/null +++ b/programs/icacls/icacls_main.c @@ -0,0 +1,39 @@ +/* + * Integrity/ACL viewer/editor stub + * Copyright (C) 2009 Andrey Turkin + * Copyright (C) 2016 Charles Davis + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include +#include + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(icacls); + +int main(int argc, char** argv) +{ + int i; + + WINE_FIXME("This is dummy icacls, not performing ACL manipulations\n"); + WINE_FIXME("stub:"); + for (i = 0; i < argc; i++) + WINE_FIXME(" %s", wine_dbgstr_a(argv[i])); + WINE_FIXME("\n"); + + return 0; +}