summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-22xhost 1.0.5xhost-1.0.5Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-03-08Rework si:type:value code to remove need for shadowed namelen variableAlan Coopersmith
Fixes gcc warning: xhost.c:453:6: warning: declaration of ‘namelen’ shadows a previous local xhost.c:339:9: warning: shadowed declaration is here Also removes unnecessary malloc and memcpy by just using the string pointers we already have, since XAddHost & XRemoveHost will copy the specified length of text from the strings to the Xlib request buffer before returning, not relying on nil termination. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-03-02configure.ac updates to match other X.Org modulesAlan Coopersmith
layout and comment the top portion of configure.ac add missing AC_CONFIG_SRCDIR Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-25man: xhost can not take a user name as a parameter.Erik Saule
However, server interpreted addresses can be used to achieve the same behavior. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-25Declare some char * as const to fix gcc -Wwrite-strings warningsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-25Only need CFLAGS, not LIBS from xau packageAlan Coopersmith
xhost needs the Family definitions from <X11/Xauth.h> to build, but doesn't call any libXau functions, so doesn't need to link against it. Fixes Solaris ld -z guidance warning: ld: guidance: removal of unused dependency recommended: libXau.so.6 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Jamey Sharp <jamey@minilop.net>
2011-07-28Move "-help" handling up to before XOpenDisplayJulien Cristau
We don't need a display to show the usage message. X.Org bug#39633 <https://bugs.freedesktop.org/show_bug.cgi?id=39633> Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-07-19xhost: check return value of X{Add,Remove}HostKees Cook
In the ServerInterpreted case, XAddHost and XRemoveHost are capable of failing when they lack request buffer memory. Notice this situation, and report correctly. Signed-off-by: Kees Cook <kees.cook@canonical.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-01-19config: move man pages into their own directoryGaetan Nadon
Use services provided by XORG_MANPAGE_SECTIONS. Use standard Makefile for man pages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: replace hard coded man page section with substitution stringsGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: remove trailing spaces and tabsGaetan Nadon
Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon
This silences an Autoconf warning
2010-10-30xhost 1.0.4xhost-1.0.4Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30config: Remove unnecessary calls from configure.acAlan Coopersmith
AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30config: update AC_PREREQ statement to 2.60Gaetan Nadon
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> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30Sun's copyrights now belong to OracleAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-11config: upgrade to util-macros 1.8 for additional man page supportJeremy Huddleston
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 Use the appropriate platform version of sed Based on patches in other modules from Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-10-11Remove the references to /etc/X*.hostsJeremy Huddleston
xhost(1) doesn't use these files, so the refernece to Xserver(1) is sufficient. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Patrick E. Kane <pekane52 at gmail.com>
2010-10-06Purge cvs tags.Jesse Adkins
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
2010-01-14Update Sun license notices to current X.Org standard formAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-11-26Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon
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.
2009-10-26Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432Gaetan Nadon
ChangeLog filename is known to Automake and requires no further coding in the makefile.
2009-10-22.gitignore: use common defaults with custom section # 24239Gaetan Nadon
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.
2009-10-21This is not a GNU project, so declare it foreign.Jeremy Huddleston
On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote: > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote: > > I noticed an INSTALL file in xlsclients and libXvMC today, and it > > was quite annoying to work around since 'autoreconf -fvi' replaces > > it and git wants to commit it. Should these files even be in git? > > Can I nuke them for the betterment of humanity and since they get > > created by autoreconf anyways? > > See https://bugs.freedesktop.org/show_bug.cgi?id=24206 As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation of the INSTALL file. It is also part of the 24206 solution. Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2009-10-13xhost 1.0.3xhost-1.0.3Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-13Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONSAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-01Add README with pointers to mailing lists, bugzilla, & gitAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-01-21Correct make distcheck and sparse warnings.Paulo Cesar Pereira de Andrade
2007-07-17Use AM_CFLAGS instead of xhost_CFLAGS to avoid automake-1.10 warningsAlan Coopersmith
2007-07-16Version bump: 1.0.2xhost-1.0.2Alan Coopersmith
2007-07-16Replace static ChangeLog with dist-hook to generate from git logAlan Coopersmith
2007-04-11Bug #10616: Typo in xhost.man: s/effect/affect/Alan Coopersmith
X.Org Bugzilla #10616 <https://bugs.freedesktop.org/show_bug.cgi?id=10616> Reported upstream from Debian bug #232384 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=232384>
2007-02-02renamed: .cvsignore -> .gitignoreAlan Coopersmith
2007-02-02Add note pointing to Xsecurity man page for more info on SI optionsAlan Coopersmith
2006-04-15Coverity #610, #611: Various minor memory leaks. Bump to 1.0.1.xhost-1_0_1XORG-7_1Adam Jackson
2005-12-15Update package version number for final X11R7 release candidate.XORG-7_0_99_901XORG-7_0XORG-6_99_99_904Kevin E Martin
2005-12-06Change *man_SOURCES ==> *man_PRE to fix autotools warnings.MODULAR_COPYKevin E Martin
2005-12-03Update package version number for X11R7 RC3 release.XORG-6_99_99_903Kevin E Martin
2005-11-28Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4Alan Coopersmith
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
2005-11-21Another pass at .cvsignores for apps.Eric Anholt
2005-11-20Add/improve .cvsignore files for apps.Eric Anholt
2005-11-09Update package version number for X11R7 RC2 release.XORG-6_99_99_902Kevin E Martin
2005-11-01Update pkgcheck depedencies to work with separate build roots.Kevin E Martin
2005-10-19Update package version number for RC1 release.XORG-6_99_99_901Kevin E Martin
2005-10-17Use @APP_MAN_SUFFIX@ instead of $(APP_MAN_SUFFIX) in macro substitutions toAlan Coopersmith
work better with BSD make
2005-10-14Use sed to fill in variables in man pageAlan Coopersmith
2005-08-01Install man pages to section 1 instead of section m (Patch from DonnieXORG-6_99_99_900Alan Coopersmith
Berkholz)
2005-07-29Various changes preparing packages for RC0:Kevin E Martin
- Verify and update package version numbers as needed - Implement versioning scheme - Change bug address to point to bugzilla bug entry form - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it) - Fix makedepend to use pkgconfig and pass distcheck - Update build script to build macros first - Update modular Xorg version
2005-07-28Fix distcheck for remaining appsKevin E Martin