summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* configure: Use AC_SYS_LARGEFILE to enable large file supportHEADmasterAlan Coopersmith2023-02-091-0/+3
| | | | | | | While .ICEauthority files should never be more than 2gb in size, they may be stored on filesystems with large inodes. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith2023-02-091-2/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* iceauth 1.0.9iceauth-1.0.9Alan Coopersmith2022-04-031-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Build xz tarballs instead of bzip2Alan Coopersmith2021-12-031-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* gitlab CI: add a basic build testAlan Coopersmith2021-12-031-0/+98
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix spelling/wording issuesAlan Coopersmith2021-11-282-4/+4
| | | | | | | Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Update configure.ac bug URL for gitlab migrationAlan Coopersmith2018-11-211-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Update README for gitlab migrationAlan Coopersmith2018-11-163-27/+21
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix segmentation fault on invalid input.Tobias Stoeckmann2018-03-241-2/+4
| | | | | | | | | | | | | | | | | | The 'add' command leads to a segmentation fault on invalid input. Two arguments to 'add' can be quoted, but the quotation check does not properly parse a single double quote: $ echo 'add 0 " 0 0 0' | iceauth Segmentation fault $ _ This happens because the code does not properly check if the argument consists of just one quote. Technically, it is true that the first and the last characters are double quotes. Therefore it also takes a check to verify that the length of the string is at least 2. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* iceauth 1.0.8iceauth-1.0.8Alan Coopersmith2018-03-041-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* autogen: add default patch prefixMihail Konev2017-01-261-0/+3
| | | | Signed-off-by: Mihail Konev <k.mvc@ya.ru>
* autogen.sh: use quoted string variablesEmil Velikov2017-01-261-4/+4
| | | | | | | | | Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer2017-01-261-1/+1
| | | | | | | Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
* Add -u & -V options to synopsis in man pageNiveditha Rau2015-04-241-1/+1
| | | | | | Signed-off-by: Niveditha Rau <niveditha.rau@oracle.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* iceauth 1.0.7iceauth-1.0.7Alan Coopersmith2015-01-161-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith2014-06-011-2/+3
| | | | | | See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* configure: Drop AM_MAINTAINER_MODEAlan Coopersmith2014-06-012-2/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: Add missing AC_CONFIG_SRCDIRAlan Coopersmith2014-06-011-2/+5
| | | | | | | Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* More constification cleanupAlan Coopersmith2014-05-313-40/+41
| | | | | | | | | | | | | | Started by fixing gcc warning: iceauth.c:47:1: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] static char *defcmds[] = { "source", "-", NULL }; /* default command */ ^ and chasing down the rabbit hole of the functions the command line arguments can be passed through, until we came out the other side const clean. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Free old argv array if realloc fails to enlarge itAlan Coopersmith2013-12-091-1/+5
| | | | | | | | | Found by cppcheck: [app/iceauth/process.c:302]: (error) Common realloc mistake: 'argv' nulled but not freed upon failure Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
* Print which option was in error along with usage messageAlan Coopersmith2013-11-221-4/+12
| | | | | | | | Special case -u, since it's documented as printing the usage message (sort of like an ancient --help), so shouldn't be called unrecognized. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
* Add -V flag to print versionAlan Coopersmith2013-11-222-0/+6
| | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
* Fix "noexistent" typo in error messageAlan Coopersmith2013-11-221-1/+1
| | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
* Actually print command list in usage messageAlan Coopersmith2013-11-221-2/+2
| | | | | | | | | | | | | | | | | | | The xauth routine this was based on took three arguments: a file pointer, a command name, and a prefix. If a command name is given, prints help on that command, else if it's null, prints help on all commands. The iceauth version has only two arguments: file pointer & command name. It was being called with file pointer & prefix, and since the prefix matched no command names, no help was printed. Since the way iceauth's help list is structured doesn't make it easy to add a prefix to every line, skip indentation for now and just pass NULL for the command argument. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
* iceauth 1.0.6iceauth-1.0.6baserock/xfce-buildbaserock/morphAlan Coopersmith2013-07-231-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Constify some more string pointers to fix gcc warningsAlan Coopersmith2013-07-172-17/+18
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Use void * instead of char * for generic pointer arg to DoFunc functionsAlan Coopersmith2013-07-171-13/+13
| | | | | | | | | | | | | | | | | | Quiets clang warnings of: process.c:754:29: warning: cast from 'char *' to 'struct _list_data *' increases required alignment from 1 to 8 [-Wcast-align] struct _list_data *ld = (struct _list_data *) data; ^~~~~~~~~~~~~~~~~~~~~~~~~~ process.c:787:32: warning: cast from 'char *' to 'struct _extract_data *' increases required alignment from 1 to 8 [-Wcast-align] struct _extract_data *ed = (struct _extract_data *) data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ process.c:988:22: warning: cast from 'char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align] int *nremovedp = (int *) data; ^~~~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Mark unused arguments in callback functions to quiet clang warningsAlan Coopersmith2013-07-172-18/+18
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix some sign/size conversion warnings from clangAlan Coopersmith2013-07-171-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | process.c:410:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] retval = malloc (len); ~~~~~~ ^~~ process.c:454:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] strncmp (cmd, ct->name, n) == 0) { ~~~~~~~ ^ process.c:450:9: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] n = strlen (cmd); ~ ^~~~~~~~~~~~ process.c:1028:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (strncmp (cmd, ct->name, len) == 0) { ~~~~~~~ ^~~ process.c:1026:12: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = strlen (cmd); ~~~ ^~~~~~~~~~~~ process.c:1560:8: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] len = strlen (buf); ~ ^~~~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Add _X_NORETURN attributes suggested by gccAlan Coopersmith2013-02-233-4/+5
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Assume signal handlers return void, as C89 requiresAlan Coopersmith2013-02-232-22/+2
| | | | | | | Drops use of autoconf's obsolete AC_TYPE_SIGNAL and Imake's even more obsolete SIGNALRETURNSINT. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* configure.ac: Bump to 1.0.5iceauth-1.0.5Jeremy Huddleston2011-05-231-1/+1
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* auth_finalize: Attempt to rename() if link() failsJeremy Huddleston2011-05-231-1/+2
| | | | | | | | On some file systems (like AFP), hard links are not supported. If link fails, try rename() before giving up. Reported-by: Jamie Kennea <jamie@pompey.org> Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* Error out and avoid a call to malloc(0) if given a bad hex stringJeremy Huddleston2011-04-281-2/+2
| | | | | Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* Make iceauth manpage describe commands. (fd.o bug#2354)David Nusinow2011-03-011-0/+84
| | | | | Reviewed-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
* config: move man pages into their own directoryGaetan Nadon2011-01-194-18/+17
| | | | | | | Use services provided by XORG_MANPAGE_SECTIONS. Use standard Makefile for man pages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* man: remove trailing spaces and tabsGaetan Nadon2011-01-131-13/+13
| | | | | | Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon2011-01-121-1/+1
| | | | This silences an Autoconf warning
* config: remove AC_PROG_CC as it overrides AC_PROG_C_C99Gaetan Nadon2011-01-121-1/+0
| | | | | | | | XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONSGaetan Nadon2011-01-121-1/+0
| | | | | | | It depends on util-macros 1.8 or later The existing statement can now be removed from the configuration file. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* iceauth 1.0.4iceauth-1.0.4Alan Coopersmith2010-10-291-1/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Remove unnecessary AC_SUBST of ICEAUTH_LIBS & ICEAUTH_CFLAGSAlan Coopersmith2010-10-211-2/+0
| | | | | | PKG_CHECK_MODULES automatically handles those for us Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: upgrade to util-macros 1.8 for additional man page supportAlan Coopersmith2010-10-212-22/+4
| | | | | | | | | | Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS Enables use of platform appropriate version of sed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: update AC_PREREQ statement to 2.60Gaetan Nadon2010-10-211-1/+1
| | | | | | | | | | Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Purge cvs tags.Jesse Adkins2010-10-064-14/+0
| | | | Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
* COPYING: replace stub with actual Copyright noticeGaetan Nadon2010-01-081-8/+18
| | | | | | | Refer to iceauth.c Copyright 1989, 1998 The Open Group Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon2009-11-261-1/+2
| | | | | Now that the INSTALL file is generated. Allows running make maintainer-clean.
* INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon2009-10-284-2/+5
| | | | | | | Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
* Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432Gaetan Nadon2009-10-261-2/+1
| | | | | ChangeLog filename is known to Automake and requires no further coding in the makefile.
* .gitignore: use common defaults with custom section # 24239Gaetan Nadon2009-10-221-11/+66
| | | | | | Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.