Commit graph

28 commits

Author SHA1 Message Date
jperkin
45bc40abb4 Remove example rc.d scripts from PLISTs.
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
ignored otherwise.
2014-03-11 14:04:57 +00:00
obache
7e3be9fc97 preprocessor is a tool. 2013-06-16 13:34:30 +00:00
joerg
d501b58eb1 Consistently use devel/tradcpp as preprocessor. 2013-06-13 22:30:41 +00:00
wiz
e0b49a2fed Bump PKGREVISION for libXft changes for NetBSD native X support on
NetBSD 6, requested by tron.
2013-06-06 12:53:40 +00:00
tron
a36fb86593 Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:
Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
2013-06-04 22:15:37 +00:00
wiz
53745b22ea Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882
2013-06-03 10:05:17 +00:00
asau
8aba7e3fbf Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-29 05:06:05 +00:00
wiz
f98e8b0585 Add inet6 to default suggested options. It's 2012. 2012-06-12 15:45:54 +00:00
sbd
cfc2de31d5 Put xdm's config files in ${PKG_SYSCONFBASE}/xdm, install them using
CONF_FILES, and adjust the rc.d script. (As requested in PR#41102).

Bump PKGREVISION.
2012-04-29 08:04:56 +00:00
sbd
425129a844 Use the --with-appdefaultdir configure arg and set both the log and pid
directorys to be under ${VARBASE}.
2012-04-29 07:48:34 +00:00
joerg
b920eb2db1 Use ucpp with clang 2012-04-17 17:53:13 +00:00
cheusov
2eea52b191 Update xdm to 1.1.11 (PR 45554). It works fine on 5.99.56
with modular xorg, build succeeds with native Xorg.

  Major changes since 1.10
     Check for allowRootLogin on PAM and non-OpenBSD passwd authentication
         backends
      s/Sun/Oracle/g
      Add man page for xdmshell
      Only install xdmshell if --enable-xdmshell is passed to configure
      config: rename XDM_PRINT to XDM_TOOLKIT
      xdm itself doesn't need to link with Xinerama library
      Delete some unused variables
      greeter: Remove unused extern dpy that is shadowed by local variables
      greeter: inline valueMask for xpm window to avoid shadowing argument
      greeter: Add echoPasswdChar resource to set character to display
      greeter: Make sure text input areas stay inside the lines
      greeter: Replace several #ifdef XPM blocks with LOGO_W macro
      greeter: Make sure cursor stays in bounds too
      Fix potential memory leak in allocation failure cleanup path
      Stop checking for NULL before calling free()
      Stop casting free() arguments to (char *)
      Stop casting return values of malloc and friends
      Only greeter needs XPM CFLAGS & LIBS, not xdm daemon
      Add Solaris 11 libsocket to list of libraries to search for
      getifaddrs()
      freeifaddrs() when done with it in DefineSelf()
      xdm.man: address only needs 2 S's, not 3
      On Solaris, make sure PAM_TTY is only ever set to an actual /dev path
      Bug 13455: allowNullPasswd: true doesn't work until the second login
      attempt
      Use C99 named initializers for XSetWindowAttributes structure
      Replace GCC_PRINTFLIKE with xproto's _X_ATTRIBUTE_PRINTF
      Add _X_ATTRIBUTE_PRINTF to LogVWrite declaration
      Stop using username retrieved from PAM before pam_end frees it.
      Simplify FailedLogin code
      fix whitespace issues
2011-11-09 18:28:40 +00:00
sbd
04daa2f1b8 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:00:33 +00:00
joerg
e6249e5ad3 Override appdefaultdir inherited from pkg-config, so that e.g. with
native X11R7 on NetBSD, the files don't end up in /usr/X111R7.
2011-09-24 13:14:15 +00:00
obache
08cd323c4d Update xdm to 1.1.10.
A number of bug fixes and improvements have accumulated since xdm 1.1.9,
including:
- crash fixes related to syslog usage
- a new option to echo stars in the password field
- basic selinux support

Full shortlog from 1.1.9 below.

Alan Coopersmith (11):
      Create piddir if needed on startup
      Make parent authdir if needed at startup
      Correct default greeterLib path in man page
      Remove workaround for X11R3 server bug
      Raise xorg-macros requirement to 1.4
      Update Sun license notices to current X.Org standard form
      echo_passwd should key off PAM no-echo state, not prompt position
      Replace hardcoded NAMELEN of 14 for ancient SysV with MAXNAMELEN
      Move m4 macros to m4 subdir as automake/libtool recommend
      Make sure username is not NULL when calling syslog from FailedLogin()
      Reject PAM conversation calls after login dialog is closed

Branden Robinson (6):
      downgrade an error to info message
      Change openFiles() to avoid race-based symlink attacks.
      Always attempt to write data to the auth file
      improve error logging
      Improve logging of xdm's script handling
      rewrite StorePid()

Christoph Bartoschek (1):
      XDM: Add support for clients that sent ipv4 addresses to a dual-stacked
host

Dmitry V. Levin (2):
      Call openlog(3) early
      greeter: fix logging of failed login attempts

Gaetan Nadon (8):
      .gitignore: use common defaults with custom section # 24239
      Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
      Deploy the new XORG_DEFAULT_OPTIONS #24242
      INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
      Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
      configure.ac: restore correct order for XORG_DEFAULT_OPTIONS
      configure.ac: use backticks rather than $() for cmd subs
      lint: option -rdynamic is not valid for the lint program

Georgy A. Shepelev (3):
      The whole widget borders width could not be set to zero.
      Adding an option to show stars instead of the password itself.
      xdm: add documentation of the "EchoPasswd" option to the man page

Johannes Dewender (1):
      Bug #25066: exec sessreg

Julien Cristau (4):
      Don't remove the pid file from xdm child processes
      xdmcp: disable IPV6_V6ONLY for ipv6 listening sockets
      Add missing brace in previous commit
      Bump to 1.1.10

Manoj Srivastava (1):
      xdm: add SELinux support

Martin Dickopp (1):
      Debian bug 525596: "Login incorrect" only partially cleared on next login

git tag: xdm-1.1.10
2010-07-12 11:39:57 +00:00
tnn
4dd0bf14a5 - make sure the authdir exists, reported on tech-pkg@ by Dennis den Brok.
- don't include compiler.mk twice
- bump PKGREVISION
2010-02-06 20:03:01 +00:00
tnn
65cb1034df Update to xdm-1.1.9 (PR pkg/42682)
xdm-1.1.9:
Update AC_DEFINE_DIR to latest version from Autoconf Archive
Remove RCS Ids
Move xdmcp ARRAY initializators to declarations
Replace FORCE_CURSOR_FLASH code with simpler cursor update for passwd field
Remove OS/2's duplicate copy of default path definitions in resource.c
sprintf -> snprintf/asprintf conversions
Documentation improvements
malloc(strlen()); strcpy() -> strdup()
Delete old A/UX (#ifdef macII) code
Use imdent to show cpp macro nesting more clearly
Remove #ifdef Lynx blocks
Clarify comment/#ifdefs for USE_SIOCGLIFCONF
Do a better job of getting user name for failed login log when using PAM
Continue processing Xaccess after unresolvable host entry found
Truncate pid file before writing new pid to it
Set utmp/wtmp paths via configure instead of hardcoding them
Treat all 127.0.0.0/8 addresses as localhost
Update to using xorg-macros 1.3, including XORG_DEFAULT_OPTIONS
Add support for AM_SILENT_RULES for building files with cpp
Replace -D_XOPEN_SOURCE & -D_BSD_SOURCE with AC_USE_SYSTEM_EXTENSIONS
Unrecognized argument errors shouldn't print xdm error header repeatedly
Refactor & constify error logging code
Log errors when failing to make authentication dirs/files
Fill in COPYING file
spelling fix
Add some more log and debug messages
session.c: Add more debugging to execute()
Use xdm's _SysErrorMsg() function instead of merely printing errno
Use _SysErrorMsg() in the log message in various error conditions.
Use xdm's _SysErrorMsg() function instead of strerror()
Add RemovePid() function, and register it with atexit()
Bug 16356: xdm Xstartup/Xreset configuration files malconstructed by cpp
xaw8 is gone, use xaw7
xdm compile failed due to asprintf()
Add support for syslog on more than openbsd.
Call InitErrorLog() right after BecomeDaemon()
Remove RCS Id and put some comment here.
getLocalAddress(): return 127.0.0.1 if the hostname doesn't resolve.
Add variable DisplayManager.authDir to xdm-config (Fedora bug 388431)
Ansification and compile warning fixes.

xdm-1.1.8:
Added include of pwd.h so we build correctly on OS-X - see xorg mailing list
Build fix for case-insensitive file systems
Fix installation of app-defaults
Fix build with builddir != srcdir
$(builddir) is the current directory
 README: nuke RCS Id
Bug 10145: xdm passes file descriptors to children

xdm-1.1.7:
Fix distcheck.
Restore #endif accidentally removed in d0d4581be22aba9021c5a672bd9e5ba719961e29
Debian bug #440389: 800x600 settings got lost, screen now too wide
Darwin doesn't need __DARWIN__ anymore.
2010-01-28 15:14:33 +00:00
tnn
3e6cf370a0 More build fixes for non-GNU cpp(1) which usually doesn't grok -undef.
From Alexander Nasonov in PR pkg/39879.
2009-10-25 12:15:54 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
wiz
285b7dd776 Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal. 2008-11-10 17:21:33 +00:00
abs
15eea55fff copy a lightly modified fix for starting xdm on ttyE4 from gdm
bump PKGREVISION

# The following forces the X server to start on the 5th virtual terminal.
# This is suboptimal but matches the defaults for the xdm configuration,
# which should work for most installations.  See the definition of
# DEFAULTVT in xsrc/xfree/xc/programs/xdm/config/Imakefile.
#
# If we do not do this, we hit a very annoying and obscure problem: during
# system startup, xdm starts before init spawns gettys.  If the X server
# is started before init spawns the gettys (which easily happens on slow
# machines), it grabs the first virtual terminal (instead of the first
# "free" one).  Later on, when the first getty is started, it grabs the
# same terminal X used (the first one).  As a result, only one of them
# will receive key presses.  And on slow machines, X will have lost access
# to the keyboard.
.if (${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD") && \
    (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
CONFIGURE_ARGS+=	--with-default-vt=vt05
.endif
2008-06-17 00:42:14 +00:00
tnn
9f2a42bc6b Switch master site to MASTER_SITE_XORG. 2008-05-24 21:45:14 +00:00
bjs
f9988faa64 Update to version 1.1.6. The newly added patch corrects the 800x600
section in Xresources.cpp.  In addition, this release brings the following
changes:



    - Debian Bug #376391: xdm manpage refers to non-existent section
      'Typical Usage'

    - Debian Bug #437961: loading Xresources fails because bindir/xrdb
      does not exist

    - Update AC_DEFINE_DIR to autoconf-2.60-compatible version

    - Add AM_PROG_CC_C_O to clear automake-1.10 warning

    - Makefile.am:149: compiling `chooser.c' with per-target flags
      requires `AM_PROG_CC_C_O' in `configure.ac'

    - Bug #10530: xdm's path to xrdb could be configurable at compile time

    - Set default cursor for entire root window, not just greeter

    - Make #ifdef XPM only control whether XPM pixmap logo is shown

    - Make 3D look-and-feel independent of XPM

    - Set Xcursor theme to whiteglass in default login screen resources

    - X.Org Bug #10992: xlogin crashes if window size is too small

    - Add --enable-xdm-auth/--disable-xdm-auth to configure options

    - X.Org Bug 10632 / Debian Bug 256299: race condition in
      policy.c:Willing()

    - Document more of the greeter resources in xdm man page

    - Bug #11096: xdm(1) manpage should document Xft-related properties

    - Bug #11020: xdm doesn't set SSH_AUTH_SOCK even though using
      with pam_ssh

    - Wasn't calling pam_setcred()/pam_getenvlist() if setusercontext()
      was present

    - X.Org Bugzilla #11020:
      <https://bugs.freedesktop.org/show_bug.cgi?id=11020>
2008-01-18 02:54:15 +00:00
abs
d55b1cb26c Add explicit option check for -inet6 2007-11-07 17:17:55 +00:00
tron
9639019fc0 Add missing dependence on "sessreg" package and bump package revision.
Problem pointed out by Joerg Sonnenberger on "tech-pkg" mailing list.
2007-08-09 12:58:27 +00:00
tron
dfa986cd06 Fix bugs in "rc.d" script, bump package revision. 2007-08-06 16:43:40 +00:00
joerg
90c7fed24b Hard-wire /dev/urandom on NetBSD for cross-compilation. 2007-08-06 15:56:09 +00:00
tron
eab5dc8781 Import new "xdm" package:
X Display Manager from modular X.org

This package is based on Blair Sadewitz's "xdm" package in "pkgsrc-wip".
2007-08-06 14:56:33 +00:00