###############################################################################
#
# xdm - X Display Manager with support for XDMCP and host chooser
#
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
#
# Package name used in tarballs
# pkg(5) name we deliver the files in (override default)
# Version number (used in path names)
# Checksums for upstream tarball
# Patches to apply to source after unpacking, in order
SOURCE_PATCHES = \
mkdir.patch,-p1 \
pam_tty.patch,-p1 \
pam_user.patch,-p1 \
bindir.patch,-p1 \
18286609.patch,-p1 \
# Need to rebuild configure/Makefile.in after applying bindir.patch
# Man pages to apply Sun footer to & attributes to list
# Additional configure script options
# Only build shared greeter module, not static
# Set various paths to better match Solaris
--bindir=$(MODULE_SBIN_DIR) \
DEF_SERVER='$(X11_BIN_DIR)/X' \
# configure scripts add libraries like -lXt & -lXinerama to the global $(LIBS)
# when only some objects need them, so ignore them in the rest.
# but it misses adding -lc to the greeter shared object, so add it
MODULE_LD_OPTIONS += -lc
# Additional build & install targets
# Need to fix libtool interference with our linker flags
# Move xdmshell from default location to the place we put in our packages
# Copy xdm config files from /etc to /usr for use as prototypes
XCF_HEADER += \n%1$$s
XCF_HEADER += \n%1$$s xdm reads the actual configuration from the copies located in $(XDM_ETC_CONFIGDIR)
XCF_HEADER += \n%1$$s----------------------------------------------------------------------------\n
mkdir -p $@
-rm -f $@
-rm -f $@
if [[ -f $(XCF_ETC_BLDDIR)/$${FILENAME} ]] ; then \
else \
fi ; \
COMMENT_CHAR=$$(head -n 1 $${ORIGFILE}) ; \
cp -p config-README.txt $@