mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
Import of Heimdal Kerberos from KTH repository circa 2002/02/17.
This commit is contained in:
parent
5a83b025a9
commit
4137ff4cc1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor-crypto/heimdal/dist/; revision=90926
|
@ -1,3 +1,678 @@
|
||||||
|
2002-02-15 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/keytab_keyfile.c (akf_add_entry): don't create the file
|
||||||
|
before we need to write to it
|
||||||
|
(from Åke Sandgren)
|
||||||
|
|
||||||
|
2002-02-14 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* configure.in: rk_RETSIGTYPE and rk_BROKEN_REALLOC are called via
|
||||||
|
rk_ROKEN (from Gombas Gabor); find inttypes by CHECK_TYPES
|
||||||
|
directly
|
||||||
|
|
||||||
|
* lib/krb5/rd_safe.c: actually use the correct key (from Daniel
|
||||||
|
Kouril)
|
||||||
|
|
||||||
|
2002-02-12 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/context.c (krb5_get_err_text): protect against NULL
|
||||||
|
context
|
||||||
|
|
||||||
|
2002-02-11 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* admin/ktutil.c: no need to use the "modify" keytab anymore
|
||||||
|
|
||||||
|
* lib/krb5/keytab_any.c: implement add and remove
|
||||||
|
|
||||||
|
* lib/krb5/keytab_krb4.c: implement add and remove
|
||||||
|
|
||||||
|
* lib/krb5/store_emem.c (emem_free): clear memory before freeing
|
||||||
|
(this should perhaps be selectable with a flag)
|
||||||
|
|
||||||
|
2002-02-04 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* kdc/config.c (get_dbinfo): if there are database specifications
|
||||||
|
in the config file, don't automatically try to use the default
|
||||||
|
values (from Gombas Gabor)
|
||||||
|
|
||||||
|
* lib/krb5/log.c (krb5_closelog): don't pass pointer to pointer
|
||||||
|
(from Gombas Gabor)
|
||||||
|
|
||||||
|
2002-01-30 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* admin/list.c: get the default keytab from krb5.conf, and list
|
||||||
|
all parts of an ANY type keytab
|
||||||
|
|
||||||
|
* lib/krb5/context.c: default default_keytab_modify to NULL
|
||||||
|
|
||||||
|
* lib/krb5/keytab.c (krb5_kt_default_modify_name): if no modify
|
||||||
|
name is specified take it from the first component of the default
|
||||||
|
keytab name
|
||||||
|
|
||||||
|
2002-01-29 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/keytab.c: compare keytab types case insensitively
|
||||||
|
|
||||||
|
2002-01-07 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/crypto.c (create_checksum): make usage `unsigned' (it's
|
||||||
|
not really a krb5_key_usage). From Ben Harris <bjh21@netbsd.org>
|
||||||
|
* lib/krb5/get_in_tkt.c: use krb5_enctype consistently. From Ben
|
||||||
|
Harris <bjh21@netbsd.org>
|
||||||
|
* lib/krb5/crypto.c: use krb5_enctype consistently. From Ben
|
||||||
|
Harris <bjh21@netbsd.org>
|
||||||
|
* kdc/kerberos5.c: use krb5_enctype consistently. From Ben Harris
|
||||||
|
<bjh21@netbsd.org>
|
||||||
|
|
||||||
|
2001-12-20 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/crypto.c: use our own des string-to-key function, since
|
||||||
|
the one from openssl sometimes generates wrong output
|
||||||
|
|
||||||
|
2001-12-05 Jacques Vidrine <n@nectar.cc>
|
||||||
|
|
||||||
|
* lib/hdb/mkey.c: fix a bug in which kstash would crash if
|
||||||
|
there were no /etc/krb5.conf
|
||||||
|
|
||||||
|
2001-10-29 Jacques Vidrine <n@nectar.com>
|
||||||
|
|
||||||
|
* admin/get.c: fix a bug in which a reference to a data
|
||||||
|
structure on the stack was being kept after the containing
|
||||||
|
function's lifetime, resulting in a segfault during `ktutil
|
||||||
|
get'.
|
||||||
|
|
||||||
|
2001-10-22 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/crypto.c: make all high-level encrypting and decrypting
|
||||||
|
functions check the return value of the underlying function and
|
||||||
|
handle errors more consistently. noted by Sam Hartman
|
||||||
|
<hartmans@mit.edu>
|
||||||
|
|
||||||
|
2001-10-21 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/crypto.c (enctype_arcfour_hmac_md5): actually use a
|
||||||
|
non-keyed checksum when it should be non-keyed
|
||||||
|
|
||||||
|
2001-09-29 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* kuser/kinit.1: add the kauth alias
|
||||||
|
* kuser/kinit.c: allow specification of afslog in krb5.conf, noted
|
||||||
|
by jhutz@cs.cmu.edu
|
||||||
|
|
||||||
|
2001-09-27 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/asn1/gen.c: remove the need for libasn1.h, also make
|
||||||
|
generated files include all files from IMPORTed modules
|
||||||
|
|
||||||
|
* lib/krb5/krb5.h (KRB5_KPASSWD_*): set correct values
|
||||||
|
* kpasswd/kpasswd.c: improve error message printing
|
||||||
|
* lib/krb5/changepw.c (krb5_passwd_result_to_string): add change
|
||||||
|
to use sequence numbers connect the udp socket so that we can
|
||||||
|
figure out the local address
|
||||||
|
|
||||||
|
2001-09-25 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/asn1: implement OBJECT IDENTIFIER and ENUMERATED
|
||||||
|
|
||||||
|
2001-09-20 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/principal.c (krb5_425_conv_principal_ext): try using
|
||||||
|
lower case realm as domain, but only when given a verification
|
||||||
|
function
|
||||||
|
|
||||||
|
2001-09-20 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/asn1/der_put.c (der_put_length): do not even try writing
|
||||||
|
anything when len == 0
|
||||||
|
|
||||||
|
2001-09-18 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* kdc/hpropd.c: add realm override option
|
||||||
|
|
||||||
|
* lib/krb5/set_default_realm.c (krb5_set_default_realm): make
|
||||||
|
realm parameter const
|
||||||
|
|
||||||
|
* kdc/hprop.c: more free's
|
||||||
|
|
||||||
|
* lib/krb5/init_creds_pw.c (krb5_get_init_creds_keytab): free key
|
||||||
|
proc data
|
||||||
|
|
||||||
|
* lib/krb5/expand_hostname.c (krb5_expand_hostname_realms): free
|
||||||
|
addrinfo
|
||||||
|
|
||||||
|
* lib/hdb/mkey.c (hdb_set_master_keyfile): clear error string when
|
||||||
|
not returning error
|
||||||
|
|
||||||
|
2001-09-16 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/appdefault.c (krb5_appdefault_{boolean,string,time):
|
||||||
|
make realm const
|
||||||
|
|
||||||
|
* lib/krb5/crypto.c: use des functions to avoid generating
|
||||||
|
warnings with openssl's prototypes
|
||||||
|
|
||||||
|
2001-09-05 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* configure.in: check for termcap.h
|
||||||
|
|
||||||
|
* lib/asn1/lex.l: add another undef ECHO to keep AIX lex happy
|
||||||
|
|
||||||
|
2001-09-03 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/addr_families.c (krb5_print_address): handle snprintf
|
||||||
|
returning < 0. noticed by hin@stacken.kth.se
|
||||||
|
|
||||||
|
2001-09-03 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* Release 0.4e
|
||||||
|
|
||||||
|
2001-09-02 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* kuser/Makefile.am: install kauth as a symlink to kinit
|
||||||
|
|
||||||
|
* kuser/kinit.c: get v4_tickets by default
|
||||||
|
|
||||||
|
* lib/asn1/Makefile.am: fix for broken automake
|
||||||
|
|
||||||
|
2001-08-31 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/hdb/hdb-ldap.c: some pretty much untested changes from Luke
|
||||||
|
Howard
|
||||||
|
|
||||||
|
* kuser/kinit.1: remove references to kauth
|
||||||
|
|
||||||
|
* kuser/Makefile.am: kauth is no more
|
||||||
|
|
||||||
|
* kuser/kinit.c: use appdefaults for everything. defaults are now
|
||||||
|
as in kauth.
|
||||||
|
|
||||||
|
* lib/krb5/appdefault.c: also check libdefaults, and realms/realm
|
||||||
|
|
||||||
|
* lib/krb5/context.c (krb5_free_context): free more stuff
|
||||||
|
|
||||||
|
2001-08-30 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/verify_krb5_conf.c: do some checks of the values in the
|
||||||
|
file
|
||||||
|
|
||||||
|
* lib/krb5/krb5.conf.5: remove srv_try_txt, fix spelling
|
||||||
|
|
||||||
|
* lib/krb5/context.c: don't init srv_try_txt, since it isn't used
|
||||||
|
anymore
|
||||||
|
|
||||||
|
2001-08-29 Jacques Vidrine <n@nectar.com>
|
||||||
|
|
||||||
|
* configure.in: Check for already-installed com_err.
|
||||||
|
|
||||||
|
2001-08-28 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): set versoin to 18:2:1
|
||||||
|
|
||||||
|
2001-08-24 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* kuser/Makefile.am: remove CHECK_LOCAL - non bin programs require
|
||||||
|
no special treatment now
|
||||||
|
|
||||||
|
* kuser/generate-requests.c: parse arguments in a useful way
|
||||||
|
* kuser/kverify.c: add --help/--verify
|
||||||
|
|
||||||
|
2001-08-22 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* configure.in: bump prereq to 2.52 remove unused test_LIB_KRB4
|
||||||
|
|
||||||
|
* configure.in: re-write the handling of crypto libraries. try to
|
||||||
|
use the one of openssl's libcrypto or krb4's libdes that has all
|
||||||
|
the required functionality (md4, md5, sha1, des, rc4). if there
|
||||||
|
is no such library, the included lib/des is built.
|
||||||
|
|
||||||
|
* kdc/headers.h: include libutil.h if it exists
|
||||||
|
* kpasswd/kpasswd_locl.h: include libutil.h if it exists
|
||||||
|
* kdc/kerberos4.c (get_des_key): check for null keys even if
|
||||||
|
is_server
|
||||||
|
|
||||||
|
2001-08-21 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/asn1/asn1_print.c: print some size_t correctly
|
||||||
|
* configure.in: remove extra space after -L check for libutil.h
|
||||||
|
|
||||||
|
2001-08-17 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* kdc/kdc_locl.h: fix prototype for get_des_key
|
||||||
|
|
||||||
|
* kdc/kaserver.c: fix call to get_des_key
|
||||||
|
|
||||||
|
* kdc/524.c: fix call to get_des_key
|
||||||
|
|
||||||
|
* kdc/kerberos4.c (get_des_key): if getting a key for a server,
|
||||||
|
return any des-key not just keys that can be string-to-keyed by
|
||||||
|
the client
|
||||||
|
|
||||||
|
2001-08-10 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* Release 0.4d
|
||||||
|
|
||||||
|
2001-08-10 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* configure.in: check for openpty
|
||||||
|
* lib/hdb/Makefile.am (libhdb_la_LDFLAGS): update to 7:4:0
|
||||||
|
|
||||||
|
2001-08-08 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* configure.in: just add -L (if required) from krb4 when testing
|
||||||
|
for libdes/libcrypto
|
||||||
|
|
||||||
|
2001-08-04 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/Makefile.am (man_MANS): add some missing man pages
|
||||||
|
* fix-export: fix the sed expression for finding the man pages
|
||||||
|
|
||||||
|
2001-07-31 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* kpasswd/kpasswd-generator.c (main): implement --version and
|
||||||
|
--help
|
||||||
|
|
||||||
|
* lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): update version to
|
||||||
|
18:1:1
|
||||||
|
|
||||||
|
2001-07-27 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/context.c (init_context_from_config_file): check
|
||||||
|
parsing of addresses
|
||||||
|
|
||||||
|
2001-07-26 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/sock_principal.c (krb5_sock_to_principal): rename
|
||||||
|
sa_len -> salen to avoid the macro that's defined on irix. noted
|
||||||
|
by "Jacques A. Vidrine" <n@nectar.com>
|
||||||
|
|
||||||
|
2001-07-24 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/addr_families.c: add support for type
|
||||||
|
KRB5_ADDRESS_ADDRPORT
|
||||||
|
|
||||||
|
* lib/krb5/addr_families.c (krb5_address_order): complain about
|
||||||
|
unsuppored address types
|
||||||
|
|
||||||
|
2001-07-23 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* admin/get.c: don't open connection to server until we loop over
|
||||||
|
the principals, at that time we know the realm of the (first)
|
||||||
|
principal and we can default to that admin server
|
||||||
|
|
||||||
|
* admin: add a rename command
|
||||||
|
|
||||||
|
2001-07-19 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* kdc/hprop.c (usage): clarify a tiny bit
|
||||||
|
|
||||||
|
2001-07-19 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* Release 0.4c
|
||||||
|
|
||||||
|
2001-07-19 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): bump version to
|
||||||
|
18:0:1
|
||||||
|
|
||||||
|
* lib/krb5/get_for_creds.c (krb5_fwd_tgt_creds): make it behave
|
||||||
|
the same way as the MIT function
|
||||||
|
|
||||||
|
* lib/hdb/Makefile.am (libhdb_la_LDFLAGS): update to 7:3:0
|
||||||
|
* lib/krb5/sock_principal.c (krb5_sock_to_principal): use
|
||||||
|
getnameinfo
|
||||||
|
|
||||||
|
* lib/krb5/krbhst.c (srv_find_realm): handle port numbers
|
||||||
|
consistenly in local byte order
|
||||||
|
|
||||||
|
* lib/krb5/get_default_realm.c (krb5_get_default_realm): set an
|
||||||
|
error string
|
||||||
|
|
||||||
|
* kuser/kinit.c (renew_validate): invert condition correctly. get
|
||||||
|
v4 tickets if we succeed renewing
|
||||||
|
* lib/krb5/principal.c (krb5_principal_get_type): add
|
||||||
|
(default_v4_name_convert): add "smtp"
|
||||||
|
|
||||||
|
2001-07-13 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* configure.in: remove make-print-version from LIBOBJS, it's no
|
||||||
|
longer in lib/roken but always built in lib/vers
|
||||||
|
|
||||||
|
2001-07-12 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/hdb/mkey.c: more set_error_string
|
||||||
|
|
||||||
|
2001-07-12 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/hdb/Makefile.am (libhdb_la_LIBADD): add required library
|
||||||
|
dependencies
|
||||||
|
|
||||||
|
* lib/asn1/Makefile.am (libasn1_la_LIBADD): add required library
|
||||||
|
dependencies
|
||||||
|
|
||||||
|
2001-07-11 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* kdc/hprop.c: remove v4 master key handling; remove old v4-db and
|
||||||
|
ka-db flags; add defaults for v4_realm and afs_cell
|
||||||
|
|
||||||
|
2001-07-09 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/sock_principal.c (krb5_sock_to_principal): copy hname
|
||||||
|
before calling krb5_sname_to_principal. from "Jacques A. Vidrine"
|
||||||
|
<n@nectar.com>
|
||||||
|
|
||||||
|
2001-07-08 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/context.c: use krb5_copy_addresses instead of
|
||||||
|
copy_HostAddresses
|
||||||
|
|
||||||
|
2001-07-06 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* configure.in (LIB_des_a, LIB_des_so): add these so that they can
|
||||||
|
be used by lib/auth/sia
|
||||||
|
|
||||||
|
* kuser/kinit.c: re-do some of the v4 fallbacks: look at
|
||||||
|
get-tokens flag do not print extra errors do not try to do 524 if
|
||||||
|
we got tickets from a v4 server
|
||||||
|
|
||||||
|
2001-07-03 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/replay.c (krb5_get_server_rcache): cast argument to
|
||||||
|
printf
|
||||||
|
|
||||||
|
* lib/krb5/get_addrs.c (find_all_addresses): call free_addresses
|
||||||
|
on ignore_addresses correctly
|
||||||
|
* lib/krb5/init_creds.c
|
||||||
|
(krb5_get_init_creds_opt_set_default_flags): change to take a
|
||||||
|
const realm
|
||||||
|
|
||||||
|
* lib/krb5/principal.c (krb5_425_conv_principal_ext): if the
|
||||||
|
instance is the first component of the local hostname, the
|
||||||
|
converted host should be the long hostname. from
|
||||||
|
<shadow@dementia.org>
|
||||||
|
|
||||||
|
2001-07-02 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/Makefile.am: address.c is no more; add a couple of
|
||||||
|
manpages
|
||||||
|
|
||||||
|
* lib/krb5/krb5_timeofday.3: new manpage
|
||||||
|
|
||||||
|
* lib/krb5/krb5_get_all_client_addrs.3: new manpage
|
||||||
|
|
||||||
|
* lib/krb5/get_in_tkt.c (init_as_req): treat no addresses as
|
||||||
|
wildcard
|
||||||
|
|
||||||
|
* lib/krb5/get_cred.c (get_cred_kdc_la): treat no addresses as
|
||||||
|
wildcard
|
||||||
|
|
||||||
|
* lib/krb5/get_addrs.c: don't include client addresses that match
|
||||||
|
ignore_addresses
|
||||||
|
|
||||||
|
* lib/krb5/context.c: initialise ignore_addresses
|
||||||
|
|
||||||
|
* lib/krb5/addr_families.c: add new `arange' fake address type,
|
||||||
|
that matches more than one address; this required some internal
|
||||||
|
changes to many functions, so all of address.c got moved here
|
||||||
|
(wasn't much left there)
|
||||||
|
|
||||||
|
* lib/krb5/krb5.h: add list of ignored addresses to context
|
||||||
|
|
||||||
|
2001-07-03 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* Release 0.4b
|
||||||
|
|
||||||
|
2001-07-03 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): set version to 17:0:0
|
||||||
|
* lib/hdb/Makefile.am (libhdb_la_LDFLAGS): set version to 7:2:0
|
||||||
|
|
||||||
|
2001-07-03 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* Release 0.4a
|
||||||
|
|
||||||
|
2001-07-02 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* kuser/kinit.c: make this compile without krb4 support
|
||||||
|
|
||||||
|
* lib/krb5/write_message.c: remove priv parameter from
|
||||||
|
write_safe_message; don't know why it was there in the first place
|
||||||
|
|
||||||
|
* doc/install.texi: remove kaserver switches, it's always compiled
|
||||||
|
in now
|
||||||
|
|
||||||
|
* kdc/hprop.c: always include kadb support
|
||||||
|
|
||||||
|
* kdc/kaserver.c: always include kaserver support
|
||||||
|
|
||||||
|
2001-07-02 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* kpasswd/kpasswdd.c (doit): make failing to bind a socket a
|
||||||
|
non-fatal error, and abort if no sockets were bound
|
||||||
|
|
||||||
|
2001-07-01 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/krbhst.c: remember the real port number when falling
|
||||||
|
back from kpasswd -> kadmin, and krb524 -> kdc
|
||||||
|
|
||||||
|
2001-06-29 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/get_for_creds.c (krb5_get_forwarded_creds): if
|
||||||
|
no_addresses is set, do not add any local addresses to KRB_CRED
|
||||||
|
|
||||||
|
* kuser/kinit.c: remove extra clearing of password and some
|
||||||
|
redundant code
|
||||||
|
|
||||||
|
2001-06-29 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* kuser/kinit.c: move ticket conversion code to separate function,
|
||||||
|
and call that from a couple of places, like when renewing a
|
||||||
|
ticket; also add a flag for just converting a ticket
|
||||||
|
|
||||||
|
* lib/krb5/init_creds_pw.c: set renew-life to some sane value
|
||||||
|
|
||||||
|
* kdc/524.c: don't send more data than required
|
||||||
|
|
||||||
|
2001-06-24 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/store_fd.c (krb5_storage_from_fd): check malloc returns
|
||||||
|
|
||||||
|
* lib/krb5/keytab_any.c (any_resolve); improving parsing of ANY:
|
||||||
|
(any_start_seq_get): remove a double free
|
||||||
|
(any_next_entry): iterate over all (sub) keytabs and avoid leave data
|
||||||
|
around to be freed again
|
||||||
|
|
||||||
|
* kdc/kdc_locl.h: add a define for des_new_random_key when using
|
||||||
|
openssl's libcrypto
|
||||||
|
|
||||||
|
* configure.in: move v6 tests down
|
||||||
|
|
||||||
|
* lib/krb5/krb5.h (krb5_context_data): remove srv_try_rfc2052
|
||||||
|
|
||||||
|
* update to libtool 1.4 and autoconf 2.50
|
||||||
|
|
||||||
|
2001-06-22 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/hdb/hdb.c: use krb5_add_et_list
|
||||||
|
|
||||||
|
2001-06-21 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/hdb/Makefile.am: add generation number
|
||||||
|
* lib/hdb/common.c: add generation number code
|
||||||
|
* lib/hdb/hdb.asn1: add generation number
|
||||||
|
* lib/hdb/print.c: use krb5_storage to make it more dynamic
|
||||||
|
|
||||||
|
2001-06-21 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/krb5.conf.5: update to changed names used by
|
||||||
|
krb5_get_init_creds_opt_set_default_flags
|
||||||
|
* lib/krb5/init_creds.c
|
||||||
|
(krb5_get_init_creds_opt_set_default_flags): make the appdefault
|
||||||
|
keywords have the same names
|
||||||
|
|
||||||
|
* configure.in: only add -L and -R to the krb4 libdir if we are
|
||||||
|
actually using it
|
||||||
|
|
||||||
|
* lib/krb5/krbhst.c (fallback_get_hosts): do not copy trailing
|
||||||
|
dot of hostname add some comments
|
||||||
|
* lib/krb5/krbhst.c: use getaddrinfo instead of dns_lookup when
|
||||||
|
testing for kerberos.REALM. this allows reusing that information
|
||||||
|
when actually contacting the server and thus avoids one DNS lookup
|
||||||
|
|
||||||
|
2001-06-20 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/krb5.h: include k524_err.h
|
||||||
|
|
||||||
|
* lib/krb5/convert_creds.c (krb524_convert_creds_kdc): don't test
|
||||||
|
for keytype, the server will do this for us if it has anything to
|
||||||
|
complain about
|
||||||
|
|
||||||
|
* lib/krb5/context.c: add protocol compatible krb524 error codes
|
||||||
|
|
||||||
|
* lib/krb5/Makefile.am: add protocol compatible krb524 error codes
|
||||||
|
|
||||||
|
* lib/krb5/k524_err.et: add protocol compatible krb524 error codes
|
||||||
|
|
||||||
|
* lib/krb5/krb5_principal_get_realm.3: manpage
|
||||||
|
|
||||||
|
* lib/krb5/principal.c: add functions `krb5_principal_get_realm'
|
||||||
|
and `krb5_principal_get_comp_string' that returns parts of a
|
||||||
|
principal; this is a replacement for the internal
|
||||||
|
`krb5_princ_realm' and `krb5_princ_component' macros that everyone
|
||||||
|
seem to use
|
||||||
|
|
||||||
|
2001-06-19 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* kuser/kinit.c (main): dereference result from krb5_princ_realm.
|
||||||
|
from Thomas Nystrom <thn@saeab.se>
|
||||||
|
|
||||||
|
2001-06-18 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/mk_req.c (krb5_mk_req_exact): free creds when done
|
||||||
|
* lib/krb5/crypto.c (krb5_string_to_key_derived): fix memory leak
|
||||||
|
* lib/krb5/krbhst.c (config_get_hosts): free hostlist
|
||||||
|
* kuser/kinit.c: free principal
|
||||||
|
|
||||||
|
2001-06-18 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/send_to_kdc.c (krb5_sendto): remove an extra
|
||||||
|
freeaddrinfo
|
||||||
|
|
||||||
|
* lib/krb5/convert_creds.c (krb524_convert_creds_kdc_ccache):
|
||||||
|
remove some unused variables
|
||||||
|
|
||||||
|
* lib/krb5/krbhst.c (admin_get_next): spell kerberos correctly
|
||||||
|
* kdc/kerberos5.c: update to new krb5_auth_con* names
|
||||||
|
* kdc/hpropd.c: update to new krb5_auth_con* names
|
||||||
|
* lib/krb5/rd_req.c (krb5_rd_req): use krb5_auth_con* functions
|
||||||
|
and remove some comments
|
||||||
|
* lib/krb5/rd_safe.c (krb5_rd_safe): pick the keys in the right
|
||||||
|
order: remote - local - session
|
||||||
|
* lib/krb5/rd_rep.c (krb5_rd_rep): save the remote sub key in the
|
||||||
|
auth_context
|
||||||
|
* lib/krb5/rd_priv.c (krb5_rd_priv): pick keys in the correct
|
||||||
|
order: remote - local - session
|
||||||
|
* lib/krb5/mk_safe.c (krb5_mk_safe): pick keys in the right order,
|
||||||
|
local - remote - session
|
||||||
|
|
||||||
|
2001-06-18 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/convert_creds.c: use starttime instead of authtime,
|
||||||
|
from Chris Chiappa
|
||||||
|
|
||||||
|
* lib/krb5/convert_creds.c: make krb524_convert_creds_kdc match
|
||||||
|
the MIT function by the same name; add
|
||||||
|
krb524_convert_creds_kdc_ccache that does what the old version did
|
||||||
|
|
||||||
|
* admin/list.c (do_list): make sure list of keys is NULL
|
||||||
|
terminated; similar to patch sent by Chris Chiappa
|
||||||
|
|
||||||
|
2001-06-18 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/mcache.c (mcc_remove_cred): use
|
||||||
|
krb5_free_creds_contents
|
||||||
|
|
||||||
|
* lib/krb5/auth_context.c: name function krb5_auth_con more
|
||||||
|
consistenly
|
||||||
|
* lib/krb5/rd_req.c (krb5_verify_authenticator_checksum): use
|
||||||
|
renamed krb5_auth_con_getauthenticator
|
||||||
|
|
||||||
|
* lib/krb5/convert_creds.c (krb524_convert_creds_kdc): update to
|
||||||
|
use krb5_krbhst API
|
||||||
|
* lib/krb5/changepw.c (krb5_change_password): update to use
|
||||||
|
krb5_krbhst API
|
||||||
|
* lib/krb5/send_to_kdc.c: update to use krb5_krbhst API
|
||||||
|
* lib/krb5/krbhst.c (krb5_krbhst_get_addrinfo): add set def_port
|
||||||
|
in krb5_krbhst_info
|
||||||
|
(krb5_krbhst_free): free everything
|
||||||
|
|
||||||
|
* lib/krb5/krb5.h (KRB5_VERIFY_NO_ADDRESSES): add
|
||||||
|
(krb5_krbhst_info): add def_port (default port for this service)
|
||||||
|
|
||||||
|
* lib/krb5/krbhst-test.c: make it more verbose and useful
|
||||||
|
* lib/krb5/krbhst.c: remove some more memory leaks do not try any
|
||||||
|
dns operations if there is local configuration admin: fallback to
|
||||||
|
kerberos.REALM 524: fallback to kdcs kpasswd: fallback to admin
|
||||||
|
add some comments
|
||||||
|
|
||||||
|
* configure.in: remove initstate and setstate, they should be in
|
||||||
|
cf/roken-frag.m4
|
||||||
|
|
||||||
|
* lib/krb5/Makefile.am (noinst_PROGRAMS): add krbhst-test
|
||||||
|
* lib/krb5/krbhst-test.c: new program for testing krbhst
|
||||||
|
* lib/krb5/krbhst.c (common_init): remove memory leak
|
||||||
|
(main): move test program into krbhst-test
|
||||||
|
|
||||||
|
2001-06-17 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/krb5_krbhst_init.3: manpage
|
||||||
|
|
||||||
|
* lib/krb5/krb5_get_krbhst.3: manpage
|
||||||
|
|
||||||
|
2001-06-16 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/krb5.h: add opaque krb5_krbhst_handle type
|
||||||
|
|
||||||
|
* lib/krb5/krbhst.c: change void* to krb5_krbhst_handle
|
||||||
|
|
||||||
|
* lib/krb5/krb5.h: types for new krbhst api
|
||||||
|
|
||||||
|
* lib/krb5/krbhst.c: implement a new api that looks up one host at
|
||||||
|
a time, instead of making a list of hosts
|
||||||
|
|
||||||
|
2001-06-09 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* configure.in: test for initstate and setstate
|
||||||
|
|
||||||
|
* lib/krb5/krbhst.c: remove rfc2052 support
|
||||||
|
|
||||||
|
2001-06-08 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* fix some manpages for broken mdoc.old grog test
|
||||||
|
|
||||||
|
2001-05-28 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/krb5.conf.5: add [appdefaults]
|
||||||
|
* lib/krb5/init_creds_pw.c: remove configuration reading that is
|
||||||
|
now done in krb5_get_init_creds_opt_set_default_flags
|
||||||
|
* lib/krb5/init_creds.c
|
||||||
|
(krb5_get_init_creds_opt_set_default_flags): add reading of
|
||||||
|
libdefaults versions of these and add no_addresses
|
||||||
|
|
||||||
|
* lib/krb5/get_in_tkt.c (krb5_get_in_cred): clear error string
|
||||||
|
when preauth was required and we retry
|
||||||
|
|
||||||
|
2001-05-25 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* lib/krb5/convert_creds.c (krb524_convert_creds_kdc): call
|
||||||
|
krb5_get_krb524hst
|
||||||
|
* lib/krb5/krbhst.c (krb5_get_krb524hst): add and restructure the
|
||||||
|
support functions
|
||||||
|
|
||||||
|
2001-05-22 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* kdc/kerberos5.c (tgs_rep2): alloc and free csec and cusec
|
||||||
|
properly
|
||||||
|
|
||||||
2001-05-17 Assar Westerlund <assar@sics.se>
|
2001-05-17 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
* Release 0.3f
|
* Release 0.3f
|
||||||
|
@ -10,6 +685,10 @@
|
||||||
* lib/krb5/keytab_krb4.c: add SRVTAB as an alias for krb4
|
* lib/krb5/keytab_krb4.c: add SRVTAB as an alias for krb4
|
||||||
* lib/krb5/codec.c: remove dead code
|
* lib/krb5/codec.c: remove dead code
|
||||||
|
|
||||||
|
2001-05-17 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* kdc/config.c: actually check the ticket addresses
|
||||||
|
|
||||||
2001-05-15 Assar Westerlund <assar@sics.se>
|
2001-05-15 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
* lib/krb5/rd_error.c (krb5_error_from_rd_error): use correct
|
* lib/krb5/rd_error.c (krb5_error_from_rd_error): use correct
|
||||||
|
@ -21,6 +700,10 @@
|
||||||
|
|
||||||
2001-05-14 Johan Danielsson <joda@pdc.kth.se>
|
2001-05-14 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* lib/krb5/verify_user.c: krb5_verify_user_opt
|
||||||
|
|
||||||
|
* lib/krb5/krb5.h: verify_opt
|
||||||
|
|
||||||
* kdc/kerberos5.c: pass context to krb5_domain_x500_decode
|
* kdc/kerberos5.c: pass context to krb5_domain_x500_decode
|
||||||
|
|
||||||
2001-05-14 Assar Westerlund <assar@sics.se>
|
2001-05-14 Assar Westerlund <assar@sics.se>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.16 2000/11/15 22:54:15 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = .
|
top_builddir = .
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.16 2000/11/15 22:54:15 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,18 +180,20 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
|
@ -198,74 +205,65 @@ EXTRA_DIST = Makefile.am.common krb5.conf
|
||||||
subdir = .
|
subdir = .
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ./include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
|
depcomp =
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES =
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
depcomp =
|
DIST_SOURCES =
|
||||||
DIST_COMMON = README ChangeLog Makefile.am Makefile.in NEWS TODO \
|
|
||||||
acconfig.h acinclude.m4 aclocal.m4 config.guess config.sub configure \
|
|
||||||
configure.in install-sh ltconfig ltmain.sh missing mkinstalldirs
|
|
||||||
|
|
||||||
|
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
||||||
|
uninstall-info-recursive all-recursive install-data-recursive \
|
||||||
|
install-exec-recursive installdirs-recursive install-recursive \
|
||||||
|
uninstall-recursive check-recursive installcheck-recursive
|
||||||
|
DIST_COMMON = README ChangeLog Makefile.am Makefile.in NEWS TODO \
|
||||||
|
acconfig.h acinclude.m4 aclocal.m4 config.guess config.sub \
|
||||||
|
configure configure.in install-sh ltconfig ltmain.sh missing \
|
||||||
|
mkinstalldirs
|
||||||
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
|
all: all-recursive
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
DIST_SUBDIRS = $(SUBDIRS)
|
|
||||||
all: all-redirect
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
mostlyclean-libtool:
|
||||||
cd $(top_builddir) \
|
-rm -f *.lo
|
||||||
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
$(ACLOCAL_M4): configure.in acinclude.m4 cf/aix.m4 cf/auth-modules.m4 \
|
clean-libtool:
|
||||||
cf/broken-getnameinfo.m4 cf/broken-glob.m4 \
|
-rm -rf .libs _libs
|
||||||
cf/broken-realloc.m4 cf/broken-snprintf.m4 cf/broken.m4 \
|
|
||||||
cf/broken2.m4 cf/c-attribute.m4 cf/c-function.m4 \
|
|
||||||
cf/capabilities.m4 cf/check-declaration.m4 \
|
|
||||||
cf/check-getpwnam_r-posix.m4 cf/check-man.m4 \
|
|
||||||
cf/check-netinet-ip-and-tcp.m4 cf/check-type-extra.m4 \
|
|
||||||
cf/check-var.m4 cf/check-x.m4 cf/check-xau.m4 cf/db.m4 \
|
|
||||||
cf/find-func-no-libs.m4 cf/find-func-no-libs2.m4 \
|
|
||||||
cf/find-func.m4 cf/find-if-not-broken.m4 \
|
|
||||||
cf/grok-type.m4 cf/have-pragma-weak.m4 \
|
|
||||||
cf/have-struct-field.m4 cf/have-type.m4 \
|
|
||||||
cf/have-types.m4 cf/krb-bigendian.m4 cf/krb-find-db.m4 \
|
|
||||||
cf/krb-func-getcwd-broken.m4 cf/krb-func-getlogin.m4 \
|
|
||||||
cf/krb-ipv6.m4 cf/krb-irix.m4 cf/krb-prog-ln-s.m4 \
|
|
||||||
cf/krb-prog-ranlib.m4 cf/krb-prog-yacc.m4 \
|
|
||||||
cf/krb-readline.m4 cf/krb-struct-spwd.m4 \
|
|
||||||
cf/krb-struct-winsize.m4 cf/krb-sys-aix.m4 \
|
|
||||||
cf/krb-sys-nextstep.m4 cf/krb-version.m4 cf/mips-abi.m4 \
|
|
||||||
cf/misc.m4 cf/need-proto.m4 cf/osfc2.m4 \
|
|
||||||
cf/proto-compat.m4 cf/retsigtype.m4 cf/roken-frag.m4 \
|
|
||||||
cf/roken.m4 cf/shared-libs.m4 cf/test-package.m4 \
|
|
||||||
cf/wflags.m4
|
|
||||||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
|
||||||
|
|
||||||
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$@ $(SHELL) ./config.status
|
||||||
|
|
||||||
|
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
$(SHELL) ./config.status --recheck
|
$(SHELL) ./config.status --recheck
|
||||||
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||||
cd $(srcdir) && $(AUTOCONF)
|
cd $(srcdir) && $(AUTOCONF)
|
||||||
|
|
||||||
|
$(ACLOCAL_M4): configure.in acinclude.m4 cf/aix.m4 cf/auth-modules.m4 cf/broken-getaddrinfo.m4 cf/broken-getnameinfo.m4 cf/broken-glob.m4 cf/broken-realloc.m4 cf/broken-snprintf.m4 cf/broken.m4 cf/broken2.m4 cf/c-attribute.m4 cf/c-function.m4 cf/capabilities.m4 cf/check-compile-et.m4 cf/check-declaration.m4 cf/check-getpwnam_r-posix.m4 cf/check-man.m4 cf/check-netinet-ip-and-tcp.m4 cf/check-type-extra.m4 cf/check-var.m4 cf/check-x.m4 cf/check-xau.m4 cf/crypto.m4 cf/db.m4 cf/find-func-no-libs.m4 cf/find-func-no-libs2.m4 cf/find-func.m4 cf/find-if-not-broken.m4 cf/have-pragma-weak.m4 cf/have-struct-field.m4 cf/have-type.m4 cf/have-types.m4 cf/krb-bigendian.m4 cf/krb-func-getcwd-broken.m4 cf/krb-func-getlogin.m4 cf/krb-ipv6.m4 cf/krb-irix.m4 cf/krb-prog-ln-s.m4 cf/krb-prog-ranlib.m4 cf/krb-prog-yacc.m4 cf/krb-readline.m4 cf/krb-struct-spwd.m4 cf/krb-struct-winsize.m4 cf/krb-sys-aix.m4 cf/krb-sys-nextstep.m4 cf/krb-version.m4 cf/mips-abi.m4 cf/misc.m4 cf/need-proto.m4 cf/osfc2.m4 cf/proto-compat.m4 cf/retsigtype.m4 cf/roken-frag.m4 cf/roken.m4 cf/test-package.m4 cf/wflags.m4 cf/with-all.m4
|
||||||
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
# This directory's subdirectories are mostly independent; you can cd
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
# into them and run `make' without going through this Makefile.
|
# into them and run `make' without going through this Makefile.
|
||||||
# To change the values of `make' variables: instead of editing Makefiles,
|
# To change the values of `make' variables: instead of editing Makefiles,
|
||||||
# (1) if the variable is set in `config.status', edit `config.status'
|
# (1) if the variable is set in `config.status', edit `config.status'
|
||||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||||
# (2) otherwise, pass the desired values on the `make' command line.
|
# (2) otherwise, pass the desired values on the `make' command line.
|
||||||
|
$(RECURSIVE_TARGETS):
|
||||||
all-recursive install-data-recursive install-exec-recursive \
|
|
||||||
installdirs-recursive install-recursive uninstall-recursive \
|
|
||||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
|
||||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||||
dot_seen=no; \
|
dot_seen=no; \
|
||||||
target=`echo $@ | sed s/-recursive//`; \
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
@ -330,9 +328,9 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
tags=; \
|
tags=; \
|
||||||
here=`pwd`; \
|
here=`pwd`; \
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
if test "$$subdir" = .; then :; else \
|
if test "$$subdir" = .; then :; else \
|
||||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
||||||
unique=`for i in $$list; do \
|
unique=`for i in $$list; do \
|
||||||
|
@ -346,20 +344,61 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
|
top_distdir = .
|
||||||
|
# Avoid unsightly `./'.
|
||||||
distdir = $(PACKAGE)-$(VERSION)
|
distdir = $(PACKAGE)-$(VERSION)
|
||||||
top_distdir = $(distdir)
|
|
||||||
|
|
||||||
|
GZIP_ENV = --best
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||||
|
mkdir $(distdir)
|
||||||
|
@for file in $(DISTFILES); do \
|
||||||
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
|
if test -d $$d/$$file; then \
|
||||||
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|
|| exit 1; \
|
||||||
|
else \
|
||||||
|
test -f $(distdir)/$$file \
|
||||||
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
for subdir in $(SUBDIRS); do \
|
||||||
|
if test "$$subdir" = .; then :; else \
|
||||||
|
test -d $(distdir)/$$subdir \
|
||||||
|
|| mkdir $(distdir)/$$subdir \
|
||||||
|
|| exit 1; \
|
||||||
|
(cd $$subdir && \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
top_distdir="$(top_distdir)" \
|
||||||
|
distdir=../$(distdir)/$$subdir \
|
||||||
|
distdir) \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
|
dist-hook
|
||||||
|
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||||
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||||
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||||
|
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||||
|
|| chmod -R a+r $(distdir)
|
||||||
|
dist: distdir
|
||||||
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||||
|
|
||||||
# This target untars the dist file and tries a VPATH configuration. Then
|
# This target untars the dist file and tries a VPATH configuration. Then
|
||||||
# it guarantees that the distribution is self-contained by making another
|
# it guarantees that the distribution is self-contained by making another
|
||||||
|
@ -380,132 +419,107 @@ distcheck: dist
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||||
&& test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|
&& (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|
||||||
|
|| (echo "Error: files left after uninstall" 1>&2; \
|
||||||
|
exit 1) ) \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
|
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
|
||||||
&& rm -f $(distdir).tar.gz \
|
&& rm -f $(distdir).tar.gz \
|
||||||
&& test `find . -type f -print | wc -l` -eq 0
|
&& (test `find . -type f -print | wc -l` -eq 0 \
|
||||||
|
|| (echo "Error: files left after distclean" 1>&2; \
|
||||||
|
exit 1) )
|
||||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||||
@banner="$(distdir).tar.gz is ready for distribution"; \
|
@echo "$(distdir).tar.gz is ready for distribution" | \
|
||||||
dashes=`echo "$$banner" | sed s/./=/g`; \
|
sed 'h;s/./=/g;p;x;p;x'
|
||||||
echo "$$dashes"; \
|
|
||||||
echo "$$banner"; \
|
|
||||||
echo "$$dashes"
|
|
||||||
dist: distdir
|
|
||||||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
|
||||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
|
||||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
|
||||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
|
||||||
|| chmod -R a+r $(distdir)
|
|
||||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
|
|
||||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
|
||||||
dist-all: distdir
|
|
||||||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
|
||||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
|
||||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
|
||||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
|
||||||
|| chmod -R a+r $(distdir)
|
|
||||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
|
|
||||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
|
||||||
distdir: $(DISTFILES)
|
|
||||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
|
||||||
mkdir $(distdir)
|
|
||||||
@for file in $(DISTFILES); do \
|
|
||||||
d=$(srcdir); \
|
|
||||||
if test -d $$d/$$file; then \
|
|
||||||
cp -pR $$d/$$file $(distdir) \
|
|
||||||
|| exit 1; \
|
|
||||||
else \
|
|
||||||
test -f $(distdir)/$$file \
|
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
||||||
|| exit 1; \
|
|
||||||
fi; \
|
|
||||||
done
|
|
||||||
for subdir in $(SUBDIRS); do \
|
|
||||||
if test "$$subdir" = .; then :; else \
|
|
||||||
test -d $(distdir)/$$subdir \
|
|
||||||
|| mkdir $(distdir)/$$subdir \
|
|
||||||
|| exit 1; \
|
|
||||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
|
||||||
|| exit 1; \
|
|
||||||
fi; \
|
|
||||||
done
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
|
||||||
info-am:
|
|
||||||
info: info-recursive
|
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-recursive
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-recursive
|
check: check-recursive
|
||||||
installcheck-am:
|
|
||||||
installcheck: installcheck-recursive
|
|
||||||
install-exec-am:
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-recursive
|
|
||||||
|
|
||||||
install-data-am: install-data-local
|
|
||||||
install-data: install-data-recursive
|
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-recursive
|
|
||||||
uninstall-am:
|
|
||||||
uninstall: uninstall-recursive
|
|
||||||
all-am: Makefile all-local
|
all-am: Makefile all-local
|
||||||
all-redirect: all-recursive
|
|
||||||
install-strip:
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
|
||||||
installdirs: installdirs-recursive
|
installdirs: installdirs-recursive
|
||||||
installdirs-am:
|
installdirs-am:
|
||||||
|
|
||||||
|
install: install-recursive
|
||||||
|
install-exec: install-exec-recursive
|
||||||
|
install-data: install-data-recursive
|
||||||
|
uninstall: uninstall-recursive
|
||||||
|
|
||||||
|
install-am: all-am
|
||||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
|
|
||||||
|
installcheck: installcheck-recursive
|
||||||
|
install-strip:
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
`test -z '$(STRIP)' || \
|
||||||
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-tags mostlyclean-generic
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
clean: clean-recursive
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
|
|
||||||
|
dist-all: distdir
|
||||||
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||||
|
distclean: distclean-recursive
|
||||||
|
-rm -f config.status config.cache config.log
|
||||||
|
distclean-am: clean-am distclean-generic distclean-libtool \
|
||||||
|
distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-recursive
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-recursive
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-recursive
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-recursive
|
||||||
|
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-recursive
|
mostlyclean: mostlyclean-recursive
|
||||||
|
|
||||||
clean-am: clean-tags clean-generic mostlyclean-am
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||||
|
|
||||||
clean: clean-recursive
|
uninstall-am: uninstall-info-am
|
||||||
|
|
||||||
distclean-am: distclean-tags distclean-generic clean-am
|
uninstall-info: uninstall-info-recursive
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-recursive
|
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
|
||||||
-rm -f config.status
|
check-local clean clean-generic clean-libtool clean-recursive \
|
||||||
|
dist dist-all distcheck distclean distclean-generic \
|
||||||
maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
|
distclean-libtool distclean-recursive distclean-tags distdir \
|
||||||
distclean-am
|
dvi dvi-am dvi-recursive info info-am info-recursive install \
|
||||||
@echo "This command is intended for maintainers to use;"
|
install-am install-data install-data-am install-data-local \
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
install-data-recursive install-exec install-exec-am \
|
||||||
|
install-exec-recursive install-info install-info-am \
|
||||||
maintainer-clean: maintainer-clean-recursive
|
install-info-recursive install-man install-recursive \
|
||||||
-rm -f config.status
|
install-strip installcheck installcheck-am installdirs \
|
||||||
|
installdirs-am installdirs-recursive maintainer-clean \
|
||||||
.PHONY: install-recursive uninstall-recursive install-data-recursive \
|
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
|
||||||
uninstall-data-recursive install-exec-recursive \
|
mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
|
||||||
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
tags tags-recursive uninstall uninstall-am uninstall-info-am \
|
||||||
all-recursive check-recursive installcheck-recursive info-recursive \
|
uninstall-info-recursive uninstall-recursive
|
||||||
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
|
||||||
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
|
||||||
all-redirect all-am all install-strip installdirs-am installdirs \
|
|
||||||
mostlyclean-generic distclean-generic clean-generic \
|
|
||||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -635,7 +649,6 @@ check-local::
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -1,3 +1,74 @@
|
||||||
|
Changes in release 0.4e
|
||||||
|
|
||||||
|
* improve libcrypto and database autoconf tests
|
||||||
|
|
||||||
|
* do not care about salting of server principals when serving v4 requests
|
||||||
|
|
||||||
|
* some improvements to gssapi library
|
||||||
|
|
||||||
|
* test for existing compile_et/libcom_err
|
||||||
|
|
||||||
|
* portability fixes
|
||||||
|
|
||||||
|
* bug fixes
|
||||||
|
|
||||||
|
Changes in release 0.4d
|
||||||
|
|
||||||
|
* fix some problems when using libcrypto from openssl
|
||||||
|
|
||||||
|
* handle /dev/ptmx `unix98' ptys on Linux
|
||||||
|
|
||||||
|
* add some forgotten man pages
|
||||||
|
|
||||||
|
* rsh: clean-up and add man page
|
||||||
|
|
||||||
|
* fix -A and -a in builtin-ls in tpd
|
||||||
|
|
||||||
|
* fix building problem on Irix
|
||||||
|
|
||||||
|
* make `ktutil get' more efficient
|
||||||
|
|
||||||
|
* bug fixes
|
||||||
|
|
||||||
|
Changes in release 0.4c
|
||||||
|
|
||||||
|
* fix buffer overrun in telnetd
|
||||||
|
|
||||||
|
* repair some of the v4 fallback code in kinit
|
||||||
|
|
||||||
|
* add more shared library dependencies
|
||||||
|
|
||||||
|
* simplify and fix hprop handling of v4 databases
|
||||||
|
|
||||||
|
* fix some building problems (osf's sia and osfc2 login)
|
||||||
|
|
||||||
|
* bug fixes
|
||||||
|
|
||||||
|
Changes in release 0.4b
|
||||||
|
|
||||||
|
* update the shared library version numbers correctly
|
||||||
|
|
||||||
|
Changes in release 0.4a
|
||||||
|
|
||||||
|
* corrected key used for checksum in mk_safe, unfortunately this
|
||||||
|
makes it backwards incompatible
|
||||||
|
|
||||||
|
* update to autoconf 2.50, libtool 1.4
|
||||||
|
|
||||||
|
* re-write dns/config lookups (krb5_krbhst API)
|
||||||
|
|
||||||
|
* make order of using subkeys consistent
|
||||||
|
|
||||||
|
* add man page links
|
||||||
|
|
||||||
|
* add more man pages
|
||||||
|
|
||||||
|
* remove rfc2052 support, now only rfc2782 is supported
|
||||||
|
|
||||||
|
* always build with kaserver protocol support in the KDC (assuming
|
||||||
|
KRB4 is enabled) and support for reading kaserver databases in
|
||||||
|
hprop
|
||||||
|
|
||||||
Changes in release 0.3f
|
Changes in release 0.3f
|
||||||
|
|
||||||
* change default keytab to ANY:FILE:/etc/krb5.keytab,krb4:/etc/srvtab,
|
* change default keytab to ANY:FILE:/etc/krb5.keytab,krb4:/etc/srvtab,
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
-*- indented-text -*-
|
-*- indented-text -*-
|
||||||
|
|
||||||
$Id: TODO,v 1.55 2001/01/30 22:51:32 assar Exp $
|
$Id: TODO,v 1.66 2001/08/09 08:43:42 assar Exp $
|
||||||
|
|
||||||
* configure
|
* configure
|
||||||
|
|
||||||
use more careful checking before starting to use berkeley db. it only
|
|
||||||
makes sense to do so if we have the appropriate library and the header
|
|
||||||
file.
|
|
||||||
|
|
||||||
handle readline hiding in readline/readline.h
|
handle readline hiding in readline/readline.h
|
||||||
|
|
||||||
* appl
|
* appl
|
||||||
|
@ -38,6 +34,8 @@ prepend a prefix on all generated symbols
|
||||||
|
|
||||||
** lib/auth
|
** lib/auth
|
||||||
|
|
||||||
|
** lib/auth/sia
|
||||||
|
|
||||||
PAM
|
PAM
|
||||||
|
|
||||||
** lib/com_err
|
** lib/com_err
|
||||||
|
@ -70,21 +68,18 @@ fix to use rpc?
|
||||||
|
|
||||||
** lib/krb5
|
** lib/krb5
|
||||||
|
|
||||||
rewrite the lookup of KDCs to handle kerberos-<n> and not do any DNS
|
|
||||||
requests if the information can be found locally. this requires stop
|
|
||||||
using krb5_get_krbhst.
|
|
||||||
|
|
||||||
the replay cache is, in its current state, not very useful
|
the replay cache is, in its current state, not very useful
|
||||||
|
|
||||||
always generates a new subkey in an authenticator
|
|
||||||
|
|
||||||
should the sequence numbers be XORed?
|
|
||||||
|
|
||||||
OTP?
|
OTP?
|
||||||
|
|
||||||
make checksum/encryption type configuration more realm-specific. make
|
make checksum/encryption type configuration more realm-specific. make
|
||||||
some simple way of handling the w2k situtation
|
some simple way of handling the w2k situtation
|
||||||
|
|
||||||
crypto: allow scather/gather creation of checksums
|
crypto: allow scatter/gather creation of checksums
|
||||||
|
|
||||||
|
verify_user: handle non-secure verification failing because of
|
||||||
|
host->realm mapping
|
||||||
|
|
||||||
|
config_file: do it in case-sensitive and/or insensitive
|
||||||
|
|
||||||
** lib/roken
|
** lib/roken
|
||||||
|
|
|
@ -48,14 +48,6 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
|
||||||
#define SGTTY
|
#define SGTTY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
|
||||||
* Define NDBM if you are using the 4.3 ndbm library (which is part of
|
|
||||||
* libc). If not defined, 4.2 dbm will be assumed.
|
|
||||||
*/
|
|
||||||
#if defined(HAVE_DBM_FIRSTKEY)
|
|
||||||
#define NDBM
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* telnet stuff ----------------------------------------------- */
|
/* telnet stuff ----------------------------------------------- */
|
||||||
|
|
||||||
#if defined(ENCRYPTION) && !defined(AUTHENTICATION)
|
#if defined(ENCRYPTION) && !defined(AUTHENTICATION)
|
||||||
|
|
1483
crypto/heimdal/aclocal.m4
vendored
1483
crypto/heimdal/aclocal.m4
vendored
File diff suppressed because it is too large
Load diff
|
@ -1,21 +1,23 @@
|
||||||
# $Id: Makefile.am,v 1.33 2000/12/16 00:16:45 joda Exp $
|
# $Id: Makefile.am,v 1.35 2001/08/28 08:31:19 assar Exp $
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
INCLUDES += $(INCLUDE_readline)
|
INCLUDES += $(INCLUDE_readline) $(INCLUDE_des)
|
||||||
|
|
||||||
man_MANS = ktutil.8
|
man_MANS = ktutil.8
|
||||||
|
|
||||||
sbin_PROGRAMS = ktutil
|
sbin_PROGRAMS = ktutil
|
||||||
|
|
||||||
ktutil_SOURCES = add.c \
|
ktutil_SOURCES = \
|
||||||
change.c \
|
add.c \
|
||||||
copy.c \
|
change.c \
|
||||||
get.c \
|
copy.c \
|
||||||
ktutil.c \
|
get.c \
|
||||||
list.c \
|
ktutil.c \
|
||||||
purge.c \
|
list.c \
|
||||||
remove.c
|
purge.c \
|
||||||
|
remove.c \
|
||||||
|
rename.c
|
||||||
|
|
||||||
LDADD = \
|
LDADD = \
|
||||||
$(top_builddir)/lib/kadm5/libkadm5clnt.la \
|
$(top_builddir)/lib/kadm5/libkadm5clnt.la \
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.35 2001/08/28 08:31:19 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.33 2000/12/16 00:16:45 joda Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_readline) $(INCLUDE_des)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,18 +180,20 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
|
@ -194,14 +201,16 @@ man_MANS = ktutil.8
|
||||||
|
|
||||||
sbin_PROGRAMS = ktutil
|
sbin_PROGRAMS = ktutil
|
||||||
|
|
||||||
ktutil_SOURCES = add.c \
|
ktutil_SOURCES = \
|
||||||
change.c \
|
add.c \
|
||||||
copy.c \
|
change.c \
|
||||||
get.c \
|
copy.c \
|
||||||
ktutil.c \
|
get.c \
|
||||||
list.c \
|
ktutil.c \
|
||||||
purge.c \
|
list.c \
|
||||||
remove.c
|
purge.c \
|
||||||
|
remove.c \
|
||||||
|
rename.c
|
||||||
|
|
||||||
|
|
||||||
LDADD = \
|
LDADD = \
|
||||||
|
@ -215,95 +224,46 @@ LDADD = \
|
||||||
|
|
||||||
subdir = admin
|
subdir = admin
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
sbin_PROGRAMS = ktutil$(EXEEXT)
|
sbin_PROGRAMS = ktutil$(EXEEXT)
|
||||||
PROGRAMS = $(sbin_PROGRAMS)
|
PROGRAMS = $(sbin_PROGRAMS)
|
||||||
|
|
||||||
|
am_ktutil_OBJECTS = add.$(OBJEXT) change.$(OBJEXT) copy.$(OBJEXT) \
|
||||||
|
get.$(OBJEXT) ktutil.$(OBJEXT) list.$(OBJEXT) purge.$(OBJEXT) \
|
||||||
|
remove.$(OBJEXT) rename.$(OBJEXT)
|
||||||
|
ktutil_OBJECTS = $(am_ktutil_OBJECTS)
|
||||||
|
ktutil_LDADD = $(LDADD)
|
||||||
|
ktutil_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
|
||||||
|
$(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
$(top_builddir)/lib/asn1/libasn1.la \
|
||||||
|
$(top_builddir)/lib/sl/libsl.la
|
||||||
|
ktutil_LDFLAGS =
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
am_ktutil_OBJECTS = add.$(OBJEXT) change.$(OBJEXT) copy.$(OBJEXT) \
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
get.$(OBJEXT) ktutil.$(OBJEXT) list.$(OBJEXT) purge.$(OBJEXT) \
|
|
||||||
remove.$(OBJEXT)
|
|
||||||
ktutil_OBJECTS = $(am_ktutil_OBJECTS)
|
|
||||||
ktutil_LDADD = $(LDADD)
|
|
||||||
ktutil_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
|
|
||||||
$(top_builddir)/lib/krb5/libkrb5.la $(top_builddir)/lib/asn1/libasn1.la \
|
|
||||||
$(top_builddir)/lib/sl/libsl.la
|
|
||||||
ktutil_LDFLAGS =
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(ktutil_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
man8dir = $(mandir)/man8
|
CFLAGS = @CFLAGS@
|
||||||
|
DIST_SOURCES = $(ktutil_SOURCES)
|
||||||
|
|
||||||
|
NROFF = nroff
|
||||||
MANS = $(man_MANS)
|
MANS = $(man_MANS)
|
||||||
depcomp =
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
DIST_COMMON = Makefile.am Makefile.in
|
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(ktutil_SOURCES)
|
SOURCES = $(ktutil_SOURCES)
|
||||||
OBJECTS = $(am_ktutil_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign admin/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-sbinPROGRAMS:
|
|
||||||
|
|
||||||
clean-sbinPROGRAMS:
|
|
||||||
-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-sbinPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-sbinPROGRAMS:
|
|
||||||
|
|
||||||
install-sbinPROGRAMS: $(sbin_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(sbindir)
|
|
||||||
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-sbinPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(sbindir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -312,23 +272,65 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign admin/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-sbinPROGRAMS: $(sbin_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(sbindir)
|
||||||
|
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-sbinPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(sbindir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
ktutil$(EXEEXT): $(ktutil_OBJECTS) $(ktutil_DEPENDENCIES)
|
clean-sbinPROGRAMS:
|
||||||
|
-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
|
||||||
|
ktutil$(EXEEXT): $(ktutil_OBJECTS) $(ktutil_DEPENDENCIES)
|
||||||
@rm -f ktutil$(EXEEXT)
|
@rm -f ktutil$(EXEEXT)
|
||||||
$(LINK) $(ktutil_LDFLAGS) $(ktutil_OBJECTS) $(ktutil_LDADD) $(LIBS)
|
$(LINK) $(ktutil_LDFLAGS) $(ktutil_OBJECTS) $(ktutil_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
.c.lo:
|
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
|
||||||
|
|
||||||
install-man8:
|
.c.lo:
|
||||||
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
man8dir = $(mandir)/man8
|
||||||
|
install-man8: $(man8_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
||||||
@list='$(man8_MANS)'; \
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.8*) list="$$list $$i" ;; \
|
*.8*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -343,10 +345,11 @@ install-man8:
|
||||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-man8:
|
uninstall-man8:
|
||||||
@list='$(man8_MANS)'; \
|
@$(NORMAL_UNINSTALL)
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.8*) list="$$list $$i" ;; \
|
*.8*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -359,12 +362,6 @@ uninstall-man8:
|
||||||
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
done
|
done
|
||||||
install-man: $(MANS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-man8
|
|
||||||
uninstall-man:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
|
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -393,22 +390,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -418,87 +416,94 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) $(MANS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-sbinPROGRAMS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-man install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-sbinPROGRAMS uninstall-man
|
installcheck: installcheck-am
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) $(MANS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-sbinPROGRAMS mostlyclean-compile \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
|
||||||
mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
|
|
||||||
clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-sbinPROGRAMS distclean-compile \
|
clean-am: clean-generic clean-libtool clean-sbinPROGRAMS mostlyclean-am
|
||||||
distclean-libtool distclean-tags distclean-generic \
|
|
||||||
clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-sbinPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
|
||||||
distclean-am
|
dvi: dvi-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local install-man
|
||||||
|
|
||||||
|
install-exec-am: install-sbinPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man: install-man8
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
|
|
||||||
install-sbinPROGRAMS mostlyclean-compile distclean-compile \
|
mostlyclean: mostlyclean-am
|
||||||
clean-compile maintainer-clean-compile mostlyclean-libtool \
|
|
||||||
distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
|
mostlyclean-libtool
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
uninstall-am: uninstall-info-am uninstall-man uninstall-sbinPROGRAMS
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
uninstall-man: uninstall-man8
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
mostlyclean distclean maintainer-clean
|
clean-generic clean-libtool clean-sbinPROGRAMS distclean \
|
||||||
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am install-data install-data-am install-data-local \
|
||||||
|
install-exec install-exec-am install-info install-info-am \
|
||||||
|
install-man install-man8 install-sbinPROGRAMS install-strip \
|
||||||
|
installcheck installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
||||||
|
uninstall-am uninstall-info-am uninstall-man uninstall-man8 \
|
||||||
|
uninstall-sbinPROGRAMS
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -628,7 +633,6 @@ check-local::
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include "ktutil_locl.h"
|
#include "ktutil_locl.h"
|
||||||
|
|
||||||
RCSID("$Id: add.c,v 1.2 2001/05/10 15:39:15 assar Exp $");
|
RCSID("$Id: add.c,v 1.3 2001/07/23 09:46:40 joda Exp $");
|
||||||
|
|
||||||
int
|
int
|
||||||
kt_add(int argc, char **argv)
|
kt_add(int argc, char **argv)
|
||||||
|
@ -78,24 +78,9 @@ kt_add(int argc, char **argv)
|
||||||
arg_printusage(args, num_args, "ktutil add", "");
|
arg_printusage(args, num_args, "ktutil add", "");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (keytab_string == NULL) {
|
if((keytab = ktutil_open_keytab()) == NULL)
|
||||||
ret = krb5_kt_default_modify_name (context, keytab_buf,
|
|
||||||
sizeof(keytab_buf));
|
|
||||||
if (ret) {
|
|
||||||
krb5_warn(context, ret, "krb5_kt_default_modify_name");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
keytab_string = keytab_buf;
|
|
||||||
}
|
|
||||||
ret = krb5_kt_resolve(context, keytab_string, &keytab);
|
|
||||||
if (ret) {
|
|
||||||
krb5_warn(context, ret, "resolving keytab %s", keytab_string);
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
|
||||||
|
|
||||||
if (verbose_flag)
|
|
||||||
fprintf (stderr, "Using keytab %s\n", keytab_string);
|
|
||||||
|
|
||||||
memset(&entry, 0, sizeof(entry));
|
memset(&entry, 0, sizeof(entry));
|
||||||
if(principal_string == NULL) {
|
if(principal_string == NULL) {
|
||||||
printf("Principal: ");
|
printf("Principal: ");
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include "ktutil_locl.h"
|
#include "ktutil_locl.h"
|
||||||
|
|
||||||
RCSID("$Id: change.c,v 1.3 2001/05/10 15:40:07 assar Exp $");
|
RCSID("$Id: change.c,v 1.4 2001/07/23 09:46:40 joda Exp $");
|
||||||
|
|
||||||
static void
|
static void
|
||||||
change_entry (krb5_context context, krb5_keytab keytab,
|
change_entry (krb5_context context, krb5_keytab keytab,
|
||||||
|
@ -150,24 +150,9 @@ kt_change (int argc, char **argv)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (keytab_string == NULL) {
|
if((keytab = ktutil_open_keytab()) == NULL)
|
||||||
ret = krb5_kt_default_modify_name (context, keytab_buf,
|
|
||||||
sizeof(keytab_buf));
|
|
||||||
if (ret) {
|
|
||||||
krb5_warn(context, ret, "krb5_kt_default_modify_name");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
keytab_string = keytab_buf;
|
|
||||||
}
|
|
||||||
ret = krb5_kt_resolve(context, keytab_string, &keytab);
|
|
||||||
if (ret) {
|
|
||||||
krb5_warn(context, ret, "resolving keytab %s", keytab_string);
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
|
||||||
|
|
||||||
if (verbose_flag)
|
|
||||||
fprintf (stderr, "Using keytab %s\n", keytab_string);
|
|
||||||
|
|
||||||
j = 0;
|
j = 0;
|
||||||
max = 10;
|
max = 10;
|
||||||
princs = malloc (max * sizeof(*princs));
|
princs = malloc (max * sizeof(*princs));
|
||||||
|
|
|
@ -33,14 +33,55 @@
|
||||||
|
|
||||||
#include "ktutil_locl.h"
|
#include "ktutil_locl.h"
|
||||||
|
|
||||||
RCSID("$Id: get.c,v 1.18 2001/05/10 15:42:01 assar Exp $");
|
RCSID("$Id: get.c,v 1.21 2001/10/29 12:53:52 nectar Exp $");
|
||||||
|
|
||||||
|
static void*
|
||||||
|
open_kadmin_connection(char *principal,
|
||||||
|
const char *realm,
|
||||||
|
char *admin_server,
|
||||||
|
int server_port)
|
||||||
|
{
|
||||||
|
static kadm5_config_params conf;
|
||||||
|
krb5_error_code ret;
|
||||||
|
void *kadm_handle;
|
||||||
|
memset(&conf, 0, sizeof(conf));
|
||||||
|
|
||||||
|
if(realm) {
|
||||||
|
conf.realm = (char*)realm;
|
||||||
|
conf.mask |= KADM5_CONFIG_REALM;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (admin_server) {
|
||||||
|
conf.admin_server = admin_server;
|
||||||
|
conf.mask |= KADM5_CONFIG_ADMIN_SERVER;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (server_port) {
|
||||||
|
conf.kadmind_port = htons(server_port);
|
||||||
|
conf.mask |= KADM5_CONFIG_KADMIND_PORT;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* should get realm from each principal, instead of doing
|
||||||
|
everything with the same (local) realm */
|
||||||
|
|
||||||
|
ret = kadm5_init_with_password_ctx(context,
|
||||||
|
principal,
|
||||||
|
NULL,
|
||||||
|
KADM5_ADMIN_SERVICE,
|
||||||
|
&conf, 0, 0,
|
||||||
|
&kadm_handle);
|
||||||
|
if(ret) {
|
||||||
|
krb5_warn(context, ret, "kadm5_init_with_password");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
return kadm_handle;
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
kt_get(int argc, char **argv)
|
kt_get(int argc, char **argv)
|
||||||
{
|
{
|
||||||
krb5_error_code ret = 0;
|
krb5_error_code ret = 0;
|
||||||
krb5_keytab keytab;
|
krb5_keytab keytab;
|
||||||
kadm5_config_params conf;
|
|
||||||
void *kadm_handle = NULL;
|
void *kadm_handle = NULL;
|
||||||
char *principal = NULL;
|
char *principal = NULL;
|
||||||
char *realm = NULL;
|
char *realm = NULL;
|
||||||
|
@ -78,29 +119,24 @@ kt_get(int argc, char **argv)
|
||||||
args[4].value = &server_port;
|
args[4].value = &server_port;
|
||||||
args[5].value = &help_flag;
|
args[5].value = &help_flag;
|
||||||
|
|
||||||
memset(&conf, 0, sizeof(conf));
|
|
||||||
|
|
||||||
if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optind)
|
if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optind)
|
||||||
|| help_flag) {
|
|| help_flag) {
|
||||||
arg_printusage(args, sizeof(args) / sizeof(args[0]),
|
arg_printusage(args, sizeof(args) / sizeof(args[0]),
|
||||||
"ktutil get", "principal...");
|
"ktutil get", "principal...");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
if(optind == argc) {
|
||||||
if (keytab_string == NULL) {
|
krb5_warnx(context, "no principals specified");
|
||||||
ret = krb5_kt_default_modify_name (context, keytab_buf,
|
arg_printusage(args, sizeof(args) / sizeof(args[0]),
|
||||||
sizeof(keytab_buf));
|
"ktutil get", "principal...");
|
||||||
if (ret) {
|
|
||||||
krb5_warn(context, ret, "krb5_kt_default_modify_name");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
keytab_string = keytab_buf;
|
|
||||||
}
|
|
||||||
ret = krb5_kt_resolve(context, keytab_string, &keytab);
|
|
||||||
if (ret) {
|
|
||||||
krb5_warn(context, ret, "resolving keytab %s", keytab_string);
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if((keytab = ktutil_open_keytab()) == NULL)
|
||||||
|
return 1;
|
||||||
|
|
||||||
|
if(realm)
|
||||||
|
krb5_set_default_realm(context, realm);
|
||||||
|
|
||||||
if (etype_strs.num_strings) {
|
if (etype_strs.num_strings) {
|
||||||
int i;
|
int i;
|
||||||
|
@ -123,33 +159,6 @@ kt_get(int argc, char **argv)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(realm) {
|
|
||||||
krb5_set_default_realm(context, realm); /* XXX should be fixed
|
|
||||||
some other way */
|
|
||||||
conf.realm = realm;
|
|
||||||
conf.mask |= KADM5_CONFIG_REALM;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (admin_server) {
|
|
||||||
conf.admin_server = admin_server;
|
|
||||||
conf.mask |= KADM5_CONFIG_ADMIN_SERVER;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (server_port) {
|
|
||||||
conf.kadmind_port = htons(server_port);
|
|
||||||
conf.mask |= KADM5_CONFIG_KADMIND_PORT;
|
|
||||||
}
|
|
||||||
|
|
||||||
ret = kadm5_init_with_password_ctx(context,
|
|
||||||
principal,
|
|
||||||
NULL,
|
|
||||||
KADM5_ADMIN_SERVICE,
|
|
||||||
&conf, 0, 0,
|
|
||||||
&kadm_handle);
|
|
||||||
if(ret) {
|
|
||||||
krb5_warn(context, ret, "kadm5_init_with_password");
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
|
|
||||||
for(i = optind; i < argc; i++){
|
for(i = optind; i < argc; i++){
|
||||||
krb5_principal princ_ent;
|
krb5_principal princ_ent;
|
||||||
|
@ -168,6 +177,21 @@ kt_get(int argc, char **argv)
|
||||||
mask |= KADM5_ATTRIBUTES;
|
mask |= KADM5_ATTRIBUTES;
|
||||||
princ.princ_expire_time = 0;
|
princ.princ_expire_time = 0;
|
||||||
mask |= KADM5_PRINC_EXPIRE_TIME;
|
mask |= KADM5_PRINC_EXPIRE_TIME;
|
||||||
|
|
||||||
|
if(kadm_handle == NULL) {
|
||||||
|
const char *r;
|
||||||
|
if(realm != NULL)
|
||||||
|
r = realm;
|
||||||
|
else
|
||||||
|
r = krb5_principal_get_realm(context, princ_ent);
|
||||||
|
kadm_handle = open_kadmin_connection(principal,
|
||||||
|
r,
|
||||||
|
admin_server,
|
||||||
|
server_port);
|
||||||
|
if(kadm_handle == NULL) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ret = kadm5_create_principal(kadm_handle, &princ, mask, "x");
|
ret = kadm5_create_principal(kadm_handle, &princ, mask, "x");
|
||||||
if(ret == 0)
|
if(ret == 0)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $Id: ktutil.8,v 1.12 2001/06/08 21:35:31 joda Exp $
|
.\" $Id: ktutil.8,v 1.14 2001/07/23 14:47:31 joda Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd December 16, 2000
|
.Dd December 16, 2000
|
||||||
.Dt KTUTIL 8
|
.Dt KTUTIL 8
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
is a program for managing keytabs.
|
is a program for managing keytabs.
|
||||||
.Ar command
|
.Ar command
|
||||||
can be one of the following:
|
can be one of the following:
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width srvconvert
|
||||||
.It add Xo
|
.It add Xo
|
||||||
.Op Fl p Ar principal
|
.Op Fl p Ar principal
|
||||||
.Op Fl -principal= Ns Ar principal
|
.Op Fl -principal= Ns Ar principal
|
||||||
|
@ -38,7 +38,11 @@ can be one of the following:
|
||||||
.Op Fl -no-salt
|
.Op Fl -no-salt
|
||||||
.Xc
|
.Xc
|
||||||
Adds a key to the keytab. Options that are not specified will be
|
Adds a key to the keytab. Options that are not specified will be
|
||||||
prompted for.
|
prompted for. This requires that you know the password of the
|
||||||
|
principal to add; if what you really want is to add a new principal to
|
||||||
|
the keytab, you should consider the
|
||||||
|
.Ar get
|
||||||
|
command, which talks to the kadmin server.
|
||||||
.It change Xo
|
.It change Xo
|
||||||
.Op Fl r Ar realm
|
.Op Fl r Ar realm
|
||||||
.Op Fl -realm= Ns Ar realm
|
.Op Fl -realm= Ns Ar realm
|
||||||
|
@ -63,21 +67,25 @@ to
|
||||||
.It get Xo
|
.It get Xo
|
||||||
.Op Fl p Ar admin principal
|
.Op Fl p Ar admin principal
|
||||||
.Op Fl -principal= Ns Ar admin principal
|
.Op Fl -principal= Ns Ar admin principal
|
||||||
.Oo Fl e Ar enctype \*(Ba Xo
|
.Op Fl e Ar enctype
|
||||||
.Fl -enctypes= Ns Ar enctype
|
.Op Fl -enctypes= Ns Ar enctype
|
||||||
.Xc
|
|
||||||
.Oc
|
|
||||||
.Op Fl r Ar realm
|
.Op Fl r Ar realm
|
||||||
.Op Fl -realm= Ns Ar realm
|
.Op Fl -realm= Ns Ar realm
|
||||||
.Op Fl a Ar admin server
|
.Op Fl a Ar admin server
|
||||||
.Op Fl -admin-server= Ns Ar admin server
|
.Op Fl -admin-server= Ns Ar admin server
|
||||||
.Op Fl s Ar server port
|
.Op Fl s Ar server port
|
||||||
.Op Fl -server-port= Ns Ar server port
|
.Op Fl -server-port= Ns Ar server port
|
||||||
.Ar principal
|
.Ar principal ...
|
||||||
.Xc
|
.Xc
|
||||||
Get a key for
|
For each
|
||||||
.Nm principal
|
.Ar principal ,
|
||||||
and store it in a keytab.
|
generate a new key for it (creating it if it doesn't already exist),
|
||||||
|
and put that key in the keytab.
|
||||||
|
.Pp
|
||||||
|
If no
|
||||||
|
.Ar realm
|
||||||
|
is specified, the realm to operate on is taken from the first
|
||||||
|
principal.
|
||||||
.It list Xo
|
.It list Xo
|
||||||
.Op Fl -keys
|
.Op Fl -keys
|
||||||
.Op Fl -timestamp
|
.Op Fl -timestamp
|
||||||
|
@ -96,6 +104,14 @@ Removes the specified key or keys. Not specifying a
|
||||||
removes keys with any version number. Not specifying a
|
removes keys with any version number. Not specifying a
|
||||||
.Ar enctype
|
.Ar enctype
|
||||||
removes keys of any type.
|
removes keys of any type.
|
||||||
|
.It rename Xo
|
||||||
|
.Ar from-principal
|
||||||
|
.Ar to-principal
|
||||||
|
.Xc
|
||||||
|
Renames all entries in the keytab that match the
|
||||||
|
.Ar from-principal
|
||||||
|
to
|
||||||
|
.Ar to-principal .
|
||||||
.It purge Xo
|
.It purge Xo
|
||||||
.Op Fl -age= Ns Ar age
|
.Op Fl -age= Ns Ar age
|
||||||
.Xc
|
.Xc
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 - 2001 Kungliga Tekniska Högskolan
|
* Copyright (c) 1997 - 2002 Kungliga Tekniska Högskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -34,13 +34,13 @@
|
||||||
#include "ktutil_locl.h"
|
#include "ktutil_locl.h"
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
|
|
||||||
RCSID("$Id: ktutil.c,v 1.33 2001/05/10 16:04:27 assar Exp $");
|
RCSID("$Id: ktutil.c,v 1.36 2002/02/11 14:14:11 joda Exp $");
|
||||||
|
|
||||||
static int help_flag;
|
static int help_flag;
|
||||||
static int version_flag;
|
static int version_flag;
|
||||||
int verbose_flag;
|
int verbose_flag;
|
||||||
char *keytab_string;
|
char *keytab_string;
|
||||||
char keytab_buf[256];
|
static char keytab_buf[256];
|
||||||
|
|
||||||
static int help(int argc, char **argv);
|
static int help(int argc, char **argv);
|
||||||
|
|
||||||
|
@ -59,6 +59,8 @@ static SL_cmd cmds[] = {
|
||||||
"remove old and superceeded entries" },
|
"remove old and superceeded entries" },
|
||||||
{ "remove", kt_remove, "remove",
|
{ "remove", kt_remove, "remove",
|
||||||
"remove key from keytab" },
|
"remove key from keytab" },
|
||||||
|
{ "rename", kt_rename, "rename from to",
|
||||||
|
"rename entry" },
|
||||||
{ "srvconvert", srvconv, "srvconvert [flags]",
|
{ "srvconvert", srvconv, "srvconvert [flags]",
|
||||||
"convert v4 srvtab to keytab" },
|
"convert v4 srvtab to keytab" },
|
||||||
{ "srv2keytab" },
|
{ "srv2keytab" },
|
||||||
|
@ -108,6 +110,30 @@ static int num_args = sizeof(args) / sizeof(args[0]);
|
||||||
|
|
||||||
krb5_context context;
|
krb5_context context;
|
||||||
|
|
||||||
|
krb5_keytab
|
||||||
|
ktutil_open_keytab(void)
|
||||||
|
{
|
||||||
|
krb5_error_code ret;
|
||||||
|
krb5_keytab keytab;
|
||||||
|
if (keytab_string == NULL) {
|
||||||
|
ret = krb5_kt_default_name (context, keytab_buf, sizeof(keytab_buf));
|
||||||
|
if (ret) {
|
||||||
|
krb5_warn(context, ret, "krb5_kt_default_name");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
keytab_string = keytab_buf;
|
||||||
|
}
|
||||||
|
ret = krb5_kt_resolve(context, keytab_string, &keytab);
|
||||||
|
if (ret) {
|
||||||
|
krb5_warn(context, ret, "resolving keytab %s", keytab_string);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
if (verbose_flag)
|
||||||
|
fprintf (stderr, "Using keytab %s\n", keytab_string);
|
||||||
|
|
||||||
|
return keytab;
|
||||||
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
help(int argc, char **argv)
|
help(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Id: ktutil_locl.h,v 1.14 2001/05/10 15:42:45 assar Exp $
|
* $Id: ktutil_locl.h,v 1.17 2001/08/22 20:30:18 assar Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __KTUTIL_LOCL_H__
|
#ifndef __KTUTIL_LOCL_H__
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
#include <parse_time.h>
|
#include <parse_time.h>
|
||||||
#include <roken.h>
|
#include <roken.h>
|
||||||
|
|
||||||
#ifdef HAVE_OPENSSL_DES_H
|
#ifdef HAVE_OPENSSL
|
||||||
#include <openssl/des.h>
|
#include <openssl/des.h>
|
||||||
#else
|
#else
|
||||||
#include <des.h>
|
#include <des.h>
|
||||||
|
@ -71,7 +71,8 @@ extern krb5_context context;
|
||||||
|
|
||||||
extern int verbose_flag;
|
extern int verbose_flag;
|
||||||
extern char *keytab_string;
|
extern char *keytab_string;
|
||||||
extern char keytab_buf[256];
|
|
||||||
|
krb5_keytab ktutil_open_keytab(void);
|
||||||
|
|
||||||
int kt_add (int argc, char **argv);
|
int kt_add (int argc, char **argv);
|
||||||
int kt_change (int argc, char **argv);
|
int kt_change (int argc, char **argv);
|
||||||
|
@ -80,6 +81,7 @@ int kt_get (int argc, char **argv);
|
||||||
int kt_list(int argc, char **argv);
|
int kt_list(int argc, char **argv);
|
||||||
int kt_purge(int argc, char **argv);
|
int kt_purge(int argc, char **argv);
|
||||||
int kt_remove(int argc, char **argv);
|
int kt_remove(int argc, char **argv);
|
||||||
|
int kt_rename(int argc, char **argv);
|
||||||
int srvconv(int argc, char **argv);
|
int srvconv(int argc, char **argv);
|
||||||
int srvcreate(int argc, char **argv);
|
int srvcreate(int argc, char **argv);
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 - 2001 Kungliga Tekniska Högskolan
|
* Copyright (c) 1997 - 2002 Kungliga Tekniska Högskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include "ktutil_locl.h"
|
#include "ktutil_locl.h"
|
||||||
|
|
||||||
RCSID("$Id: list.c,v 1.8 2001/05/11 00:54:01 assar Exp $");
|
RCSID("$Id: list.c,v 1.10 2002/01/30 10:12:21 joda Exp $");
|
||||||
|
|
||||||
static int help_flag;
|
static int help_flag;
|
||||||
static int list_keys;
|
static int list_keys;
|
||||||
|
@ -71,6 +71,21 @@ do_list(const char *keytab_string)
|
||||||
int max_timestamp = sizeof("Date") - 1;
|
int max_timestamp = sizeof("Date") - 1;
|
||||||
int max_key = sizeof("Key") - 1;
|
int max_key = sizeof("Key") - 1;
|
||||||
|
|
||||||
|
/* XXX specialcase the ANY type */
|
||||||
|
if(strncasecmp(keytab_string, "ANY:", 4) == 0) {
|
||||||
|
int flag = 0;
|
||||||
|
char buf[1024];
|
||||||
|
keytab_string += 4;
|
||||||
|
while (strsep_copy((const char**)&keytab_string, ",",
|
||||||
|
buf, sizeof(buf)) != -1) {
|
||||||
|
if(flag)
|
||||||
|
printf("\n");
|
||||||
|
do_list(buf);
|
||||||
|
flag = 1;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
ret = krb5_kt_resolve(context, keytab_string, &keytab);
|
ret = krb5_kt_resolve(context, keytab_string, &keytab);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
krb5_warn(context, ret, "resolving keytab %s", keytab_string);
|
krb5_warn(context, ret, "resolving keytab %s", keytab_string);
|
||||||
|
@ -122,11 +137,11 @@ do_list(const char *keytab_string)
|
||||||
((unsigned char*)entry.keyblock.keyvalue.data)[i]);
|
((unsigned char*)entry.keyblock.keyvalue.data)[i]);
|
||||||
CHECK_MAX(key);
|
CHECK_MAX(key);
|
||||||
}
|
}
|
||||||
kp->next = NULL;
|
|
||||||
*kie = kp;
|
*kie = kp;
|
||||||
kie = &kp->next;
|
kie = &kp->next;
|
||||||
krb5_kt_free_entry(context, &entry);
|
krb5_kt_free_entry(context, &entry);
|
||||||
}
|
}
|
||||||
|
*kie = NULL; /* termiate list */
|
||||||
ret = krb5_kt_end_seq_get(context, keytab, &cursor);
|
ret = krb5_kt_end_seq_get(context, keytab, &cursor);
|
||||||
|
|
||||||
printf("%-*s %-*s %-*s", max_version, "Vno",
|
printf("%-*s %-*s %-*s", max_version, "Vno",
|
||||||
|
@ -170,7 +185,9 @@ do_list(const char *keytab_string)
|
||||||
int
|
int
|
||||||
kt_list(int argc, char **argv)
|
kt_list(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
krb5_error_code ret;
|
||||||
int optind = 0;
|
int optind = 0;
|
||||||
|
char kt[1024];
|
||||||
|
|
||||||
if(verbose_flag)
|
if(verbose_flag)
|
||||||
list_timestamp = 1;
|
list_timestamp = 1;
|
||||||
|
@ -185,13 +202,12 @@ kt_list(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (keytab_string == NULL) {
|
if (keytab_string == NULL) {
|
||||||
do_list("FILE:/etc/krb5.keytab");
|
if((ret = krb5_kt_default_name(context, kt, sizeof(kt))) != 0) {
|
||||||
#ifdef KRB4
|
krb5_warn(context, ret, "getting default keytab name");
|
||||||
printf ("\n");
|
return 0;
|
||||||
do_list("krb4:/etc/srvtab");
|
}
|
||||||
#endif
|
keytab_string = kt;
|
||||||
} else {
|
|
||||||
do_list(keytab_string);
|
|
||||||
}
|
}
|
||||||
|
do_list(keytab_string);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include "ktutil_locl.h"
|
#include "ktutil_locl.h"
|
||||||
|
|
||||||
RCSID("$Id: purge.c,v 1.5 2001/05/11 00:54:01 assar Exp $");
|
RCSID("$Id: purge.c,v 1.6 2001/07/23 09:46:41 joda Exp $");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* keep track of the highest version for every principal.
|
* keep track of the highest version for every principal.
|
||||||
|
@ -132,20 +132,8 @@ kt_purge(int argc, char **argv)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (keytab_string == NULL) {
|
if((keytab = ktutil_open_keytab()) == NULL)
|
||||||
ret = krb5_kt_default_modify_name (context, keytab_buf,
|
|
||||||
sizeof(keytab_buf));
|
|
||||||
if (ret) {
|
|
||||||
krb5_warn(context, ret, "krb5_kt_default_modify_name");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
keytab_string = keytab_buf;
|
|
||||||
}
|
|
||||||
ret = krb5_kt_resolve(context, keytab_string, &keytab);
|
|
||||||
if (ret) {
|
|
||||||
krb5_warn(context, ret, "resolving keytab %s", keytab_string);
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
|
||||||
|
|
||||||
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
|
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
|
||||||
if(ret){
|
if(ret){
|
||||||
|
@ -153,9 +141,6 @@ kt_purge(int argc, char **argv)
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (verbose_flag)
|
|
||||||
fprintf (stderr, "Using keytab %s\n", keytab_string);
|
|
||||||
|
|
||||||
while((ret = krb5_kt_next_entry(context, keytab, &entry, &cursor)) == 0) {
|
while((ret = krb5_kt_next_entry(context, keytab, &entry, &cursor)) == 0) {
|
||||||
add_entry (entry.principal, entry.vno, &head);
|
add_entry (entry.principal, entry.vno, &head);
|
||||||
krb5_kt_free_entry(context, &entry);
|
krb5_kt_free_entry(context, &entry);
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include "ktutil_locl.h"
|
#include "ktutil_locl.h"
|
||||||
|
|
||||||
RCSID("$Id: remove.c,v 1.2 2001/05/10 15:44:58 assar Exp $");
|
RCSID("$Id: remove.c,v 1.3 2001/07/23 09:46:41 joda Exp $");
|
||||||
|
|
||||||
int
|
int
|
||||||
kt_remove(int argc, char **argv)
|
kt_remove(int argc, char **argv)
|
||||||
|
@ -96,24 +96,9 @@ kt_remove(int argc, char **argv)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (keytab_string == NULL) {
|
if((keytab = ktutil_open_keytab()) == NULL)
|
||||||
ret = krb5_kt_default_modify_name (context, keytab_buf,
|
|
||||||
sizeof(keytab_buf));
|
|
||||||
if (ret) {
|
|
||||||
krb5_warn(context, ret, "krb5_kt_default_modify_name");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
keytab_string = keytab_buf;
|
|
||||||
}
|
|
||||||
ret = krb5_kt_resolve(context, keytab_string, &keytab);
|
|
||||||
if (ret) {
|
|
||||||
krb5_warn(context, ret, "resolving keytab %s", keytab_string);
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
|
||||||
|
|
||||||
if (verbose_flag)
|
|
||||||
fprintf (stderr, "Using keytab %s\n", keytab_string);
|
|
||||||
|
|
||||||
entry.principal = principal;
|
entry.principal = principal;
|
||||||
entry.keyblock.keytype = enctype;
|
entry.keyblock.keytype = enctype;
|
||||||
entry.vno = kvno;
|
entry.vno = kvno;
|
||||||
|
|
133
crypto/heimdal/admin/rename.c
Normal file
133
crypto/heimdal/admin/rename.c
Normal file
|
@ -0,0 +1,133 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2001 Kungliga Tekniska Högskolan
|
||||||
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
*
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* 3. Neither the name of the Institute nor the names of its contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ktutil_locl.h"
|
||||||
|
|
||||||
|
RCSID("$Id: rename.c,v 1.1 2001/07/23 10:17:32 joda Exp $");
|
||||||
|
|
||||||
|
int
|
||||||
|
kt_rename(int argc, char **argv)
|
||||||
|
{
|
||||||
|
krb5_error_code ret = 0;
|
||||||
|
krb5_keytab_entry entry;
|
||||||
|
krb5_keytab keytab;
|
||||||
|
krb5_kt_cursor cursor;
|
||||||
|
krb5_principal from_princ, to_princ;
|
||||||
|
int help_flag = 0;
|
||||||
|
|
||||||
|
struct getargs args[] = {
|
||||||
|
{ "help", 'h', arg_flag, NULL }
|
||||||
|
};
|
||||||
|
int num_args = sizeof(args) / sizeof(args[0]);
|
||||||
|
int optind = 0;
|
||||||
|
int i = 0;
|
||||||
|
|
||||||
|
args[i++].value = &help_flag;
|
||||||
|
if(getarg(args, num_args, argc, argv, &optind)) {
|
||||||
|
arg_printusage(args, num_args, "ktutil rename", "from to");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
if(help_flag) {
|
||||||
|
arg_printusage(args, num_args, "ktutil rename", "from to");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
argv += optind;
|
||||||
|
argc -= optind;
|
||||||
|
if(argc != 2) {
|
||||||
|
arg_printusage(args, num_args, "ktutil rename", "from to");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
ret = krb5_parse_name(context, argv[0], &from_princ);
|
||||||
|
if(ret != 0) {
|
||||||
|
krb5_warn(context, ret, "%s", argv[0]);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
ret = krb5_parse_name(context, argv[1], &to_princ);
|
||||||
|
if(ret != 0) {
|
||||||
|
krb5_free_principal(context, from_princ);
|
||||||
|
krb5_warn(context, ret, "%s", argv[1]);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if((keytab = ktutil_open_keytab()) == NULL) {
|
||||||
|
krb5_free_principal(context, from_princ);
|
||||||
|
krb5_free_principal(context, to_princ);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
|
||||||
|
if(ret) {
|
||||||
|
krb5_kt_close(context, keytab);
|
||||||
|
krb5_free_principal(context, from_princ);
|
||||||
|
krb5_free_principal(context, to_princ);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
while(1) {
|
||||||
|
ret = krb5_kt_next_entry(context, keytab, &entry, &cursor);
|
||||||
|
if(ret != 0) {
|
||||||
|
if(ret != KRB5_CC_END && ret != KRB5_KT_END)
|
||||||
|
krb5_warn(context, ret, "getting entry from keytab");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if(krb5_principal_compare(context, entry.principal, from_princ)) {
|
||||||
|
krb5_free_principal(context, entry.principal);
|
||||||
|
entry.principal = to_princ;
|
||||||
|
ret = krb5_kt_add_entry(context, keytab, &entry);
|
||||||
|
if(ret) {
|
||||||
|
entry.principal = NULL;
|
||||||
|
krb5_kt_free_entry(context, &entry);
|
||||||
|
krb5_warn(context, ret, "adding entry");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
entry.principal = from_princ;
|
||||||
|
ret = krb5_kt_remove_entry(context, keytab, &entry);
|
||||||
|
if(ret) {
|
||||||
|
entry.principal = NULL;
|
||||||
|
krb5_kt_free_entry(context, &entry);
|
||||||
|
krb5_warn(context, ret, "removing entry");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
entry.principal = NULL;
|
||||||
|
}
|
||||||
|
krb5_kt_free_entry(context, &entry);
|
||||||
|
}
|
||||||
|
krb5_kt_end_seq_get(context, keytab, &cursor);
|
||||||
|
|
||||||
|
krb5_free_principal(context, from_princ);
|
||||||
|
krb5_free_principal(context, to_princ);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.24 2001/01/27 18:34:39 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.24 2001/01/27 18:34:39 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,23 +180,25 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
@OTP_TRUE@dir_otp = @OTP_TRUE@otp
|
@OTP_TRUE@dir_otp = otp
|
||||||
@DCE_TRUE@dir_dce = @DCE_TRUE@dceutils
|
@DCE_TRUE@dir_dce = dceutils
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
afsutil \
|
afsutil \
|
||||||
ftp \
|
ftp \
|
||||||
|
@ -211,33 +218,47 @@ SUBDIRS = \
|
||||||
|
|
||||||
subdir = appl
|
subdir = appl
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
|
depcomp =
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES =
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
depcomp =
|
DIST_SOURCES =
|
||||||
DIST_COMMON = Makefile.am Makefile.in
|
|
||||||
|
|
||||||
|
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
||||||
|
uninstall-info-recursive all-recursive install-data-recursive \
|
||||||
|
install-exec-recursive installdirs-recursive install-recursive \
|
||||||
|
uninstall-recursive check-recursive installcheck-recursive
|
||||||
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
DIST_SUBDIRS = afsutil ftp login otp popper push rsh rcp su xnlock \
|
||||||
|
telnet test kx kf dceutils
|
||||||
|
all: all-recursive
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
DIST_SUBDIRS = afsutil ftp login otp popper push rsh rcp su xnlock \
|
|
||||||
telnet test kx kf dceutils
|
|
||||||
all: all-redirect
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
mostlyclean-libtool:
|
||||||
cd $(top_builddir) \
|
-rm -f *.lo
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
# This directory's subdirectories are mostly independent; you can cd
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
# into them and run `make' without going through this Makefile.
|
# into them and run `make' without going through this Makefile.
|
||||||
|
@ -245,10 +266,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
# (1) if the variable is set in `config.status', edit `config.status'
|
# (1) if the variable is set in `config.status', edit `config.status'
|
||||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||||
# (2) otherwise, pass the desired values on the `make' command line.
|
# (2) otherwise, pass the desired values on the `make' command line.
|
||||||
|
$(RECURSIVE_TARGETS):
|
||||||
all-recursive install-data-recursive install-exec-recursive \
|
|
||||||
installdirs-recursive install-recursive uninstall-recursive \
|
|
||||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
|
||||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||||
dot_seen=no; \
|
dot_seen=no; \
|
||||||
target=`echo $@ | sed s/-recursive//`; \
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
@ -313,9 +331,9 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
tags=; \
|
tags=; \
|
||||||
here=`pwd`; \
|
here=`pwd`; \
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
if test "$$subdir" = .; then :; else \
|
if test "$$subdir" = .; then :; else \
|
||||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
||||||
unique=`for i in $$list; do \
|
unique=`for i in $$list; do \
|
||||||
|
@ -329,22 +347,23 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -359,84 +378,103 @@ distdir: $(DISTFILES)
|
||||||
test -d $(distdir)/$$subdir \
|
test -d $(distdir)/$$subdir \
|
||||||
|| mkdir $(distdir)/$$subdir \
|
|| mkdir $(distdir)/$$subdir \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
|
(cd $$subdir && \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
top_distdir="$(top_distdir)" \
|
||||||
|
distdir=../$(distdir)/$$subdir \
|
||||||
|
distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-recursive
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-recursive
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-recursive
|
check: check-recursive
|
||||||
installcheck-am:
|
|
||||||
installcheck: installcheck-recursive
|
|
||||||
install-exec-am:
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-recursive
|
|
||||||
|
|
||||||
install-data-am: install-data-local
|
|
||||||
install-data: install-data-recursive
|
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-recursive
|
|
||||||
uninstall-am:
|
|
||||||
uninstall: uninstall-recursive
|
|
||||||
all-am: Makefile all-local
|
all-am: Makefile all-local
|
||||||
all-redirect: all-recursive
|
|
||||||
install-strip:
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
|
||||||
installdirs: installdirs-recursive
|
installdirs: installdirs-recursive
|
||||||
installdirs-am:
|
installdirs-am:
|
||||||
|
|
||||||
|
install: install-recursive
|
||||||
|
install-exec: install-exec-recursive
|
||||||
|
install-data: install-data-recursive
|
||||||
|
uninstall: uninstall-recursive
|
||||||
|
|
||||||
|
install-am: all-am
|
||||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
|
|
||||||
|
installcheck: installcheck-recursive
|
||||||
|
install-strip:
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
`test -z '$(STRIP)' || \
|
||||||
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-tags mostlyclean-generic
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
mostlyclean: mostlyclean-recursive
|
|
||||||
|
|
||||||
clean-am: clean-tags clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-recursive
|
clean: clean-recursive
|
||||||
|
|
||||||
distclean-am: distclean-tags distclean-generic clean-am
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-recursive
|
distclean: distclean-recursive
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
|
distclean-am: clean-am distclean-generic distclean-libtool \
|
||||||
distclean-am
|
distclean-tags
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi: dvi-recursive
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-recursive
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-recursive
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-recursive
|
maintainer-clean: maintainer-clean-recursive
|
||||||
|
|
||||||
.PHONY: install-recursive uninstall-recursive install-data-recursive \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
uninstall-data-recursive install-exec-recursive \
|
|
||||||
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
mostlyclean: mostlyclean-recursive
|
||||||
all-recursive check-recursive installcheck-recursive info-recursive \
|
|
||||||
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||||
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
uninstall-am: uninstall-info-am
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
uninstall-info: uninstall-info-recursive
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
|
||||||
all-redirect all-am all install-strip installdirs-am installdirs \
|
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
|
||||||
mostlyclean-generic distclean-generic clean-generic \
|
check-local clean clean-generic clean-libtool clean-recursive \
|
||||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
distclean distclean-generic distclean-libtool \
|
||||||
|
distclean-recursive distclean-tags distdir dvi dvi-am \
|
||||||
|
dvi-recursive info info-am info-recursive install install-am \
|
||||||
|
install-data install-data-am install-data-local \
|
||||||
|
install-data-recursive install-exec install-exec-am \
|
||||||
|
install-exec-recursive install-info install-info-am \
|
||||||
|
install-info-recursive install-man install-recursive \
|
||||||
|
install-strip installcheck installcheck-am installdirs \
|
||||||
|
installdirs-am installdirs-recursive maintainer-clean \
|
||||||
|
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
|
||||||
|
mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
|
||||||
|
tags tags-recursive uninstall uninstall-am uninstall-info-am \
|
||||||
|
uninstall-info-recursive uninstall-recursive
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -566,7 +604,6 @@ check-local::
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.12 2000/11/15 22:51:07 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.12 2000/11/15 22:51:07 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,22 +180,24 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
@KRB4_TRUE@AFSPROGS = @KRB4_TRUE@afslog pagsh
|
@KRB4_TRUE@AFSPROGS = afslog pagsh
|
||||||
bin_PROGRAMS = $(AFSPROGS)
|
bin_PROGRAMS = $(AFSPROGS)
|
||||||
|
|
||||||
afslog_SOURCES = afslog.c
|
afslog_SOURCES = afslog.c
|
||||||
|
@ -206,103 +213,52 @@ LDADD = $(LIB_kafs) \
|
||||||
|
|
||||||
subdir = appl/afsutil
|
subdir = appl/afsutil
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
@KRB4_FALSE@bin_PROGRAMS =
|
@KRB4_TRUE@bin_PROGRAMS = afslog$(EXEEXT) pagsh$(EXEEXT)
|
||||||
@KRB4_TRUE@bin_PROGRAMS = afslog$(EXEEXT) pagsh$(EXEEXT)
|
@KRB4_FALSE@bin_PROGRAMS =
|
||||||
PROGRAMS = $(bin_PROGRAMS)
|
PROGRAMS = $(bin_PROGRAMS)
|
||||||
|
|
||||||
|
am_afslog_OBJECTS = afslog.$(OBJEXT)
|
||||||
|
afslog_OBJECTS = $(am_afslog_OBJECTS)
|
||||||
|
afslog_LDADD = $(LDADD)
|
||||||
|
@KRB4_TRUE@afslog_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
|
||||||
|
@KRB4_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@KRB4_FALSE@afslog_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_FALSE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
afslog_LDFLAGS =
|
||||||
|
am_pagsh_OBJECTS = pagsh.$(OBJEXT)
|
||||||
|
pagsh_OBJECTS = $(am_pagsh_OBJECTS)
|
||||||
|
pagsh_LDADD = $(LDADD)
|
||||||
|
@KRB4_TRUE@pagsh_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
|
||||||
|
@KRB4_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@KRB4_FALSE@pagsh_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_FALSE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
pagsh_LDFLAGS =
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
am_afslog_OBJECTS = afslog.$(OBJEXT)
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
afslog_OBJECTS = $(am_afslog_OBJECTS)
|
|
||||||
afslog_LDADD = $(LDADD)
|
|
||||||
@KRB4_FALSE@afslog_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
@KRB4_TRUE@afslog_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
|
|
||||||
@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
afslog_LDFLAGS =
|
|
||||||
am_pagsh_OBJECTS = pagsh.$(OBJEXT)
|
|
||||||
pagsh_OBJECTS = $(am_pagsh_OBJECTS)
|
|
||||||
pagsh_LDADD = $(LDADD)
|
|
||||||
@KRB4_FALSE@pagsh_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
@KRB4_TRUE@pagsh_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
|
|
||||||
@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
pagsh_LDFLAGS =
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(afslog_SOURCES) $(pagsh_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
depcomp =
|
CFLAGS = @CFLAGS@
|
||||||
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
DIST_SOURCES = $(afslog_SOURCES) $(pagsh_SOURCES)
|
||||||
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(afslog_SOURCES) $(pagsh_SOURCES)
|
SOURCES = $(afslog_SOURCES) $(pagsh_SOURCES)
|
||||||
OBJECTS = $(am_afslog_OBJECTS) $(am_pagsh_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/afsutil/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-binPROGRAMS:
|
|
||||||
|
|
||||||
clean-binPROGRAMS:
|
|
||||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-binPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-binPROGRAMS:
|
|
||||||
|
|
||||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-binPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -311,22 +267,60 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/afsutil/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-binPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
afslog$(EXEEXT): $(afslog_OBJECTS) $(afslog_DEPENDENCIES)
|
clean-binPROGRAMS:
|
||||||
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||||
|
afslog$(EXEEXT): $(afslog_OBJECTS) $(afslog_DEPENDENCIES)
|
||||||
@rm -f afslog$(EXEEXT)
|
@rm -f afslog$(EXEEXT)
|
||||||
$(LINK) $(afslog_LDFLAGS) $(afslog_OBJECTS) $(afslog_LDADD) $(LIBS)
|
$(LINK) $(afslog_LDFLAGS) $(afslog_OBJECTS) $(afslog_LDADD) $(LIBS)
|
||||||
|
pagsh$(EXEEXT): $(pagsh_OBJECTS) $(pagsh_DEPENDENCIES)
|
||||||
pagsh$(EXEEXT): $(pagsh_OBJECTS) $(pagsh_DEPENDENCIES)
|
|
||||||
@rm -f pagsh$(EXEEXT)
|
@rm -f pagsh$(EXEEXT)
|
||||||
$(LINK) $(pagsh_LDFLAGS) $(pagsh_OBJECTS) $(pagsh_LDADD) $(LIBS)
|
$(LINK) $(pagsh_LDFLAGS) $(pagsh_OBJECTS) $(pagsh_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -355,22 +349,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -380,85 +375,91 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-binPROGRAMS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-binPROGRAMS
|
installcheck: installcheck-am
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
|
||||||
mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
|
|
||||||
clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
|
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
|
||||||
distclean-tags distclean-generic clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-binPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
|
||||||
distclean-am
|
dvi: dvi-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local
|
||||||
|
|
||||||
|
install-exec-am: install-binPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean: mostlyclean-am
|
||||||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
||||||
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
mostlyclean-libtool
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
clean-binPROGRAMS clean-generic clean-libtool distclean \
|
||||||
mostlyclean distclean maintainer-clean
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am install-binPROGRAMS install-data install-data-am \
|
||||||
|
install-data-local install-exec install-exec-am install-info \
|
||||||
|
install-info-am install-man install-strip installcheck \
|
||||||
|
installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
||||||
|
uninstall-am uninstall-binPROGRAMS uninstall-info-am
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -588,7 +589,6 @@ check-local::
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2001-08-24 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* Makefile.am (dpagaix): make sure of using $(EXEEXT) just to
|
||||||
|
please automake (this is aix-only code)
|
||||||
|
|
||||||
2001-02-07 Assar Westerlund <assar@sics.se>
|
2001-02-07 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
* Makefile.am (dpagaix): needs to be linked with ld, add an
|
* Makefile.am (dpagaix): needs to be linked with ld, add an
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile.am,v 1.6 2001/02/07 22:45:37 assar Exp $
|
# $Id: Makefile.am,v 1.7 2001/08/23 22:42:44 assar Exp $
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDFLAGS = @dpagaix_LDFLAGS@
|
dpagaix_LDFLAGS = @dpagaix_LDFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
|
|
||||||
dpagaix: $(dpagaix_OBJECTS)
|
dpagaix$(EXEEXT): $(dpagaix_OBJECTS)
|
||||||
ld -edpagaix -o dpagaix $(dpagaix_OBJECTS) $(srcdir)/dfspag.exp
|
ld -edpagaix -o dpagaix$(EXEEXT) $(dpagaix_OBJECTS) $(srcdir)/dfspag.exp
|
||||||
|
|
||||||
LIB_dce = -ldce
|
LIB_dce = -ldce
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.7 2001/08/23 22:42:44 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,33 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
am__include = @am__include@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
am__quote = @am__quote@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.6 2001/02/07 22:45:37 assar Exp $
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +158,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,127 +181,76 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
DFSPROGS = k5dcecon
|
DFSPROGS = k5dcecon
|
||||||
@AIX_TRUE@AIX_DFSPROGS = @AIX_TRUE@dpagaix
|
@AIX_TRUE@AIX_DFSPROGS = dpagaix
|
||||||
|
|
||||||
libexec_PROGRAMS = $(DFSPROGS) $(AIX_DFSPROGS)
|
libexec_PROGRAMS = $(DFSPROGS) $(AIX_DFSPROGS)
|
||||||
|
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
|
||||||
dpagaix_LDFLAGS = @dpagaix_LDFLAGS@
|
dpagaix_LDFLAGS = @dpagaix_LDFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
|
||||||
|
|
||||||
LIB_dce = -ldce
|
LIB_dce = -ldce
|
||||||
|
|
||||||
k5dcecon_SOURCES = k5dcecon.c k5dce.h
|
k5dcecon_SOURCES = k5dcecon.c k5dce.h
|
||||||
|
|
||||||
dpagaix_SOURCES = dpagaix.c
|
dpagaix_SOURCES = dpagaix.c
|
||||||
@IRIX_TRUE@LDADD = @IRIX_TRUE@$(LIB_dce)
|
|
||||||
@IRIX_FALSE@LDADD = @IRIX_FALSE@$(LIB_roken) $(LIB_dce)
|
@IRIX_TRUE@LDADD = $(LIB_dce)
|
||||||
|
@IRIX_FALSE@LDADD = $(LIB_roken) $(LIB_dce)
|
||||||
subdir = appl/dceutils
|
subdir = appl/dceutils
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
@AIX_FALSE@libexec_PROGRAMS = k5dcecon$(EXEEXT)
|
@AIX_TRUE@libexec_PROGRAMS = k5dcecon$(EXEEXT) dpagaix$(EXEEXT)
|
||||||
@AIX_TRUE@libexec_PROGRAMS = k5dcecon$(EXEEXT) dpagaix$(EXEEXT)
|
@AIX_FALSE@libexec_PROGRAMS = k5dcecon$(EXEEXT)
|
||||||
PROGRAMS = $(libexec_PROGRAMS)
|
PROGRAMS = $(libexec_PROGRAMS)
|
||||||
|
|
||||||
|
am_dpagaix_OBJECTS = dpagaix-dpagaix.$(OBJEXT)
|
||||||
|
dpagaix_OBJECTS = $(am_dpagaix_OBJECTS)
|
||||||
|
dpagaix_DEPENDENCIES =
|
||||||
|
am_k5dcecon_OBJECTS = k5dcecon.$(OBJEXT)
|
||||||
|
k5dcecon_OBJECTS = $(am_k5dcecon_OBJECTS)
|
||||||
|
k5dcecon_LDADD = $(LDADD)
|
||||||
|
@IRIX_TRUE@k5dcecon_DEPENDENCIES =
|
||||||
|
@IRIX_FALSE@k5dcecon_DEPENDENCIES =
|
||||||
|
k5dcecon_LDFLAGS =
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
am_dpagaix_OBJECTS = dpagaix-dpagaix.$(OBJEXT)
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
dpagaix_OBJECTS = $(am_dpagaix_OBJECTS)
|
|
||||||
dpagaix_DEPENDENCIES =
|
|
||||||
am_k5dcecon_OBJECTS = k5dcecon.$(OBJEXT)
|
|
||||||
k5dcecon_OBJECTS = $(am_k5dcecon_OBJECTS)
|
|
||||||
k5dcecon_LDADD = $(LDADD)
|
|
||||||
@IRIX_FALSE@k5dcecon_DEPENDENCIES =
|
|
||||||
@IRIX_TRUE@k5dcecon_DEPENDENCIES =
|
|
||||||
k5dcecon_LDFLAGS =
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
depcomp =
|
CFLAGS = @CFLAGS@
|
||||||
DIST_COMMON = ChangeLog Makefile.am Makefile.in compile
|
DIST_SOURCES = $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
|
||||||
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
|
SOURCES = $(dpagaix_SOURCES) $(k5dcecon_SOURCES)
|
||||||
OBJECTS = $(am_dpagaix_OBJECTS) $(am_k5dcecon_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/dceutils/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
clean-libexecPROGRAMS:
|
|
||||||
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-libexecPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -304,24 +259,67 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/dceutils/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-libexecPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
|
clean-libexecPROGRAMS:
|
||||||
|
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
||||||
dpagaix-dpagaix.$(OBJEXT): dpagaix.c
|
dpagaix-dpagaix.$(OBJEXT): dpagaix.c
|
||||||
$(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dpagaix_CFLAGS) $(CFLAGS) -c -o dpagaix-dpagaix.$(OBJEXT) `test -f dpagaix.c || echo '$(srcdir)/'`dpagaix.c
|
k5dcecon$(EXEEXT): $(k5dcecon_OBJECTS) $(k5dcecon_DEPENDENCIES)
|
||||||
|
|
||||||
dpagaix$(EXEEXT): $(dpagaix_OBJECTS) $(dpagaix_DEPENDENCIES)
|
|
||||||
@rm -f dpagaix$(EXEEXT)
|
|
||||||
$(LINK) $(dpagaix_LDFLAGS) $(dpagaix_OBJECTS) $(dpagaix_LDADD) $(LIBS)
|
|
||||||
|
|
||||||
k5dcecon$(EXEEXT): $(k5dcecon_OBJECTS) $(k5dcecon_DEPENDENCIES)
|
|
||||||
@rm -f k5dcecon$(EXEEXT)
|
@rm -f k5dcecon$(EXEEXT)
|
||||||
$(LINK) $(k5dcecon_LDFLAGS) $(k5dcecon_OBJECTS) $(k5dcecon_LDADD) $(LIBS)
|
$(LINK) $(k5dcecon_LDFLAGS) $(k5dcecon_OBJECTS) $(k5dcecon_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
|
dpagaix-dpagaix.o: dpagaix.c
|
||||||
|
$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dpagaix_CFLAGS) $(CFLAGS) -c -o dpagaix-dpagaix.o `test -f dpagaix.c || echo '$(srcdir)/'`dpagaix.c
|
||||||
|
|
||||||
|
dpagaix-dpagaix.obj: dpagaix.c
|
||||||
|
$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dpagaix_CFLAGS) $(CFLAGS) -c -o dpagaix-dpagaix.obj `cygpath -w dpagaix.c`
|
||||||
|
|
||||||
|
dpagaix-dpagaix.lo: dpagaix.c
|
||||||
|
$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dpagaix_CFLAGS) $(CFLAGS) -c -o dpagaix-dpagaix.lo `test -f dpagaix.c || echo '$(srcdir)/'`dpagaix.c
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -350,22 +348,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -375,87 +374,92 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-libexecPROGRAMS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-libexecPROGRAMS
|
installcheck: installcheck-am
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-libexecPROGRAMS mostlyclean-compile \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
|
||||||
mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-libexecPROGRAMS clean-compile clean-libtool clean-tags \
|
|
||||||
clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-libexecPROGRAMS distclean-compile \
|
clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
|
||||||
distclean-libtool distclean-tags distclean-generic \
|
mostlyclean-am
|
||||||
clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-libexecPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
|
||||||
distclean-am
|
dvi: dvi-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local
|
||||||
|
|
||||||
|
install-exec-am: install-libexecPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
|
|
||||||
uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
|
mostlyclean: mostlyclean-am
|
||||||
distclean-compile clean-compile maintainer-clean-compile \
|
|
||||||
mostlyclean-libtool distclean-libtool clean-libtool \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
|
mostlyclean-libtool
|
||||||
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
|
|
||||||
check-local check check-am installcheck-am installcheck install-exec-am \
|
uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS
|
||||||
install-exec install-data-local install-data-am install-data install-am \
|
|
||||||
install uninstall-am uninstall all-local all-redirect all-am all \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
install-strip installdirs mostlyclean-generic distclean-generic \
|
clean-generic clean-libexecPROGRAMS clean-libtool distclean \
|
||||||
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
maintainer-clean
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am install-data install-data-am install-data-local \
|
||||||
|
install-exec install-exec-am install-info install-info-am \
|
||||||
|
install-libexecPROGRAMS install-man install-strip installcheck \
|
||||||
|
installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
||||||
|
uninstall-am uninstall-info-am uninstall-libexecPROGRAMS
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -586,9 +590,8 @@ check-local::
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dpagaix: $(dpagaix_OBJECTS)
|
dpagaix$(EXEEXT): $(dpagaix_OBJECTS)
|
||||||
ld -edpagaix -o dpagaix $(dpagaix_OBJECTS) $(srcdir)/dfspag.exp
|
ld -edpagaix -o dpagaix$(EXEEXT) $(dpagaix_OBJECTS) $(srcdir)/dfspag.exp
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -108,7 +108,7 @@ forwarded, to convert it to a DCE context. If there is no TGT, an
|
||||||
attempt will be made to join an existing PAG for the local userid, and
|
attempt will be made to join an existing PAG for the local userid, and
|
||||||
Kerberos principal. If there are existing PAGs, and a forwarded TGT,
|
Kerberos principal. If there are existing PAGs, and a forwarded TGT,
|
||||||
k5dcecon will check the lifetime of the forwarded TGT, and if it is
|
k5dcecon will check the lifetime of the forwarded TGT, and if it is
|
||||||
less then the lifetime of the PAG, it will just join the PAG. If it
|
less than the lifetime of the PAG, it will just join the PAG. If it
|
||||||
is greater, it will refresh the PAG using the forwarded TGT.
|
is greater, it will refresh the PAG using the forwarded TGT.
|
||||||
This approach has the advantage of not requiring many new tickets from
|
This approach has the advantage of not requiring many new tickets from
|
||||||
having to be obtained, and allows one to refresh a DCE context, or use
|
having to be obtained, and allows one to refresh a DCE context, or use
|
||||||
|
@ -242,7 +242,7 @@ You should build the testpag routine and make sure it works before
|
||||||
adding all the other mods. If it fails you can still use the klogind
|
adding all the other mods. If it fails you can still use the klogind
|
||||||
and telnetd with the k5prelogin and k5dcelogin code.
|
and telnetd with the k5prelogin and k5dcelogin code.
|
||||||
|
|
||||||
If you intend to install with a prefix other then /krb5, change:
|
If you intend to install with a prefix other than /krb5, change:
|
||||||
DPAGAIX and K5DCECON in k5dfspag.c; the three references in
|
DPAGAIX and K5DCECON in k5dfspag.c; the three references in
|
||||||
k5prelogin.c; and the DESTDIR in the Makefile.
|
k5prelogin.c; and the DESTDIR in the Makefile.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,45 @@
|
||||||
|
2001-09-13 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* ftpd/ftpd.c (dataconn): don't wait forever on accept
|
||||||
|
|
||||||
|
2001-09-04 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* ftp/gssapi.c (gss_adat): leak less memory and check return value
|
||||||
|
from asprintf
|
||||||
|
|
||||||
|
2001-08-28 Jacques Vidrine <n@nectar.com>
|
||||||
|
|
||||||
|
* ftpd/ftpd.c, ftpd/ftpd.8: On systems with IP_PORTRANGE, have
|
||||||
|
ftpd use `high-numbered' ports by default. Add a -U option
|
||||||
|
to get the old behavior.
|
||||||
|
|
||||||
|
2001-08-28 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* ftp/gssapi.c: try using "host" if there's no "ftp" principal
|
||||||
|
|
||||||
|
2001-08-26 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* ftpd/ls.c: implement -R
|
||||||
|
|
||||||
|
2001-08-08 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* ftpd/ls.c: make -a and -A do the same as in ls(1)
|
||||||
|
|
||||||
|
2001-08-05 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* ftpd/ftpcmd.y: add some (unsigned char) casts to is*
|
||||||
|
* ftp/cmds.c: add some (unsigned char) casts to is*
|
||||||
|
* ftpd/gss_userok.c (gss_userok): make argument to printf type
|
||||||
|
correct
|
||||||
|
|
||||||
|
2001-08-05 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* ftp/cmds.c (setpeer): __NetBSD__ is also a unix-like OS
|
||||||
|
|
||||||
|
2001-06-19 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* ftpd/popen.c, ftpd/ftpd.c: try to handle GLOB_MAXPATH (FreeBSD)
|
||||||
|
|
||||||
2001-04-19 Johan Danielsson <joda@pdc.kth.se>
|
2001-04-19 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
* ftpd/ftpd.c (do_store): call closefunc before claiming that
|
* ftpd/ftpd.c (do_store): call closefunc before claiming that
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.5 1999/03/20 13:58:14 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.5 1999/03/20 13:58:14 joda Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,50 +180,66 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
SUBDIRS = common ftp ftpd
|
SUBDIRS = common ftp ftpd
|
||||||
subdir = appl/ftp
|
subdir = appl/ftp
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
|
depcomp =
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES =
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
depcomp =
|
DIST_SOURCES =
|
||||||
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
|
||||||
|
|
||||||
|
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
||||||
|
uninstall-info-recursive all-recursive install-data-recursive \
|
||||||
|
install-exec-recursive installdirs-recursive install-recursive \
|
||||||
|
uninstall-recursive check-recursive installcheck-recursive
|
||||||
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
||||||
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
|
all: all-recursive
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
DIST_SUBDIRS = $(SUBDIRS)
|
|
||||||
all: all-redirect
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
mostlyclean-libtool:
|
||||||
cd $(top_builddir) \
|
-rm -f *.lo
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/ftp/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
# This directory's subdirectories are mostly independent; you can cd
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
# into them and run `make' without going through this Makefile.
|
# into them and run `make' without going through this Makefile.
|
||||||
|
@ -226,10 +247,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
# (1) if the variable is set in `config.status', edit `config.status'
|
# (1) if the variable is set in `config.status', edit `config.status'
|
||||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||||
# (2) otherwise, pass the desired values on the `make' command line.
|
# (2) otherwise, pass the desired values on the `make' command line.
|
||||||
|
$(RECURSIVE_TARGETS):
|
||||||
all-recursive install-data-recursive install-exec-recursive \
|
|
||||||
installdirs-recursive install-recursive uninstall-recursive \
|
|
||||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
|
||||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||||
dot_seen=no; \
|
dot_seen=no; \
|
||||||
target=`echo $@ | sed s/-recursive//`; \
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
@ -294,9 +312,9 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
tags=; \
|
tags=; \
|
||||||
here=`pwd`; \
|
here=`pwd`; \
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
if test "$$subdir" = .; then :; else \
|
if test "$$subdir" = .; then :; else \
|
||||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
||||||
unique=`for i in $$list; do \
|
unique=`for i in $$list; do \
|
||||||
|
@ -310,22 +328,23 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -340,84 +359,103 @@ distdir: $(DISTFILES)
|
||||||
test -d $(distdir)/$$subdir \
|
test -d $(distdir)/$$subdir \
|
||||||
|| mkdir $(distdir)/$$subdir \
|
|| mkdir $(distdir)/$$subdir \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
|
(cd $$subdir && \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
top_distdir="$(top_distdir)" \
|
||||||
|
distdir=../$(distdir)/$$subdir \
|
||||||
|
distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-recursive
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-recursive
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-recursive
|
check: check-recursive
|
||||||
installcheck-am:
|
|
||||||
installcheck: installcheck-recursive
|
|
||||||
install-exec-am:
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-recursive
|
|
||||||
|
|
||||||
install-data-am: install-data-local
|
|
||||||
install-data: install-data-recursive
|
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-recursive
|
|
||||||
uninstall-am:
|
|
||||||
uninstall: uninstall-recursive
|
|
||||||
all-am: Makefile all-local
|
all-am: Makefile all-local
|
||||||
all-redirect: all-recursive
|
|
||||||
install-strip:
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
|
||||||
installdirs: installdirs-recursive
|
installdirs: installdirs-recursive
|
||||||
installdirs-am:
|
installdirs-am:
|
||||||
|
|
||||||
|
install: install-recursive
|
||||||
|
install-exec: install-exec-recursive
|
||||||
|
install-data: install-data-recursive
|
||||||
|
uninstall: uninstall-recursive
|
||||||
|
|
||||||
|
install-am: all-am
|
||||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
|
|
||||||
|
installcheck: installcheck-recursive
|
||||||
|
install-strip:
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
`test -z '$(STRIP)' || \
|
||||||
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-tags mostlyclean-generic
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
mostlyclean: mostlyclean-recursive
|
|
||||||
|
|
||||||
clean-am: clean-tags clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-recursive
|
clean: clean-recursive
|
||||||
|
|
||||||
distclean-am: distclean-tags distclean-generic clean-am
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-recursive
|
distclean: distclean-recursive
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
|
distclean-am: clean-am distclean-generic distclean-libtool \
|
||||||
distclean-am
|
distclean-tags
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi: dvi-recursive
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-recursive
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-recursive
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-recursive
|
maintainer-clean: maintainer-clean-recursive
|
||||||
|
|
||||||
.PHONY: install-recursive uninstall-recursive install-data-recursive \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
uninstall-data-recursive install-exec-recursive \
|
|
||||||
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
mostlyclean: mostlyclean-recursive
|
||||||
all-recursive check-recursive installcheck-recursive info-recursive \
|
|
||||||
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||||
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
uninstall-am: uninstall-info-am
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
uninstall-info: uninstall-info-recursive
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
|
||||||
all-redirect all-am all install-strip installdirs-am installdirs \
|
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
|
||||||
mostlyclean-generic distclean-generic clean-generic \
|
check-local clean clean-generic clean-libtool clean-recursive \
|
||||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
distclean distclean-generic distclean-libtool \
|
||||||
|
distclean-recursive distclean-tags distdir dvi dvi-am \
|
||||||
|
dvi-recursive info info-am info-recursive install install-am \
|
||||||
|
install-data install-data-am install-data-local \
|
||||||
|
install-data-recursive install-exec install-exec-am \
|
||||||
|
install-exec-recursive install-info install-info-am \
|
||||||
|
install-info-recursive install-man install-recursive \
|
||||||
|
install-strip installcheck installcheck-am installdirs \
|
||||||
|
installdirs-am installdirs-recursive maintainer-clean \
|
||||||
|
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
|
||||||
|
mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
|
||||||
|
tags tags-recursive uninstall uninstall-am uninstall-info-am \
|
||||||
|
uninstall-info-recursive uninstall-recursive
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -547,7 +585,6 @@ check-local::
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.9 1999/07/28 21:15:06 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../../..
|
top_builddir = ../../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.9 1999/07/28 21:15:06 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,18 +180,20 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
|
@ -199,69 +206,36 @@ libcommon_a_SOURCES = \
|
||||||
|
|
||||||
subdir = appl/ftp/common
|
subdir = appl/ftp/common
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
LIBRARIES = $(noinst_LIBRARIES)
|
LIBRARIES = $(noinst_LIBRARIES)
|
||||||
|
|
||||||
|
libcommon_a_AR = $(AR) cru
|
||||||
|
libcommon_a_LIBADD =
|
||||||
|
am_libcommon_a_OBJECTS = sockbuf.$(OBJEXT) buffer.$(OBJEXT)
|
||||||
|
libcommon_a_OBJECTS = $(am_libcommon_a_OBJECTS)
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
libcommon_a_AR = $(AR) cru
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
libcommon_a_LIBADD =
|
|
||||||
am_libcommon_a_OBJECTS = sockbuf.$(OBJEXT) buffer.$(OBJEXT)
|
|
||||||
libcommon_a_OBJECTS = $(am_libcommon_a_OBJECTS)
|
|
||||||
AR = ar
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(libcommon_a_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
depcomp =
|
CFLAGS = @CFLAGS@
|
||||||
DIST_COMMON = Makefile.am Makefile.in
|
DIST_SOURCES = $(libcommon_a_SOURCES)
|
||||||
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(libcommon_a_SOURCES)
|
SOURCES = $(libcommon_a_SOURCES)
|
||||||
OBJECTS = $(am_libcommon_a_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/common/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-noinstLIBRARIES:
|
|
||||||
|
|
||||||
clean-noinstLIBRARIES:
|
|
||||||
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
|
||||||
|
|
||||||
distclean-noinstLIBRARIES:
|
|
||||||
|
|
||||||
maintainer-clean-noinstLIBRARIES:
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -270,19 +244,39 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/ftp/common/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
AR = ar
|
||||||
|
|
||||||
libcommon.a: $(libcommon_a_OBJECTS) $(libcommon_a_DEPENDENCIES)
|
clean-noinstLIBRARIES:
|
||||||
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
||||||
|
libcommon.a: $(libcommon_a_OBJECTS) $(libcommon_a_DEPENDENCIES)
|
||||||
-rm -f libcommon.a
|
-rm -f libcommon.a
|
||||||
$(libcommon_a_AR) libcommon.a $(libcommon_a_OBJECTS) $(libcommon_a_LIBADD)
|
$(libcommon_a_AR) libcommon.a $(libcommon_a_OBJECTS) $(libcommon_a_LIBADD)
|
||||||
$(RANLIB) libcommon.a
|
$(RANLIB) libcommon.a
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -311,22 +305,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -336,85 +331,91 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(LIBRARIES) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am:
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-data-local
|
installdirs:
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am:
|
installcheck: installcheck-am
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(LIBRARIES) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
|
||||||
mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-noinstLIBRARIES clean-compile clean-libtool clean-tags \
|
|
||||||
clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-noinstLIBRARIES distclean-compile \
|
clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
|
||||||
distclean-libtool distclean-tags distclean-generic \
|
mostlyclean-am
|
||||||
clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
|
||||||
distclean-am
|
dvi: dvi-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
|
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean: mostlyclean-am
|
||||||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
||||||
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
mostlyclean-libtool
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
uninstall-am: uninstall-info-am
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
clean-generic clean-libtool clean-noinstLIBRARIES distclean \
|
||||||
mostlyclean distclean maintainer-clean
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am install-data install-data-am install-data-local \
|
||||||
|
install-exec install-exec-am install-info install-info-am \
|
||||||
|
install-man install-strip installcheck installcheck-am \
|
||||||
|
installdirs maintainer-clean maintainer-clean-generic \
|
||||||
|
mostlyclean mostlyclean-compile mostlyclean-generic \
|
||||||
|
mostlyclean-libtool tags uninstall uninstall-am \
|
||||||
|
uninstall-info-am
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -544,7 +545,6 @@ check-local::
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# $Id: Makefile.am,v 1.14 2000/11/15 22:51:07 assar Exp $
|
# $Id: Makefile.am,v 1.15 2001/08/28 08:31:21 assar Exp $
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
INCLUDES += -I$(srcdir)/../common $(INCLUDE_readline) $(INCLUDE_krb4)
|
INCLUDES += -I$(srcdir)/../common $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des)
|
||||||
|
|
||||||
bin_PROGRAMS = ftp
|
bin_PROGRAMS = ftp
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.15 2001/08/28 08:31:21 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../../..
|
top_builddir = ../../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.14 2000/11/15 22:51:07 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../common $(INCLUDE_readline) $(INCLUDE_krb4)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../common $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,25 +180,27 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL =
|
CHECK_LOCAL =
|
||||||
|
|
||||||
bin_PROGRAMS = ftp
|
bin_PROGRAMS = ftp
|
||||||
|
|
||||||
@KRB4_TRUE@krb4_sources = @KRB4_TRUE@krb4.c kauth.c
|
@KRB4_TRUE@krb4_sources = krb4.c kauth.c
|
||||||
@KRB5_TRUE@krb5_sources = @KRB5_TRUE@gssapi.c
|
@KRB5_TRUE@krb5_sources = gssapi.c
|
||||||
|
|
||||||
ftp_SOURCES = \
|
ftp_SOURCES = \
|
||||||
cmds.c \
|
cmds.c \
|
||||||
|
@ -228,112 +235,64 @@ LDADD = \
|
||||||
|
|
||||||
subdir = appl/ftp/ftp
|
subdir = appl/ftp/ftp
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
bin_PROGRAMS = ftp$(EXEEXT)
|
bin_PROGRAMS = ftp$(EXEEXT)
|
||||||
PROGRAMS = $(bin_PROGRAMS)
|
PROGRAMS = $(bin_PROGRAMS)
|
||||||
|
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ ftp.$(OBJEXT) main.$(OBJEXT) \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ globals.$(OBJEXT) security.$(OBJEXT) \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ gssapi.$(OBJEXT)
|
||||||
|
@KRB4_FALSE@@KRB5_FALSE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
|
||||||
|
@KRB4_FALSE@@KRB5_FALSE@ ftp.$(OBJEXT) main.$(OBJEXT) \
|
||||||
|
@KRB4_FALSE@@KRB5_FALSE@ ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
|
||||||
|
@KRB4_FALSE@@KRB5_FALSE@ globals.$(OBJEXT) security.$(OBJEXT)
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ ftp.$(OBJEXT) main.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ globals.$(OBJEXT) security.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ krb4.$(OBJEXT) kauth.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ gssapi.$(OBJEXT)
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@ ftp.$(OBJEXT) main.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@ ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@ globals.$(OBJEXT) security.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@ krb4.$(OBJEXT) kauth.$(OBJEXT)
|
||||||
|
ftp_OBJECTS = $(am_ftp_OBJECTS)
|
||||||
|
ftp_LDADD = $(LDADD)
|
||||||
|
@KRB5_TRUE@ftp_DEPENDENCIES = ../common/libcommon.a \
|
||||||
|
@KRB5_TRUE@ $(top_builddir)/lib/gssapi/libgssapi.la \
|
||||||
|
@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@KRB5_FALSE@ftp_DEPENDENCIES = ../common/libcommon.a
|
||||||
|
ftp_LDFLAGS =
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
@KRB4_FALSE@@KRB5_FALSE@am_ftp_OBJECTS = cmds.$(OBJEXT) \
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
@KRB4_FALSE@@KRB5_FALSE@cmdtab.$(OBJEXT) ftp.$(OBJEXT) main.$(OBJEXT) \
|
|
||||||
@KRB4_FALSE@@KRB5_FALSE@ruserpass.$(OBJEXT) domacro.$(OBJEXT) \
|
|
||||||
@KRB4_FALSE@@KRB5_FALSE@globals.$(OBJEXT) security.$(OBJEXT)
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@ftp.$(OBJEXT) main.$(OBJEXT) ruserpass.$(OBJEXT) \
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@domacro.$(OBJEXT) globals.$(OBJEXT) \
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@security.$(OBJEXT) gssapi.$(OBJEXT)
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@ftp.$(OBJEXT) main.$(OBJEXT) ruserpass.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@domacro.$(OBJEXT) globals.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@security.$(OBJEXT) krb4.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@kauth.$(OBJEXT)
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@am_ftp_OBJECTS = cmds.$(OBJEXT) cmdtab.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@ftp.$(OBJEXT) main.$(OBJEXT) ruserpass.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@domacro.$(OBJEXT) globals.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@security.$(OBJEXT) krb4.$(OBJEXT) kauth.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@gssapi.$(OBJEXT)
|
|
||||||
ftp_OBJECTS = $(am_ftp_OBJECTS)
|
|
||||||
ftp_LDADD = $(LDADD)
|
|
||||||
@KRB5_FALSE@ftp_DEPENDENCIES = ../common/libcommon.a
|
|
||||||
@KRB5_TRUE@ftp_DEPENDENCIES = ../common/libcommon.a \
|
|
||||||
@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
|
|
||||||
@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
ftp_LDFLAGS =
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(ftp_SOURCES) $(EXTRA_ftp_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
man1dir = $(mandir)/man1
|
CFLAGS = @CFLAGS@
|
||||||
|
DIST_SOURCES = $(ftp_SOURCES) $(EXTRA_ftp_SOURCES)
|
||||||
|
|
||||||
|
NROFF = nroff
|
||||||
MANS = $(man_MANS)
|
MANS = $(man_MANS)
|
||||||
depcomp =
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
DIST_COMMON = Makefile.am Makefile.in
|
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(ftp_SOURCES) $(EXTRA_ftp_SOURCES)
|
SOURCES = $(ftp_SOURCES) $(EXTRA_ftp_SOURCES)
|
||||||
OBJECTS = $(am_ftp_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/ftp/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-binPROGRAMS:
|
|
||||||
|
|
||||||
clean-binPROGRAMS:
|
|
||||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-binPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-binPROGRAMS:
|
|
||||||
|
|
||||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-binPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -342,23 +301,65 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/ftp/ftp/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-binPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
ftp$(EXEEXT): $(ftp_OBJECTS) $(ftp_DEPENDENCIES)
|
clean-binPROGRAMS:
|
||||||
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||||
|
ftp$(EXEEXT): $(ftp_OBJECTS) $(ftp_DEPENDENCIES)
|
||||||
@rm -f ftp$(EXEEXT)
|
@rm -f ftp$(EXEEXT)
|
||||||
$(LINK) $(ftp_LDFLAGS) $(ftp_OBJECTS) $(ftp_LDADD) $(LIBS)
|
$(LINK) $(ftp_LDFLAGS) $(ftp_OBJECTS) $(ftp_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
.c.lo:
|
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
|
||||||
|
|
||||||
install-man1:
|
.c.lo:
|
||||||
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
man1dir = $(mandir)/man1
|
||||||
|
install-man1: $(man1_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
||||||
@list='$(man1_MANS)'; \
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.1*) list="$$list $$i" ;; \
|
*.1*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -373,10 +374,11 @@ install-man1:
|
||||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-man1:
|
uninstall-man1:
|
||||||
@list='$(man1_MANS)'; \
|
@$(NORMAL_UNINSTALL)
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.1*) list="$$list $$i" ;; \
|
*.1*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -389,12 +391,6 @@ uninstall-man1:
|
||||||
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
||||||
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
||||||
done
|
done
|
||||||
install-man: $(MANS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-man1
|
|
||||||
uninstall-man:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
|
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -423,22 +419,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -448,86 +445,94 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) $(MANS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-binPROGRAMS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-man install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-binPROGRAMS uninstall-man
|
installcheck: installcheck-am
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) $(MANS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
|
||||||
mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
|
|
||||||
clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
|
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
|
||||||
distclean-tags distclean-generic clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-binPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
|
||||||
distclean-am
|
dvi: dvi-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local install-man
|
||||||
|
|
||||||
|
install-exec-am: install-binPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man: install-man1
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean: mostlyclean-am
|
||||||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
||||||
clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
install-man uninstall-man tags mostlyclean-tags distclean-tags \
|
mostlyclean-libtool
|
||||||
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
|
|
||||||
check-local check check-am installcheck-am installcheck install-exec-am \
|
uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
|
||||||
install-exec install-data-local install-data-am install-data install-am \
|
|
||||||
install uninstall-am uninstall all-local all-redirect all-am all \
|
uninstall-man: uninstall-man1
|
||||||
install-strip installdirs mostlyclean-generic distclean-generic \
|
|
||||||
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
maintainer-clean
|
clean-binPROGRAMS clean-generic clean-libtool distclean \
|
||||||
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am install-binPROGRAMS install-data install-data-am \
|
||||||
|
install-data-local install-exec install-exec-am install-info \
|
||||||
|
install-info-am install-man install-man1 install-strip \
|
||||||
|
installcheck installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
||||||
|
uninstall-am uninstall-binPROGRAMS uninstall-info-am \
|
||||||
|
uninstall-man uninstall-man1
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -657,7 +662,6 @@ check-local::
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ftp_locl.h"
|
#include "ftp_locl.h"
|
||||||
RCSID("$Id: cmds.c,v 1.42 2001/02/15 04:17:09 assar Exp $");
|
RCSID("$Id: cmds.c,v 1.44 2001/08/05 06:39:14 assar Exp $");
|
||||||
|
|
||||||
typedef void (*sighand)(int);
|
typedef void (*sighand)(int);
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ setpeer(int argc, char **argv)
|
||||||
if (autologin)
|
if (autologin)
|
||||||
login(argv[1]);
|
login(argv[1]);
|
||||||
|
|
||||||
#if (defined(unix) || defined(__unix__) || defined(__unix) || defined(_AIX) || defined(_CRAY)) && NBBY == 8
|
#if (defined(unix) || defined(__unix__) || defined(__unix) || defined(_AIX) || defined(_CRAY) || defined(__NetBSD__)) && NBBY == 8
|
||||||
/*
|
/*
|
||||||
* this ifdef is to keep someone form "porting" this to an incompatible
|
* this ifdef is to keep someone form "porting" this to an incompatible
|
||||||
* system and not checking this out. This way they have to think about it.
|
* system and not checking this out. This way they have to think about it.
|
||||||
|
@ -468,14 +468,14 @@ mput(int argc, char **argv)
|
||||||
if (mflag && confirm(argv[0], cp)) {
|
if (mflag && confirm(argv[0], cp)) {
|
||||||
tp = cp;
|
tp = cp;
|
||||||
if (mcase) {
|
if (mcase) {
|
||||||
while (*tp && !islower(*tp)) {
|
while (*tp && !islower((unsigned char)*tp)) {
|
||||||
tp++;
|
tp++;
|
||||||
}
|
}
|
||||||
if (!*tp) {
|
if (!*tp) {
|
||||||
tp = cp;
|
tp = cp;
|
||||||
tp2 = tmpbuf;
|
tp2 = tmpbuf;
|
||||||
while ((*tp2 = *tp) != '\0') {
|
while ((*tp2 = *tp) != '\0') {
|
||||||
if (isupper(*tp2)) {
|
if (isupper((unsigned char)*tp2)) {
|
||||||
*tp2 = 'a' + *tp2 - 'A';
|
*tp2 = 'a' + *tp2 - 'A';
|
||||||
}
|
}
|
||||||
tp++;
|
tp++;
|
||||||
|
@ -621,14 +621,14 @@ getit(int argc, char **argv, int restartit, char *mode)
|
||||||
if (loc && mcase) {
|
if (loc && mcase) {
|
||||||
char *tp = argv[1], *tp2, tmpbuf[MaxPathLen];
|
char *tp = argv[1], *tp2, tmpbuf[MaxPathLen];
|
||||||
|
|
||||||
while (*tp && !islower(*tp)) {
|
while (*tp && !islower((unsigned char)*tp)) {
|
||||||
tp++;
|
tp++;
|
||||||
}
|
}
|
||||||
if (!*tp) {
|
if (!*tp) {
|
||||||
tp = argv[2];
|
tp = argv[2];
|
||||||
tp2 = tmpbuf;
|
tp2 = tmpbuf;
|
||||||
while ((*tp2 = *tp) != '\0') {
|
while ((*tp2 = *tp) != '\0') {
|
||||||
if (isupper(*tp2)) {
|
if (isupper((unsigned char)*tp2)) {
|
||||||
*tp2 = 'a' + *tp2 - 'A';
|
*tp2 = 'a' + *tp2 - 'A';
|
||||||
}
|
}
|
||||||
tp++;
|
tp++;
|
||||||
|
@ -737,7 +737,7 @@ mget(int argc, char **argv)
|
||||||
tp = cp;
|
tp = cp;
|
||||||
if (mcase) {
|
if (mcase) {
|
||||||
for (tp2 = tmpbuf; (ch = *tp++);)
|
for (tp2 = tmpbuf; (ch = *tp++);)
|
||||||
*tp2++ = isupper(ch) ? tolower(ch) : ch;
|
*tp2++ = tolower(ch);
|
||||||
*tp2 = '\0';
|
*tp2 = '\0';
|
||||||
tp = tmpbuf;
|
tp = tmpbuf;
|
||||||
}
|
}
|
||||||
|
@ -1831,7 +1831,7 @@ domap(char *name)
|
||||||
break;
|
break;
|
||||||
case '[':
|
case '[':
|
||||||
LOOP:
|
LOOP:
|
||||||
if (*++cp2 == '$' && isdigit(*(cp2+1))) {
|
if (*++cp2 == '$' && isdigit((unsigned char)*(cp2+1))) {
|
||||||
if (*++cp2 == '0') {
|
if (*++cp2 == '0') {
|
||||||
char *cp3 = name;
|
char *cp3 = name;
|
||||||
|
|
||||||
|
@ -1856,7 +1856,7 @@ domap(char *name)
|
||||||
cp2++;
|
cp2++;
|
||||||
}
|
}
|
||||||
else if (*cp2 == '$' &&
|
else if (*cp2 == '$' &&
|
||||||
isdigit(*(cp2+1))) {
|
isdigit((unsigned char)*(cp2+1))) {
|
||||||
if (*++cp2 == '0') {
|
if (*++cp2 == '0') {
|
||||||
char *cp3 = name;
|
char *cp3 = name;
|
||||||
|
|
||||||
|
@ -1908,7 +1908,7 @@ domap(char *name)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case '$':
|
case '$':
|
||||||
if (isdigit(*(cp2 + 1))) {
|
if (isdigit((unsigned char)*(cp2 + 1))) {
|
||||||
if (*++cp2 == '0') {
|
if (*++cp2 == '0') {
|
||||||
char *cp3 = name;
|
char *cp3 = name;
|
||||||
|
|
||||||
|
|
|
@ -1173,8 +1173,10 @@ file, if one exists.
|
||||||
For default shell.
|
For default shell.
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr ftpd 8 ,
|
.Xr ftpd 8
|
||||||
|
.Rs
|
||||||
.%T RFC2228
|
.%T RFC2228
|
||||||
|
.Re
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm ftp
|
.Nm ftp
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ftp_locl.h"
|
#include "ftp_locl.h"
|
||||||
RCSID ("$Id: ftp.c,v 1.69 2000/10/08 13:15:33 assar Exp $");
|
RCSID ("$Id: ftp.c,v 1.70 2001/09/07 20:28:10 nectar Exp $");
|
||||||
|
|
||||||
struct sockaddr_storage hisctladdr_ss;
|
struct sockaddr_storage hisctladdr_ss;
|
||||||
struct sockaddr *hisctladdr = (struct sockaddr *)&hisctladdr_ss;
|
struct sockaddr *hisctladdr = (struct sockaddr *)&hisctladdr_ss;
|
||||||
|
@ -284,6 +284,7 @@ command (char *fmt,...)
|
||||||
printf("PASS XXXX");
|
printf("PASS XXXX");
|
||||||
else
|
else
|
||||||
vfprintf(stdout, fmt, ap);
|
vfprintf(stdout, fmt, ap);
|
||||||
|
va_end(ap);
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
}
|
}
|
||||||
sec_vfprintf(cout, fmt, ap);
|
sec_vfprintf(cout, fmt, ap);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1995, 1996, 1997, 1998 Kungliga Tekniska Högskolan
|
* Copyright (c) 1995 - 2001 Kungliga Tekniska Högskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: ftp_locl.h,v 1.35 2001/02/15 04:20:51 assar Exp $ */
|
/* $Id: ftp_locl.h,v 1.36 2001/08/22 20:30:19 assar Exp $ */
|
||||||
|
|
||||||
#ifndef __FTP_LOCL_H__
|
#ifndef __FTP_LOCL_H__
|
||||||
#define __FTP_LOCL_H__
|
#define __FTP_LOCL_H__
|
||||||
|
@ -131,7 +131,7 @@ struct hostent *gethostbyname(const char *);
|
||||||
#include "security.h"
|
#include "security.h"
|
||||||
|
|
||||||
/* des_read_pw_string */
|
/* des_read_pw_string */
|
||||||
#ifdef HAVE_OPENSSL_DES_H
|
#ifdef HAVE_OPENSSL
|
||||||
#include <openssl/des.h>
|
#include <openssl/des.h>
|
||||||
#else
|
#else
|
||||||
#include <des.h>
|
#include <des.h>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1998 - 2000 Kungliga Tekniska Högskolan
|
* Copyright (c) 1998 - 2001 Kungliga Tekniska Högskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -37,8 +37,9 @@
|
||||||
#include "ftp_locl.h"
|
#include "ftp_locl.h"
|
||||||
#endif
|
#endif
|
||||||
#include <gssapi.h>
|
#include <gssapi.h>
|
||||||
|
#include <krb5_err.h>
|
||||||
|
|
||||||
RCSID("$Id: gssapi.c,v 1.15 2000/12/08 05:07:49 assar Exp $");
|
RCSID("$Id: gssapi.c,v 1.17 2001/09/04 09:45:09 assar Exp $");
|
||||||
|
|
||||||
struct gss_data {
|
struct gss_data {
|
||||||
gss_ctx_id_t context_hdl;
|
gss_ctx_id_t context_hdl;
|
||||||
|
@ -165,17 +166,17 @@ gss_adat(void *app_data, void *buf, size_t len)
|
||||||
OM_uint32 maj_stat, min_stat;
|
OM_uint32 maj_stat, min_stat;
|
||||||
gss_name_t client_name;
|
gss_name_t client_name;
|
||||||
struct gss_data *d = app_data;
|
struct gss_data *d = app_data;
|
||||||
|
struct gss_channel_bindings_struct bindings;
|
||||||
|
|
||||||
gss_channel_bindings_t bindings = malloc(sizeof(*bindings));
|
|
||||||
sockaddr_to_gss_address (his_addr,
|
sockaddr_to_gss_address (his_addr,
|
||||||
&bindings->initiator_addrtype,
|
&bindings.initiator_addrtype,
|
||||||
&bindings->initiator_address);
|
&bindings.initiator_address);
|
||||||
sockaddr_to_gss_address (ctrl_addr,
|
sockaddr_to_gss_address (ctrl_addr,
|
||||||
&bindings->acceptor_addrtype,
|
&bindings.acceptor_addrtype,
|
||||||
&bindings->acceptor_address);
|
&bindings.acceptor_address);
|
||||||
|
|
||||||
bindings->application_data.length = 0;
|
bindings.application_data.length = 0;
|
||||||
bindings->application_data.value = NULL;
|
bindings.application_data.value = NULL;
|
||||||
|
|
||||||
input_token.value = buf;
|
input_token.value = buf;
|
||||||
input_token.length = len;
|
input_token.length = len;
|
||||||
|
@ -193,7 +194,7 @@ gss_adat(void *app_data, void *buf, size_t len)
|
||||||
&d->context_hdl,
|
&d->context_hdl,
|
||||||
GSS_C_NO_CREDENTIAL,
|
GSS_C_NO_CREDENTIAL,
|
||||||
&input_token,
|
&input_token,
|
||||||
bindings,
|
&bindings,
|
||||||
&client_name,
|
&client_name,
|
||||||
NULL,
|
NULL,
|
||||||
&output_token,
|
&output_token,
|
||||||
|
@ -265,24 +266,21 @@ struct sec_server_mech gss_server_mech = {
|
||||||
extern struct sockaddr *hisctladdr, *myctladdr;
|
extern struct sockaddr *hisctladdr, *myctladdr;
|
||||||
|
|
||||||
static int
|
static int
|
||||||
gss_auth(void *app_data, char *host)
|
import_name(const char *kname, const char *host, gss_name_t *target_name)
|
||||||
{
|
{
|
||||||
|
|
||||||
OM_uint32 maj_stat, min_stat;
|
OM_uint32 maj_stat, min_stat;
|
||||||
gss_buffer_desc name;
|
gss_buffer_desc name;
|
||||||
gss_name_t target_name;
|
|
||||||
gss_buffer_desc input, output_token;
|
name.length = asprintf((char**)&name.value, "%s@%s", kname, host);
|
||||||
int context_established = 0;
|
if (name.value == NULL) {
|
||||||
char *p;
|
printf("Out of memory\n");
|
||||||
int n;
|
return AUTH_ERROR;
|
||||||
gss_channel_bindings_t bindings;
|
}
|
||||||
struct gss_data *d = app_data;
|
|
||||||
|
|
||||||
name.length = asprintf((char**)&name.value, "ftp@%s", host);
|
|
||||||
maj_stat = gss_import_name(&min_stat,
|
maj_stat = gss_import_name(&min_stat,
|
||||||
&name,
|
&name,
|
||||||
GSS_C_NT_HOSTBASED_SERVICE,
|
GSS_C_NT_HOSTBASED_SERVICE,
|
||||||
&target_name);
|
target_name);
|
||||||
if (GSS_ERROR(maj_stat)) {
|
if (GSS_ERROR(maj_stat)) {
|
||||||
OM_uint32 new_stat;
|
OM_uint32 new_stat;
|
||||||
OM_uint32 msg_ctx = 0;
|
OM_uint32 msg_ctx = 0;
|
||||||
|
@ -301,7 +299,28 @@ gss_auth(void *app_data, char *host)
|
||||||
return AUTH_ERROR;
|
return AUTH_ERROR;
|
||||||
}
|
}
|
||||||
free(name.value);
|
free(name.value);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
gss_auth(void *app_data, char *host)
|
||||||
|
{
|
||||||
|
|
||||||
|
OM_uint32 maj_stat, min_stat;
|
||||||
|
gss_buffer_desc name;
|
||||||
|
gss_name_t target_name;
|
||||||
|
gss_buffer_desc input, output_token;
|
||||||
|
int context_established = 0;
|
||||||
|
char *p;
|
||||||
|
int n;
|
||||||
|
gss_channel_bindings_t bindings;
|
||||||
|
struct gss_data *d = app_data;
|
||||||
|
|
||||||
|
const char *knames[] = { "ftp", "host", NULL }, **kname = knames;
|
||||||
|
|
||||||
|
|
||||||
|
if(import_name(*kname++, host, &target_name))
|
||||||
|
return AUTH_ERROR;
|
||||||
|
|
||||||
input.length = 0;
|
input.length = 0;
|
||||||
input.value = NULL;
|
input.value = NULL;
|
||||||
|
@ -337,6 +356,12 @@ gss_auth(void *app_data, char *host)
|
||||||
OM_uint32 new_stat;
|
OM_uint32 new_stat;
|
||||||
OM_uint32 msg_ctx = 0;
|
OM_uint32 msg_ctx = 0;
|
||||||
gss_buffer_desc status_string;
|
gss_buffer_desc status_string;
|
||||||
|
|
||||||
|
if(min_stat == KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN && *kname != NULL) {
|
||||||
|
if(import_name(*kname++, host, &target_name))
|
||||||
|
return AUTH_ERROR;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
gss_display_status(&new_stat,
|
gss_display_status(&new_stat,
|
||||||
min_stat,
|
min_stat,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile.am,v 1.23 2001/01/28 23:17:36 assar Exp $
|
# $Id: Makefile.am,v 1.26 2001/09/06 12:18:34 assar Exp $
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
|
@ -46,11 +46,10 @@ CLEANFILES = security.c security.h krb4.c gssapi.c ftpcmd.c
|
||||||
man_MANS = ftpd.8 ftpusers.5
|
man_MANS = ftpd.8 ftpusers.5
|
||||||
|
|
||||||
LDADD = ../common/libcommon.a \
|
LDADD = ../common/libcommon.a \
|
||||||
$(LIB_kafs) \
|
|
||||||
$(LIB_gssapi) \
|
|
||||||
$(LIB_otp) \
|
$(LIB_otp) \
|
||||||
|
$(LIB_gssapi) \
|
||||||
$(LIB_krb5) \
|
$(LIB_krb5) \
|
||||||
|
$(LIB_kafs) \
|
||||||
$(LIB_krb4) \
|
$(LIB_krb4) \
|
||||||
$(LIB_des) \
|
$(LIB_des) \
|
||||||
$(LIB_roken) \
|
$(LIB_roken)
|
||||||
$(DBLIB)
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.26 2001/09/06 12:18:34 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../../..
|
top_builddir = ../../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.23 2001/01/28 23:17:36 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../common $(INCLUDE_krb4) -DFTP_SERVER
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/../common $(INCLUDE_krb4) -DFTP_SERVER
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,25 +180,27 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL =
|
CHECK_LOCAL =
|
||||||
|
|
||||||
libexec_PROGRAMS = ftpd
|
libexec_PROGRAMS = ftpd
|
||||||
|
|
||||||
@KRB4_TRUE@krb4_sources = @KRB4_TRUE@krb4.c kauth.c
|
@KRB4_TRUE@krb4_sources = krb4.c kauth.c
|
||||||
@KRB5_TRUE@krb5_sources = @KRB5_TRUE@gssapi.c gss_userok.c
|
@KRB5_TRUE@krb5_sources = gssapi.c gss_userok.c
|
||||||
|
|
||||||
ftpd_SOURCES = \
|
ftpd_SOURCES = \
|
||||||
extern.h \
|
extern.h \
|
||||||
|
@ -216,128 +223,81 @@ CLEANFILES = security.c security.h krb4.c gssapi.c ftpcmd.c
|
||||||
man_MANS = ftpd.8 ftpusers.5
|
man_MANS = ftpd.8 ftpusers.5
|
||||||
|
|
||||||
LDADD = ../common/libcommon.a \
|
LDADD = ../common/libcommon.a \
|
||||||
$(LIB_kafs) \
|
|
||||||
$(LIB_gssapi) \
|
|
||||||
$(LIB_otp) \
|
$(LIB_otp) \
|
||||||
|
$(LIB_gssapi) \
|
||||||
$(LIB_krb5) \
|
$(LIB_krb5) \
|
||||||
|
$(LIB_kafs) \
|
||||||
$(LIB_krb4) \
|
$(LIB_krb4) \
|
||||||
$(LIB_des) \
|
$(LIB_des) \
|
||||||
$(LIB_roken) \
|
$(LIB_roken)
|
||||||
$(DBLIB)
|
|
||||||
|
|
||||||
subdir = appl/ftp/ftpd
|
subdir = appl/ftp/ftpd
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
libexec_PROGRAMS = ftpd$(EXEEXT)
|
libexec_PROGRAMS = ftpd$(EXEEXT)
|
||||||
PROGRAMS = $(libexec_PROGRAMS)
|
PROGRAMS = $(libexec_PROGRAMS)
|
||||||
|
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ logwtmp.$(OBJEXT) ls.$(OBJEXT) \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ popen.$(OBJEXT) security.$(OBJEXT) \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
|
||||||
|
@KRB4_FALSE@@KRB5_FALSE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) \
|
||||||
|
@KRB4_FALSE@@KRB5_FALSE@ ftpd.$(OBJEXT) logwtmp.$(OBJEXT) \
|
||||||
|
@KRB4_FALSE@@KRB5_FALSE@ ls.$(OBJEXT) popen.$(OBJEXT) \
|
||||||
|
@KRB4_FALSE@@KRB5_FALSE@ security.$(OBJEXT)
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ logwtmp.$(OBJEXT) ls.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ popen.$(OBJEXT) security.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ krb4.$(OBJEXT) kauth.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@ logwtmp.$(OBJEXT) ls.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@ popen.$(OBJEXT) security.$(OBJEXT) \
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@ krb4.$(OBJEXT) kauth.$(OBJEXT)
|
||||||
|
ftpd_OBJECTS = $(am_ftpd_OBJECTS)
|
||||||
|
ftpd_LDADD = $(LDADD)
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ftpd_DEPENDENCIES = ../common/libcommon.a \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/gssapi/libgssapi.la \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@KRB4_FALSE@@KRB5_FALSE@ftpd_DEPENDENCIES = ../common/libcommon.a
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ftpd_DEPENDENCIES = ../common/libcommon.a \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/gssapi/libgssapi.la \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/kafs/libkafs.la
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@ftpd_DEPENDENCIES = ../common/libcommon.a \
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@ $(top_builddir)/lib/kafs/libkafs.la
|
||||||
|
ftpd_LDFLAGS =
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
@KRB4_FALSE@@KRB5_FALSE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) \
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
@KRB4_FALSE@@KRB5_FALSE@ftpd.$(OBJEXT) logwtmp.$(OBJEXT) ls.$(OBJEXT) \
|
|
||||||
@KRB4_FALSE@@KRB5_FALSE@popen.$(OBJEXT) security.$(OBJEXT)
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) \
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@ftpd.$(OBJEXT) logwtmp.$(OBJEXT) ls.$(OBJEXT) \
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@popen.$(OBJEXT) security.$(OBJEXT) \
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@ftpd.$(OBJEXT) logwtmp.$(OBJEXT) ls.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@popen.$(OBJEXT) security.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@krb4.$(OBJEXT) kauth.$(OBJEXT)
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@am_ftpd_OBJECTS = ftpcmd.$(OBJEXT) ftpd.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@logwtmp.$(OBJEXT) ls.$(OBJEXT) popen.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@security.$(OBJEXT) krb4.$(OBJEXT) kauth.$(OBJEXT) \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@gssapi.$(OBJEXT) gss_userok.$(OBJEXT)
|
|
||||||
ftpd_OBJECTS = $(am_ftpd_OBJECTS)
|
|
||||||
ftpd_LDADD = $(LDADD)
|
|
||||||
@KRB4_FALSE@@KRB5_FALSE@ftpd_DEPENDENCIES = ../common/libcommon.a
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@ftpd_DEPENDENCIES = ../common/libcommon.a \
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@ftpd_DEPENDENCIES = ../common/libcommon.a \
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@ftpd_DEPENDENCIES = ../common/libcommon.a \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
ftpd_LDFLAGS =
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
man5dir = $(mandir)/man5
|
CFLAGS = @CFLAGS@
|
||||||
man8dir = $(mandir)/man8
|
YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
|
||||||
|
LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
|
||||||
|
YLWRAP = $(top_srcdir)/ylwrap
|
||||||
|
DIST_SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
|
||||||
|
|
||||||
|
NROFF = nroff
|
||||||
MANS = $(man_MANS)
|
MANS = $(man_MANS)
|
||||||
depcomp =
|
DIST_COMMON = Makefile.am Makefile.in ftpcmd.c
|
||||||
DIST_COMMON = Makefile.am Makefile.in ftpcmd.c
|
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
|
SOURCES = $(ftpd_SOURCES) $(EXTRA_ftpd_SOURCES)
|
||||||
OBJECTS = $(am_ftpd_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj .y
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj .y
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/ftp/ftpd/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
clean-libexecPROGRAMS:
|
|
||||||
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-libexecPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -346,29 +306,68 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/ftp/ftpd/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-libexecPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
ftpd$(EXEEXT): $(ftpd_OBJECTS) $(ftpd_DEPENDENCIES)
|
clean-libexecPROGRAMS:
|
||||||
|
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
||||||
|
ftpd$(EXEEXT): $(ftpd_OBJECTS) $(ftpd_DEPENDENCIES)
|
||||||
@rm -f ftpd$(EXEEXT)
|
@rm -f ftpd$(EXEEXT)
|
||||||
$(LINK) $(ftpd_LDFLAGS) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS)
|
$(LINK) $(ftpd_LDFLAGS) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.y.c:
|
.y.c:
|
||||||
$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
|
$(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h -- $(YACCCOMPILE)
|
||||||
if test -f y.tab.h; then \
|
uninstall-info-am:
|
||||||
if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
|
|
||||||
else :; fi
|
|
||||||
|
|
||||||
|
man5dir = $(mandir)/man5
|
||||||
install-man5:
|
install-man5: $(man5_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(man5dir)
|
$(mkinstalldirs) $(DESTDIR)$(man5dir)
|
||||||
@list='$(man5_MANS)'; \
|
@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.5*) list="$$list $$i" ;; \
|
*.5*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -383,10 +382,11 @@ install-man5:
|
||||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-man5:
|
uninstall-man5:
|
||||||
@list='$(man5_MANS)'; \
|
@$(NORMAL_UNINSTALL)
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.5*) list="$$list $$i" ;; \
|
*.5*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -400,10 +400,13 @@ uninstall-man5:
|
||||||
rm -f $(DESTDIR)$(man5dir)/$$inst; \
|
rm -f $(DESTDIR)$(man5dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
install-man8:
|
man8dir = $(mandir)/man8
|
||||||
|
install-man8: $(man8_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
||||||
@list='$(man8_MANS)'; \
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.8*) list="$$list $$i" ;; \
|
*.8*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -418,10 +421,11 @@ install-man8:
|
||||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-man8:
|
uninstall-man8:
|
||||||
@list='$(man8_MANS)'; \
|
@$(NORMAL_UNINSTALL)
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.8*) list="$$list $$i" ;; \
|
*.8*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -434,12 +438,6 @@ uninstall-man8:
|
||||||
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
done
|
done
|
||||||
install-man: $(MANS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-man5 install-man8
|
|
||||||
uninstall-man:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) uninstall-man5 uninstall-man8
|
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -468,22 +466,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -493,91 +492,97 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) $(MANS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-libexecPROGRAMS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-man install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-libexecPROGRAMS uninstall-man
|
installcheck: installcheck-am
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) $(MANS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(mandir)/man5 \
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
$(DESTDIR)$(mandir)/man8
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
-test -z "ftpcmd.c" || rm -f ftpcmd.c
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-am: mostlyclean-libexecPROGRAMS mostlyclean-compile \
|
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
|
||||||
mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-libexecPROGRAMS clean-compile clean-libtool clean-tags \
|
|
||||||
clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-libexecPROGRAMS distclean-compile \
|
clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
|
||||||
distclean-libtool distclean-tags distclean-generic \
|
mostlyclean-am
|
||||||
clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-libexecPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
|
||||||
distclean-am
|
dvi: dvi-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local install-man
|
||||||
|
|
||||||
|
install-exec-am: install-libexecPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man: install-man5 install-man8
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
|
|
||||||
uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
|
mostlyclean: mostlyclean-am
|
||||||
distclean-compile clean-compile maintainer-clean-compile \
|
|
||||||
mostlyclean-libtool distclean-libtool clean-libtool \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
maintainer-clean-libtool install-man5 uninstall-man5 install-man8 \
|
mostlyclean-libtool
|
||||||
uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
|
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
uninstall-man: uninstall-man5 uninstall-man8
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
clean-generic clean-libexecPROGRAMS clean-libtool distclean \
|
||||||
mostlyclean distclean maintainer-clean
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am install-data install-data-am install-data-local \
|
||||||
|
install-exec install-exec-am install-info install-info-am \
|
||||||
|
install-libexecPROGRAMS install-man install-man5 install-man8 \
|
||||||
|
install-strip installcheck installcheck-am installdirs \
|
||||||
|
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||||
|
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
||||||
|
tags uninstall uninstall-am uninstall-info-am \
|
||||||
|
uninstall-libexecPROGRAMS uninstall-man uninstall-man5 \
|
||||||
|
uninstall-man8
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -718,7 +723,6 @@ krb4.c:
|
||||||
@test -f krb4.c || $(LN_S) $(srcdir)/../ftp/krb4.c .
|
@test -f krb4.c || $(LN_S) $(srcdir)/../ftp/krb4.c .
|
||||||
gssapi.c:
|
gssapi.c:
|
||||||
@test -f gssapi.c || $(LN_S) $(srcdir)/../ftp/gssapi.c .
|
@test -f gssapi.c || $(LN_S) $(srcdir)/../ftp/gssapi.c .
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
%{
|
%{
|
||||||
|
|
||||||
#include "ftpd_locl.h"
|
#include "ftpd_locl.h"
|
||||||
RCSID("$Id: ftpcmd.y,v 1.60 2000/11/05 16:53:20 joda Exp $");
|
RCSID("$Id: ftpcmd.y,v 1.61 2001/08/05 06:39:29 assar Exp $");
|
||||||
|
|
||||||
off_t restart_point;
|
off_t restart_point;
|
||||||
|
|
||||||
|
@ -1238,9 +1238,9 @@ yylex(void)
|
||||||
cpos++;
|
cpos++;
|
||||||
return (SP);
|
return (SP);
|
||||||
}
|
}
|
||||||
if (isdigit(cbuf[cpos])) {
|
if (isdigit((unsigned char)cbuf[cpos])) {
|
||||||
cp = &cbuf[cpos];
|
cp = &cbuf[cpos];
|
||||||
while (isdigit(cbuf[++cpos]))
|
while (isdigit((unsigned char)cbuf[++cpos]))
|
||||||
;
|
;
|
||||||
c = cbuf[cpos];
|
c = cbuf[cpos];
|
||||||
cbuf[cpos] = '\0';
|
cbuf[cpos] = '\0';
|
||||||
|
@ -1253,9 +1253,9 @@ yylex(void)
|
||||||
goto dostr1;
|
goto dostr1;
|
||||||
|
|
||||||
case ARGS:
|
case ARGS:
|
||||||
if (isdigit(cbuf[cpos])) {
|
if (isdigit((unsigned char)cbuf[cpos])) {
|
||||||
cp = &cbuf[cpos];
|
cp = &cbuf[cpos];
|
||||||
while (isdigit(cbuf[++cpos]))
|
while (isdigit((unsigned char)cbuf[++cpos]))
|
||||||
;
|
;
|
||||||
c = cbuf[cpos];
|
c = cbuf[cpos];
|
||||||
cbuf[cpos] = '\0';
|
cbuf[cpos] = '\0';
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl a Ar authmode
|
.Op Fl a Ar authmode
|
||||||
.Op Fl dilv
|
.Op Fl dilvU
|
||||||
.Op Fl g Ar umask
|
.Op Fl g Ar umask
|
||||||
.Op Fl p Ar port
|
.Op Fl p Ar port
|
||||||
.Op Fl T Ar maxtimeout
|
.Op Fl T Ar maxtimeout
|
||||||
|
@ -128,6 +128,14 @@ The inactivity timeout period is set to
|
||||||
seconds (the default is 15 minutes).
|
seconds (the default is 15 minutes).
|
||||||
.It Fl u
|
.It Fl u
|
||||||
Set the initial umask to something else than the default 027.
|
Set the initial umask to something else than the default 027.
|
||||||
|
.It Fl U
|
||||||
|
In previous versions of
|
||||||
|
.Nm ftpd ,
|
||||||
|
when a passive mode client requested a data connection to the server, the
|
||||||
|
server would use data ports in the range 1024..4999. Now, by default,
|
||||||
|
if the system supports the IP_PORTRANGE socket option, the server will
|
||||||
|
use data ports in the range 49152..65535. Specifying this option will
|
||||||
|
revert to the old behavior.
|
||||||
.It Fl v
|
.It Fl v
|
||||||
Verbose mode.
|
Verbose mode.
|
||||||
.It Xo
|
.It Xo
|
||||||
|
@ -460,7 +468,7 @@ Login access for Kerberos.
|
||||||
.Xr otp 1 ,
|
.Xr otp 1 ,
|
||||||
.Xr getusershell 3 ,
|
.Xr getusershell 3 ,
|
||||||
.Xr ftpusers 5 ,
|
.Xr ftpusers 5 ,
|
||||||
.Xr syslogd 8 ,
|
.Xr syslogd 8
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
.Bl -tag -compact -width "RFC 1938"
|
.Bl -tag -compact -width "RFC 1938"
|
||||||
.It Cm RFC 959
|
.It Cm RFC 959
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#endif
|
#endif
|
||||||
#include "getarg.h"
|
#include "getarg.h"
|
||||||
|
|
||||||
RCSID("$Id: ftpd.c,v 1.157 2001/04/19 14:41:29 joda Exp $");
|
RCSID("$Id: ftpd.c,v 1.160 2001/09/13 09:17:14 joda Exp $");
|
||||||
|
|
||||||
static char version[] = "Version 6.00";
|
static char version[] = "Version 6.00";
|
||||||
|
|
||||||
|
@ -68,6 +68,7 @@ struct passwd *pw;
|
||||||
int debug = 0;
|
int debug = 0;
|
||||||
int ftpd_timeout = 900; /* timeout after 15 minutes of inactivity */
|
int ftpd_timeout = 900; /* timeout after 15 minutes of inactivity */
|
||||||
int maxtimeout = 7200;/* don't allow idle time to be set beyond 2 hours */
|
int maxtimeout = 7200;/* don't allow idle time to be set beyond 2 hours */
|
||||||
|
int restricted_data_ports = 1;
|
||||||
int logging;
|
int logging;
|
||||||
int guest;
|
int guest;
|
||||||
int dochroot;
|
int dochroot;
|
||||||
|
@ -217,6 +218,7 @@ struct getargs args[] = {
|
||||||
{ NULL, 't', arg_integer, &ftpd_timeout, "initial timeout" },
|
{ NULL, 't', arg_integer, &ftpd_timeout, "initial timeout" },
|
||||||
{ NULL, 'T', arg_integer, &maxtimeout, "max timeout" },
|
{ NULL, 'T', arg_integer, &maxtimeout, "max timeout" },
|
||||||
{ NULL, 'u', arg_string, &umask_string, "umask for user logins" },
|
{ NULL, 'u', arg_string, &umask_string, "umask for user logins" },
|
||||||
|
{ NULL, 'U', arg_negative_flag, &restricted_data_ports, "don't use high data ports" },
|
||||||
{ NULL, 'd', arg_flag, &debug, "enable debugging" },
|
{ NULL, 'd', arg_flag, &debug, "enable debugging" },
|
||||||
{ NULL, 'v', arg_flag, &debug, "enable debugging" },
|
{ NULL, 'v', arg_flag, &debug, "enable debugging" },
|
||||||
{ "builtin-ls", 'B', arg_flag, &use_builtin_ls, "use built-in ls to list files" },
|
{ "builtin-ls", 'B', arg_flag, &use_builtin_ls, "use built-in ls to list files" },
|
||||||
|
@ -1244,6 +1246,26 @@ getdatasock(const char *mode)
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
accept_with_timeout(int socket,
|
||||||
|
struct sockaddr *address,
|
||||||
|
size_t *address_len,
|
||||||
|
struct timeval *timeout)
|
||||||
|
{
|
||||||
|
int ret;
|
||||||
|
fd_set rfd;
|
||||||
|
FD_ZERO(&rfd);
|
||||||
|
FD_SET(socket, &rfd);
|
||||||
|
ret = select(socket + 1, &rfd, NULL, NULL, timeout);
|
||||||
|
if(ret < 0)
|
||||||
|
return ret;
|
||||||
|
if(ret == 0) {
|
||||||
|
errno = ETIMEDOUT;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
return accept(socket, address, address_len);
|
||||||
|
}
|
||||||
|
|
||||||
static FILE *
|
static FILE *
|
||||||
dataconn(const char *name, off_t size, const char *mode)
|
dataconn(const char *name, off_t size, const char *mode)
|
||||||
{
|
{
|
||||||
|
@ -1260,10 +1282,13 @@ dataconn(const char *name, off_t size, const char *mode)
|
||||||
if (pdata >= 0) {
|
if (pdata >= 0) {
|
||||||
struct sockaddr_storage from_ss;
|
struct sockaddr_storage from_ss;
|
||||||
struct sockaddr *from = (struct sockaddr *)&from_ss;
|
struct sockaddr *from = (struct sockaddr *)&from_ss;
|
||||||
|
struct timeval timeout;
|
||||||
int s;
|
int s;
|
||||||
socklen_t fromlen = sizeof(from_ss);
|
socklen_t fromlen = sizeof(from_ss);
|
||||||
|
|
||||||
s = accept(pdata, from, &fromlen);
|
timeout.tv_sec = 15;
|
||||||
|
timeout.tv_usec = 0;
|
||||||
|
s = accept_with_timeout(pdata, from, &fromlen, &timeout);
|
||||||
if (s < 0) {
|
if (s < 0) {
|
||||||
reply(425, "Can't open data connection.");
|
reply(425, "Can't open data connection.");
|
||||||
close(pdata);
|
close(pdata);
|
||||||
|
@ -1951,6 +1976,8 @@ pasv(void)
|
||||||
socket_set_address_and_port (pasv_addr,
|
socket_set_address_and_port (pasv_addr,
|
||||||
socket_get_address (ctrl_addr),
|
socket_get_address (ctrl_addr),
|
||||||
0);
|
0);
|
||||||
|
socket_set_portrange(pdata, restricted_data_ports,
|
||||||
|
pasv_addr->sa_family);
|
||||||
seteuid(0);
|
seteuid(0);
|
||||||
if (bind(pdata, pasv_addr, socket_sockaddr_size (pasv_addr)) < 0) {
|
if (bind(pdata, pasv_addr, socket_sockaddr_size (pasv_addr)) < 0) {
|
||||||
seteuid(pw->pw_uid);
|
seteuid(pw->pw_uid);
|
||||||
|
@ -1993,6 +2020,8 @@ epsv(char *proto)
|
||||||
socket_set_address_and_port (pasv_addr,
|
socket_set_address_and_port (pasv_addr,
|
||||||
socket_get_address (ctrl_addr),
|
socket_get_address (ctrl_addr),
|
||||||
0);
|
0);
|
||||||
|
socket_set_portrange(pdata, restricted_data_ports,
|
||||||
|
pasv_addr->sa_family);
|
||||||
seteuid(0);
|
seteuid(0);
|
||||||
if (bind(pdata, pasv_addr, socket_sockaddr_size (pasv_addr)) < 0) {
|
if (bind(pdata, pasv_addr, socket_sockaddr_size (pasv_addr)) < 0) {
|
||||||
seteuid(pw->pw_uid);
|
seteuid(pw->pw_uid);
|
||||||
|
@ -2165,7 +2194,13 @@ send_file_list(char *whichf)
|
||||||
char buf[MaxPathLen];
|
char buf[MaxPathLen];
|
||||||
|
|
||||||
if (strpbrk(whichf, "~{[*?") != NULL) {
|
if (strpbrk(whichf, "~{[*?") != NULL) {
|
||||||
int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|GLOB_LIMIT;
|
int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
|
||||||
|
#ifdef GLOB_MAXPATH
|
||||||
|
GLOB_MAXPATH
|
||||||
|
#else
|
||||||
|
GLOB_LIMIT
|
||||||
|
#endif
|
||||||
|
;
|
||||||
|
|
||||||
memset(&gl, 0, sizeof(gl));
|
memset(&gl, 0, sizeof(gl));
|
||||||
freeglob = 1;
|
freeglob = 1;
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include <gssapi.h>
|
#include <gssapi.h>
|
||||||
#include <krb5.h>
|
#include <krb5.h>
|
||||||
|
|
||||||
RCSID("$Id: gss_userok.c,v 1.7 2001/01/30 00:36:58 assar Exp $");
|
RCSID("$Id: gss_userok.c,v 1.8 2001/08/05 06:38:57 assar Exp $");
|
||||||
|
|
||||||
/* XXX a bit too much of krb5 dependency here...
|
/* XXX a bit too much of krb5 dependency here...
|
||||||
What is the correct way to do this?
|
What is the correct way to do this?
|
||||||
|
@ -88,7 +88,8 @@ gss_userok(void *app_data, char *username)
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
asprintf (&ticketfile, "%s%u", KRB5_DEFAULT_CCROOT, pw->pw_uid);
|
asprintf (&ticketfile, "%s%u", KRB5_DEFAULT_CCROOT,
|
||||||
|
(unsigned)pw->pw_uid);
|
||||||
|
|
||||||
ret = krb5_cc_resolve(gssapi_krb5_context, ticketfile, &ccache);
|
ret = krb5_cc_resolve(gssapi_krb5_context, ticketfile, &ccache);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1999 - 2000 Kungliga Tekniska Högskolan
|
* Copyright (c) 1999 - 2001 Kungliga Tekniska Högskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
#ifndef TEST
|
#ifndef TEST
|
||||||
#include "ftpd_locl.h"
|
#include "ftpd_locl.h"
|
||||||
|
|
||||||
RCSID("$Id: ls.c,v 1.20 2001/01/25 01:33:15 joda Exp $");
|
RCSID("$Id: ls.c,v 1.23 2001/09/14 11:32:52 joda Exp $");
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -49,14 +49,21 @@ RCSID("$Id: ls.c,v 1.20 2001/01/25 01:33:15 joda Exp $");
|
||||||
|
|
||||||
#define sec_fprintf2 fprintf
|
#define sec_fprintf2 fprintf
|
||||||
#define sec_fflush fflush
|
#define sec_fflush fflush
|
||||||
void
|
static void list_files(FILE *out, const char **files, int n_files, int flags);
|
||||||
builtin_ls(FILE *out, const char *file);
|
static int parse_flags(const char *options);
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
int i;
|
int i = 1;
|
||||||
for(i = 1; i < argc; i++)
|
int flags;
|
||||||
builtin_ls(stdout, argv[i]);
|
if(argc > 1 && argv[1][0] == '-') {
|
||||||
|
flags = parse_flags(argv[1]);
|
||||||
|
i = 2;
|
||||||
|
} else
|
||||||
|
flags = parse_flags(NULL);
|
||||||
|
|
||||||
|
list_files(stdout, (const char **)argv + i, argc - i, flags);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -107,6 +114,11 @@ free_fileinfo(struct fileinfo *f)
|
||||||
#define LS_DISP_LONG (1 << 8)
|
#define LS_DISP_LONG (1 << 8)
|
||||||
#define LS_DISP_COLUMN (2 << 8)
|
#define LS_DISP_COLUMN (2 << 8)
|
||||||
#define LS_DISP_CROSS (3 << 8)
|
#define LS_DISP_CROSS (3 << 8)
|
||||||
|
#define LS_SHOW_ALL (1 << 10)
|
||||||
|
#define LS_RECURSIVE (1 << 11)
|
||||||
|
#define LS_EXTRA_BLANK (1 << 12)
|
||||||
|
#define LS_SHOW_DIRNAME (1 << 13)
|
||||||
|
#define LS_DIR_FLAG (1 << 14) /* these files come via list_dir */
|
||||||
|
|
||||||
#ifndef S_ISTXT
|
#ifndef S_ISTXT
|
||||||
#define S_ISTXT S_ISVTX
|
#define S_ISTXT S_ISVTX
|
||||||
|
@ -120,19 +132,25 @@ free_fileinfo(struct fileinfo *f)
|
||||||
#define S_ISLNK(mode) (((mode) & _S_IFMT) == S_IFLNK)
|
#define S_ISLNK(mode) (((mode) & _S_IFMT) == S_IFLNK)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static size_t
|
||||||
|
block_convert(size_t blocks)
|
||||||
|
{
|
||||||
|
#ifdef S_BLKSIZE
|
||||||
|
return blocks * S_BLKSIZE / 1024;
|
||||||
|
#else
|
||||||
|
return blocks * 512 / 1024;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
make_fileinfo(const char *filename, struct fileinfo *file, int flags)
|
make_fileinfo(FILE *out, const char *filename, struct fileinfo *file, int flags)
|
||||||
{
|
{
|
||||||
char buf[128];
|
char buf[128];
|
||||||
int file_type = 0;
|
int file_type = 0;
|
||||||
struct stat *st = &file->st;
|
struct stat *st = &file->st;
|
||||||
|
|
||||||
file->inode = st->st_ino;
|
file->inode = st->st_ino;
|
||||||
#ifdef S_BLKSIZE
|
file->bsize = block_convert(st->st_blocks);
|
||||||
file->bsize = st->st_blocks * S_BLKSIZE / 1024;
|
|
||||||
#else
|
|
||||||
file->bsize = st->st_blocks * 512 / 1024;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if(S_ISDIR(st->st_mode)) {
|
if(S_ISDIR(st->st_mode)) {
|
||||||
file->mode[0] = 'd';
|
file->mode[0] = 'd';
|
||||||
|
@ -251,7 +269,7 @@ make_fileinfo(const char *filename, struct fileinfo *file, int flags)
|
||||||
buf[n] = '\0';
|
buf[n] = '\0';
|
||||||
file->link = strdup(buf);
|
file->link = strdup(buf);
|
||||||
} else
|
} else
|
||||||
warn("%s: readlink", filename);
|
sec_fprintf2(out, "readlink(%s): %s", filename, strerror(errno));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -443,11 +461,20 @@ lstat_file (const char *file, struct stat *sb)
|
||||||
return lstat (file, sb);
|
return lstat (file, sb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define IS_DOT_DOTDOT(X) ((X)[0] == '.' && ((X)[1] == '\0' || \
|
||||||
|
((X)[1] == '.' && (X)[2] == '\0')))
|
||||||
|
|
||||||
static void
|
static void
|
||||||
list_files(FILE *out, const char **files, int n_files, int flags)
|
list_files(FILE *out, const char **files, int n_files, int flags)
|
||||||
{
|
{
|
||||||
struct fileinfo *fi;
|
struct fileinfo *fi;
|
||||||
int i;
|
int i;
|
||||||
|
int *dirs = NULL;
|
||||||
|
size_t total_blocks = 0;
|
||||||
|
int n_print = 0;
|
||||||
|
|
||||||
|
if(n_files > 1)
|
||||||
|
flags |= LS_SHOW_DIRNAME;
|
||||||
|
|
||||||
fi = calloc(n_files, sizeof(*fi));
|
fi = calloc(n_files, sizeof(*fi));
|
||||||
if (fi == NULL) {
|
if (fi == NULL) {
|
||||||
|
@ -459,12 +486,23 @@ list_files(FILE *out, const char **files, int n_files, int flags)
|
||||||
sec_fprintf2(out, "%s: %s\r\n", files[i], strerror(errno));
|
sec_fprintf2(out, "%s: %s\r\n", files[i], strerror(errno));
|
||||||
fi[i].filename = NULL;
|
fi[i].filename = NULL;
|
||||||
} else {
|
} else {
|
||||||
if((flags & LS_DIRS) == 0 && S_ISDIR(fi[i].st.st_mode)) {
|
int include_in_list = 1;
|
||||||
if(n_files > 1)
|
total_blocks += block_convert(fi[i].st.st_blocks);
|
||||||
sec_fprintf2(out, "%s:\r\n", files[i]);
|
if(S_ISDIR(fi[i].st.st_mode)) {
|
||||||
list_dir(out, files[i], flags);
|
if(dirs == NULL)
|
||||||
} else {
|
dirs = calloc(n_files, sizeof(*dirs));
|
||||||
make_fileinfo(files[i], &fi[i], flags);
|
if(dirs == NULL) {
|
||||||
|
sec_fprintf2(out, "%s: %s\r\n",
|
||||||
|
files[i], strerror(errno));
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
dirs[i] = 1;
|
||||||
|
if((flags & LS_DIRS) == 0)
|
||||||
|
include_in_list = 0;
|
||||||
|
}
|
||||||
|
if(include_in_list) {
|
||||||
|
make_fileinfo(out, files[i], &fi[i], flags);
|
||||||
|
n_print++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -521,7 +559,9 @@ list_files(FILE *out, const char **files, int n_files, int flags)
|
||||||
max_inode = log10(max_inode);
|
max_inode = log10(max_inode);
|
||||||
max_bsize = log10(max_bsize);
|
max_bsize = log10(max_bsize);
|
||||||
max_n_link = log10(max_n_link);
|
max_n_link = log10(max_n_link);
|
||||||
|
|
||||||
|
if(n_print > 0)
|
||||||
|
sec_fprintf2(out, "total %lu\r\n", (unsigned long)total_blocks);
|
||||||
if(flags & LS_SORT_REVERSE)
|
if(flags & LS_SORT_REVERSE)
|
||||||
for(i = n_files - 1; i >= 0; i--)
|
for(i = n_files - 1; i >= 0; i--)
|
||||||
print_file(out,
|
print_file(out,
|
||||||
|
@ -553,6 +593,7 @@ list_files(FILE *out, const char **files, int n_files, int flags)
|
||||||
} else if(DISP_MODE(flags) == LS_DISP_COLUMN ||
|
} else if(DISP_MODE(flags) == LS_DISP_COLUMN ||
|
||||||
DISP_MODE(flags) == LS_DISP_CROSS) {
|
DISP_MODE(flags) == LS_DISP_CROSS) {
|
||||||
int max_len = 0;
|
int max_len = 0;
|
||||||
|
int size_len = 0;
|
||||||
int num_files = n_files;
|
int num_files = n_files;
|
||||||
int columns;
|
int columns;
|
||||||
int j;
|
int j;
|
||||||
|
@ -563,14 +604,30 @@ list_files(FILE *out, const char **files, int n_files, int flags)
|
||||||
}
|
}
|
||||||
if(strlen(fi[i].filename) > max_len)
|
if(strlen(fi[i].filename) > max_len)
|
||||||
max_len = strlen(fi[i].filename);
|
max_len = strlen(fi[i].filename);
|
||||||
|
if(log10(fi[i].bsize) > size_len)
|
||||||
|
size_len = log10(fi[i].bsize);
|
||||||
}
|
}
|
||||||
columns = 80 / (max_len + 1); /* get space between columns */
|
if(num_files == 0)
|
||||||
max_len = 80 / columns;
|
goto next;
|
||||||
|
if(flags & LS_SIZE) {
|
||||||
|
columns = 80 / (size_len + 1 + max_len + 1);
|
||||||
|
max_len = 80 / columns - size_len - 1;
|
||||||
|
} else {
|
||||||
|
columns = 80 / (max_len + 1); /* get space between columns */
|
||||||
|
max_len = 80 / columns;
|
||||||
|
}
|
||||||
|
if(flags & LS_SIZE)
|
||||||
|
sec_fprintf2(out, "total %lu\r\n",
|
||||||
|
(unsigned long)total_blocks);
|
||||||
if(DISP_MODE(flags) == LS_DISP_CROSS) {
|
if(DISP_MODE(flags) == LS_DISP_CROSS) {
|
||||||
for(i = 0, j = 0; i < n_files; i++) {
|
for(i = 0, j = 0; i < n_files; i++) {
|
||||||
if(fi[i].filename == NULL)
|
if(fi[i].filename == NULL)
|
||||||
continue;
|
continue;
|
||||||
sec_fprintf2(out, "%-*s", max_len, fi[i].filename);
|
if(flags & LS_SIZE)
|
||||||
|
sec_fprintf2(out, "%*u %-*s", size_len, fi[i].bsize,
|
||||||
|
max_len, fi[i].filename);
|
||||||
|
else
|
||||||
|
sec_fprintf2(out, "%-*s", max_len, fi[i].filename);
|
||||||
j++;
|
j++;
|
||||||
if(j == columns) {
|
if(j == columns) {
|
||||||
sec_fprintf2(out, "\r\n");
|
sec_fprintf2(out, "\r\n");
|
||||||
|
@ -578,7 +635,7 @@ list_files(FILE *out, const char **files, int n_files, int flags)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(j > 0)
|
if(j > 0)
|
||||||
sec_fprintf2(out, "\r\n");
|
sec_fprintf2(out, "\r\n");
|
||||||
} else {
|
} else {
|
||||||
int skip = (num_files + columns - 1) / columns;
|
int skip = (num_files + columns - 1) / columns;
|
||||||
j = 0;
|
j = 0;
|
||||||
|
@ -586,7 +643,11 @@ list_files(FILE *out, const char **files, int n_files, int flags)
|
||||||
for(j = i; j < n_files;) {
|
for(j = i; j < n_files;) {
|
||||||
while(j < n_files && fi[j].filename == NULL)
|
while(j < n_files && fi[j].filename == NULL)
|
||||||
j++;
|
j++;
|
||||||
sec_fprintf2(out, "%-*s", max_len, fi[j].filename);
|
if(flags & LS_SIZE)
|
||||||
|
sec_fprintf2(out, "%*u %-*s", size_len, fi[j].bsize,
|
||||||
|
max_len, fi[j].filename);
|
||||||
|
else
|
||||||
|
sec_fprintf2(out, "%-*s", max_len, fi[j].filename);
|
||||||
j += skip;
|
j += skip;
|
||||||
}
|
}
|
||||||
sec_fprintf2(out, "\r\n");
|
sec_fprintf2(out, "\r\n");
|
||||||
|
@ -599,9 +660,32 @@ list_files(FILE *out, const char **files, int n_files, int flags)
|
||||||
sec_fprintf2(out, "%s\r\n", fi[i].filename);
|
sec_fprintf2(out, "%s\r\n", fi[i].filename);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
next:
|
||||||
|
if(((flags & LS_DIRS) == 0 || (flags & LS_RECURSIVE)) && dirs != NULL) {
|
||||||
|
for(i = 0; i < n_files; i++) {
|
||||||
|
if(dirs[i]) {
|
||||||
|
const char *p = strrchr(files[i], '/');
|
||||||
|
if(p == NULL)
|
||||||
|
p = files[i];
|
||||||
|
else
|
||||||
|
p++;
|
||||||
|
if(!(flags & LS_DIR_FLAG) || !IS_DOT_DOTDOT(p)) {
|
||||||
|
if((flags & LS_SHOW_DIRNAME)) {
|
||||||
|
if ((flags & LS_EXTRA_BLANK))
|
||||||
|
sec_fprintf2(out, "\r\n");
|
||||||
|
sec_fprintf2(out, "%s:\r\n", files[i]);
|
||||||
|
}
|
||||||
|
list_dir(out, files[i], flags | LS_DIRS | LS_EXTRA_BLANK);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
out:
|
||||||
for(i = 0; i < n_files; i++)
|
for(i = 0; i < n_files; i++)
|
||||||
free_fileinfo(&fi[i]);
|
free_fileinfo(&fi[i]);
|
||||||
free(fi);
|
free(fi);
|
||||||
|
if(dirs != NULL)
|
||||||
|
free(dirs);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -614,6 +698,22 @@ free_files (char **files, int n)
|
||||||
free (files);
|
free (files);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
hide_file(const char *filename, int flags)
|
||||||
|
{
|
||||||
|
if(filename[0] != '.')
|
||||||
|
return 0;
|
||||||
|
if((flags & LS_IGNORE_DOT))
|
||||||
|
return 1;
|
||||||
|
if(filename[1] == '\0' || (filename[1] == '.' && filename[2] == '\0')) {
|
||||||
|
if((flags & LS_SHOW_ALL))
|
||||||
|
return 0;
|
||||||
|
else
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
list_dir(FILE *out, const char *directory, int flags)
|
list_dir(FILE *out, const char *directory, int flags)
|
||||||
{
|
{
|
||||||
|
@ -629,14 +729,8 @@ list_dir(FILE *out, const char *directory, int flags)
|
||||||
while((ent = readdir(d)) != NULL) {
|
while((ent = readdir(d)) != NULL) {
|
||||||
void *tmp;
|
void *tmp;
|
||||||
|
|
||||||
if(ent->d_name[0] == '.') {
|
if(hide_file(ent->d_name, flags))
|
||||||
if (flags & LS_IGNORE_DOT)
|
continue;
|
||||||
continue;
|
|
||||||
if (ent->d_name[1] == 0) /* Ignore . */
|
|
||||||
continue;
|
|
||||||
if (ent->d_name[1] == '.' && ent->d_name[2] == 0) /* Ignore .. */
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
tmp = realloc(files, (n_files + 1) * sizeof(*files));
|
tmp = realloc(files, (n_files + 1) * sizeof(*files));
|
||||||
if (tmp == NULL) {
|
if (tmp == NULL) {
|
||||||
sec_fprintf2(out, "%s: out of memory\r\n", directory);
|
sec_fprintf2(out, "%s: out of memory\r\n", directory);
|
||||||
|
@ -655,62 +749,96 @@ list_dir(FILE *out, const char *directory, int flags)
|
||||||
++n_files;
|
++n_files;
|
||||||
}
|
}
|
||||||
closedir(d);
|
closedir(d);
|
||||||
list_files(out, (const char**)files, n_files, flags | LS_DIRS);
|
list_files(out, (const char**)files, n_files, flags | LS_DIR_FLAG);
|
||||||
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
parse_flags(const char *options)
|
||||||
|
{
|
||||||
|
#ifdef TEST
|
||||||
|
int flags = LS_SORT_NAME | LS_IGNORE_DOT | LS_DISP_COLUMN;
|
||||||
|
#else
|
||||||
|
int flags = LS_SORT_NAME | LS_IGNORE_DOT | LS_DISP_LONG;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const char *p;
|
||||||
|
if(options == NULL || *options != '-')
|
||||||
|
return flags;
|
||||||
|
for(p = options + 1; *p; p++) {
|
||||||
|
switch(*p) {
|
||||||
|
case '1':
|
||||||
|
flags = (flags & ~LS_DISP_MODE);
|
||||||
|
break;
|
||||||
|
case 'a':
|
||||||
|
flags |= LS_SHOW_ALL;
|
||||||
|
/*FALLTHROUGH*/
|
||||||
|
case 'A':
|
||||||
|
flags &= ~LS_IGNORE_DOT;
|
||||||
|
break;
|
||||||
|
case 'C':
|
||||||
|
flags = (flags & ~LS_DISP_MODE) | LS_DISP_COLUMN;
|
||||||
|
break;
|
||||||
|
case 'd':
|
||||||
|
flags |= LS_DIRS;
|
||||||
|
break;
|
||||||
|
case 'f':
|
||||||
|
flags = (flags & ~LS_SORT_MODE);
|
||||||
|
break;
|
||||||
|
case 'F':
|
||||||
|
flags |= LS_TYPE;
|
||||||
|
break;
|
||||||
|
case 'i':
|
||||||
|
flags |= LS_INODE;
|
||||||
|
break;
|
||||||
|
case 'l':
|
||||||
|
flags = (flags & ~LS_DISP_MODE) | LS_DISP_LONG;
|
||||||
|
break;
|
||||||
|
case 'r':
|
||||||
|
flags |= LS_SORT_REVERSE;
|
||||||
|
break;
|
||||||
|
case 'R':
|
||||||
|
flags |= LS_RECURSIVE;
|
||||||
|
break;
|
||||||
|
case 's':
|
||||||
|
flags |= LS_SIZE;
|
||||||
|
break;
|
||||||
|
case 'S':
|
||||||
|
flags = (flags & ~LS_SORT_MODE) | LS_SORT_SIZE;
|
||||||
|
break;
|
||||||
|
case 't':
|
||||||
|
flags = (flags & ~LS_SORT_MODE) | LS_SORT_MTIME;
|
||||||
|
break;
|
||||||
|
case 'x':
|
||||||
|
flags = (flags & ~LS_DISP_MODE) | LS_DISP_CROSS;
|
||||||
|
break;
|
||||||
|
/* these are a bunch of unimplemented flags from BSD ls */
|
||||||
|
case 'k': /* display sizes in kB */
|
||||||
|
case 'c': /* last change time */
|
||||||
|
case 'L': /* list symlink target */
|
||||||
|
case 'm': /* stream output */
|
||||||
|
case 'o': /* BSD file flags */
|
||||||
|
case 'p': /* display / after directories */
|
||||||
|
case 'q': /* print non-graphic characters */
|
||||||
|
case 'u': /* use last access time */
|
||||||
|
case 'T': /* display complete time */
|
||||||
|
case 'W': /* include whiteouts */
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
builtin_ls(FILE *out, const char *file)
|
builtin_ls(FILE *out, const char *file)
|
||||||
{
|
{
|
||||||
int flags = LS_SORT_NAME | LS_IGNORE_DOT | LS_DISP_LONG;
|
int flags;
|
||||||
|
|
||||||
if(*file == '-') {
|
if(*file == '-') {
|
||||||
const char *p;
|
flags = parse_flags(file);
|
||||||
for(p = file + 1; *p; p++) {
|
|
||||||
switch(*p) {
|
|
||||||
case '1':
|
|
||||||
flags = (flags & ~LS_DISP_MODE);
|
|
||||||
break;
|
|
||||||
case 'a':
|
|
||||||
case 'A':
|
|
||||||
flags &= ~LS_IGNORE_DOT;
|
|
||||||
break;
|
|
||||||
case 'C':
|
|
||||||
flags = (flags & ~LS_DISP_MODE) | LS_DISP_COLUMN;
|
|
||||||
break;
|
|
||||||
case 'd':
|
|
||||||
flags |= LS_DIRS;
|
|
||||||
break;
|
|
||||||
case 'f':
|
|
||||||
flags = (flags & ~LS_SORT_MODE);
|
|
||||||
break;
|
|
||||||
case 'F':
|
|
||||||
flags |= LS_TYPE;
|
|
||||||
break;
|
|
||||||
case 'i':
|
|
||||||
flags |= LS_INODE;
|
|
||||||
break;
|
|
||||||
case 'l':
|
|
||||||
flags = (flags & ~LS_DISP_MODE) | LS_DISP_LONG;
|
|
||||||
break;
|
|
||||||
case 't':
|
|
||||||
flags = (flags & ~LS_SORT_MODE) | LS_SORT_MTIME;
|
|
||||||
break;
|
|
||||||
case 's':
|
|
||||||
flags |= LS_SIZE;
|
|
||||||
break;
|
|
||||||
case 'S':
|
|
||||||
flags = (flags & ~LS_SORT_MODE) | LS_SORT_SIZE;
|
|
||||||
break;
|
|
||||||
case 'r':
|
|
||||||
flags |= LS_SORT_REVERSE;
|
|
||||||
break;
|
|
||||||
case 'x':
|
|
||||||
flags = (flags & ~LS_DISP_MODE) | LS_DISP_CROSS;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file = ".";
|
file = ".";
|
||||||
}
|
} else
|
||||||
|
flags = parse_flags("");
|
||||||
|
|
||||||
list_files(out, &file, 1, flags);
|
list_files(out, &file, 1, flags);
|
||||||
sec_fflush(out);
|
sec_fflush(out);
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
RCSID("$Id: popen.c,v 1.24 2001/03/26 11:41:02 assar Exp $");
|
RCSID("$Id: popen.c,v 1.25 2001/06/19 10:00:25 assar Exp $");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -139,7 +139,13 @@ ftpd_popen(char *program, char *type, int do_stderr, int no_glob)
|
||||||
for (gargc = argc = 1; argv[argc] && gargc < MAXGLOBS - 1; argc++) {
|
for (gargc = argc = 1; argv[argc] && gargc < MAXGLOBS - 1; argc++) {
|
||||||
glob_t gl;
|
glob_t gl;
|
||||||
int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE
|
int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE
|
||||||
| GLOB_LIMIT;
|
|
|
||||||
|
#ifdef GLOB_MAXPATH
|
||||||
|
GLOB_MAXPATH
|
||||||
|
#else
|
||||||
|
GLOB_LIMIT
|
||||||
|
#endif
|
||||||
|
;
|
||||||
|
|
||||||
memset(&gl, 0, sizeof(gl));
|
memset(&gl, 0, sizeof(gl));
|
||||||
if (no_glob || glob(argv[argc], flags, NULL, &gl))
|
if (no_glob || glob(argv[argc], flags, NULL, &gl))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.5 2000/11/15 22:51:08 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.5 2000/11/15 22:51:08 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,18 +180,20 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
|
@ -207,128 +214,49 @@ LDADD = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
|
||||||
subdir = appl/kf
|
subdir = appl/kf
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
bin_PROGRAMS = kf$(EXEEXT)
|
bin_PROGRAMS = kf$(EXEEXT)
|
||||||
libexec_PROGRAMS = kfd$(EXEEXT)
|
libexec_PROGRAMS = kfd$(EXEEXT)
|
||||||
PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
|
PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
|
||||||
|
|
||||||
|
am_kf_OBJECTS = kf.$(OBJEXT)
|
||||||
|
kf_OBJECTS = $(am_kf_OBJECTS)
|
||||||
|
kf_LDADD = $(LDADD)
|
||||||
|
kf_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
$(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
kf_LDFLAGS =
|
||||||
|
am_kfd_OBJECTS = kfd.$(OBJEXT)
|
||||||
|
kfd_OBJECTS = $(am_kfd_OBJECTS)
|
||||||
|
kfd_LDADD = $(LDADD)
|
||||||
|
kfd_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
$(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
kfd_LDFLAGS =
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
am_kf_OBJECTS = kf.$(OBJEXT)
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
kf_OBJECTS = $(am_kf_OBJECTS)
|
|
||||||
kf_LDADD = $(LDADD)
|
|
||||||
kf_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
kf_LDFLAGS =
|
|
||||||
am_kfd_OBJECTS = kfd.$(OBJEXT)
|
|
||||||
kfd_OBJECTS = $(am_kfd_OBJECTS)
|
|
||||||
kfd_LDADD = $(LDADD)
|
|
||||||
kfd_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
kfd_LDFLAGS =
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(kf_SOURCES) $(kfd_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
man1dir = $(mandir)/man1
|
CFLAGS = @CFLAGS@
|
||||||
man8dir = $(mandir)/man8
|
DIST_SOURCES = $(kf_SOURCES) $(kfd_SOURCES)
|
||||||
|
|
||||||
|
NROFF = nroff
|
||||||
MANS = $(man_MANS)
|
MANS = $(man_MANS)
|
||||||
depcomp =
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
DIST_COMMON = Makefile.am Makefile.in
|
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(kf_SOURCES) $(kfd_SOURCES)
|
SOURCES = $(kf_SOURCES) $(kfd_SOURCES)
|
||||||
OBJECTS = $(am_kf_OBJECTS) $(am_kfd_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/kf/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-binPROGRAMS:
|
|
||||||
|
|
||||||
clean-binPROGRAMS:
|
|
||||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-binPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-binPROGRAMS:
|
|
||||||
|
|
||||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-binPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
clean-libexecPROGRAMS:
|
|
||||||
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-libexecPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -337,27 +265,92 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/kf/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-binPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
kf$(EXEEXT): $(kf_OBJECTS) $(kf_DEPENDENCIES)
|
clean-binPROGRAMS:
|
||||||
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||||
|
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
|
uninstall-libexecPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
|
clean-libexecPROGRAMS:
|
||||||
|
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
||||||
|
kf$(EXEEXT): $(kf_OBJECTS) $(kf_DEPENDENCIES)
|
||||||
@rm -f kf$(EXEEXT)
|
@rm -f kf$(EXEEXT)
|
||||||
$(LINK) $(kf_LDFLAGS) $(kf_OBJECTS) $(kf_LDADD) $(LIBS)
|
$(LINK) $(kf_LDFLAGS) $(kf_OBJECTS) $(kf_LDADD) $(LIBS)
|
||||||
|
kfd$(EXEEXT): $(kfd_OBJECTS) $(kfd_DEPENDENCIES)
|
||||||
kfd$(EXEEXT): $(kfd_OBJECTS) $(kfd_DEPENDENCIES)
|
|
||||||
@rm -f kfd$(EXEEXT)
|
@rm -f kfd$(EXEEXT)
|
||||||
$(LINK) $(kfd_LDFLAGS) $(kfd_OBJECTS) $(kfd_LDADD) $(LIBS)
|
$(LINK) $(kfd_LDFLAGS) $(kfd_OBJECTS) $(kfd_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
.c.lo:
|
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
|
||||||
|
|
||||||
install-man1:
|
.c.lo:
|
||||||
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
man1dir = $(mandir)/man1
|
||||||
|
install-man1: $(man1_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
||||||
@list='$(man1_MANS)'; \
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.1*) list="$$list $$i" ;; \
|
*.1*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -372,10 +365,11 @@ install-man1:
|
||||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-man1:
|
uninstall-man1:
|
||||||
@list='$(man1_MANS)'; \
|
@$(NORMAL_UNINSTALL)
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.1*) list="$$list $$i" ;; \
|
*.1*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -389,10 +383,13 @@ uninstall-man1:
|
||||||
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
install-man8:
|
man8dir = $(mandir)/man8
|
||||||
|
install-man8: $(man8_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
||||||
@list='$(man8_MANS)'; \
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.8*) list="$$list $$i" ;; \
|
*.8*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -407,10 +404,11 @@ install-man8:
|
||||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-man8:
|
uninstall-man8:
|
||||||
@list='$(man8_MANS)'; \
|
@$(NORMAL_UNINSTALL)
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.8*) list="$$list $$i" ;; \
|
*.8*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -423,12 +421,6 @@ uninstall-man8:
|
||||||
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
done
|
done
|
||||||
install-man: $(MANS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
|
|
||||||
uninstall-man:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
|
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -457,22 +449,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -482,93 +475,98 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) $(MANS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-man install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
|
installcheck: installcheck-am
|
||||||
uninstall-man
|
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) $(MANS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-compile mostlyclean-libtool \
|
|
||||||
mostlyclean-tags mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-binPROGRAMS clean-libexecPROGRAMS clean-compile \
|
|
||||||
clean-libtool clean-tags clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-binPROGRAMS distclean-libexecPROGRAMS \
|
clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
|
||||||
distclean-compile distclean-libtool distclean-tags \
|
clean-libtool mostlyclean-am
|
||||||
distclean-generic clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-binPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-libexecPROGRAMS \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
dvi: dvi-am
|
||||||
distclean-am
|
|
||||||
@echo "This command is intended for maintainers to use;"
|
dvi-am:
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local install-man
|
||||||
|
|
||||||
|
install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man: install-man1 install-man8
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
|
||||||
mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
|
mostlyclean: mostlyclean-am
|
||||||
clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
|
|
||||||
uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
distclean-compile clean-compile maintainer-clean-compile \
|
mostlyclean-libtool
|
||||||
mostlyclean-libtool distclean-libtool clean-libtool \
|
|
||||||
maintainer-clean-libtool install-man1 uninstall-man1 install-man8 \
|
uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
|
||||||
uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
|
uninstall-libexecPROGRAMS uninstall-man
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
uninstall-man: uninstall-man1 uninstall-man8
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
clean-libtool distclean distclean-compile distclean-generic \
|
||||||
mostlyclean distclean maintainer-clean
|
distclean-libtool distclean-tags distdir dvi dvi-am info \
|
||||||
|
info-am install install-am install-binPROGRAMS install-data \
|
||||||
|
install-data-am install-data-local install-exec install-exec-am \
|
||||||
|
install-info install-info-am install-libexecPROGRAMS \
|
||||||
|
install-man install-man1 install-man8 install-strip \
|
||||||
|
installcheck installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
||||||
|
uninstall-am uninstall-binPROGRAMS uninstall-info-am \
|
||||||
|
uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
|
||||||
|
uninstall-man8
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -698,7 +696,6 @@ check-local::
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -1,3 +1,24 @@
|
||||||
|
2001-09-17 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* kx.h: add a kludge to make it build on aix (that defines NOERROR
|
||||||
|
in both sys/stream.h and arpa/nameser.h and considers that a fatal
|
||||||
|
error)
|
||||||
|
|
||||||
|
2001-07-12 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* common.c (connect_local_xsocket): handle a tcp socket as last
|
||||||
|
resort
|
||||||
|
|
||||||
|
* rxterm.in: add -K (send arguments to kx)
|
||||||
|
* rxtelnet.in: add -K (send arguments to kx)
|
||||||
|
|
||||||
|
2001-06-21 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* rxterm.in: add -b for pointing to the rsh program. from
|
||||||
|
<mikan@mikan.net>
|
||||||
|
* rxtelnet.in: add -b for pointing to the telnet program. from
|
||||||
|
<mikan@mikan.net>
|
||||||
|
|
||||||
2001-01-17 Johan Danielsson <joda@pdc.kth.se>
|
2001-01-17 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
* common.c: don't write to string constants
|
* common.c: don't write to string constants
|
||||||
|
@ -18,6 +39,10 @@
|
||||||
* krb4.c (krb4_copy_encrypted): check that fds are not too large
|
* krb4.c (krb4_copy_encrypted): check that fds are not too large
|
||||||
to select on
|
to select on
|
||||||
|
|
||||||
|
2000-07-17 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* Makefile.am: use conditional for X
|
||||||
|
|
||||||
2000-06-10 Assar Westerlund <assar@sics.se>
|
2000-06-10 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
* Makefile.in: use INSTALL_SCRIPT for installing rxterm, rxtelnet,
|
* Makefile.in: use INSTALL_SCRIPT for installing rxterm, rxtelnet,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.12 2000/11/15 22:51:08 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,37 +114,33 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.12 2000/11/15 22:51:08 assar Exp $
|
WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(X_CFLAGS)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(X_CFLAGS)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -151,8 +158,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -174,33 +181,33 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
WFLAGS = @WFLAGS@ $(WFLAGS_NOIMPLICITINT)
|
@HAVE_X_TRUE@bin_PROGRAMS = kx
|
||||||
|
|
||||||
@HAVE_X_TRUE@bin_PROGRAMS = @HAVE_X_TRUE@kx
|
|
||||||
@HAVE_X_FALSE@bin_PROGRAMS =
|
@HAVE_X_FALSE@bin_PROGRAMS =
|
||||||
@HAVE_X_TRUE@bin_SCRIPTS = @HAVE_X_TRUE@rxterm rxtelnet tenletxr
|
@HAVE_X_TRUE@bin_SCRIPTS = rxterm rxtelnet tenletxr
|
||||||
@HAVE_X_FALSE@bin_SCRIPTS =
|
@HAVE_X_FALSE@bin_SCRIPTS =
|
||||||
@HAVE_X_TRUE@libexec_PROGRAMS = @HAVE_X_TRUE@kxd
|
@HAVE_X_TRUE@libexec_PROGRAMS = kxd
|
||||||
@HAVE_X_FALSE@libexec_PROGRAMS =
|
@HAVE_X_FALSE@libexec_PROGRAMS =
|
||||||
|
|
||||||
CLEANFILES = rxterm rxtelnet tenletxr
|
CLEANFILES = rxterm rxtelnet tenletxr
|
||||||
|
|
||||||
@NEED_WRITEAUTH_TRUE@XauWriteAuth_c = @NEED_WRITEAUTH_TRUE@writeauth.c
|
@NEED_WRITEAUTH_TRUE@XauWriteAuth_c = writeauth.c
|
||||||
|
|
||||||
kx_SOURCES = \
|
kx_SOURCES = \
|
||||||
kx.c \
|
kx.c \
|
||||||
|
@ -240,155 +247,80 @@ LDADD = \
|
||||||
|
|
||||||
subdir = appl/kx
|
subdir = appl/kx
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
@HAVE_X_FALSE@bin_PROGRAMS =
|
@HAVE_X_TRUE@bin_PROGRAMS = kx$(EXEEXT)
|
||||||
@HAVE_X_FALSE@libexec_PROGRAMS =
|
@HAVE_X_FALSE@bin_PROGRAMS =
|
||||||
PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
|
@HAVE_X_TRUE@libexec_PROGRAMS = kxd$(EXEEXT)
|
||||||
|
@HAVE_X_FALSE@libexec_PROGRAMS =
|
||||||
|
PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
|
||||||
|
|
||||||
|
@NEED_WRITEAUTH_TRUE@am_kx_OBJECTS = kx.$(OBJEXT) common.$(OBJEXT) \
|
||||||
|
@NEED_WRITEAUTH_TRUE@ context.$(OBJEXT) krb4.$(OBJEXT) \
|
||||||
|
@NEED_WRITEAUTH_TRUE@ krb5.$(OBJEXT) writeauth.$(OBJEXT)
|
||||||
|
@NEED_WRITEAUTH_FALSE@am_kx_OBJECTS = kx.$(OBJEXT) common.$(OBJEXT) \
|
||||||
|
@NEED_WRITEAUTH_FALSE@ context.$(OBJEXT) krb4.$(OBJEXT) \
|
||||||
|
@NEED_WRITEAUTH_FALSE@ krb5.$(OBJEXT)
|
||||||
|
kx_OBJECTS = $(am_kx_OBJECTS)
|
||||||
|
kx_LDADD = $(LDADD)
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@kx_DEPENDENCIES = \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@KRB4_FALSE@@KRB5_FALSE@kx_DEPENDENCIES =
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@kx_DEPENDENCIES = \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/kafs/libkafs.la \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@kx_DEPENDENCIES = \
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@ $(top_builddir)/lib/kafs/libkafs.la
|
||||||
|
kx_LDFLAGS =
|
||||||
|
@NEED_WRITEAUTH_TRUE@am_kxd_OBJECTS = kxd.$(OBJEXT) common.$(OBJEXT) \
|
||||||
|
@NEED_WRITEAUTH_TRUE@ context.$(OBJEXT) krb4.$(OBJEXT) \
|
||||||
|
@NEED_WRITEAUTH_TRUE@ krb5.$(OBJEXT) writeauth.$(OBJEXT)
|
||||||
|
@NEED_WRITEAUTH_FALSE@am_kxd_OBJECTS = kxd.$(OBJEXT) common.$(OBJEXT) \
|
||||||
|
@NEED_WRITEAUTH_FALSE@ context.$(OBJEXT) krb4.$(OBJEXT) \
|
||||||
|
@NEED_WRITEAUTH_FALSE@ krb5.$(OBJEXT)
|
||||||
|
kxd_OBJECTS = $(am_kxd_OBJECTS)
|
||||||
|
kxd_LDADD = $(LDADD)
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@kxd_DEPENDENCIES = \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@KRB4_FALSE@@KRB5_FALSE@kxd_DEPENDENCIES =
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@kxd_DEPENDENCIES = \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/kafs/libkafs.la \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@kxd_DEPENDENCIES = \
|
||||||
|
@KRB4_TRUE@@KRB5_FALSE@ $(top_builddir)/lib/kafs/libkafs.la
|
||||||
|
kxd_LDFLAGS =
|
||||||
|
SCRIPTS = $(bin_SCRIPTS)
|
||||||
|
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
@NEED_WRITEAUTH_FALSE@am_kx_OBJECTS = kx.$(OBJEXT) common.$(OBJEXT) \
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
@NEED_WRITEAUTH_FALSE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT)
|
|
||||||
@NEED_WRITEAUTH_TRUE@am_kx_OBJECTS = kx.$(OBJEXT) common.$(OBJEXT) \
|
|
||||||
@NEED_WRITEAUTH_TRUE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT) \
|
|
||||||
@NEED_WRITEAUTH_TRUE@writeauth.$(OBJEXT)
|
|
||||||
kx_OBJECTS = $(am_kx_OBJECTS)
|
|
||||||
kx_LDADD = $(LDADD)
|
|
||||||
@KRB4_FALSE@@KRB5_FALSE@kx_DEPENDENCIES =
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@kx_DEPENDENCIES = \
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@kx_DEPENDENCIES = \
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@kx_DEPENDENCIES = \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
kx_LDFLAGS =
|
|
||||||
@NEED_WRITEAUTH_FALSE@am_kxd_OBJECTS = kxd.$(OBJEXT) common.$(OBJEXT) \
|
|
||||||
@NEED_WRITEAUTH_FALSE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT)
|
|
||||||
@NEED_WRITEAUTH_TRUE@am_kxd_OBJECTS = kxd.$(OBJEXT) common.$(OBJEXT) \
|
|
||||||
@NEED_WRITEAUTH_TRUE@context.$(OBJEXT) krb4.$(OBJEXT) krb5.$(OBJEXT) \
|
|
||||||
@NEED_WRITEAUTH_TRUE@writeauth.$(OBJEXT)
|
|
||||||
kxd_OBJECTS = $(am_kxd_OBJECTS)
|
|
||||||
kxd_LDADD = $(LDADD)
|
|
||||||
@KRB4_FALSE@@KRB5_FALSE@kxd_DEPENDENCIES =
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@kxd_DEPENDENCIES = \
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@kxd_DEPENDENCIES = \
|
|
||||||
@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@kxd_DEPENDENCIES = \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
kxd_LDFLAGS =
|
|
||||||
SCRIPTS = $(bin_SCRIPTS)
|
|
||||||
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(kx_SOURCES) $(EXTRA_kx_SOURCES) $(kxd_SOURCES) \
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
$(EXTRA_kxd_SOURCES)
|
CFLAGS = @CFLAGS@
|
||||||
man1dir = $(mandir)/man1
|
DIST_SOURCES = $(kx_SOURCES) $(EXTRA_kx_SOURCES) $(kxd_SOURCES) \
|
||||||
man8dir = $(mandir)/man8
|
$(EXTRA_kxd_SOURCES)
|
||||||
|
|
||||||
|
NROFF = nroff
|
||||||
MANS = $(man_MANS)
|
MANS = $(man_MANS)
|
||||||
depcomp =
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
||||||
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(kx_SOURCES) $(EXTRA_kx_SOURCES) $(kxd_SOURCES) $(EXTRA_kxd_SOURCES)
|
SOURCES = $(kx_SOURCES) $(EXTRA_kx_SOURCES) $(kxd_SOURCES) $(EXTRA_kxd_SOURCES)
|
||||||
OBJECTS = $(am_kx_OBJECTS) $(am_kxd_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/kx/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-binPROGRAMS:
|
|
||||||
|
|
||||||
clean-binPROGRAMS:
|
|
||||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-binPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-binPROGRAMS:
|
|
||||||
|
|
||||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-binPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
clean-libexecPROGRAMS:
|
|
||||||
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-libexecPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -397,17 +329,68 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/kx/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-binPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
kx$(EXEEXT): $(kx_OBJECTS) $(kx_DEPENDENCIES)
|
clean-binPROGRAMS:
|
||||||
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||||
|
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
|
uninstall-libexecPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
|
clean-libexecPROGRAMS:
|
||||||
|
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
||||||
|
kx$(EXEEXT): $(kx_OBJECTS) $(kx_DEPENDENCIES)
|
||||||
@rm -f kx$(EXEEXT)
|
@rm -f kx$(EXEEXT)
|
||||||
$(LINK) $(kx_LDFLAGS) $(kx_OBJECTS) $(kx_LDADD) $(LIBS)
|
$(LINK) $(kx_LDFLAGS) $(kx_OBJECTS) $(kx_LDADD) $(LIBS)
|
||||||
|
kxd$(EXEEXT): $(kxd_OBJECTS) $(kxd_DEPENDENCIES)
|
||||||
kxd$(EXEEXT): $(kxd_OBJECTS) $(kxd_DEPENDENCIES)
|
|
||||||
@rm -f kxd$(EXEEXT)
|
@rm -f kxd$(EXEEXT)
|
||||||
$(LINK) $(kxd_LDFLAGS) $(kxd_OBJECTS) $(kxd_LDADD) $(LIBS)
|
$(LINK) $(kxd_LDFLAGS) $(kxd_OBJECTS) $(kxd_LDADD) $(LIBS)
|
||||||
|
|
||||||
install-binSCRIPTS: $(bin_SCRIPTS)
|
install-binSCRIPTS: $(bin_SCRIPTS)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
@ -429,17 +412,30 @@ uninstall-binSCRIPTS:
|
||||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
.c.lo:
|
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
|
||||||
|
|
||||||
install-man1:
|
.c.lo:
|
||||||
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
man1dir = $(mandir)/man1
|
||||||
|
install-man1: $(man1_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
||||||
@list='$(man1_MANS)'; \
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.1*) list="$$list $$i" ;; \
|
*.1*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -454,10 +450,11 @@ install-man1:
|
||||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-man1:
|
uninstall-man1:
|
||||||
@list='$(man1_MANS)'; \
|
@$(NORMAL_UNINSTALL)
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.1*) list="$$list $$i" ;; \
|
*.1*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -471,10 +468,13 @@ uninstall-man1:
|
||||||
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
install-man8:
|
man8dir = $(mandir)/man8
|
||||||
|
install-man8: $(man8_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
||||||
@list='$(man8_MANS)'; \
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.8*) list="$$list $$i" ;; \
|
*.8*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -489,10 +489,11 @@ install-man8:
|
||||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-man8:
|
uninstall-man8:
|
||||||
@list='$(man8_MANS)'; \
|
@$(NORMAL_UNINSTALL)
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.8*) list="$$list $$i" ;; \
|
*.8*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -505,12 +506,6 @@ uninstall-man8:
|
||||||
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
done
|
done
|
||||||
install-man: $(MANS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
|
|
||||||
uninstall-man:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
|
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -539,22 +534,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -564,96 +560,101 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-binPROGRAMS install-libexecPROGRAMS \
|
|
||||||
install-binSCRIPTS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-man install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
|
installcheck: installcheck-am
|
||||||
uninstall-binSCRIPTS uninstall-man
|
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) \
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
$(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 \
|
|
||||||
$(DESTDIR)$(mandir)/man8
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-compile mostlyclean-libtool \
|
|
||||||
mostlyclean-tags mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-binPROGRAMS clean-libexecPROGRAMS clean-compile \
|
|
||||||
clean-libtool clean-tags clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-binPROGRAMS distclean-libexecPROGRAMS \
|
clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
|
||||||
distclean-compile distclean-libtool distclean-tags \
|
clean-libtool mostlyclean-am
|
||||||
distclean-generic clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-binPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-libexecPROGRAMS \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
dvi: dvi-am
|
||||||
distclean-am
|
|
||||||
@echo "This command is intended for maintainers to use;"
|
dvi-am:
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local install-man
|
||||||
|
|
||||||
|
install-exec-am: install-binPROGRAMS install-binSCRIPTS \
|
||||||
|
install-libexecPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man: install-man1 install-man8
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
|
||||||
mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
|
mostlyclean: mostlyclean-am
|
||||||
clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
|
|
||||||
uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
distclean-compile clean-compile maintainer-clean-compile \
|
mostlyclean-libtool
|
||||||
mostlyclean-libtool distclean-libtool clean-libtool \
|
|
||||||
maintainer-clean-libtool uninstall-binSCRIPTS install-binSCRIPTS \
|
uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
|
||||||
install-man1 uninstall-man1 install-man8 uninstall-man8 install-man \
|
uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
|
||||||
uninstall-man tags mostlyclean-tags distclean-tags clean-tags \
|
|
||||||
maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
|
uninstall-man: uninstall-man1 uninstall-man8
|
||||||
check-am installcheck-am installcheck install-exec-am install-exec \
|
|
||||||
install-data-local install-data-am install-data install-am install \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
uninstall-am uninstall all-local all-redirect all-am all install-strip \
|
clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
|
||||||
installdirs mostlyclean-generic distclean-generic clean-generic \
|
clean-libtool distclean distclean-compile distclean-generic \
|
||||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
distclean-libtool distclean-tags distdir dvi dvi-am info \
|
||||||
|
info-am install install-am install-binPROGRAMS \
|
||||||
|
install-binSCRIPTS install-data install-data-am \
|
||||||
|
install-data-local install-exec install-exec-am install-info \
|
||||||
|
install-info-am install-libexecPROGRAMS install-man \
|
||||||
|
install-man1 install-man8 install-strip installcheck \
|
||||||
|
installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
||||||
|
uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \
|
||||||
|
uninstall-info-am uninstall-libexecPROGRAMS uninstall-man \
|
||||||
|
uninstall-man1 uninstall-man8
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -795,7 +796,6 @@ rxtelnet: rxtelnet.in
|
||||||
tenletxr: tenletxr.in
|
tenletxr: tenletxr.in
|
||||||
sed -e "s!%bindir%!$(bindir)!" $(srcdir)/tenletxr.in > $@
|
sed -e "s!%bindir%!$(bindir)!" $(srcdir)/tenletxr.in > $@
|
||||||
chmod +x $@
|
chmod +x $@
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include "kx.h"
|
#include "kx.h"
|
||||||
|
|
||||||
RCSID("$Id: common.c,v 1.62 2001/02/15 04:20:51 assar Exp $");
|
RCSID("$Id: common.c,v 1.65 2001/08/26 01:40:38 assar Exp $");
|
||||||
|
|
||||||
char x_socket[MaxPathLen];
|
char x_socket[MaxPathLen];
|
||||||
|
|
||||||
|
@ -347,7 +347,7 @@ chown_xsockets (int n, struct x_socket *sockets, uid_t uid, gid_t gid)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Connect to local display `dnr' with local transport.
|
* Connect to local display `dnr' with local transport or TCP.
|
||||||
* Return a file descriptor.
|
* Return a file descriptor.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -355,18 +355,34 @@ int
|
||||||
connect_local_xsocket (unsigned dnr)
|
connect_local_xsocket (unsigned dnr)
|
||||||
{
|
{
|
||||||
int fd;
|
int fd;
|
||||||
struct sockaddr_un addr;
|
|
||||||
char **path;
|
char **path;
|
||||||
|
|
||||||
for (path = x_sockets; *path; ++path) {
|
for (path = x_sockets; *path; ++path) {
|
||||||
|
struct sockaddr_un addr;
|
||||||
|
|
||||||
fd = socket (AF_UNIX, SOCK_STREAM, 0);
|
fd = socket (AF_UNIX, SOCK_STREAM, 0);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
err (1, "socket AF_UNIX");
|
break;
|
||||||
memset (&addr, 0, sizeof(addr));
|
memset (&addr, 0, sizeof(addr));
|
||||||
addr.sun_family = AF_UNIX;
|
addr.sun_family = AF_UNIX;
|
||||||
snprintf (addr.sun_path, sizeof(addr.sun_path), *path, dnr);
|
snprintf (addr.sun_path, sizeof(addr.sun_path), *path, dnr);
|
||||||
if (connect (fd, (struct sockaddr *)&addr, sizeof(addr)) == 0)
|
if (connect (fd, (struct sockaddr *)&addr, sizeof(addr)) == 0)
|
||||||
return fd;
|
return fd;
|
||||||
|
close(fd);
|
||||||
|
}
|
||||||
|
{
|
||||||
|
struct sockaddr_in addr;
|
||||||
|
|
||||||
|
fd = socket(AF_INET, SOCK_STREAM, 0);
|
||||||
|
if (fd < 0)
|
||||||
|
err (1, "socket AF_INET");
|
||||||
|
memset (&addr, 0, sizeof(addr));
|
||||||
|
addr.sin_family = AF_INET;
|
||||||
|
addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
||||||
|
addr.sin_port = htons(6000 + dnr);
|
||||||
|
if (connect(fd, (struct sockaddr *)&addr, sizeof(addr)) == 0)
|
||||||
|
return fd;
|
||||||
|
close(fd);
|
||||||
}
|
}
|
||||||
err (1, "connecting to local display %u", dnr);
|
err (1, "connecting to local display %u", dnr);
|
||||||
}
|
}
|
||||||
|
@ -405,10 +421,10 @@ create_and_write_cookie (char *xauthfile,
|
||||||
auth.name_length = strlen(auth.name);
|
auth.name_length = strlen(auth.name);
|
||||||
auth.data_length = cookie_sz;
|
auth.data_length = cookie_sz;
|
||||||
auth.data = (char*)cookie;
|
auth.data = (char*)cookie;
|
||||||
#ifdef HAVE_OPENSSL_DES_H
|
#ifdef KRB5
|
||||||
krb5_generate_random_block (cookie, cookie_sz);
|
krb5_generate_random_block (cookie, cookie_sz);
|
||||||
#else
|
#else
|
||||||
des_rand_data (cookie, cookie_sz);
|
krb_generate_random_block (cookie, cookie_sz);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
strlcpy(xauthfile, "/tmp/AXXXXXX", xauthfile_size);
|
strlcpy(xauthfile, "/tmp/AXXXXXX", xauthfile_size);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1995 - 2000 Kungliga Tekniska Högskolan
|
* Copyright (c) 1995 - 2001 Kungliga Tekniska Högskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: kx.h,v 1.38 2000/02/06 05:52:03 assar Exp $ */
|
/* $Id: kx.h,v 1.39 2001/09/17 01:59:41 assar Exp $ */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
@ -107,6 +107,10 @@
|
||||||
#include <sys/stropts.h>
|
#include <sys/stropts.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* defined by aix's sys/stream.h and again by arpa/nameser.h */
|
||||||
|
|
||||||
|
#undef NOERROR
|
||||||
|
|
||||||
/* as far as we know, this is only used with later versions of Slowlaris */
|
/* as far as we know, this is only used with later versions of Slowlaris */
|
||||||
#if SunOS >= 50 && defined(HAVE_SYS_STROPTS_H) && defined(HAVE_FATTACH) && defined(I_PUSH)
|
#if SunOS >= 50 && defined(HAVE_SYS_STROPTS_H) && defined(HAVE_FATTACH) && defined(I_PUSH)
|
||||||
#define MAY_HAVE_X11_PIPES
|
#define MAY_HAVE_X11_PIPES
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $Id: rxtelnet.1,v 1.6 2001/01/11 16:16:26 assar Exp $
|
.\" $Id: rxtelnet.1,v 1.9 2001/07/12 09:28:24 assar Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd September 27, 1996
|
.Dd September 27, 1996
|
||||||
.Dt RXTELNET 1
|
.Dt RXTELNET 1
|
||||||
|
@ -13,8 +13,11 @@ start a telnet and forward X-connections.
|
||||||
.Op Fl k
|
.Op Fl k
|
||||||
.Op Fl t Ar telnet_args
|
.Op Fl t Ar telnet_args
|
||||||
.Op Fl x Ar xterm_args
|
.Op Fl x Ar xterm_args
|
||||||
|
.Op Fl K Ar kx_args
|
||||||
.Op Fl w Ar term_emulator
|
.Op Fl w Ar term_emulator
|
||||||
|
.Op Fl b Ar telnet_program
|
||||||
.Op Fl n
|
.Op Fl n
|
||||||
|
.Op Fl v
|
||||||
.Ar host
|
.Ar host
|
||||||
.Op Ar port
|
.Op Ar port
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -46,12 +49,23 @@ Send
|
||||||
.Ar xterm_args
|
.Ar xterm_args
|
||||||
as arguments to
|
as arguments to
|
||||||
.Nm xterm
|
.Nm xterm
|
||||||
|
.It Fl X
|
||||||
|
Send
|
||||||
|
.Ar kx_args
|
||||||
|
as arguments to
|
||||||
|
.Nm kx
|
||||||
.It Fl w
|
.It Fl w
|
||||||
Use
|
Use
|
||||||
.Ar term_emulator
|
.Ar term_emulator
|
||||||
instead of xterm.
|
instead of xterm.
|
||||||
|
.It Fl b
|
||||||
|
Use
|
||||||
|
.Ar telnet_program
|
||||||
|
instead of telnet.
|
||||||
.It Fl n
|
.It Fl n
|
||||||
Do not start any terminal emulator.
|
Do not start any terminal emulator.
|
||||||
|
.It Fl v
|
||||||
|
Be verbose.
|
||||||
.El
|
.El
|
||||||
.Sh EXAMPLE
|
.Sh EXAMPLE
|
||||||
To login from host
|
To login from host
|
||||||
|
@ -73,8 +87,8 @@ to
|
||||||
In this window you will be able to start X clients.
|
In this window you will be able to start X clients.
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr rxterm 1 ,
|
|
||||||
.Xr tenletxr 1 ,
|
|
||||||
.Xr kx 1 ,
|
.Xr kx 1 ,
|
||||||
.Xr kxd 8 ,
|
.Xr rxterm 1 ,
|
||||||
.Xr telnet 1
|
.Xr telnet 1 ,
|
||||||
|
.Xr tenletxr 1 ,
|
||||||
|
.Xr kxd 8
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $Id: rxtelnet.in,v 1.26 1999/02/04 21:19:50 assar Exp $
|
# $Id: rxtelnet.in,v 1.28 2001/07/12 09:28:11 assar Exp $
|
||||||
#
|
#
|
||||||
usage="Usage: $0 [-l username] [-k] [-t args_to_telnet] [-x args_to_xterm] [-w term_emulator] [-n] [-v] [-h | --help] [--version] host [port]"
|
usage="Usage: $0 [-l username] [-k] [-t args_to_telnet] [-x args_to_xterm] [-K args_to_kx] [-w term_emulator] [-b telnet_binary] [-n] [-v] [-h | --help] [--version] host [port]"
|
||||||
|
binary=telnet
|
||||||
term=
|
term=
|
||||||
kx_args=-P
|
kx_args=-P
|
||||||
while true
|
while true
|
||||||
|
@ -11,8 +12,10 @@ do
|
||||||
-t) telnet_args="${telnet_args} $2 "; shift 2;;
|
-t) telnet_args="${telnet_args} $2 "; shift 2;;
|
||||||
-x) xterm_args="${xterm_args} $2 "; shift 2;;
|
-x) xterm_args="${xterm_args} $2 "; shift 2;;
|
||||||
-k) kx_args="${kx_args} -k"; shift;;
|
-k) kx_args="${kx_args} -k"; shift;;
|
||||||
|
-K) kx_args="${kx_args} $2 "; shift 2;;
|
||||||
-n) term=none; shift;;
|
-n) term=none; shift;;
|
||||||
-w) term=$2; shift 2;;
|
-w) term=$2; shift 2;;
|
||||||
|
-b) binary=$2; shift 2;;
|
||||||
--version) echo "$0: %PACKAGE% %VERSION%"; exit 0;;
|
--version) echo "$0: %PACKAGE% %VERSION%"; exit 0;;
|
||||||
-h) echo $usage; exit 0;;
|
-h) echo $usage; exit 0;;
|
||||||
--help) echo $usage; exit 0;;
|
--help) echo $usage; exit 0;;
|
||||||
|
@ -54,10 +57,10 @@ if test -z "$term"; then
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
test "$verb" && echo "Telnet command used is `type telnet`."
|
test "$verb" && echo "Telnet command used is `type $binary`."
|
||||||
if test -n "$term" -a "$term" != "none"; then
|
if test -n "$term" -a "$term" != "none"; then
|
||||||
($term -title $title -n $title $xterm_args -e env DISPLAY=$disp XAUTHORITY=$auth telnet -D $telnet_args $host $port; kill -USR2 $pid) &
|
($term -title $title -n $title $xterm_args -e env DISPLAY=$disp XAUTHORITY=$auth $binary -D $telnet_args $host $port; kill -USR2 $pid) &
|
||||||
else
|
else
|
||||||
env DISPLAY=$disp XAUTHORITY=$auth telnet -D $telnet_args $host $port
|
env DISPLAY=$disp XAUTHORITY=$auth $binary -D $telnet_args $host $port
|
||||||
kill -USR2 $pid
|
kill -USR2 $pid
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $Id: rxterm.1,v 1.4 1997/06/03 00:58:23 assar Exp $
|
.\" $Id: rxterm.1,v 1.7 2001/07/12 09:35:26 assar Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd September 27, 1996
|
.Dd September 27, 1996
|
||||||
.Dt RXTERM 1
|
.Dt RXTERM 1
|
||||||
|
@ -13,7 +13,9 @@ start a secure remote xterm
|
||||||
.Op Fl k
|
.Op Fl k
|
||||||
.Op Fl r Ar rsh_args
|
.Op Fl r Ar rsh_args
|
||||||
.Op Fl x Ar xterm_args
|
.Op Fl x Ar xterm_args
|
||||||
|
.Op Fl K Ar kx_args
|
||||||
.Op Fl w Ar term_emulator
|
.Op Fl w Ar term_emulator
|
||||||
|
.Op Fl b Ar rsh_program
|
||||||
.Ar host
|
.Ar host
|
||||||
.Op Ar port
|
.Op Ar port
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -45,10 +47,21 @@ Send
|
||||||
.Ar xterm_args
|
.Ar xterm_args
|
||||||
as arguments to
|
as arguments to
|
||||||
.Nm xterm
|
.Nm xterm
|
||||||
|
.It Fl X
|
||||||
|
Send
|
||||||
|
.Ar kx_args
|
||||||
|
as arguments to
|
||||||
|
.Nm kx
|
||||||
.It Fl w
|
.It Fl w
|
||||||
Use
|
Use
|
||||||
.Ar term_emulator
|
.Ar term_emulator
|
||||||
instead of xterm.
|
instead of xterm.
|
||||||
|
.It Fl b
|
||||||
|
Use
|
||||||
|
.Ar rsh_program
|
||||||
|
instead of rsh.
|
||||||
|
.It Fl v
|
||||||
|
Be verbose.
|
||||||
.El
|
.El
|
||||||
.Sh EXAMPLE
|
.Sh EXAMPLE
|
||||||
To login from host
|
To login from host
|
||||||
|
@ -70,8 +83,8 @@ on host
|
||||||
In this window you will be able to start X clients.
|
In this window you will be able to start X clients.
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
.Xr kx 1 ,
|
||||||
|
.Xr rsh 1 ,
|
||||||
.Xr rxtelnet 1 ,
|
.Xr rxtelnet 1 ,
|
||||||
.Xr tenletxr 1 ,
|
.Xr tenletxr 1 ,
|
||||||
.Xr kx 1 ,
|
.Xr kxd 8
|
||||||
.Xr kxd 8 ,
|
|
||||||
.Xr rsh 1
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $Id: rxterm.in,v 1.20 1999/02/04 09:29:49 assar Exp $
|
# $Id: rxterm.in,v 1.22 2001/07/12 09:35:15 assar Exp $
|
||||||
#
|
#
|
||||||
usage="Usage: $0 [-l username] [-k] [-r rsh_args] [-x xterm_args] [-w term_emulator] [-v] [-h | --help] [--version] host"
|
usage="Usage: $0 [-l username] [-k] [-r rsh_args] [-x xterm_args] [-K kx_args] [-w term_emulator] [-b rsh_binary][-v] [-h | --help] [--version] host"
|
||||||
|
binary=rsh
|
||||||
term=xterm
|
term=xterm
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
|
@ -10,7 +11,9 @@ do
|
||||||
-r) rsh_args="${rsh_args} $2 "; shift 2;;
|
-r) rsh_args="${rsh_args} $2 "; shift 2;;
|
||||||
-x) xterm_args="${xterm_args} $2 "; shift 2;;
|
-x) xterm_args="${xterm_args} $2 "; shift 2;;
|
||||||
-k) kx_args="${kx_args} -k"; shift;;
|
-k) kx_args="${kx_args} -k"; shift;;
|
||||||
|
-K) kx_args="${kx_args} $2 "; shift 2;;
|
||||||
-w) term=$2; shift 2;;
|
-w) term=$2; shift 2;;
|
||||||
|
-b) binary=$2; shift 2;;
|
||||||
--version) echo "$0: %PACKAGE% %VERSION%"; exit 0;;
|
--version) echo "$0: %PACKAGE% %VERSION%"; exit 0;;
|
||||||
-h) echo $usage; exit 0;;
|
-h) echo $usage; exit 0;;
|
||||||
--help) echo $usage; exit 0;;
|
--help) echo $usage; exit 0;;
|
||||||
|
@ -38,4 +41,4 @@ pid=$1
|
||||||
disp=${2}${screen}
|
disp=${2}${screen}
|
||||||
auth=$3
|
auth=$3
|
||||||
kill -USR1 $pid
|
kill -USR1 $pid
|
||||||
rsh -n $rsh_args $host "/bin/sh -c 'DISPLAY=$disp XAUTHORITY=$auth $term -T $title -n $title $xterm_args </dev/null >/dev/null 2>/dev/null &'"
|
$binary -n $rsh_args $host "/bin/sh -c 'DISPLAY=$disp XAUTHORITY=$auth $term -T $title -n $title $xterm_args </dev/null >/dev/null 2>/dev/null &'"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $Id: tenletxr.1,v 1.2 1997/03/31 03:43:33 assar Exp $
|
.\" $Id: tenletxr.1,v 1.3 2001/07/12 08:42:27 assar Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd March 31, 1997
|
.Dd March 31, 1997
|
||||||
.Dt TENLETXR 1
|
.Dt TENLETXR 1
|
||||||
|
@ -54,8 +54,8 @@ you own
|
||||||
.Pa /dev/console
|
.Pa /dev/console
|
||||||
on the remote host.
|
on the remote host.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
.Xr kx 1 ,
|
||||||
.Xr rxtelnet 1 ,
|
.Xr rxtelnet 1 ,
|
||||||
.Xr rxterm 1 ,
|
.Xr rxterm 1 ,
|
||||||
.Xr kx 1 ,
|
.Xr telnet 1 ,
|
||||||
.Xr kxd 8 ,
|
.Xr kxd 8
|
||||||
.Xr telnet 1
|
|
||||||
|
|
|
@ -1,3 +1,26 @@
|
||||||
|
2001-09-17 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* login.c (do_login): add setpcred
|
||||||
|
|
||||||
|
2001-07-06 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* login.c: move osf2c magic earlier. from Mark Davies
|
||||||
|
<mark@MCS.VUW.AC.NZ>
|
||||||
|
|
||||||
|
2001-06-19 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* login.c (krb5_to4): dereference result from krb5_princ_realm.
|
||||||
|
noted by Thomas Nystrom <thn@saeab.se>
|
||||||
|
|
||||||
|
2001-06-04 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* update copyright messages on Wietse Venema's code.
|
||||||
|
|
||||||
|
2001-05-31 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* login.c (krb5_to4): look for [realms]<realm>krb4_get_tickets to
|
||||||
|
decide whether to get kerberos 4 tickets
|
||||||
|
|
||||||
2001-02-08 Assar Westerlund <assar@sics.se>
|
2001-02-08 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
* utmp_login.c, utmpx_login.c: try to write a useful string as
|
* utmp_login.c, utmpx_login.c: try to write a useful string as
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.19 2000/11/15 22:51:08 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.19 2000/11/15 22:51:08 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,18 +180,20 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
|
@ -220,96 +227,45 @@ LDADD = $(LIB_otp) \
|
||||||
|
|
||||||
subdir = appl/login
|
subdir = appl/login
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
bin_PROGRAMS = login$(EXEEXT)
|
bin_PROGRAMS = login$(EXEEXT)
|
||||||
PROGRAMS = $(bin_PROGRAMS)
|
PROGRAMS = $(bin_PROGRAMS)
|
||||||
|
|
||||||
|
am_login_OBJECTS = conf.$(OBJEXT) env.$(OBJEXT) login.$(OBJEXT) \
|
||||||
|
login_access.$(OBJEXT) osfc2.$(OBJEXT) read_string.$(OBJEXT) \
|
||||||
|
shadow.$(OBJEXT) stty_default.$(OBJEXT) tty.$(OBJEXT) \
|
||||||
|
utmp_login.$(OBJEXT) utmpx_login.$(OBJEXT)
|
||||||
|
login_OBJECTS = $(am_login_OBJECTS)
|
||||||
|
login_LDADD = $(LDADD)
|
||||||
|
@KRB4_TRUE@login_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
|
||||||
|
@KRB4_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@KRB4_FALSE@login_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_FALSE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
login_LDFLAGS =
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
am_login_OBJECTS = conf.$(OBJEXT) env.$(OBJEXT) login.$(OBJEXT) \
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
login_access.$(OBJEXT) osfc2.$(OBJEXT) read_string.$(OBJEXT) \
|
|
||||||
shadow.$(OBJEXT) stty_default.$(OBJEXT) tty.$(OBJEXT) \
|
|
||||||
utmp_login.$(OBJEXT) utmpx_login.$(OBJEXT)
|
|
||||||
login_OBJECTS = $(am_login_OBJECTS)
|
|
||||||
login_LDADD = $(LDADD)
|
|
||||||
@KRB4_FALSE@login_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
@KRB4_TRUE@login_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
|
|
||||||
@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
login_LDFLAGS =
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(login_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
depcomp =
|
CFLAGS = @CFLAGS@
|
||||||
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
DIST_SOURCES = $(login_SOURCES)
|
||||||
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(login_SOURCES)
|
SOURCES = $(login_SOURCES)
|
||||||
OBJECTS = $(am_login_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/login/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-binPROGRAMS:
|
|
||||||
|
|
||||||
clean-binPROGRAMS:
|
|
||||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-binPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-binPROGRAMS:
|
|
||||||
|
|
||||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-binPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -318,18 +274,57 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/login/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-binPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
login$(EXEEXT): $(login_OBJECTS) $(login_DEPENDENCIES)
|
clean-binPROGRAMS:
|
||||||
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||||
|
login$(EXEEXT): $(login_OBJECTS) $(login_DEPENDENCIES)
|
||||||
@rm -f login$(EXEEXT)
|
@rm -f login$(EXEEXT)
|
||||||
$(LINK) $(login_LDFLAGS) $(login_OBJECTS) $(login_LDADD) $(LIBS)
|
$(LINK) $(login_LDFLAGS) $(login_OBJECTS) $(login_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -358,22 +353,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -383,85 +379,91 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-binPROGRAMS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-binPROGRAMS
|
installcheck: installcheck-am
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
|
||||||
mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
|
|
||||||
clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
|
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
|
||||||
distclean-tags distclean-generic clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-binPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
|
||||||
distclean-am
|
dvi: dvi-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local
|
||||||
|
|
||||||
|
install-exec-am: install-binPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean: mostlyclean-am
|
||||||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
||||||
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
mostlyclean-libtool
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
clean-binPROGRAMS clean-generic clean-libtool distclean \
|
||||||
mostlyclean distclean maintainer-clean
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am install-binPROGRAMS install-data install-data-am \
|
||||||
|
install-data-local install-exec install-exec-am install-info \
|
||||||
|
install-info-am install-man install-strip installcheck \
|
||||||
|
installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
||||||
|
uninstall-am uninstall-binPROGRAMS uninstall-info-am
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -596,7 +598,6 @@ $(srcdir)/login_protos.h:
|
||||||
cd $(srcdir); perl ../../cf/make-proto.pl -o login_protos.h $(login_SOURCES) || rm -f login_protos.h
|
cd $(srcdir); perl ../../cf/make-proto.pl -o login_protos.h $(login_SOURCES) || rm -f login_protos.h
|
||||||
|
|
||||||
$(login_OBJECTS): $(srcdir)/login_protos.h
|
$(login_OBJECTS): $(srcdir)/login_protos.h
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
#include <sys/capability.h>
|
#include <sys/capability.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
RCSID("$Id: login.c,v 1.47 2001/02/20 01:44:45 assar Exp $");
|
RCSID("$Id: login.c,v 1.52 2001/09/17 02:34:31 assar Exp $");
|
||||||
|
|
||||||
static int login_timeout = 60;
|
static int login_timeout = 60;
|
||||||
|
|
||||||
|
@ -174,10 +174,29 @@ krb5_verify(struct passwd *pwd, const char *password)
|
||||||
static krb5_error_code
|
static krb5_error_code
|
||||||
krb5_to4 (krb5_ccache id)
|
krb5_to4 (krb5_ccache id)
|
||||||
{
|
{
|
||||||
if (krb5_config_get_bool(context, NULL,
|
krb5_error_code ret;
|
||||||
"libdefaults",
|
krb5_principal princ;
|
||||||
"krb4_get_tickets",
|
|
||||||
NULL)) {
|
int get_v4_tgt;
|
||||||
|
|
||||||
|
get_v4_tgt = krb5_config_get_bool(context, NULL,
|
||||||
|
"libdefaults",
|
||||||
|
"krb4_get_tickets",
|
||||||
|
NULL);
|
||||||
|
|
||||||
|
ret = krb5_cc_get_principal(context, id, &princ);
|
||||||
|
if (ret == 0) {
|
||||||
|
get_v4_tgt = krb5_config_get_bool_default(context, NULL,
|
||||||
|
get_v4_tgt,
|
||||||
|
"realms",
|
||||||
|
*krb5_princ_realm(context,
|
||||||
|
princ),
|
||||||
|
"krb4_get_tickets",
|
||||||
|
NULL);
|
||||||
|
krb5_free_principal(context, princ);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (get_v4_tgt) {
|
||||||
CREDENTIALS c;
|
CREDENTIALS c;
|
||||||
krb5_creds mcred, cred;
|
krb5_creds mcred, cred;
|
||||||
char krb4tkfile[MAXPATHLEN];
|
char krb4tkfile[MAXPATHLEN];
|
||||||
|
@ -199,7 +218,7 @@ krb5_to4 (krb5_ccache id)
|
||||||
|
|
||||||
ret = krb5_cc_retrieve_cred(context, id, 0, &mcred, &cred);
|
ret = krb5_cc_retrieve_cred(context, id, 0, &mcred, &cred);
|
||||||
if(ret == 0) {
|
if(ret == 0) {
|
||||||
ret = krb524_convert_creds_kdc(context, id, &cred, &c);
|
ret = krb524_convert_creds_kdc_ccache(context, id, &cred, &c);
|
||||||
if(ret == 0) {
|
if(ret == 0) {
|
||||||
snprintf(krb4tkfile,sizeof(krb4tkfile),"%s%d",TKT_ROOT,
|
snprintf(krb4tkfile,sizeof(krb4tkfile),"%s%d",TKT_ROOT,
|
||||||
getuid());
|
getuid());
|
||||||
|
@ -449,6 +468,10 @@ do_login(const struct passwd *pwd, char *tty, char *ttyn)
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_SETPCRED
|
||||||
|
if (setpcred (pwd->pw_name, NULL) == -1)
|
||||||
|
warn("setpcred(%s)", pwd->pw_name);
|
||||||
|
#endif /* HAVE_SETPCRED */
|
||||||
#ifdef HAVE_INITGROUPS
|
#ifdef HAVE_INITGROUPS
|
||||||
if(initgroups(pwd->pw_name, pwd->pw_gid)){
|
if(initgroups(pwd->pw_name, pwd->pw_gid)){
|
||||||
warn("initgroups(%s, %u)", pwd->pw_name, (unsigned)pwd->pw_gid);
|
warn("initgroups(%s, %u)", pwd->pw_name, (unsigned)pwd->pw_gid);
|
||||||
|
@ -456,6 +479,8 @@ do_login(const struct passwd *pwd, char *tty, char *ttyn)
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if(do_osfc2_magic(pwd->pw_uid))
|
||||||
|
exit(1);
|
||||||
if(setgid(pwd->pw_gid)){
|
if(setgid(pwd->pw_gid)){
|
||||||
warn("setgid(%u)", (unsigned)pwd->pw_gid);
|
warn("setgid(%u)", (unsigned)pwd->pw_gid);
|
||||||
if(rootlogin == 0)
|
if(rootlogin == 0)
|
||||||
|
@ -472,8 +497,6 @@ do_login(const struct passwd *pwd, char *tty, char *ttyn)
|
||||||
check_shadow(pwd, sp);
|
check_shadow(pwd, sp);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(do_osfc2_magic(pwd->pw_uid))
|
|
||||||
exit(1);
|
|
||||||
#if defined(HAVE_GETUDBNAM) && defined(HAVE_SETLIM)
|
#if defined(HAVE_GETUDBNAM) && defined(HAVE_SETLIM)
|
||||||
{
|
{
|
||||||
struct udb *udb;
|
struct udb *udb;
|
||||||
|
|
|
@ -1,3 +1,19 @@
|
||||||
|
/************************************************************************
|
||||||
|
* Copyright 1995 by Wietse Venema. All rights reserved. Some individual
|
||||||
|
* files may be covered by other copyrights.
|
||||||
|
*
|
||||||
|
* This material was originally written and compiled by Wietse Venema at
|
||||||
|
* Eindhoven University of Technology, The Netherlands, in 1990, 1991,
|
||||||
|
* 1992, 1993, 1994 and 1995.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that this entire copyright notice
|
||||||
|
* is duplicated in all such copies.
|
||||||
|
*
|
||||||
|
* This software is provided "as is" and without any expressed or implied
|
||||||
|
* warranties, including, without limitation, the implied warranties of
|
||||||
|
* merchantibility and fitness for any particular purpose.
|
||||||
|
************************************************************************/
|
||||||
/*
|
/*
|
||||||
* This module implements a simple but effective form of login access
|
* This module implements a simple but effective form of login access
|
||||||
* control based on login names and on host (or domain) names, internet
|
* control based on login names and on host (or domain) names, internet
|
||||||
|
@ -9,7 +25,7 @@
|
||||||
|
|
||||||
#include "login_locl.h"
|
#include "login_locl.h"
|
||||||
|
|
||||||
RCSID("$Id: login_access.c,v 1.1 1999/05/17 22:40:05 assar Exp $");
|
RCSID("$Id: login_access.c,v 1.2 2001/06/04 14:09:45 assar Exp $");
|
||||||
|
|
||||||
/* Delimiters for fields and for lists of users, ttys or hosts. */
|
/* Delimiters for fields and for lists of users, ttys or hosts. */
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 - 2000 Kungliga Tekniska Högskolan
|
* Copyright (c) 1997 - 2001 Kungliga Tekniska Högskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: login_locl.h,v 1.20 2000/08/22 14:05:35 joda Exp $ */
|
/* $Id: login_locl.h,v 1.22 2001/09/22 11:47:37 assar Exp $ */
|
||||||
|
|
||||||
#ifndef __LOGIN_LOCL_H__
|
#ifndef __LOGIN_LOCL_H__
|
||||||
#define __LOGIN_LOCL_H__
|
#define __LOGIN_LOCL_H__
|
||||||
|
@ -90,6 +90,12 @@
|
||||||
#include <otp.h>
|
#include <otp.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_OSFC2
|
||||||
|
#define getargs OSFgetargs
|
||||||
|
#include "/usr/include/prot.h"
|
||||||
|
#undef getargs
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _PATH_BSHELL
|
#ifndef _PATH_BSHELL
|
||||||
#define _PATH_BSHELL "/bin/sh"
|
#define _PATH_BSHELL "/bin/sh"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,8 +1,24 @@
|
||||||
|
/************************************************************************
|
||||||
|
* Copyright 1995 by Wietse Venema. All rights reserved. Some individual
|
||||||
|
* files may be covered by other copyrights.
|
||||||
|
*
|
||||||
|
* This material was originally written and compiled by Wietse Venema at
|
||||||
|
* Eindhoven University of Technology, The Netherlands, in 1990, 1991,
|
||||||
|
* 1992, 1993, 1994 and 1995.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that this entire copyright notice
|
||||||
|
* is duplicated in all such copies.
|
||||||
|
*
|
||||||
|
* This software is provided "as is" and without any expressed or implied
|
||||||
|
* warranties, including, without limitation, the implied warranties of
|
||||||
|
* merchantibility and fitness for any particular purpose.
|
||||||
|
************************************************************************/
|
||||||
/* Author: Wietse Venema <wietse@wzv.win.tue.nl> */
|
/* Author: Wietse Venema <wietse@wzv.win.tue.nl> */
|
||||||
|
|
||||||
#include "login_locl.h"
|
#include "login_locl.h"
|
||||||
|
|
||||||
RCSID("$Id: utmpx_login.c,v 1.25 2001/02/08 16:08:47 assar Exp $");
|
RCSID("$Id: utmpx_login.c,v 1.26 2001/06/04 14:10:19 assar Exp $");
|
||||||
|
|
||||||
/* utmpx_login - update utmp and wtmp after login */
|
/* utmpx_login - update utmp and wtmp after login */
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
# $Id: Makefile.am,v 1.9 2000/11/15 22:51:09 assar Exp $
|
# $Id: Makefile.am,v 1.11 2001/08/28 08:31:21 assar Exp $
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
|
INCLUDES += $(INCLUDE_des)
|
||||||
|
|
||||||
bin_PROGRAMS = otp otpprint
|
bin_PROGRAMS = otp otpprint
|
||||||
bin_SUIDS = otp
|
bin_SUIDS = otp
|
||||||
otp_SOURCES = otp.c otp_locl.h
|
otp_SOURCES = otp.c otp_locl.h
|
||||||
|
@ -10,7 +12,4 @@ otpprint_SOURCES = otpprint.c otp_locl.h
|
||||||
man_MANS = otp.1 otpprint.1
|
man_MANS = otp.1 otpprint.1
|
||||||
|
|
||||||
LDADD = \
|
LDADD = \
|
||||||
$(top_builddir)/lib/otp/libotp.la \
|
$(top_builddir)/lib/otp/libotp.la
|
||||||
$(LIB_des) \
|
|
||||||
$(LIB_roken) \
|
|
||||||
$(DBLIB)
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.11 2001/08/28 08:31:21 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.9 2000/11/15 22:51:09 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_des)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,18 +180,20 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
|
@ -198,103 +205,50 @@ otpprint_SOURCES = otpprint.c otp_locl.h
|
||||||
man_MANS = otp.1 otpprint.1
|
man_MANS = otp.1 otpprint.1
|
||||||
|
|
||||||
LDADD = \
|
LDADD = \
|
||||||
$(top_builddir)/lib/otp/libotp.la \
|
$(top_builddir)/lib/otp/libotp.la
|
||||||
$(LIB_des) \
|
|
||||||
$(LIB_roken) \
|
|
||||||
$(DBLIB)
|
|
||||||
|
|
||||||
subdir = appl/otp
|
subdir = appl/otp
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
bin_PROGRAMS = otp$(EXEEXT) otpprint$(EXEEXT)
|
bin_PROGRAMS = otp$(EXEEXT) otpprint$(EXEEXT)
|
||||||
PROGRAMS = $(bin_PROGRAMS)
|
PROGRAMS = $(bin_PROGRAMS)
|
||||||
|
|
||||||
|
am_otp_OBJECTS = otp.$(OBJEXT)
|
||||||
|
otp_OBJECTS = $(am_otp_OBJECTS)
|
||||||
|
otp_LDADD = $(LDADD)
|
||||||
|
otp_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
|
||||||
|
otp_LDFLAGS =
|
||||||
|
am_otpprint_OBJECTS = otpprint.$(OBJEXT)
|
||||||
|
otpprint_OBJECTS = $(am_otpprint_OBJECTS)
|
||||||
|
otpprint_LDADD = $(LDADD)
|
||||||
|
otpprint_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
|
||||||
|
otpprint_LDFLAGS =
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
am_otp_OBJECTS = otp.$(OBJEXT)
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
otp_OBJECTS = $(am_otp_OBJECTS)
|
|
||||||
otp_LDADD = $(LDADD)
|
|
||||||
otp_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
|
|
||||||
otp_LDFLAGS =
|
|
||||||
am_otpprint_OBJECTS = otpprint.$(OBJEXT)
|
|
||||||
otpprint_OBJECTS = $(am_otpprint_OBJECTS)
|
|
||||||
otpprint_LDADD = $(LDADD)
|
|
||||||
otpprint_DEPENDENCIES = $(top_builddir)/lib/otp/libotp.la
|
|
||||||
otpprint_LDFLAGS =
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(otp_SOURCES) $(otpprint_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
man1dir = $(mandir)/man1
|
CFLAGS = @CFLAGS@
|
||||||
|
DIST_SOURCES = $(otp_SOURCES) $(otpprint_SOURCES)
|
||||||
|
|
||||||
|
NROFF = nroff
|
||||||
MANS = $(man_MANS)
|
MANS = $(man_MANS)
|
||||||
depcomp =
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
||||||
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(otp_SOURCES) $(otpprint_SOURCES)
|
SOURCES = $(otp_SOURCES) $(otpprint_SOURCES)
|
||||||
OBJECTS = $(am_otp_OBJECTS) $(am_otpprint_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/otp/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-binPROGRAMS:
|
|
||||||
|
|
||||||
clean-binPROGRAMS:
|
|
||||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-binPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-binPROGRAMS:
|
|
||||||
|
|
||||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-binPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -303,27 +257,68 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/otp/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-binPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
otp$(EXEEXT): $(otp_OBJECTS) $(otp_DEPENDENCIES)
|
clean-binPROGRAMS:
|
||||||
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||||
|
otp$(EXEEXT): $(otp_OBJECTS) $(otp_DEPENDENCIES)
|
||||||
@rm -f otp$(EXEEXT)
|
@rm -f otp$(EXEEXT)
|
||||||
$(LINK) $(otp_LDFLAGS) $(otp_OBJECTS) $(otp_LDADD) $(LIBS)
|
$(LINK) $(otp_LDFLAGS) $(otp_OBJECTS) $(otp_LDADD) $(LIBS)
|
||||||
|
otpprint$(EXEEXT): $(otpprint_OBJECTS) $(otpprint_DEPENDENCIES)
|
||||||
otpprint$(EXEEXT): $(otpprint_OBJECTS) $(otpprint_DEPENDENCIES)
|
|
||||||
@rm -f otpprint$(EXEEXT)
|
@rm -f otpprint$(EXEEXT)
|
||||||
$(LINK) $(otpprint_LDFLAGS) $(otpprint_OBJECTS) $(otpprint_LDADD) $(LIBS)
|
$(LINK) $(otpprint_LDFLAGS) $(otpprint_OBJECTS) $(otpprint_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
.c.lo:
|
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
|
||||||
|
|
||||||
install-man1:
|
.c.lo:
|
||||||
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
man1dir = $(mandir)/man1
|
||||||
|
install-man1: $(man1_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
||||||
@list='$(man1_MANS)'; \
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.1*) list="$$list $$i" ;; \
|
*.1*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -338,10 +333,11 @@ install-man1:
|
||||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-man1:
|
uninstall-man1:
|
||||||
@list='$(man1_MANS)'; \
|
@$(NORMAL_UNINSTALL)
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.1*) list="$$list $$i" ;; \
|
*.1*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -354,12 +350,6 @@ uninstall-man1:
|
||||||
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
||||||
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
||||||
done
|
done
|
||||||
install-man: $(MANS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-man1
|
|
||||||
uninstall-man:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
|
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -388,22 +378,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -413,86 +404,94 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) $(MANS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-binPROGRAMS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-man install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-binPROGRAMS uninstall-man
|
installcheck: installcheck-am
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) $(MANS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
|
||||||
mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
|
|
||||||
clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
|
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
|
||||||
distclean-tags distclean-generic clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-binPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
|
||||||
distclean-am
|
dvi: dvi-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local install-man
|
||||||
|
|
||||||
|
install-exec-am: install-binPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man: install-man1
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean: mostlyclean-am
|
||||||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
||||||
clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
install-man uninstall-man tags mostlyclean-tags distclean-tags \
|
mostlyclean-libtool
|
||||||
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
|
|
||||||
check-local check check-am installcheck-am installcheck install-exec-am \
|
uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
|
||||||
install-exec install-data-local install-data-am install-data install-am \
|
|
||||||
install uninstall-am uninstall all-local all-redirect all-am all \
|
uninstall-man: uninstall-man1
|
||||||
install-strip installdirs mostlyclean-generic distclean-generic \
|
|
||||||
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
maintainer-clean
|
clean-binPROGRAMS clean-generic clean-libtool distclean \
|
||||||
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am install-binPROGRAMS install-data install-data-am \
|
||||||
|
install-data-local install-exec install-exec-am install-info \
|
||||||
|
install-info-am install-man install-man1 install-strip \
|
||||||
|
installcheck installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
||||||
|
uninstall-am uninstall-binPROGRAMS uninstall-info-am \
|
||||||
|
uninstall-man uninstall-man1
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -622,7 +621,6 @@ check-local::
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Högskolan
|
* Copyright (c) 1995 - 2001 Kungliga Tekniska Högskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: otp_locl.h,v 1.8 2001/02/15 04:20:51 assar Exp $ */
|
/* $Id: otp_locl.h,v 1.9 2001/08/22 20:30:21 assar Exp $ */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
#endif
|
#endif
|
||||||
#include <roken.h>
|
#include <roken.h>
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#ifdef HAVE_OPENSSL_DES_H
|
#ifdef HAVE_OPENSSL
|
||||||
#include <openssl/des.h>
|
#include <openssl/des.h>
|
||||||
#else
|
#else
|
||||||
#include <des.h>
|
#include <des.h>
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
2002-02-07 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* pop_debug.c: only claim krb5 support if really present
|
||||||
|
|
||||||
|
2001-09-10 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* maildir.c: replace MAXDROPLEN with MAXPATHLEN
|
||||||
|
|
||||||
|
* popper.h: replace MAXDROPLEN with MAXPATHLEN
|
||||||
|
|
||||||
|
2001-08-13 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* popper.8: rewritten man page
|
||||||
|
|
||||||
2000-12-31 Assar Westerlund <assar@sics.se>
|
2000-12-31 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
* pop_init.c (pop_init): handle krb5_init_context failure
|
* pop_init.c (pop_init): handle krb5_init_context failure
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile.am,v 1.13 2000/11/15 22:51:09 assar Exp $
|
# $Id: Makefile.am,v 1.14 2001/08/04 03:08:02 assar Exp $
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
|
@ -27,3 +27,5 @@ LDADD = \
|
||||||
$(LIB_des) \
|
$(LIB_des) \
|
||||||
$(LIB_roken) \
|
$(LIB_roken) \
|
||||||
$(DBLIB)
|
$(DBLIB)
|
||||||
|
|
||||||
|
man_MANS = popper.8
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.14 2001/08/04 03:08:02 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.13 2000/11/15 22:51:09 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,18 +180,20 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
|
@ -216,117 +223,62 @@ LDADD = \
|
||||||
$(LIB_roken) \
|
$(LIB_roken) \
|
||||||
$(DBLIB)
|
$(DBLIB)
|
||||||
|
|
||||||
|
|
||||||
|
man_MANS = popper.8
|
||||||
subdir = appl/popper
|
subdir = appl/popper
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
libexec_PROGRAMS = popper$(EXEEXT)
|
libexec_PROGRAMS = popper$(EXEEXT)
|
||||||
noinst_PROGRAMS = pop_debug$(EXEEXT)
|
noinst_PROGRAMS = pop_debug$(EXEEXT)
|
||||||
PROGRAMS = $(libexec_PROGRAMS) $(noinst_PROGRAMS)
|
PROGRAMS = $(libexec_PROGRAMS) $(noinst_PROGRAMS)
|
||||||
|
|
||||||
|
pop_debug_SOURCES = pop_debug.c
|
||||||
|
pop_debug_OBJECTS = pop_debug.$(OBJEXT)
|
||||||
|
pop_debug_LDADD = $(LDADD)
|
||||||
|
@KRB5_TRUE@pop_debug_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@KRB5_FALSE@pop_debug_DEPENDENCIES =
|
||||||
|
pop_debug_LDFLAGS =
|
||||||
|
am_popper_OBJECTS = pop_dele.$(OBJEXT) pop_dropcopy.$(OBJEXT) \
|
||||||
|
pop_dropinfo.$(OBJEXT) pop_get_command.$(OBJEXT) \
|
||||||
|
pop_init.$(OBJEXT) pop_last.$(OBJEXT) pop_list.$(OBJEXT) \
|
||||||
|
pop_log.$(OBJEXT) pop_msg.$(OBJEXT) pop_parse.$(OBJEXT) \
|
||||||
|
pop_pass.$(OBJEXT) pop_quit.$(OBJEXT) pop_rset.$(OBJEXT) \
|
||||||
|
pop_send.$(OBJEXT) pop_stat.$(OBJEXT) pop_updt.$(OBJEXT) \
|
||||||
|
pop_user.$(OBJEXT) pop_uidl.$(OBJEXT) pop_xover.$(OBJEXT) \
|
||||||
|
popper.$(OBJEXT) maildir.$(OBJEXT)
|
||||||
|
popper_OBJECTS = $(am_popper_OBJECTS)
|
||||||
|
popper_LDADD = $(LDADD)
|
||||||
|
@KRB5_TRUE@popper_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@KRB5_FALSE@popper_DEPENDENCIES =
|
||||||
|
popper_LDFLAGS =
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
pop_debug_SOURCES = pop_debug.c
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
pop_debug_OBJECTS = pop_debug.$(OBJEXT)
|
|
||||||
pop_debug_LDADD = $(LDADD)
|
|
||||||
@KRB5_FALSE@pop_debug_DEPENDENCIES =
|
|
||||||
@KRB5_TRUE@pop_debug_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
pop_debug_LDFLAGS =
|
|
||||||
am_popper_OBJECTS = pop_dele.$(OBJEXT) pop_dropcopy.$(OBJEXT) \
|
|
||||||
pop_dropinfo.$(OBJEXT) pop_get_command.$(OBJEXT) pop_init.$(OBJEXT) \
|
|
||||||
pop_last.$(OBJEXT) pop_list.$(OBJEXT) pop_log.$(OBJEXT) \
|
|
||||||
pop_msg.$(OBJEXT) pop_parse.$(OBJEXT) pop_pass.$(OBJEXT) \
|
|
||||||
pop_quit.$(OBJEXT) pop_rset.$(OBJEXT) pop_send.$(OBJEXT) \
|
|
||||||
pop_stat.$(OBJEXT) pop_updt.$(OBJEXT) pop_user.$(OBJEXT) \
|
|
||||||
pop_uidl.$(OBJEXT) pop_xover.$(OBJEXT) popper.$(OBJEXT) \
|
|
||||||
maildir.$(OBJEXT)
|
|
||||||
popper_OBJECTS = $(am_popper_OBJECTS)
|
|
||||||
popper_LDADD = $(LDADD)
|
|
||||||
@KRB5_FALSE@popper_DEPENDENCIES =
|
|
||||||
@KRB5_TRUE@popper_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
popper_LDFLAGS =
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = pop_debug.c $(popper_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
depcomp =
|
CFLAGS = @CFLAGS@
|
||||||
DIST_COMMON = README ChangeLog Makefile.am Makefile.in
|
DIST_SOURCES = pop_debug.c $(popper_SOURCES)
|
||||||
|
|
||||||
|
NROFF = nroff
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
MANS = $(man_MANS)
|
||||||
|
DIST_COMMON = README ChangeLog Makefile.am Makefile.in
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = pop_debug.c $(popper_SOURCES)
|
SOURCES = pop_debug.c $(popper_SOURCES)
|
||||||
OBJECTS = pop_debug.$(OBJEXT) $(am_popper_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/popper/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
clean-libexecPROGRAMS:
|
|
||||||
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-libexecPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-noinstPROGRAMS:
|
|
||||||
|
|
||||||
clean-noinstPROGRAMS:
|
|
||||||
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-noinstPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-noinstPROGRAMS:
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -335,22 +287,102 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/popper/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-libexecPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
pop_debug$(EXEEXT): $(pop_debug_OBJECTS) $(pop_debug_DEPENDENCIES)
|
clean-libexecPROGRAMS:
|
||||||
|
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
||||||
|
|
||||||
|
clean-noinstPROGRAMS:
|
||||||
|
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
||||||
|
pop_debug$(EXEEXT): $(pop_debug_OBJECTS) $(pop_debug_DEPENDENCIES)
|
||||||
@rm -f pop_debug$(EXEEXT)
|
@rm -f pop_debug$(EXEEXT)
|
||||||
$(LINK) $(pop_debug_LDFLAGS) $(pop_debug_OBJECTS) $(pop_debug_LDADD) $(LIBS)
|
$(LINK) $(pop_debug_LDFLAGS) $(pop_debug_OBJECTS) $(pop_debug_LDADD) $(LIBS)
|
||||||
|
popper$(EXEEXT): $(popper_OBJECTS) $(popper_DEPENDENCIES)
|
||||||
popper$(EXEEXT): $(popper_OBJECTS) $(popper_DEPENDENCIES)
|
|
||||||
@rm -f popper$(EXEEXT)
|
@rm -f popper$(EXEEXT)
|
||||||
$(LINK) $(popper_LDFLAGS) $(popper_OBJECTS) $(popper_LDADD) $(LIBS)
|
$(LINK) $(popper_LDFLAGS) $(popper_OBJECTS) $(popper_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
man8dir = $(mandir)/man8
|
||||||
|
install-man8: $(man8_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
||||||
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
|
case "$$i" in \
|
||||||
|
*.8*) list="$$list $$i" ;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
for i in $$list; do \
|
||||||
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
||||||
|
else file=$$i; fi; \
|
||||||
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||||
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||||
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||||
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||||
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
|
done
|
||||||
|
uninstall-man8:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
|
case "$$i" in \
|
||||||
|
*.8*) list="$$list $$i" ;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
for i in $$list; do \
|
||||||
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||||
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||||
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||||
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||||
|
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
|
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
|
done
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -379,22 +411,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -404,90 +437,96 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) $(MANS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-libexecPROGRAMS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man8dir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-libexecPROGRAMS
|
installcheck: installcheck-am
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-libexecPROGRAMS mostlyclean-noinstPROGRAMS \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-compile mostlyclean-libtool \
|
|
||||||
mostlyclean-tags mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-libexecPROGRAMS clean-noinstPROGRAMS clean-compile \
|
|
||||||
clean-libtool clean-tags clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-libexecPROGRAMS distclean-noinstPROGRAMS \
|
clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
|
||||||
distclean-compile distclean-libtool distclean-tags \
|
clean-noinstPROGRAMS mostlyclean-am
|
||||||
distclean-generic clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-libexecPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-noinstPROGRAMS \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
dvi: dvi-am
|
||||||
distclean-am
|
|
||||||
@echo "This command is intended for maintainers to use;"
|
dvi-am:
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local install-man
|
||||||
|
|
||||||
|
install-exec-am: install-libexecPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man: install-man8
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
|
|
||||||
uninstall-libexecPROGRAMS install-libexecPROGRAMS \
|
mostlyclean: mostlyclean-am
|
||||||
mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
|
||||||
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean-libtool
|
||||||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
||||||
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
|
uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS uninstall-man
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
uninstall-man: uninstall-man8
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
clean-generic clean-libexecPROGRAMS clean-libtool \
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
clean-noinstPROGRAMS distclean distclean-compile \
|
||||||
mostlyclean distclean maintainer-clean
|
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
||||||
|
dvi-am info info-am install install-am install-data \
|
||||||
|
install-data-am install-data-local install-exec install-exec-am \
|
||||||
|
install-info install-info-am install-libexecPROGRAMS \
|
||||||
|
install-man install-man8 install-strip installcheck \
|
||||||
|
installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
||||||
|
uninstall-am uninstall-info-am uninstall-libexecPROGRAMS \
|
||||||
|
uninstall-man uninstall-man8
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -617,7 +656,6 @@ check-local::
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include <popper.h>
|
#include <popper.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
RCSID("$Id: maildir.c,v 1.5 1999/12/02 16:58:33 joda Exp $");
|
RCSID("$Id: maildir.c,v 1.6 2001/09/10 11:56:53 joda Exp $");
|
||||||
|
|
||||||
static void
|
static void
|
||||||
make_path(POP *p, MsgInfoList *mp, int new, char *buf, size_t len)
|
make_path(POP *p, MsgInfoList *mp, int new, char *buf, size_t len)
|
||||||
|
@ -45,7 +45,7 @@ make_path(POP *p, MsgInfoList *mp, int new, char *buf, size_t len)
|
||||||
static int
|
static int
|
||||||
scan_file(POP *p, MsgInfoList *mp)
|
scan_file(POP *p, MsgInfoList *mp)
|
||||||
{
|
{
|
||||||
char path[MAXDROPLEN];
|
char path[MAXPATHLEN];
|
||||||
FILE *f;
|
FILE *f;
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
int eoh = 0;
|
int eoh = 0;
|
||||||
|
@ -80,7 +80,7 @@ scan_file(POP *p, MsgInfoList *mp)
|
||||||
static int
|
static int
|
||||||
scan_dir(POP *p, int new)
|
scan_dir(POP *p, int new)
|
||||||
{
|
{
|
||||||
char tmp[MAXDROPLEN];
|
char tmp[MAXPATHLEN];
|
||||||
DIR *dir;
|
DIR *dir;
|
||||||
struct dirent *dent;
|
struct dirent *dent;
|
||||||
MsgInfoList *mp = p->mlp;
|
MsgInfoList *mp = p->mlp;
|
||||||
|
@ -145,7 +145,7 @@ int
|
||||||
pop_maildir_update(POP *p)
|
pop_maildir_update(POP *p)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
char tmp1[MAXDROPLEN], tmp2[MAXDROPLEN];
|
char tmp1[MAXPATHLEN], tmp2[MAXPATHLEN];
|
||||||
for(i = 0; i < p->msg_count; i++) {
|
for(i = 0; i < p->msg_count; i++) {
|
||||||
make_path(p, &p->mlp[i], p->mlp[i].flags & NEW_FLAG,
|
make_path(p, &p->mlp[i], p->mlp[i].flags & NEW_FLAG,
|
||||||
tmp1, sizeof(tmp1));
|
tmp1, sizeof(tmp1));
|
||||||
|
@ -205,7 +205,7 @@ pop_maildir_update(POP *p)
|
||||||
int
|
int
|
||||||
pop_maildir_open(POP *p, MsgInfoList *mp)
|
pop_maildir_open(POP *p, MsgInfoList *mp)
|
||||||
{
|
{
|
||||||
char tmp[MAXDROPLEN];
|
char tmp[MAXPATHLEN];
|
||||||
make_path(p, mp, mp->flags & NEW_FLAG, tmp, sizeof(tmp));
|
make_path(p, mp, mp->flags & NEW_FLAG, tmp, sizeof(tmp));
|
||||||
if(p->drop)
|
if(p->drop)
|
||||||
fclose(p->drop);
|
fclose(p->drop);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1995 - 2000 Kungliga Tekniska Högskolan
|
* Copyright (c) 1995 - 2002 Kungliga Tekniska Högskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
/* Tiny program to help debug popper */
|
/* Tiny program to help debug popper */
|
||||||
|
|
||||||
#include "popper.h"
|
#include "popper.h"
|
||||||
RCSID("$Id: pop_debug.c,v 1.21 2001/02/20 01:44:47 assar Exp $");
|
RCSID("$Id: pop_debug.c,v 1.22 2002/02/07 17:27:12 joda Exp $");
|
||||||
|
|
||||||
static void
|
static void
|
||||||
loop(int s)
|
loop(int s)
|
||||||
|
@ -108,7 +108,7 @@ doit_v4 (char *host, int port)
|
||||||
ret = krb_sendauth(0,
|
ret = krb_sendauth(0,
|
||||||
s,
|
s,
|
||||||
&ticket,
|
&ticket,
|
||||||
"pop",
|
POP_TICKET_NAME,
|
||||||
host,
|
host,
|
||||||
krb_realmofhost(host),
|
krb_realmofhost(host),
|
||||||
getpid(),
|
getpid(),
|
||||||
|
@ -143,7 +143,7 @@ doit_v5 (char *host, int port)
|
||||||
|
|
||||||
ret = krb5_sname_to_principal (context,
|
ret = krb5_sname_to_principal (context,
|
||||||
host,
|
host,
|
||||||
"pop",
|
POP_TICKET_NAME,
|
||||||
KRB5_NT_SRV_HST,
|
KRB5_NT_SRV_HST,
|
||||||
&server);
|
&server);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
@ -178,7 +178,9 @@ doit_v5 (char *host, int port)
|
||||||
#ifdef KRB4
|
#ifdef KRB4
|
||||||
static int use_v4 = -1;
|
static int use_v4 = -1;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef KRB5
|
||||||
static int use_v5 = -1;
|
static int use_v5 = -1;
|
||||||
|
#endif
|
||||||
static char *port_str;
|
static char *port_str;
|
||||||
static int do_version;
|
static int do_version;
|
||||||
static int do_help;
|
static int do_help;
|
||||||
|
@ -188,8 +190,10 @@ struct getargs args[] = {
|
||||||
{ "krb4", '4', arg_flag, &use_v4, "Use Kerberos V4",
|
{ "krb4", '4', arg_flag, &use_v4, "Use Kerberos V4",
|
||||||
NULL },
|
NULL },
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef KRB5
|
||||||
{ "krb5", '5', arg_flag, &use_v5, "Use Kerberos V5",
|
{ "krb5", '5', arg_flag, &use_v5, "Use Kerberos V5",
|
||||||
NULL },
|
NULL },
|
||||||
|
#endif
|
||||||
{ "port", 'p', arg_string, &port_str, "Use this port",
|
{ "port", 'p', arg_string, &port_str, "Use this port",
|
||||||
"number-or-service" },
|
"number-or-service" },
|
||||||
{ "version", 0, arg_flag, &do_version, "Print version",
|
{ "version", 0, arg_flag, &do_version, "Print version",
|
||||||
|
|
|
@ -1,179 +1,90 @@
|
||||||
.\" Copyright (c) 1980 Regents of the University of California.
|
.\" $Id: popper.8,v 1.6 2001/08/13 15:54:35 joda Exp $
|
||||||
.\" All rights reserved.
|
|
||||||
.\"
|
.\"
|
||||||
.\" Redistribution and use in source and binary forms are permitted
|
.Dd August 13, 2001
|
||||||
.\" provided that this notice is preserved and that due credit is given
|
.Dt POPPER 8
|
||||||
.\" to the University of California at Berkeley. The name of the University
|
.Os HEIMDAL
|
||||||
.\" may not be used to endorse or promote products derived from this
|
.Sh NAME
|
||||||
.\" software without specific prior written permission. This software
|
.Nm popper
|
||||||
.\" is provided ``as is'' without express or implied warranty.
|
.Nd
|
||||||
.\"
|
POP3 server
|
||||||
.\" @(#)@(#)popper.8 2.3 2.3 (CCS) 4/2/91 Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n
|
.Sh SYNOPSIS
|
||||||
.\"
|
.Nm
|
||||||
.TH popper 8 "August 1990"
|
.Op Fl k
|
||||||
.UC 6
|
.Op Fl a Ar none Ns \*(Ba Ns otp
|
||||||
.ad
|
.Op Fl t Ar file
|
||||||
.SH NAME
|
.Op Fl T Ar seconds
|
||||||
popper \- pop 3 server
|
.Op Fl d
|
||||||
.SH SYNOPSIS
|
.Op Fl i
|
||||||
.B /usr/etc/popper
|
.Op Fl p Ar port
|
||||||
[ -d ]
|
.Op Fl -address-log= Ns Pa file
|
||||||
[ -a ]
|
.Sh DESCRIPTION
|
||||||
[ -k ]
|
.Nm
|
||||||
[ -t trace-file]
|
serves mail via the Post Office Protocol. Supported options include:
|
||||||
[ -i ]
|
.Bl -tag -width Ds
|
||||||
[ -p portnum]
|
.It Xo
|
||||||
.SH DESCRIPTION
|
.Fl a Ar none Ns \*(Ba Ns otp Ns ,
|
||||||
.I Popper
|
.Fl -auth-mode= Ns Ar none Ns \*(Ba Ns otp
|
||||||
is an implementation of the Post Office Protocol server that runs on a
|
.Xc
|
||||||
variety of Unix computers to manage electronic mail for Macintosh
|
tells
|
||||||
and MS-DOS computers. The server was developed at the University of
|
.Nm
|
||||||
California at Berkeley and conforms fully to the specifications in RFC
|
what authentication modes are acceptable, passing
|
||||||
1081 and RFC 1082. The Berkeley server also has extensions to
|
.Ar otp
|
||||||
send electronic mail on behalf of a client.
|
disables clear text passwords. This has only effect when not using
|
||||||
.PP
|
Kerberos authentication.
|
||||||
The
|
.It Xo
|
||||||
.B \-d
|
.Fl -address-log= Ns Pa file
|
||||||
flag sets the socket to debugging and turns on debugging. All debugging
|
.Xc
|
||||||
information is saved using syslog(8).
|
logs the addresses of all clients to the specified file
|
||||||
.PP
|
.It Xo
|
||||||
The
|
.Fl d Ns ,
|
||||||
.B \-t trace\-file
|
.Fl -debug
|
||||||
flag turns on debugging and saves the trace information in
|
.Xc
|
||||||
.I trace\-file
|
enables more verbose log messages
|
||||||
using fprintf(s).
|
.It Xo
|
||||||
.PP
|
.Fl i Ns ,
|
||||||
The
|
.Fl -interactive
|
||||||
.B \-k
|
.Xc
|
||||||
flag tells popper to talk the kerberised POP protocol (KPOP).
|
when not started by inetd, this flag tells
|
||||||
.PP
|
.Nm
|
||||||
The
|
that it has to create a socket by itself
|
||||||
.B \-a
|
.It Xo
|
||||||
flag tells popper not to accept any cleartext passwords, but only OTPs.
|
.Fl k Ns ,
|
||||||
.PP
|
.Fl -kerberos
|
||||||
The
|
.Xc
|
||||||
.B \-i
|
tells
|
||||||
flag tells popper it has not been started by inetd and should create
|
.Nm
|
||||||
its own socket and listen on it. This is useful for debugging.
|
to use the Kerberos for authentication.
|
||||||
.PP
|
.It Xo
|
||||||
The
|
.Fl p Ar port Ns ,
|
||||||
.B \-p portnum
|
.Fl -port= Ns Ar port
|
||||||
flag tells popper on which port it should listen for connections when
|
.Xc
|
||||||
creating a socket.
|
port to listen to, in combination with
|
||||||
.SH HOW TO OBTAIN THE SERVER
|
.Fl i
|
||||||
.PP
|
.It Xo
|
||||||
The POP server is available via anonymous ftp from ftp.CC.Berkeley.EDU
|
.Fl t Ar file Ns ,
|
||||||
(128.32.136.9, 128.32.206.12). It is in two files in the pub directory:
|
.Fl -trace-file= Ns Ar file
|
||||||
a compressed
|
.Xc
|
||||||
tar file popper.tar.Z and a Macintosh StuffIt archive in BinHex format
|
trace all command to file
|
||||||
called MacPOP.sit.hqx.
|
.It Xo
|
||||||
.SH THE POP TRANSACTION CYCLE
|
.Fl T Ar seconds Ns ,
|
||||||
.PP
|
.Fl -timeout= Ns Ar seconds
|
||||||
The Berkeley POP server is a single program (called popper) that is
|
.Xc
|
||||||
launched by inetd when it gets a service request on the POP TCP port.
|
set timeout to something other than the default of 120 seconds
|
||||||
(The official port number specified in RFC 1081 for POP version 3 is
|
.El
|
||||||
port 110. However, some POP3 clients attempt to contact the server at
|
.\".Sh ENVIRONMENT
|
||||||
port 109, the POP version 2 port. Unless you are running both POP2 and
|
.\".Sh FILES
|
||||||
POP3 servers, you can simply define both ports for use by the POP3
|
.\".Sh EXAMPLES
|
||||||
server. This is explained in the installation instructions later on.)
|
.\".Sh DIAGNOSTICS
|
||||||
The popper program initializes and verifies that the peer IP address is
|
.Sh SEE ALSO
|
||||||
registered in the local domain, logging a warning message when a
|
.Xr push 8 ,
|
||||||
connection is made to a client whose IP address does not have a
|
.Xr movemail 8
|
||||||
canonical name. For systems using BSD 4.3 bind, it also checks to see
|
.Sh STANDARDS
|
||||||
if a cannonical name lookup for the client returns the same peer IP
|
RFC1939 (Post Office Protocol - Version 3)
|
||||||
address, logging a warning message if it does not. The the server
|
.\" RFC2449 (POP3 Extension Mechanism)
|
||||||
enters the authorization state, during which the client must correctly
|
.\".Sh HISTORY
|
||||||
identify itself by providing a valid Unix userid and password on the
|
.Sh AUTHORS
|
||||||
server's host machine. No other exchanges are allowed during this
|
The server was initially developed at the University of California,
|
||||||
state (other than a request to quit.) If authentication fails, a
|
Berkeley.
|
||||||
warning message is logged and the session ends. Once the user is
|
.Pp
|
||||||
identified, popper changes its user and group ids to match that of the
|
Many changes has been made as part of the KTH Kerberos distributions.
|
||||||
user and enters the transaction state. The server makes a temporary
|
.\".Sh BUGS
|
||||||
copy of the user's maildrop (ordinarily in /usr/spool/mail) which is
|
|
||||||
used for all subsequent transactions. These include the bulk of POP
|
|
||||||
commands to retrieve mail, delete mail, undelete mail, and so forth. A
|
|
||||||
Berkeley extension also allows the user to submit a mail parcel to the
|
|
||||||
server who mails it using the sendmail program (this extension is
|
|
||||||
supported in the HyperMail client distributed with the server). When
|
|
||||||
the client quits, the server enters the final update state during which
|
|
||||||
the network connection is terminated and the user's maildrop is updated
|
|
||||||
with the (possibly) modified temporary maildrop.
|
|
||||||
.SH LOGGING
|
|
||||||
.PP
|
|
||||||
The POP server uses syslog to keep a record of its activities. On
|
|
||||||
systems with BSD 4.3 syslogging, the server logs (by default) to the
|
|
||||||
"local0" facility at priority "notice" for all messages except
|
|
||||||
debugging which is logged at priority "debug". The default log file is
|
|
||||||
/usr/spool/mqueue/POPlog. These can be changed, if desired. On
|
|
||||||
systems with 4.2 syslogging all messages are logged to the local log
|
|
||||||
file, usually /usr/spool/mqueue/syslog.
|
|
||||||
.SH DEBUGGING
|
|
||||||
.PP
|
|
||||||
The popper program will log debugging information when the -d parameter
|
|
||||||
is specified after its invocation in the inetd.conf file. Care should
|
|
||||||
be exercised in using this option since it generates considerable
|
|
||||||
output in the syslog file. Alternatively, the "-t <file-name>" option
|
|
||||||
will place debugging information into file "<file-name>" using fprintf
|
|
||||||
instead of syslog.
|
|
||||||
.PP
|
|
||||||
For SunOS version 3.5, the popper program is launched by inetd from
|
|
||||||
/etc/servers. This file does not allow you to specify command line
|
|
||||||
arguments. Therefore, if you want to enable debugging, you can specify
|
|
||||||
a shell script in /etc/servers to be launched instead of popper and in
|
|
||||||
this script call popper with the desired arguments.
|
|
||||||
.PP
|
|
||||||
You can confirm that the POP server is running on Unix by telneting to
|
|
||||||
port 110 (or 109 if you set it up that way). For example:
|
|
||||||
.PP
|
|
||||||
.nf
|
|
||||||
%telnet myhost 110
|
|
||||||
Trying...
|
|
||||||
Connected to myhost.berkeley.edu.
|
|
||||||
Escape character is '^]'.
|
|
||||||
+OK UCB Pop server (version 1.6) at myhost starting.
|
|
||||||
quit
|
|
||||||
Connection closed by foreign host.
|
|
||||||
.fi
|
|
||||||
.SH VERSION 1.7 RELEASE NOTES
|
|
||||||
Extensive re-write of the maildrop processing code contributed by
|
|
||||||
Viktor Dukhovni <viktor@math.princeton.edu> that greatly reduces the
|
|
||||||
possibility that the maildrop can be corrupted as the result of
|
|
||||||
simultaneous access by two or more processes.
|
|
||||||
.PP
|
|
||||||
Added "pop_dropcopy" module to create a temporary maildrop from
|
|
||||||
the existing, standard maildrop as root before the setuid and
|
|
||||||
setgid for the user is done. This allows the temporary maildrop
|
|
||||||
to be created in a mail spool area that is not world read-writable.
|
|
||||||
.PP
|
|
||||||
This version does *not* send the sendmail "From " delimiter line
|
|
||||||
in response to a TOP or RETR command.
|
|
||||||
.PP
|
|
||||||
Encased all debugging code in #ifdef DEBUG constructs. This code can
|
|
||||||
be included by specifying the DEGUG compiler flag. Note: You still
|
|
||||||
need to use the -d or -t option to obtain debugging output.
|
|
||||||
.SH LIMITATIONS
|
|
||||||
The POP server copies the user's entire maildrop to /tmp and
|
|
||||||
then operates on that copy. If the maildrop is particularly
|
|
||||||
large, or inadequate space is available in /tmp, then the
|
|
||||||
server will refuse to continue and terminate the connection.
|
|
||||||
.PP
|
|
||||||
Simultaneous modification of a single maildrop can result in
|
|
||||||
confusing results. For example, manipulating messages in a
|
|
||||||
maildrop using the Unix /usr/ucb/mail command while a copy of
|
|
||||||
it is being processed by the POP server can cause the changes
|
|
||||||
made by one program to be lost when the other terminates. This
|
|
||||||
problem is being worked on and will be fixed in a later
|
|
||||||
release.
|
|
||||||
.SH FILES
|
|
||||||
.nf
|
|
||||||
/usr/spool/mail mail files
|
|
||||||
/etc/inetd.conf pop program invocation
|
|
||||||
/etc/syslog.conf logging specifications
|
|
||||||
.fi
|
|
||||||
.SH "SEE ALSO"
|
|
||||||
inetd(8),
|
|
||||||
RFC1081,
|
|
||||||
RFC1082
|
|
||||||
.SH AUTHORS
|
|
||||||
Bob Campbell, Edward Moy, Austin Shelton, Marshall T Rose, and cast of
|
|
||||||
thousands at Rand, UDel, UCI, and elsewhere
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: popper.h,v 1.49 1999/08/12 11:37:55 joda Exp $ */
|
/* $Id: popper.h,v 1.50 2001/09/10 11:56:34 joda Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Header file for the POP programs
|
* Header file for the POP programs
|
||||||
|
@ -85,6 +85,10 @@
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_ARPA_INET_H
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
#ifdef _AIX
|
||||||
|
struct sockaddr_dl; /* AIX fun */
|
||||||
|
struct ether_addr;
|
||||||
|
#endif
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_SYSLOG_H
|
#ifdef HAVE_SYSLOG_H
|
||||||
|
@ -115,7 +119,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MAXUSERNAMELEN 65
|
#define MAXUSERNAMELEN 65
|
||||||
#define MAXDROPLEN 64
|
|
||||||
#define MAXLINELEN 1024
|
#define MAXLINELEN 1024
|
||||||
#define MAXMSGLINELEN 1024
|
#define MAXMSGLINELEN 1024
|
||||||
#define MAXCMDLEN 4
|
#define MAXCMDLEN 4
|
||||||
|
@ -242,9 +245,9 @@ typedef struct { /* POP parameter block */
|
||||||
the user */
|
the user */
|
||||||
long bytes_deleted; /* Number of maildrop bytes
|
long bytes_deleted; /* Number of maildrop bytes
|
||||||
flagged for deletion */
|
flagged for deletion */
|
||||||
char drop_name[MAXDROPLEN]; /* The name of the user's
|
char drop_name[MAXPATHLEN]; /* The name of the user's
|
||||||
maildrop */
|
maildrop */
|
||||||
char temp_drop[MAXDROPLEN]; /* The name of the user's
|
char temp_drop[MAXPATHLEN]; /* The name of the user's
|
||||||
temporary maildrop */
|
temporary maildrop */
|
||||||
long drop_size; /* Size of the maildrop in
|
long drop_size; /* Size of the maildrop in
|
||||||
bytes */
|
bytes */
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2001-09-04 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* push.c (doit): check return values from snprintf being negative
|
||||||
|
|
||||||
2000-12-31 Assar Westerlund <assar@sics.se>
|
2000-12-31 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
* push.c (main): handle krb5_init_context failure consistently
|
* push.c (main): handle krb5_init_context failure consistently
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.17 2000/11/15 22:51:09 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.17 2000/11/15 22:51:09 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(INCLUDE_hesiod)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(INCLUDE_hesiod)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,18 +180,20 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
|
@ -210,96 +217,45 @@ LDADD = $(LIB_krb5) \
|
||||||
|
|
||||||
subdir = appl/push
|
subdir = appl/push
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
libexec_PROGRAMS = push$(EXEEXT)
|
libexec_PROGRAMS = push$(EXEEXT)
|
||||||
PROGRAMS = $(libexec_PROGRAMS)
|
PROGRAMS = $(libexec_PROGRAMS)
|
||||||
|
|
||||||
|
am_push_OBJECTS = push.$(OBJEXT)
|
||||||
|
push_OBJECTS = $(am_push_OBJECTS)
|
||||||
|
push_LDADD = $(LDADD)
|
||||||
|
@KRB5_TRUE@push_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@KRB5_FALSE@push_DEPENDENCIES =
|
||||||
|
push_LDFLAGS =
|
||||||
|
SCRIPTS = $(bin_SCRIPTS)
|
||||||
|
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
am_push_OBJECTS = push.$(OBJEXT)
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
push_OBJECTS = $(am_push_OBJECTS)
|
|
||||||
push_LDADD = $(LDADD)
|
|
||||||
@KRB5_FALSE@push_DEPENDENCIES =
|
|
||||||
@KRB5_TRUE@push_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
push_LDFLAGS =
|
|
||||||
SCRIPTS = $(bin_SCRIPTS)
|
|
||||||
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(push_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
man1dir = $(mandir)/man1
|
CFLAGS = @CFLAGS@
|
||||||
man8dir = $(mandir)/man8
|
DIST_SOURCES = $(push_SOURCES)
|
||||||
|
|
||||||
|
NROFF = nroff
|
||||||
MANS = $(man_MANS)
|
MANS = $(man_MANS)
|
||||||
depcomp =
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
||||||
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(push_SOURCES)
|
SOURCES = $(push_SOURCES)
|
||||||
OBJECTS = $(am_push_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/push/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
clean-libexecPROGRAMS:
|
|
||||||
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-libexecPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -308,13 +264,41 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/push/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-libexecPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
push$(EXEEXT): $(push_OBJECTS) $(push_DEPENDENCIES)
|
clean-libexecPROGRAMS:
|
||||||
|
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
||||||
|
push$(EXEEXT): $(push_OBJECTS) $(push_DEPENDENCIES)
|
||||||
@rm -f push$(EXEEXT)
|
@rm -f push$(EXEEXT)
|
||||||
$(LINK) $(push_LDFLAGS) $(push_OBJECTS) $(push_LDADD) $(LIBS)
|
$(LINK) $(push_LDFLAGS) $(push_OBJECTS) $(push_LDADD) $(LIBS)
|
||||||
|
|
||||||
install-binSCRIPTS: $(bin_SCRIPTS)
|
install-binSCRIPTS: $(bin_SCRIPTS)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
@ -336,17 +320,30 @@ uninstall-binSCRIPTS:
|
||||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
.c.lo:
|
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
|
||||||
|
|
||||||
install-man1:
|
.c.lo:
|
||||||
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
man1dir = $(mandir)/man1
|
||||||
|
install-man1: $(man1_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
||||||
@list='$(man1_MANS)'; \
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.1*) list="$$list $$i" ;; \
|
*.1*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -361,10 +358,11 @@ install-man1:
|
||||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-man1:
|
uninstall-man1:
|
||||||
@list='$(man1_MANS)'; \
|
@$(NORMAL_UNINSTALL)
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.1*) list="$$list $$i" ;; \
|
*.1*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -378,10 +376,13 @@ uninstall-man1:
|
||||||
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
install-man8:
|
man8dir = $(mandir)/man8
|
||||||
|
install-man8: $(man8_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
||||||
@list='$(man8_MANS)'; \
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.8*) list="$$list $$i" ;; \
|
*.8*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -396,10 +397,11 @@ install-man8:
|
||||||
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-man8:
|
uninstall-man8:
|
||||||
@list='$(man8_MANS)'; \
|
@$(NORMAL_UNINSTALL)
|
||||||
l2='$(man_MANS)'; for i in $$l2; do \
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
case "$$i" in \
|
case "$$i" in \
|
||||||
*.8*) list="$$list $$i" ;; \
|
*.8*) list="$$list $$i" ;; \
|
||||||
esac; \
|
esac; \
|
||||||
|
@ -412,12 +414,6 @@ uninstall-man8:
|
||||||
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
done
|
done
|
||||||
install-man: $(MANS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man8
|
|
||||||
uninstall-man:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man8
|
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -446,22 +442,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -471,91 +468,99 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-libexecPROGRAMS install-binSCRIPTS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-man install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-libexecPROGRAMS uninstall-binSCRIPTS \
|
installcheck: installcheck-am
|
||||||
uninstall-man
|
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(bindir) \
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-libexecPROGRAMS mostlyclean-compile \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
|
||||||
mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-libexecPROGRAMS clean-compile clean-libtool clean-tags \
|
|
||||||
clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-libexecPROGRAMS distclean-compile \
|
clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
|
||||||
distclean-libtool distclean-tags distclean-generic \
|
mostlyclean-am
|
||||||
clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-libexecPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
|
||||||
distclean-am
|
dvi: dvi-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local install-man
|
||||||
|
|
||||||
|
install-exec-am: install-binSCRIPTS install-libexecPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man: install-man1 install-man8
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
|
|
||||||
uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
|
mostlyclean: mostlyclean-am
|
||||||
distclean-compile clean-compile maintainer-clean-compile \
|
|
||||||
mostlyclean-libtool distclean-libtool clean-libtool \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
maintainer-clean-libtool uninstall-binSCRIPTS install-binSCRIPTS \
|
mostlyclean-libtool
|
||||||
install-man1 uninstall-man1 install-man8 uninstall-man8 install-man \
|
|
||||||
uninstall-man tags mostlyclean-tags distclean-tags clean-tags \
|
uninstall-am: uninstall-binSCRIPTS uninstall-info-am \
|
||||||
maintainer-clean-tags distdir info-am info dvi-am dvi check-local check \
|
uninstall-libexecPROGRAMS uninstall-man
|
||||||
check-am installcheck-am installcheck install-exec-am install-exec \
|
|
||||||
install-data-local install-data-am install-data install-am install \
|
uninstall-man: uninstall-man1 uninstall-man8
|
||||||
uninstall-am uninstall all-local all-redirect all-am all install-strip \
|
|
||||||
installdirs mostlyclean-generic distclean-generic clean-generic \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
clean-generic clean-libexecPROGRAMS clean-libtool distclean \
|
||||||
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am install-binSCRIPTS install-data install-data-am \
|
||||||
|
install-data-local install-exec install-exec-am install-info \
|
||||||
|
install-info-am install-libexecPROGRAMS install-man \
|
||||||
|
install-man1 install-man8 install-strip installcheck \
|
||||||
|
installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
||||||
|
uninstall-am uninstall-binSCRIPTS uninstall-info-am \
|
||||||
|
uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
|
||||||
|
uninstall-man8
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -689,7 +694,6 @@ check-local::
|
||||||
pfrom: pfrom.in
|
pfrom: pfrom.in
|
||||||
sed -e "s!%libexecdir%!$(libexecdir)!" $(srcdir)/pfrom.in > $@
|
sed -e "s!%libexecdir%!$(libexecdir)!" $(srcdir)/pfrom.in > $@
|
||||||
chmod +x $@
|
chmod +x $@
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $Id: push.8,v 1.10 2001/05/15 12:14:24 assar Exp $
|
.\" $Id: push.8,v 1.11 2001/07/12 08:42:27 assar Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd May 31, 1998
|
.Dd May 31, 1998
|
||||||
.Dt PUSH 8
|
.Dt PUSH 8
|
||||||
|
@ -124,10 +124,10 @@ lines for current user at post office
|
||||||
using Kerberos 5.
|
using Kerberos 5.
|
||||||
.\".Sh DIAGNOSTICS
|
.\".Sh DIAGNOSTICS
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr movemail 8 ,
|
|
||||||
.Xr popper 8 ,
|
|
||||||
.Xr from 1 ,
|
.Xr from 1 ,
|
||||||
.Xr pfrom 1
|
.Xr pfrom 1 ,
|
||||||
|
.Xr movemail 8 ,
|
||||||
|
.Xr popper 8
|
||||||
.\".Sh STANDARDS
|
.\".Sh STANDARDS
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
.Nm
|
.Nm
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1997-2000 Kungliga Tekniska Högskolan
|
* Copyright (c) 1997-2001 Kungliga Tekniska Högskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "push_locl.h"
|
#include "push_locl.h"
|
||||||
RCSID("$Id: push.c,v 1.44 2001/02/20 01:44:47 assar Exp $");
|
RCSID("$Id: push.c,v 1.45 2001/09/04 09:45:52 assar Exp $");
|
||||||
|
|
||||||
#ifdef KRB4
|
#ifdef KRB4
|
||||||
static int use_v4 = -1;
|
static int use_v4 = -1;
|
||||||
|
@ -208,7 +208,7 @@ doit(int s,
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
char out_buf[PUSH_BUFSIZ];
|
char out_buf[PUSH_BUFSIZ];
|
||||||
size_t out_len = 0;
|
int out_len = 0;
|
||||||
char in_buf[PUSH_BUFSIZ + 1]; /* sentinel */
|
char in_buf[PUSH_BUFSIZ + 1]; /* sentinel */
|
||||||
size_t in_len = 0;
|
size_t in_len = 0;
|
||||||
char *in_ptr = in_buf;
|
char *in_ptr = in_buf;
|
||||||
|
@ -262,6 +262,8 @@ doit(int s,
|
||||||
out_len = snprintf (out_buf, sizeof(out_buf),
|
out_len = snprintf (out_buf, sizeof(out_buf),
|
||||||
"USER %s\r\nPASS hej\r\nSTAT\r\n",
|
"USER %s\r\nPASS hej\r\nSTAT\r\n",
|
||||||
user);
|
user);
|
||||||
|
if (out_len < 0)
|
||||||
|
errx (1, "snprintf failed");
|
||||||
if (net_write (s, out_buf, out_len) != out_len)
|
if (net_write (s, out_buf, out_len) != out_len)
|
||||||
err (1, "write");
|
err (1, "write");
|
||||||
if (verbose > 1)
|
if (verbose > 1)
|
||||||
|
@ -464,6 +466,8 @@ doit(int s,
|
||||||
else if(state == DELE)
|
else if(state == DELE)
|
||||||
out_len = snprintf (out_buf, sizeof(out_buf),
|
out_len = snprintf (out_buf, sizeof(out_buf),
|
||||||
"DELE %u\r\n", ++asked_deleted);
|
"DELE %u\r\n", ++asked_deleted);
|
||||||
|
if (out_len < 0)
|
||||||
|
errx (1, "snprintf failed");
|
||||||
if (net_write (s, out_buf, out_len) != out_len)
|
if (net_write (s, out_buf, out_len) != out_len)
|
||||||
err (1, "write");
|
err (1, "write");
|
||||||
if (verbose > 1)
|
if (verbose > 1)
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
2001-09-24 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* rcp.c: more va_* fixing; from Thomas Klausner
|
||||||
|
|
||||||
|
2001-09-08 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* rcp.c (run_err): always match va_start and va_end
|
||||||
|
|
||||||
|
2001-09-04 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* util.c (allocbuf): do not leak memory on failure and zero
|
||||||
|
re-used memory, from Markus Friedl <markus@openbsd.org>
|
||||||
|
|
||||||
|
2001-07-19 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* rcp.c (main): add missing setprogname
|
||||||
|
|
||||||
|
2001-06-14 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* rcp.c: add some const replace a few malloc/snprintf with
|
||||||
|
asprintf
|
||||||
|
* rcp.c (sizestr): remove and use snprintf to do this correctly
|
||||||
|
instead
|
||||||
|
|
||||||
2001-04-21 Johan Danielsson <joda@pdc.kth.se>
|
2001-04-21 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
* rcp.c: convert to use getarg
|
* rcp.c: convert to use getarg
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.2 2001/01/28 22:50:35 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.2 2001/01/28 22:50:35 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,18 +180,20 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
|
@ -197,89 +204,38 @@ rcp_SOURCES = rcp.c util.c
|
||||||
LDADD = $(LIB_roken)
|
LDADD = $(LIB_roken)
|
||||||
subdir = appl/rcp
|
subdir = appl/rcp
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
bin_PROGRAMS = rcp$(EXEEXT)
|
bin_PROGRAMS = rcp$(EXEEXT)
|
||||||
PROGRAMS = $(bin_PROGRAMS)
|
PROGRAMS = $(bin_PROGRAMS)
|
||||||
|
|
||||||
|
am_rcp_OBJECTS = rcp.$(OBJEXT) util.$(OBJEXT)
|
||||||
|
rcp_OBJECTS = $(am_rcp_OBJECTS)
|
||||||
|
rcp_LDADD = $(LDADD)
|
||||||
|
rcp_DEPENDENCIES =
|
||||||
|
rcp_LDFLAGS =
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
am_rcp_OBJECTS = rcp.$(OBJEXT) util.$(OBJEXT)
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
rcp_OBJECTS = $(am_rcp_OBJECTS)
|
|
||||||
rcp_LDADD = $(LDADD)
|
|
||||||
rcp_DEPENDENCIES =
|
|
||||||
rcp_LDFLAGS =
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(rcp_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
depcomp =
|
CFLAGS = @CFLAGS@
|
||||||
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
DIST_SOURCES = $(rcp_SOURCES)
|
||||||
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(rcp_SOURCES)
|
SOURCES = $(rcp_SOURCES)
|
||||||
OBJECTS = $(am_rcp_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/rcp/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-binPROGRAMS:
|
|
||||||
|
|
||||||
clean-binPROGRAMS:
|
|
||||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-binPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-binPROGRAMS:
|
|
||||||
|
|
||||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-binPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -288,18 +244,57 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/rcp/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-binPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
rcp$(EXEEXT): $(rcp_OBJECTS) $(rcp_DEPENDENCIES)
|
clean-binPROGRAMS:
|
||||||
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||||
|
rcp$(EXEEXT): $(rcp_OBJECTS) $(rcp_DEPENDENCIES)
|
||||||
@rm -f rcp$(EXEEXT)
|
@rm -f rcp$(EXEEXT)
|
||||||
$(LINK) $(rcp_LDFLAGS) $(rcp_OBJECTS) $(rcp_LDADD) $(LIBS)
|
$(LINK) $(rcp_LDFLAGS) $(rcp_OBJECTS) $(rcp_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -328,22 +323,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -353,85 +349,91 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-binPROGRAMS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-binPROGRAMS
|
installcheck: installcheck-am
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
|
||||||
mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
|
|
||||||
clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
|
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
|
||||||
distclean-tags distclean-generic clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-binPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
|
||||||
distclean-am
|
dvi: dvi-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local
|
||||||
|
|
||||||
|
install-exec-am: install-binPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean: mostlyclean-am
|
||||||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
||||||
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
mostlyclean-libtool
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
clean-binPROGRAMS clean-generic clean-libtool distclean \
|
||||||
mostlyclean distclean maintainer-clean
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am install-binPROGRAMS install-data install-data-am \
|
||||||
|
install-data-local install-exec install-exec-am install-info \
|
||||||
|
install-info-am install-man install-strip installcheck \
|
||||||
|
installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
||||||
|
uninstall-am uninstall-binPROGRAMS uninstall-info-am
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -561,7 +563,6 @@ check-local::
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -92,6 +92,7 @@ main(int argc, char **argv)
|
||||||
char *targ;
|
char *targ;
|
||||||
int optind = 0;
|
int optind = 0;
|
||||||
|
|
||||||
|
setprogname(argv[0]);
|
||||||
if (getarg (args, sizeof(args) / sizeof(args[0]), argc, argv,
|
if (getarg (args, sizeof(args) / sizeof(args[0]), argc, argv,
|
||||||
&optind))
|
&optind))
|
||||||
usage (1);
|
usage (1);
|
||||||
|
@ -133,8 +134,9 @@ main(int argc, char **argv)
|
||||||
|
|
||||||
remin = remout = -1;
|
remin = remout = -1;
|
||||||
/* Command to be executed on remote system using "rsh". */
|
/* Command to be executed on remote system using "rsh". */
|
||||||
sprintf(cmd, "rcp%s%s%s", iamrecursive ? " -r" : "",
|
snprintf(cmd, sizeof(cmd),
|
||||||
pflag ? " -p" : "", targetshouldbedirectory ? " -d" : "");
|
"rcp%s%s%s", iamrecursive ? " -r" : "",
|
||||||
|
pflag ? " -p" : "", targetshouldbedirectory ? " -d" : "");
|
||||||
|
|
||||||
signal(SIGPIPE, lostconn);
|
signal(SIGPIPE, lostconn);
|
||||||
|
|
||||||
|
@ -151,7 +153,7 @@ main(int argc, char **argv)
|
||||||
void
|
void
|
||||||
toremote(char *targ, int argc, char **argv)
|
toremote(char *targ, int argc, char **argv)
|
||||||
{
|
{
|
||||||
int i, len;
|
int i;
|
||||||
char *bp, *host, *src, *suser, *thost, *tuser;
|
char *bp, *host, *src, *suser, *thost, *tuser;
|
||||||
|
|
||||||
*targ++ = 0;
|
*targ++ = 0;
|
||||||
|
@ -178,37 +180,34 @@ toremote(char *targ, int argc, char **argv)
|
||||||
if (*src == 0)
|
if (*src == 0)
|
||||||
src = ".";
|
src = ".";
|
||||||
host = strchr(argv[i], '@');
|
host = strchr(argv[i], '@');
|
||||||
len = strlen(_PATH_RSH) + strlen(argv[i]) +
|
|
||||||
strlen(src) + (tuser ? strlen(tuser) : 0) +
|
|
||||||
strlen(thost) + strlen(targ) + CMDNEEDS + 20;
|
|
||||||
if (!(bp = malloc(len)))
|
|
||||||
err(1, "malloc");
|
|
||||||
if (host) {
|
if (host) {
|
||||||
*host++ = 0;
|
*host++ = '\0';
|
||||||
suser = argv[i];
|
suser = argv[i];
|
||||||
if (*suser == '\0')
|
if (*suser == '\0')
|
||||||
suser = pwd->pw_name;
|
suser = pwd->pw_name;
|
||||||
else if (!okname(suser))
|
else if (!okname(suser))
|
||||||
continue;
|
continue;
|
||||||
snprintf(bp, len,
|
asprintf(&bp,
|
||||||
"%s %s -l %s -n %s %s '%s%s%s:%s'",
|
"%s %s -l %s -n %s %s '%s%s%s:%s'",
|
||||||
_PATH_RSH, host, suser, cmd, src,
|
_PATH_RSH, host, suser, cmd, src,
|
||||||
tuser ? tuser : "", tuser ? "@" : "",
|
tuser ? tuser : "", tuser ? "@" : "",
|
||||||
thost, targ);
|
thost, targ);
|
||||||
} else
|
} else {
|
||||||
snprintf(bp, len,
|
asprintf(&bp,
|
||||||
"exec %s %s -n %s %s '%s%s%s:%s'",
|
"exec %s %s -n %s %s '%s%s%s:%s'",
|
||||||
_PATH_RSH, argv[i], cmd, src,
|
_PATH_RSH, argv[i], cmd, src,
|
||||||
tuser ? tuser : "", tuser ? "@" : "",
|
tuser ? tuser : "", tuser ? "@" : "",
|
||||||
thost, targ);
|
thost, targ);
|
||||||
|
}
|
||||||
|
if (bp == NULL)
|
||||||
|
err (1, "malloc");
|
||||||
susystem(bp, userid);
|
susystem(bp, userid);
|
||||||
free(bp);
|
free(bp);
|
||||||
} else { /* local to remote */
|
} else { /* local to remote */
|
||||||
if (remin == -1) {
|
if (remin == -1) {
|
||||||
len = strlen(targ) + CMDNEEDS + 20;
|
asprintf(&bp, "%s -t %s", cmd, targ);
|
||||||
if (!(bp = malloc(len)))
|
if (bp == NULL)
|
||||||
err(1, "malloc");
|
err (1, "malloc");
|
||||||
snprintf(bp, len, "%s -t %s", cmd, targ);
|
|
||||||
host = thost;
|
host = thost;
|
||||||
|
|
||||||
if (do_cmd(host, tuser, bp, &remin, &remout) < 0)
|
if (do_cmd(host, tuser, bp, &remin, &remout) < 0)
|
||||||
|
@ -227,18 +226,16 @@ toremote(char *targ, int argc, char **argv)
|
||||||
void
|
void
|
||||||
tolocal(int argc, char **argv)
|
tolocal(int argc, char **argv)
|
||||||
{
|
{
|
||||||
int i, len;
|
int i;
|
||||||
char *bp, *host, *src, *suser;
|
char *bp, *host, *src, *suser;
|
||||||
|
|
||||||
for (i = 0; i < argc - 1; i++) {
|
for (i = 0; i < argc - 1; i++) {
|
||||||
if (!(src = colon(argv[i]))) { /* Local to local. */
|
if (!(src = colon(argv[i]))) { /* Local to local. */
|
||||||
len = strlen(_PATH_CP) + strlen(argv[i]) +
|
asprintf(&bp, "exec %s%s%s %s %s", _PATH_CP,
|
||||||
strlen(argv[argc - 1]) + 20;
|
|
||||||
if (!(bp = malloc(len)))
|
|
||||||
err(1, "malloc");
|
|
||||||
snprintf(bp, len, "exec %s%s%s %s %s", _PATH_CP,
|
|
||||||
iamrecursive ? " -PR" : "", pflag ? " -p" : "",
|
iamrecursive ? " -PR" : "", pflag ? " -p" : "",
|
||||||
argv[i], argv[argc - 1]);
|
argv[i], argv[argc - 1]);
|
||||||
|
if (bp == NULL)
|
||||||
|
err (1, "malloc");
|
||||||
if (susystem(bp, userid))
|
if (susystem(bp, userid))
|
||||||
++errs;
|
++errs;
|
||||||
free(bp);
|
free(bp);
|
||||||
|
@ -258,10 +255,9 @@ tolocal(int argc, char **argv)
|
||||||
else if (!okname(suser))
|
else if (!okname(suser))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
len = strlen(src) + CMDNEEDS + 20;
|
asprintf(&bp, "%s -f %s", cmd, src);
|
||||||
if ((bp = malloc(len)) == NULL)
|
if (bp == NULL)
|
||||||
err(1, "malloc");
|
err (1, "malloc");
|
||||||
snprintf(bp, len, "%s -f %s", cmd, src);
|
|
||||||
if (do_cmd(host, suser, bp, &remin, &remout) < 0) {
|
if (do_cmd(host, suser, bp, &remin, &remout) < 0) {
|
||||||
free(bp);
|
free(bp);
|
||||||
++errs;
|
++errs;
|
||||||
|
@ -275,22 +271,6 @@ tolocal(int argc, char **argv)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
|
||||||
sizestr(off_t size)
|
|
||||||
{
|
|
||||||
static char ss[32];
|
|
||||||
char *p;
|
|
||||||
ss[sizeof(ss) - 1] = '\0';
|
|
||||||
for(p = ss + sizeof(ss) - 2; p >= ss; p--) {
|
|
||||||
*p = '0' + size % 10;
|
|
||||||
size /= 10;
|
|
||||||
if(size == 0)
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return ss;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
source(int argc, char **argv)
|
source(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
@ -339,8 +319,10 @@ syserr: run_err("%s: %s", name, strerror(errno));
|
||||||
goto next;
|
goto next;
|
||||||
}
|
}
|
||||||
#define MODEMASK (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
|
#define MODEMASK (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
|
||||||
snprintf(buf, sizeof(buf), "C%04o %s %s\n",
|
snprintf(buf, sizeof(buf), "C%04o %lu %s\n",
|
||||||
stb.st_mode & MODEMASK, sizestr(stb.st_size), last);
|
stb.st_mode & MODEMASK,
|
||||||
|
(unsigned long)stb.st_size,
|
||||||
|
last);
|
||||||
write(remout, buf, strlen(buf));
|
write(remout, buf, strlen(buf));
|
||||||
if (response() < 0)
|
if (response() < 0)
|
||||||
goto next;
|
goto next;
|
||||||
|
@ -531,7 +513,7 @@ sink(int argc, char **argv)
|
||||||
if (*cp++ != ' ')
|
if (*cp++ != ' ')
|
||||||
SCREWUP("mode not delimited");
|
SCREWUP("mode not delimited");
|
||||||
|
|
||||||
for (size = 0; isdigit(*cp);)
|
for (size = 0; isdigit((unsigned char)*cp);)
|
||||||
size = size * 10 + (*cp++ - '0');
|
size = size * 10 + (*cp++ - '0');
|
||||||
if (*cp++ != ' ')
|
if (*cp++ != ' ')
|
||||||
SCREWUP("size not delimited");
|
SCREWUP("size not delimited");
|
||||||
|
@ -702,21 +684,23 @@ run_err(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
static FILE *fp;
|
static FILE *fp;
|
||||||
va_list ap;
|
va_list ap;
|
||||||
va_start(ap, fmt);
|
|
||||||
|
|
||||||
++errs;
|
++errs;
|
||||||
if (fp == NULL && !(fp = fdopen(remout, "w")))
|
if (fp == NULL && !(fp = fdopen(remout, "w")))
|
||||||
return;
|
return;
|
||||||
|
va_start(ap, fmt);
|
||||||
fprintf(fp, "%c", 0x01);
|
fprintf(fp, "%c", 0x01);
|
||||||
fprintf(fp, "rcp: ");
|
fprintf(fp, "rcp: ");
|
||||||
vfprintf(fp, fmt, ap);
|
vfprintf(fp, fmt, ap);
|
||||||
fprintf(fp, "\n");
|
fprintf(fp, "\n");
|
||||||
fflush(fp);
|
fflush(fp);
|
||||||
|
|
||||||
if (!iamremote)
|
|
||||||
vwarnx(fmt, ap);
|
|
||||||
|
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|
||||||
|
if (!iamremote) {
|
||||||
|
va_start(ap, fmt);
|
||||||
|
vwarnx(fmt, ap);
|
||||||
|
va_end(ap);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -43,7 +43,7 @@ static const char rcsid[] =
|
||||||
|
|
||||||
#include "rcp_locl.h"
|
#include "rcp_locl.h"
|
||||||
|
|
||||||
RCSID("$Id: util.c,v 1.5 2001/01/29 23:36:37 assar Exp $");
|
RCSID("$Id: util.c,v 1.6 2001/09/04 14:35:58 assar Exp $");
|
||||||
|
|
||||||
char *
|
char *
|
||||||
colon(cp)
|
colon(cp)
|
||||||
|
@ -136,6 +136,7 @@ allocbuf(bp, fd, blksize)
|
||||||
{
|
{
|
||||||
struct stat stb;
|
struct stat stb;
|
||||||
size_t size;
|
size_t size;
|
||||||
|
char *p;
|
||||||
|
|
||||||
if (fstat(fd, &stb) < 0) {
|
if (fstat(fd, &stb) < 0) {
|
||||||
run_err("fstat: %s", strerror(errno));
|
run_err("fstat: %s", strerror(errno));
|
||||||
|
@ -146,11 +147,16 @@ allocbuf(bp, fd, blksize)
|
||||||
size = blksize;
|
size = blksize;
|
||||||
if (bp->cnt >= size)
|
if (bp->cnt >= size)
|
||||||
return (bp);
|
return (bp);
|
||||||
if ((bp->buf = realloc(bp->buf, size)) == NULL) {
|
if ((p = realloc(bp->buf, size)) == NULL) {
|
||||||
|
if (bp->buf)
|
||||||
|
free(bp->buf);
|
||||||
|
bp->buf = NULL;
|
||||||
bp->cnt = 0;
|
bp->cnt = 0;
|
||||||
run_err("%s", strerror(errno));
|
run_err("%s", strerror(errno));
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
memset(p, 0, size);
|
||||||
|
bp->buf = p;
|
||||||
bp->cnt = size;
|
bp->cnt = size;
|
||||||
return (bp);
|
return (bp);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,30 @@
|
||||||
|
2001-11-30 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* rshd.c: make the syslog messages somewhat more informative
|
||||||
|
|
||||||
|
2001-08-15 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* rsh.c: only complain about encryption flag when old
|
||||||
|
authentication is requested
|
||||||
|
|
||||||
|
2001-08-07 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* rsh.c: don't try broken auth if rresvport failed; try to give
|
||||||
|
some more informative error messages
|
||||||
|
|
||||||
|
2001-07-31 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* rshd.8: add an EXAMPLE
|
||||||
|
* rshd.8: manual page
|
||||||
|
* rshd.c: add some compat flags
|
||||||
|
* rsh.1: manual page
|
||||||
|
* rsh.c: iff -d, set the SO_DEBUG flags of the stdout and stderr
|
||||||
|
socket; implement parsing user@host
|
||||||
|
|
||||||
|
2001-07-19 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* rshd.c (fatal): use vsnprintf correctly
|
||||||
|
|
||||||
2001-02-07 Assar Westerlund <assar@sics.se>
|
2001-02-07 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
* Makefile.am: add login_access
|
* Makefile.am: add login_access
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile.am,v 1.16 2001/02/07 05:09:06 assar Exp $
|
# $Id: Makefile.am,v 1.17 2001/07/31 09:12:03 joda Exp $
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
|
@ -6,6 +6,8 @@ INCLUDES += $(INCLUDE_krb4) -I$(srcdir)/../login
|
||||||
|
|
||||||
bin_PROGRAMS = rsh
|
bin_PROGRAMS = rsh
|
||||||
|
|
||||||
|
man_MANS = rsh.1 rshd.8
|
||||||
|
|
||||||
libexec_PROGRAMS = rshd
|
libexec_PROGRAMS = rshd
|
||||||
|
|
||||||
rsh_SOURCES = rsh.c common.c rsh_locl.h
|
rsh_SOURCES = rsh.c common.c rsh_locl.h
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.17 2001/07/31 09:12:03 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.16 2001/02/07 05:09:06 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) -I$(srcdir)/../login
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) -I$(srcdir)/../login
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,23 +180,27 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
bin_PROGRAMS = rsh
|
bin_PROGRAMS = rsh
|
||||||
|
|
||||||
|
man_MANS = rsh.1 rshd.8
|
||||||
|
|
||||||
libexec_PROGRAMS = rshd
|
libexec_PROGRAMS = rshd
|
||||||
|
|
||||||
rsh_SOURCES = rsh.c common.c rsh_locl.h
|
rsh_SOURCES = rsh.c common.c rsh_locl.h
|
||||||
|
@ -207,170 +216,93 @@ LDADD = $(LIB_kafs) \
|
||||||
|
|
||||||
subdir = appl/rsh
|
subdir = appl/rsh
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
bin_PROGRAMS = rsh$(EXEEXT)
|
bin_PROGRAMS = rsh$(EXEEXT)
|
||||||
libexec_PROGRAMS = rshd$(EXEEXT)
|
libexec_PROGRAMS = rshd$(EXEEXT)
|
||||||
PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
|
PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
|
||||||
|
|
||||||
|
am_rsh_OBJECTS = rsh.$(OBJEXT) common.$(OBJEXT)
|
||||||
|
rsh_OBJECTS = $(am_rsh_OBJECTS)
|
||||||
|
rsh_LDADD = $(LDADD)
|
||||||
|
@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES = \
|
||||||
|
@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES =
|
||||||
|
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES = \
|
||||||
|
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/kafs/libkafs.la \
|
||||||
|
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES = \
|
||||||
|
@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@ $(top_builddir)/lib/kafs/libkafs.la
|
||||||
|
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES = \
|
||||||
|
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la \
|
||||||
|
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES = \
|
||||||
|
@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@ $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES = \
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/kafs/libkafs.la \
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la \
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES = \
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@ $(top_builddir)/lib/kafs/libkafs.la \
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@ $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
rsh_LDFLAGS =
|
||||||
|
am_rshd_OBJECTS = rshd.$(OBJEXT) common.$(OBJEXT) login_access.$(OBJEXT)
|
||||||
|
rshd_OBJECTS = $(am_rshd_OBJECTS)
|
||||||
|
rshd_LDADD = $(LDADD)
|
||||||
|
@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES = \
|
||||||
|
@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES =
|
||||||
|
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES = \
|
||||||
|
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/kafs/libkafs.la \
|
||||||
|
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES = \
|
||||||
|
@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@ $(top_builddir)/lib/kafs/libkafs.la
|
||||||
|
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES = \
|
||||||
|
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la \
|
||||||
|
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@ $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES = \
|
||||||
|
@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@ $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES = \
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/kafs/libkafs.la \
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la \
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@ $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES = \
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@ $(top_builddir)/lib/kafs/libkafs.la \
|
||||||
|
@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@ $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
rshd_LDFLAGS =
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
am_rsh_OBJECTS = rsh.$(OBJEXT) common.$(OBJEXT)
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
rsh_OBJECTS = $(am_rsh_OBJECTS)
|
|
||||||
rsh_LDADD = $(LDADD)
|
|
||||||
@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES =
|
|
||||||
@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES = \
|
|
||||||
@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES = \
|
|
||||||
@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
|
|
||||||
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES = \
|
|
||||||
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
|
|
||||||
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES = \
|
|
||||||
@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
|
|
||||||
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES = \
|
|
||||||
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
|
|
||||||
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES = \
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la \
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES = \
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
|
||||||
rsh_LDFLAGS =
|
|
||||||
am_rshd_OBJECTS = rshd.$(OBJEXT) common.$(OBJEXT) \
|
|
||||||
login_access.$(OBJEXT)
|
|
||||||
rshd_OBJECTS = $(am_rshd_OBJECTS)
|
|
||||||
rshd_LDADD = $(LDADD)
|
|
||||||
@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES =
|
|
||||||
@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES = \
|
|
||||||
@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES = \
|
|
||||||
@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la
|
|
||||||
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES = \
|
|
||||||
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
|
|
||||||
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES = \
|
|
||||||
@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
|
|
||||||
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES = \
|
|
||||||
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
|
|
||||||
@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES = \
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kafs/libkafs.la \
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@$(top_builddir)/lib/kdfs/libkdfs.la
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES = \
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kafs/libkafs.la \
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/asn1/libasn1.la \
|
|
||||||
@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
|
||||||
rshd_LDFLAGS =
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
depcomp =
|
CFLAGS = @CFLAGS@
|
||||||
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
DIST_SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
|
||||||
|
|
||||||
|
NROFF = nroff
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
MANS = $(man_MANS)
|
||||||
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
|
SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
|
||||||
OBJECTS = $(am_rsh_OBJECTS) $(am_rshd_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/rsh/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-binPROGRAMS:
|
|
||||||
|
|
||||||
clean-binPROGRAMS:
|
|
||||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-binPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-binPROGRAMS:
|
|
||||||
|
|
||||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-binPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
clean-libexecPROGRAMS:
|
|
||||||
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-libexecPROGRAMS:
|
|
||||||
|
|
||||||
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-libexecPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -379,22 +311,162 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/rsh/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-binPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
rsh$(EXEEXT): $(rsh_OBJECTS) $(rsh_DEPENDENCIES)
|
clean-binPROGRAMS:
|
||||||
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||||
|
install-libexecPROGRAMS: $(libexec_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
|
uninstall-libexecPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(libexecdir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
|
clean-libexecPROGRAMS:
|
||||||
|
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
|
||||||
|
rsh$(EXEEXT): $(rsh_OBJECTS) $(rsh_DEPENDENCIES)
|
||||||
@rm -f rsh$(EXEEXT)
|
@rm -f rsh$(EXEEXT)
|
||||||
$(LINK) $(rsh_LDFLAGS) $(rsh_OBJECTS) $(rsh_LDADD) $(LIBS)
|
$(LINK) $(rsh_LDFLAGS) $(rsh_OBJECTS) $(rsh_LDADD) $(LIBS)
|
||||||
|
rshd$(EXEEXT): $(rshd_OBJECTS) $(rshd_DEPENDENCIES)
|
||||||
rshd$(EXEEXT): $(rshd_OBJECTS) $(rshd_DEPENDENCIES)
|
|
||||||
@rm -f rshd$(EXEEXT)
|
@rm -f rshd$(EXEEXT)
|
||||||
$(LINK) $(rshd_LDFLAGS) $(rshd_OBJECTS) $(rshd_LDADD) $(LIBS)
|
$(LINK) $(rshd_LDFLAGS) $(rshd_OBJECTS) $(rshd_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
man1dir = $(mandir)/man1
|
||||||
|
install-man1: $(man1_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
||||||
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
|
case "$$i" in \
|
||||||
|
*.1*) list="$$list $$i" ;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
for i in $$list; do \
|
||||||
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
||||||
|
else file=$$i; fi; \
|
||||||
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||||
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||||
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||||
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||||
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
||||||
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
||||||
|
done
|
||||||
|
uninstall-man1:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
|
case "$$i" in \
|
||||||
|
*.1*) list="$$list $$i" ;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
for i in $$list; do \
|
||||||
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||||
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||||
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||||
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||||
|
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
||||||
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
||||||
|
done
|
||||||
|
|
||||||
|
man8dir = $(mandir)/man8
|
||||||
|
install-man8: $(man8_MANS) $(man_MANS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(man8dir)
|
||||||
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
|
case "$$i" in \
|
||||||
|
*.8*) list="$$list $$i" ;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
for i in $$list; do \
|
||||||
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
||||||
|
else file=$$i; fi; \
|
||||||
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||||
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||||
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||||
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||||
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
|
done
|
||||||
|
uninstall-man8:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
||||||
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
||||||
|
for i in $$l2; do \
|
||||||
|
case "$$i" in \
|
||||||
|
*.8*) list="$$list $$i" ;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
for i in $$list; do \
|
||||||
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
||||||
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||||
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||||
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||||
|
echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
|
||||||
|
rm -f $(DESTDIR)$(man8dir)/$$inst; \
|
||||||
|
done
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -423,22 +495,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -448,90 +521,98 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) $(MANS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS
|
installcheck: installcheck-am
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir)
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-compile mostlyclean-libtool \
|
|
||||||
mostlyclean-tags mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-binPROGRAMS clean-libexecPROGRAMS clean-compile \
|
|
||||||
clean-libtool clean-tags clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-binPROGRAMS distclean-libexecPROGRAMS \
|
clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
|
||||||
distclean-compile distclean-libtool distclean-tags \
|
clean-libtool mostlyclean-am
|
||||||
distclean-generic clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-binPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-libexecPROGRAMS \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
dvi: dvi-am
|
||||||
distclean-am
|
|
||||||
@echo "This command is intended for maintainers to use;"
|
dvi-am:
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local install-man
|
||||||
|
|
||||||
|
install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man: install-man1 install-man8
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
|
||||||
mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
|
mostlyclean: mostlyclean-am
|
||||||
clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
|
|
||||||
uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
distclean-compile clean-compile maintainer-clean-compile \
|
mostlyclean-libtool
|
||||||
mostlyclean-libtool distclean-libtool clean-libtool \
|
|
||||||
maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
|
uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
|
||||||
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi \
|
uninstall-libexecPROGRAMS uninstall-man
|
||||||
check-local check check-am installcheck-am installcheck install-exec-am \
|
|
||||||
install-exec install-data-local install-data-am install-data install-am \
|
uninstall-man: uninstall-man1 uninstall-man8
|
||||||
install uninstall-am uninstall all-local all-redirect all-am all \
|
|
||||||
install-strip installdirs mostlyclean-generic distclean-generic \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
|
||||||
maintainer-clean
|
clean-libtool distclean distclean-compile distclean-generic \
|
||||||
|
distclean-libtool distclean-tags distdir dvi dvi-am info \
|
||||||
|
info-am install install-am install-binPROGRAMS install-data \
|
||||||
|
install-data-am install-data-local install-exec install-exec-am \
|
||||||
|
install-info install-info-am install-libexecPROGRAMS \
|
||||||
|
install-man install-man1 install-man8 install-strip \
|
||||||
|
installcheck installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
||||||
|
uninstall-am uninstall-binPROGRAMS uninstall-info-am \
|
||||||
|
uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
|
||||||
|
uninstall-man8
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -664,7 +745,6 @@ check-local::
|
||||||
|
|
||||||
login_access.c:
|
login_access.c:
|
||||||
$(LN_S) $(srcdir)/../login/login_access.c .
|
$(LN_S) $(srcdir)/../login/login_access.c .
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
218
crypto/heimdal/appl/rsh/rsh.1
Normal file
218
crypto/heimdal/appl/rsh/rsh.1
Normal file
|
@ -0,0 +1,218 @@
|
||||||
|
.\" $Id: rsh.1,v 1.1 2001/07/31 08:13:41 joda Exp $
|
||||||
|
.\"
|
||||||
|
.Dd July 31, 2001
|
||||||
|
.Dt RSH 1
|
||||||
|
.Os HEIMDAL
|
||||||
|
.Sh NAME
|
||||||
|
.Nm rsh
|
||||||
|
.Nd
|
||||||
|
remote shell
|
||||||
|
.Sh SYNOPSIS
|
||||||
|
.Nm
|
||||||
|
.Op Fl 45FGKdefnuxz
|
||||||
|
.Op Fl U Pa string
|
||||||
|
.Op Fl p Ar port
|
||||||
|
.Op Fl l Ar username
|
||||||
|
.Ar host [command]
|
||||||
|
.Sh DESCRIPTION
|
||||||
|
.Nm
|
||||||
|
authenticates to the
|
||||||
|
.Xr rshd 8
|
||||||
|
daemon on the remote
|
||||||
|
.Ar host ,
|
||||||
|
and then executes the specified
|
||||||
|
.Ar command .
|
||||||
|
.Pp
|
||||||
|
.Nm
|
||||||
|
copies its standard input to the remote command, and the standard
|
||||||
|
output and error of the remote command to its own.
|
||||||
|
.Pp
|
||||||
|
Valid options are:
|
||||||
|
.Bl -tag -width Ds
|
||||||
|
.It Xo
|
||||||
|
.Fl 4 Ns ,
|
||||||
|
.Fl -krb4
|
||||||
|
.Xc
|
||||||
|
The
|
||||||
|
.Fl 4
|
||||||
|
option requests Kerberos 4 authentication. Normally all supported
|
||||||
|
authentication mechanisms will be tried, but in some cases more
|
||||||
|
explicit control is desired.
|
||||||
|
.It Xo
|
||||||
|
.Fl 5 Ns ,
|
||||||
|
.Fl -krb5
|
||||||
|
.Xc
|
||||||
|
The
|
||||||
|
.Fl 5
|
||||||
|
option requests Kerberos 5 authentication. This is analogous to the
|
||||||
|
.Fl 4
|
||||||
|
option.
|
||||||
|
.It Xo
|
||||||
|
.Fl K Ns ,
|
||||||
|
.Fl -broken
|
||||||
|
.Xc
|
||||||
|
The
|
||||||
|
.Fl K
|
||||||
|
option turns off all Kerberos authentication. The long name implies
|
||||||
|
that this is more or less totally unsecure. The security in this mode
|
||||||
|
relies on reserved ports, which is not very secure.
|
||||||
|
.It Xo
|
||||||
|
.Fl n Ns ,
|
||||||
|
.Fl -no-input
|
||||||
|
.Xc
|
||||||
|
The
|
||||||
|
.Fl n
|
||||||
|
option directs the input from the
|
||||||
|
.Pa /dev/null
|
||||||
|
device (see the
|
||||||
|
.Sx BUGS
|
||||||
|
section of this manual page).
|
||||||
|
.It Xo
|
||||||
|
.Fl e Ns ,
|
||||||
|
.Fl -no-stderr
|
||||||
|
.Xc
|
||||||
|
Don't use a separate socket for the stderr stream. This can be
|
||||||
|
necessary if rsh-ing through a NAT bridge.
|
||||||
|
.It Xo
|
||||||
|
.Fl x Ns ,
|
||||||
|
.Fl -encrypt
|
||||||
|
.Xc
|
||||||
|
The
|
||||||
|
.Fl x
|
||||||
|
option enables encryption for all data exchange. This is only valid
|
||||||
|
for Kerberos authenticated connections (see the
|
||||||
|
.Sx BUGS
|
||||||
|
section for limitations).
|
||||||
|
.It Xo
|
||||||
|
.Fl z
|
||||||
|
.Xc
|
||||||
|
The opposite of
|
||||||
|
.Fl x .
|
||||||
|
This is the default, but encryption can be enabled when using
|
||||||
|
Kerberos 5, by setting the
|
||||||
|
.Li libdefaults/encrypt
|
||||||
|
option in
|
||||||
|
.Xr krb5.conf 5 .
|
||||||
|
.It Xo
|
||||||
|
.Fl f Ns ,
|
||||||
|
.Fl -forward
|
||||||
|
.Xc
|
||||||
|
Forward Kerberos 5 credentials to the remote host. Also controlled by
|
||||||
|
.Li libdefaults/forward
|
||||||
|
in
|
||||||
|
.Xr krb5.conf 5 .
|
||||||
|
.It Xo
|
||||||
|
.Fl G
|
||||||
|
.Xc
|
||||||
|
The opposite of
|
||||||
|
.Fl f .
|
||||||
|
.It Xo
|
||||||
|
.Fl F Ns ,
|
||||||
|
.Fl -forwardable
|
||||||
|
.Xc
|
||||||
|
Make the forwarded credentials re-forwardable. Also controlled by
|
||||||
|
.Li libdefaults/forwardable
|
||||||
|
in
|
||||||
|
.Xr krb5.conf 5 .
|
||||||
|
.It Xo
|
||||||
|
.Fl u Ns ,
|
||||||
|
.Fl -unique
|
||||||
|
.Xc
|
||||||
|
Make sure the remote credentials cache is unique, that is, don't reuse
|
||||||
|
any existing cache. Mutually exclusive to
|
||||||
|
.Fl U .
|
||||||
|
.It Xo
|
||||||
|
.Fl U Pa string Ns ,
|
||||||
|
.Fl -tkfile= Ns Pa string
|
||||||
|
.Xc
|
||||||
|
Name of the remote credentials cache. Mutually exclusive to
|
||||||
|
.Fl u .
|
||||||
|
.It Xo
|
||||||
|
.Fl p Ar number-or-service Ns ,
|
||||||
|
.Fl -port= Ns Ar number-or-service
|
||||||
|
.Xc
|
||||||
|
Connect to this port instead of the default (which is 514 when using
|
||||||
|
old port based authentication, 544 for Kerberos 5 and non-encrypted
|
||||||
|
Kerberos 4, and 545 for encrytpted Kerberos 4; subject of course to
|
||||||
|
the contents of
|
||||||
|
.Pa /etc/services ) .
|
||||||
|
.It Xo
|
||||||
|
.Fl l Ar string Ns ,
|
||||||
|
.Fl -user= Ns Ar string
|
||||||
|
.Xc
|
||||||
|
By default the remote username is the same as the local. The
|
||||||
|
.Fl l
|
||||||
|
option or the
|
||||||
|
.Pa username@host
|
||||||
|
format allow the remote name to be specified.
|
||||||
|
.El
|
||||||
|
.\".Pp
|
||||||
|
.\"Without a
|
||||||
|
.\".Ar command
|
||||||
|
.\".Nm
|
||||||
|
.\"will just exec
|
||||||
|
.\".Xr rlogin 1
|
||||||
|
.\"with the same arguments.
|
||||||
|
.Sh EXAMPLES
|
||||||
|
Care should be taken when issuing commands containing shell meta
|
||||||
|
characters. Without quoting these will be expanded on the local
|
||||||
|
machine.
|
||||||
|
.Pp
|
||||||
|
The following command:
|
||||||
|
.Pp
|
||||||
|
.Dl rsh otherhost cat remotefile > localfile
|
||||||
|
.Pp
|
||||||
|
will write the contents of the remote
|
||||||
|
.Pa remotefile
|
||||||
|
to the local
|
||||||
|
.Pa localfile ,
|
||||||
|
but:
|
||||||
|
.Pp
|
||||||
|
.Dl rsh otherhost 'cat remotefile > remotefile2'
|
||||||
|
.Pp
|
||||||
|
will write it to the remote
|
||||||
|
.Pa remotefile2 .
|
||||||
|
.\".Sh ENVIRONMENT
|
||||||
|
.Sh FILES
|
||||||
|
.Bl -tag -width /etc/hosts -compact
|
||||||
|
.It Pa /etc/hosts
|
||||||
|
.El
|
||||||
|
.\".Sh DIAGNOSTICS
|
||||||
|
.Sh SEE ALSO
|
||||||
|
.Xr rlogin 1 ,
|
||||||
|
.Xr krb_realmofhost 3 ,
|
||||||
|
.Xr krb_sendauth 3 ,
|
||||||
|
.Xr hosts.equiv 5 ,
|
||||||
|
.Xr krb5.conf 5 ,
|
||||||
|
.Xr rhosts 5 ,
|
||||||
|
.Xr kerberos 8
|
||||||
|
.Xr rshd 8
|
||||||
|
.\".Sh STANDARDS
|
||||||
|
.Sh HISTORY
|
||||||
|
The
|
||||||
|
.Nm
|
||||||
|
command appeared in
|
||||||
|
.Bx 4.2 .
|
||||||
|
.Sh AUTHORS
|
||||||
|
This implementation of
|
||||||
|
.Nm
|
||||||
|
was written as part of the Heimdal Kerberos 5 implementation.
|
||||||
|
.Sh BUGS
|
||||||
|
Some shells (notably
|
||||||
|
.Xr csh 1 )
|
||||||
|
will cause
|
||||||
|
.Nm
|
||||||
|
to block if run in the background, unless the standard input is directed away from the terminal. This is what the
|
||||||
|
.Fl n
|
||||||
|
option is for.
|
||||||
|
.Pp
|
||||||
|
The
|
||||||
|
.Fl x
|
||||||
|
options enables encryption for the session, but for both Kerberos 4
|
||||||
|
and 5 the actual command is sent unencrypted, so you should not send
|
||||||
|
any secret information in the command line (which is probably a bad
|
||||||
|
idea anyway, since the command line can usually be read with tools
|
||||||
|
like
|
||||||
|
.Xr ps 1 ) .
|
||||||
|
Forthermore in Kerberos 4 the command is not even integrity
|
||||||
|
protected, so anyone with the right tools can modify the command.
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 - 2000 Kungliga Tekniska Högskolan
|
* Copyright (c) 1997 - 2001 Kungliga Tekniska Högskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "rsh_locl.h"
|
#include "rsh_locl.h"
|
||||||
RCSID("$Id: rsh.c,v 1.58 2001/02/20 01:44:47 assar Exp $");
|
RCSID("$Id: rsh.c,v 1.63 2001/09/03 05:54:13 assar Exp $");
|
||||||
|
|
||||||
enum auth_method auth_method;
|
enum auth_method auth_method;
|
||||||
int do_encrypt = -1;
|
int do_encrypt = -1;
|
||||||
|
@ -48,7 +48,19 @@ krb5_crypto crypto;
|
||||||
des_key_schedule schedule;
|
des_key_schedule schedule;
|
||||||
des_cblock iv;
|
des_cblock iv;
|
||||||
#endif
|
#endif
|
||||||
|
int sock_debug = 0;
|
||||||
|
|
||||||
|
#ifdef KRB4
|
||||||
|
static int use_v4 = -1;
|
||||||
|
#endif
|
||||||
|
static int use_v5 = -1;
|
||||||
|
static int use_only_broken = 0;
|
||||||
|
static int use_broken = 1;
|
||||||
|
static char *port_str;
|
||||||
|
static const char *user;
|
||||||
|
static int do_version;
|
||||||
|
static int do_help;
|
||||||
|
static int do_errsock = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
|
@ -150,7 +162,7 @@ send_krb4_auth(int s,
|
||||||
(struct sockaddr_in *)thataddr,
|
(struct sockaddr_in *)thataddr,
|
||||||
KCMD_VERSION);
|
KCMD_VERSION);
|
||||||
if (status != KSUCCESS) {
|
if (status != KSUCCESS) {
|
||||||
warnx ("%s: %s", hostname, krb_get_err_text(status));
|
warnx("%s: %s", hostname, krb_get_err_text(status));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
memcpy (iv, cred.session, sizeof(iv));
|
memcpy (iv, cred.session, sizeof(iv));
|
||||||
|
@ -295,7 +307,7 @@ send_krb5_auth(int s,
|
||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
if (status) {
|
if (status) {
|
||||||
warnx ("%s: %s", hostname, krb5_get_err_text(context, status));
|
warnx("%s: %s", hostname, krb5_get_err_text(context, status));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -522,6 +534,16 @@ proto (int s, int errsock,
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sock_debug) {
|
||||||
|
int one = 1;
|
||||||
|
if (setsockopt(s, SOL_SOCKET, SO_DEBUG, (void *)&one, sizeof(one)) < 0)
|
||||||
|
warn("setsockopt remote");
|
||||||
|
if (errsock2 != -1 &&
|
||||||
|
setsockopt(errsock2, SOL_SOCKET, SO_DEBUG,
|
||||||
|
(void *)&one, sizeof(one)) < 0)
|
||||||
|
warn("setsockopt stderr");
|
||||||
|
}
|
||||||
|
|
||||||
return loop (s, errsock2);
|
return loop (s, errsock2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -585,11 +607,6 @@ doit_broken (int argc,
|
||||||
int error;
|
int error;
|
||||||
char portstr[NI_MAXSERV];
|
char portstr[NI_MAXSERV];
|
||||||
|
|
||||||
if (priv_socket1 < 0) {
|
|
||||||
warnx ("unable to bind reserved port: is rsh setuid root?");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
memset (&hints, 0, sizeof(hints));
|
memset (&hints, 0, sizeof(hints));
|
||||||
hints.ai_socktype = SOCK_STREAM;
|
hints.ai_socktype = SOCK_STREAM;
|
||||||
hints.ai_protocol = IPPROTO_TCP;
|
hints.ai_protocol = IPPROTO_TCP;
|
||||||
|
@ -682,6 +699,7 @@ doit (const char *hostname,
|
||||||
struct addrinfo hints;
|
struct addrinfo hints;
|
||||||
int error;
|
int error;
|
||||||
char portstr[NI_MAXSERV];
|
char portstr[NI_MAXSERV];
|
||||||
|
int socketfailed = 1;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
memset (&hints, 0, sizeof(hints));
|
memset (&hints, 0, sizeof(hints));
|
||||||
|
@ -701,10 +719,16 @@ doit (const char *hostname,
|
||||||
int errsock;
|
int errsock;
|
||||||
|
|
||||||
s = socket (a->ai_family, a->ai_socktype, a->ai_protocol);
|
s = socket (a->ai_family, a->ai_socktype, a->ai_protocol);
|
||||||
if (s < 0)
|
if (s < 0)
|
||||||
continue;
|
continue;
|
||||||
|
socketfailed = 0;
|
||||||
if (connect (s, a->ai_addr, a->ai_addrlen) < 0) {
|
if (connect (s, a->ai_addr, a->ai_addrlen) < 0) {
|
||||||
warn ("connect(%s)", hostname);
|
char addr[128];
|
||||||
|
if(getnameinfo(a->ai_addr, a->ai_addrlen,
|
||||||
|
addr, sizeof(addr), NULL, 0, NI_NUMERICHOST) == 0)
|
||||||
|
warn ("connect(%s [%s])", hostname, addr);
|
||||||
|
else
|
||||||
|
warn ("connect(%s)", hostname);
|
||||||
close (s);
|
close (s);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -746,57 +770,37 @@ doit (const char *hostname,
|
||||||
close (s);
|
close (s);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
warnx ("failed to contact %s", hostname);
|
if(socketfailed)
|
||||||
|
warnx ("failed to contact %s", hostname);
|
||||||
freeaddrinfo (ai);
|
freeaddrinfo (ai);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef KRB4
|
|
||||||
static int use_v4 = -1;
|
|
||||||
#endif
|
|
||||||
static int use_v5 = -1;
|
|
||||||
static int use_only_broken = 0;
|
|
||||||
static int use_broken = 1;
|
|
||||||
static char *port_str;
|
|
||||||
static const char *user;
|
|
||||||
static int do_version;
|
|
||||||
static int do_help;
|
|
||||||
static int do_errsock = 1;
|
|
||||||
|
|
||||||
struct getargs args[] = {
|
struct getargs args[] = {
|
||||||
#ifdef KRB4
|
#ifdef KRB4
|
||||||
{ "krb4", '4', arg_flag, &use_v4, "Use Kerberos V4",
|
{ "krb4", '4', arg_flag, &use_v4, "Use Kerberos V4" },
|
||||||
NULL },
|
|
||||||
#endif
|
#endif
|
||||||
{ "krb5", '5', arg_flag, &use_v5, "Use Kerberos V5",
|
{ "krb5", '5', arg_flag, &use_v5, "Use Kerberos V5" },
|
||||||
NULL },
|
{ "broken", 'K', arg_flag, &use_only_broken, "Use only priv port" },
|
||||||
{ "broken", 'K', arg_flag, &use_only_broken, "Use priv port",
|
{ NULL, 'd', arg_flag, &sock_debug, "Enable socket debugging" },
|
||||||
NULL },
|
{ "input", 'n', arg_negative_flag, &input, "Close stdin" },
|
||||||
{ "input", 'n', arg_negative_flag, &input, "Close stdin",
|
{ "encrypt", 'x', arg_flag, &do_encrypt, "Encrypt connection" },
|
||||||
NULL },
|
|
||||||
{ "encrypt", 'x', arg_flag, &do_encrypt, "Encrypt connection",
|
|
||||||
NULL },
|
|
||||||
{ NULL, 'z', arg_negative_flag, &do_encrypt,
|
{ NULL, 'z', arg_negative_flag, &do_encrypt,
|
||||||
"Don't encrypt connection", NULL },
|
"Don't encrypt connection", NULL },
|
||||||
{ "forward", 'f', arg_flag, &do_forward, "Forward credentials",
|
{ "forward", 'f', arg_flag, &do_forward, "Forward credentials"},
|
||||||
NULL },
|
{ NULL, 'G', arg_negative_flag,&do_forward, "Don't forward credentials" },
|
||||||
{ "forward", 'G', arg_negative_flag,&do_forward, "Forward credentials",
|
|
||||||
NULL },
|
|
||||||
{ "forwardable", 'F', arg_flag, &do_forwardable,
|
{ "forwardable", 'F', arg_flag, &do_forwardable,
|
||||||
"Forward forwardable credentials", NULL },
|
"Forward forwardable credentials" },
|
||||||
{ "unique", 'u', arg_flag, &do_unique_tkfile,
|
{ "unique", 'u', arg_flag, &do_unique_tkfile,
|
||||||
"Use unique remote tkfile", NULL },
|
"Use unique remote tkfile" },
|
||||||
{ "tkfile", 'U', arg_string, &unique_tkfile,
|
{ "tkfile", 'U', arg_string, &unique_tkfile,
|
||||||
"Use that remote tkfile", NULL },
|
"Use that remote tkfile" },
|
||||||
{ "port", 'p', arg_string, &port_str, "Use this port",
|
{ "port", 'p', arg_string, &port_str, "Use this port",
|
||||||
"number-or-service" },
|
"number-or-service" },
|
||||||
{ "user", 'l', arg_string, &user, "Run as this user",
|
{ "user", 'l', arg_string, &user, "Run as this user" },
|
||||||
NULL },
|
{ "stderr", 'e', arg_negative_flag, &do_errsock, "Don't open stderr"},
|
||||||
{ "stderr", 'e', arg_negative_flag, &do_errsock, "don't open stderr"},
|
{ "version", 0, arg_flag, &do_version, NULL },
|
||||||
{ "version", 0, arg_flag, &do_version, "Print version",
|
{ "help", 0, arg_flag, &do_help, NULL }
|
||||||
NULL },
|
|
||||||
{ "help", 0, arg_flag, &do_help, NULL,
|
|
||||||
NULL }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -822,6 +826,7 @@ main(int argc, char **argv)
|
||||||
int optind = 0;
|
int optind = 0;
|
||||||
int ret = 1;
|
int ret = 1;
|
||||||
char *cmd;
|
char *cmd;
|
||||||
|
char *tmp;
|
||||||
size_t cmd_len;
|
size_t cmd_len;
|
||||||
const char *local_user;
|
const char *local_user;
|
||||||
char *host = NULL;
|
char *host = NULL;
|
||||||
|
@ -851,6 +856,14 @@ main(int argc, char **argv)
|
||||||
&optind))
|
&optind))
|
||||||
usage (1);
|
usage (1);
|
||||||
|
|
||||||
|
if (do_help)
|
||||||
|
usage (0);
|
||||||
|
|
||||||
|
if (do_version) {
|
||||||
|
print_version (NULL);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (do_forwardable == -1)
|
if (do_forwardable == -1)
|
||||||
do_forwardable = krb5_config_get_bool (context, NULL,
|
do_forwardable = krb5_config_get_bool (context, NULL,
|
||||||
"libdefaults",
|
"libdefaults",
|
||||||
|
@ -865,11 +878,15 @@ main(int argc, char **argv)
|
||||||
else if (do_forward == 0)
|
else if (do_forward == 0)
|
||||||
do_forwardable = 0;
|
do_forwardable = 0;
|
||||||
|
|
||||||
if (do_encrypt == -1)
|
if (do_encrypt == -1) {
|
||||||
do_encrypt = krb5_config_get_bool (context, NULL,
|
/* we want to tell the -x flag from the default encryption
|
||||||
"libdefaults",
|
option */
|
||||||
"encrypt",
|
if(!krb5_config_get_bool (context, NULL,
|
||||||
NULL);
|
"libdefaults",
|
||||||
|
"encrypt",
|
||||||
|
NULL))
|
||||||
|
do_encrypt = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (do_forwardable)
|
if (do_forwardable)
|
||||||
do_forward = 1;
|
do_forward = 1;
|
||||||
|
@ -888,14 +905,16 @@ main(int argc, char **argv)
|
||||||
use_v5 = 0;
|
use_v5 = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (do_help)
|
if(priv_socket1 < 0) {
|
||||||
usage (0);
|
if (use_only_broken)
|
||||||
|
errx (1, "unable to bind reserved port: is rsh setuid root?");
|
||||||
if (do_version) {
|
use_broken = 0;
|
||||||
print_version (NULL);
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (do_encrypt == 1 && use_only_broken)
|
||||||
|
errx (1, "encryption not supported with old style authentication");
|
||||||
|
|
||||||
|
|
||||||
if (do_unique_tkfile && unique_tkfile != NULL)
|
if (do_unique_tkfile && unique_tkfile != NULL)
|
||||||
errx (1, "Only one of -u and -U allowed.");
|
errx (1, "Only one of -u and -U allowed.");
|
||||||
|
|
||||||
|
@ -916,6 +935,12 @@ main(int argc, char **argv)
|
||||||
else
|
else
|
||||||
host = argv[host_index = optind++];
|
host = argv[host_index = optind++];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if((tmp = strchr(host, '@')) != NULL) {
|
||||||
|
*tmp++ = '\0';
|
||||||
|
user = host;
|
||||||
|
host = tmp;
|
||||||
|
}
|
||||||
|
|
||||||
if (optind == argc) {
|
if (optind == argc) {
|
||||||
close (priv_socket1);
|
close (priv_socket1);
|
||||||
|
@ -948,7 +973,7 @@ main(int argc, char **argv)
|
||||||
user = local_user;
|
user = local_user;
|
||||||
|
|
||||||
cmd_len = construct_command(&cmd, argc - optind, argv + optind);
|
cmd_len = construct_command(&cmd, argc - optind, argv + optind);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Try all different authentication methods
|
* Try all different authentication methods
|
||||||
*/
|
*/
|
||||||
|
@ -991,8 +1016,6 @@ main(int argc, char **argv)
|
||||||
else
|
else
|
||||||
tmp_port = krb5_getportbyname(context, "shell", "tcp", 514);
|
tmp_port = krb5_getportbyname(context, "shell", "tcp", 514);
|
||||||
auth_method = AUTH_BROKEN;
|
auth_method = AUTH_BROKEN;
|
||||||
if (do_encrypt)
|
|
||||||
errx (1, "encryption not supported with priv port authentication");
|
|
||||||
ret = doit_broken (argc, argv, host_index, host,
|
ret = doit_broken (argc, argv, host_index, host,
|
||||||
user, local_user,
|
user, local_user,
|
||||||
tmp_port,
|
tmp_port,
|
||||||
|
|
130
crypto/heimdal/appl/rsh/rshd.8
Normal file
130
crypto/heimdal/appl/rsh/rshd.8
Normal file
|
@ -0,0 +1,130 @@
|
||||||
|
.\" Things to fix:
|
||||||
|
.\" * remove Op from mandatory flags
|
||||||
|
.\" * use better macros for arguments (like .Pa for files)
|
||||||
|
.\"
|
||||||
|
.Dd July 31, 2001
|
||||||
|
.Dt RSHD 8
|
||||||
|
.Os HEIMDAL
|
||||||
|
.Sh NAME
|
||||||
|
.Nm rshd
|
||||||
|
.Nd
|
||||||
|
remote shell server
|
||||||
|
.Sh SYNOPSIS
|
||||||
|
.Nm
|
||||||
|
.Op Fl aiklnvxPL
|
||||||
|
.Op Fl p Ar port
|
||||||
|
.Sh DESCRIPTION
|
||||||
|
.Nm
|
||||||
|
is the server for
|
||||||
|
the
|
||||||
|
.Xr rsh 1
|
||||||
|
program. It provides an authenticated remote command execution
|
||||||
|
service. Supported options are:
|
||||||
|
.Bl -tag -width Ds
|
||||||
|
.It Xo
|
||||||
|
.Fl n Ns ,
|
||||||
|
.Fl -no-keepalive
|
||||||
|
.Xc
|
||||||
|
Disables keep-alive messages. Keep-alives are packets sent a certain
|
||||||
|
interval to make sure that the client is still there, even when it
|
||||||
|
doesn't send any data.
|
||||||
|
.It Xo
|
||||||
|
.Fl k Ns ,
|
||||||
|
.Fl -kerberos
|
||||||
|
.Xc
|
||||||
|
Assume that clients connecting to this server will use some form of
|
||||||
|
Kerberos authentication. See the
|
||||||
|
.Sx EXAMPLES
|
||||||
|
section for a sample
|
||||||
|
.Xr inetd.conf 5
|
||||||
|
configuration.
|
||||||
|
.It Xo
|
||||||
|
.Fl x Ns ,
|
||||||
|
.Fl -encrypt
|
||||||
|
.Xc
|
||||||
|
For Kerberos 4 this means that the connections are encrypted. Kerberos
|
||||||
|
5 will negotiate encryption inline. This option implies
|
||||||
|
.Fl k .
|
||||||
|
.\".It Xo
|
||||||
|
.\".Fl l Ns ,
|
||||||
|
.\".Fl -no-rhosts
|
||||||
|
.\".Xc
|
||||||
|
.\"When using old port-based authentication, the user's
|
||||||
|
.\".Pa .rhosts
|
||||||
|
.\"files are normally checked. This options disables this.
|
||||||
|
.It Xo
|
||||||
|
.Fl v Ns ,
|
||||||
|
.Fl -vacuous
|
||||||
|
.Xc
|
||||||
|
If the connecting client does not use any Kerberised authentication,
|
||||||
|
print a message that complains about this fact, and exit. This is
|
||||||
|
helpful if you want to move away from old port-based authentication.
|
||||||
|
.It Xo
|
||||||
|
.Fl P
|
||||||
|
.Xc
|
||||||
|
When using the AFS filesystem, users' authentication tokens are put in
|
||||||
|
something called a PAG (Process Authentication Group). Multiple
|
||||||
|
processes can share a PAG, but normally each login session has its own
|
||||||
|
PAG. This option disables the
|
||||||
|
.Fn setpag
|
||||||
|
call, so all tokens will be put in the default (uid-based) PAG, making
|
||||||
|
it possible to share tokens between sessions. This is only useful in
|
||||||
|
peculiar environments, such as some batch systems.
|
||||||
|
.It Xo
|
||||||
|
.Fl i Ns ,
|
||||||
|
.Fl -no-inetd
|
||||||
|
.Xc
|
||||||
|
The
|
||||||
|
.Fl i
|
||||||
|
option will cause
|
||||||
|
.Nm
|
||||||
|
to create a socket, instead of assuming that its stdin came from
|
||||||
|
.Xr inetd 8 .
|
||||||
|
This is mostly useful for debugging.
|
||||||
|
.It Xo
|
||||||
|
.Fl p Ar port Ns ,
|
||||||
|
.Fl -port= Ns Ar port
|
||||||
|
.Xc
|
||||||
|
Port to use with
|
||||||
|
.Fl i .
|
||||||
|
.It Xo
|
||||||
|
.Fl a
|
||||||
|
.Xc
|
||||||
|
This flag is for backwards compatibility only.
|
||||||
|
.It Xo
|
||||||
|
.Fl L
|
||||||
|
.Xc
|
||||||
|
This flag enables logging of connections to
|
||||||
|
.Xr syslogd 8 .
|
||||||
|
This option is always on in this implementation.
|
||||||
|
.El
|
||||||
|
.\".Sh ENVIRONMENT
|
||||||
|
.Sh FILES
|
||||||
|
.Bl -tag -width /etc/hosts.equiv -compact
|
||||||
|
.It Pa /etc/hosts.equiv
|
||||||
|
.It Pa ~/.rhosts
|
||||||
|
.El
|
||||||
|
.Sh EXAMPLES
|
||||||
|
The following can be used to enable Kerberised rsh in
|
||||||
|
.Xr inetd.cond 5 ,
|
||||||
|
while disabling non-Kerberised connections:
|
||||||
|
.Bd -literal
|
||||||
|
shell stream tcp nowait root /usr/libexec/rshd rshd -v
|
||||||
|
kshell stream tcp nowait root /usr/libexec/rshd rshd -k
|
||||||
|
ekshell stream tcp nowait root /usr/libexec/rshd rshd -kx
|
||||||
|
.Ed
|
||||||
|
.\".Sh DIAGNOSTICS
|
||||||
|
.Sh SEE ALSO
|
||||||
|
.Xr rsh 1 ,
|
||||||
|
.Xr iruserok 3
|
||||||
|
.\".Sh STANDARDS
|
||||||
|
.Sh HISTORY
|
||||||
|
The
|
||||||
|
.Nm
|
||||||
|
command appeared in
|
||||||
|
.Bx 4.2 .
|
||||||
|
.Sh AUTHORS
|
||||||
|
This implementation of
|
||||||
|
.Nm
|
||||||
|
was written as part of the Heimdal Kerberos 5 implementation.
|
||||||
|
.\".Sh BUGS
|
|
@ -32,7 +32,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "rsh_locl.h"
|
#include "rsh_locl.h"
|
||||||
RCSID("$Id: rshd.c,v 1.41 2001/02/20 01:44:48 assar Exp $");
|
RCSID("$Id: rshd.c,v 1.44 2001/11/30 14:38:48 joda Exp $");
|
||||||
|
|
||||||
int
|
int
|
||||||
login_access( struct passwd *user, char *from);
|
login_access( struct passwd *user, char *from);
|
||||||
|
@ -58,11 +58,13 @@ static char tkfile[MAXPATHLEN] = "";
|
||||||
|
|
||||||
static int do_inetd = 1;
|
static int do_inetd = 1;
|
||||||
static char *port_str;
|
static char *port_str;
|
||||||
static int do_rhosts;
|
static int do_rhosts = 1;
|
||||||
static int do_kerberos = 0;
|
static int do_kerberos = 0;
|
||||||
static int do_vacuous = 0;
|
static int do_vacuous = 0;
|
||||||
static int do_log = 1;
|
static int do_log = 1;
|
||||||
static int do_newpag = 1;
|
static int do_newpag = 1;
|
||||||
|
static int do_addr_verify = 0;
|
||||||
|
static int do_keepalive = 1;
|
||||||
static int do_version;
|
static int do_version;
|
||||||
static int do_help = 0;
|
static int do_help = 0;
|
||||||
|
|
||||||
|
@ -89,11 +91,11 @@ syslog_and_die (const char *m, ...)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
fatal (int sock, const char *m, ...)
|
fatal (int, const char*, const char *, ...)
|
||||||
__attribute__ ((format (printf, 2, 3)));
|
__attribute__ ((format (printf, 3, 4)));
|
||||||
|
|
||||||
static void
|
static void
|
||||||
fatal (int sock, const char *m, ...)
|
fatal (int sock, const char *what, const char *m, ...)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
char buf[BUFSIZ];
|
char buf[BUFSIZ];
|
||||||
|
@ -102,8 +104,12 @@ fatal (int sock, const char *m, ...)
|
||||||
*buf = 1;
|
*buf = 1;
|
||||||
va_start(args, m);
|
va_start(args, m);
|
||||||
len = vsnprintf (buf + 1, sizeof(buf) - 1, m, args);
|
len = vsnprintf (buf + 1, sizeof(buf) - 1, m, args);
|
||||||
|
len = min(len, sizeof(buf) - 1);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
syslog (LOG_ERR, "%s", buf + 1);
|
if(what != NULL)
|
||||||
|
syslog (LOG_ERR, "%s: %m: %s", what, buf + 1);
|
||||||
|
else
|
||||||
|
syslog (LOG_ERR, "%s", buf + 1);
|
||||||
net_write (sock, buf, len + 1);
|
net_write (sock, buf, len + 1);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
@ -119,7 +125,7 @@ read_str (int s, char *str, size_t sz, char *expl)
|
||||||
--sz;
|
--sz;
|
||||||
++str;
|
++str;
|
||||||
}
|
}
|
||||||
fatal (s, "%s too long", expl);
|
fatal (s, NULL, "%s too long", expl);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -137,10 +143,10 @@ recv_bsd_auth (int s, u_char *buf,
|
||||||
read_str (s, cmd, COMMAND_SZ, "command");
|
read_str (s, cmd, COMMAND_SZ, "command");
|
||||||
pwd = getpwnam(server_username);
|
pwd = getpwnam(server_username);
|
||||||
if (pwd == NULL)
|
if (pwd == NULL)
|
||||||
fatal(s, "Login incorrect.");
|
fatal(s, NULL, "Login incorrect.");
|
||||||
if (iruserok(thataddr->sin_addr.s_addr, pwd->pw_uid == 0,
|
if (iruserok(thataddr->sin_addr.s_addr, pwd->pw_uid == 0,
|
||||||
client_username, server_username))
|
client_username, server_username))
|
||||||
fatal(s, "Login incorrect.");
|
fatal(s, NULL, "Login incorrect.");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -190,7 +196,7 @@ recv_krb4_auth (int s, u_char *buf,
|
||||||
|
|
||||||
read_str (s, server_username, USERNAME_SZ, "remote username");
|
read_str (s, server_username, USERNAME_SZ, "remote username");
|
||||||
if (kuserok (&auth, server_username) != 0)
|
if (kuserok (&auth, server_username) != 0)
|
||||||
fatal (s, "Permission denied");
|
fatal (s, NULL, "Permission denied.");
|
||||||
read_str (s, cmd, COMMAND_SZ, "command");
|
read_str (s, cmd, COMMAND_SZ, "command");
|
||||||
|
|
||||||
syslog(LOG_INFO|LOG_AUTH,
|
syslog(LOG_INFO|LOG_AUTH,
|
||||||
|
@ -368,14 +374,14 @@ recv_krb5_auth (int s, u_char *buf,
|
||||||
if(!krb5_kuserok (context,
|
if(!krb5_kuserok (context,
|
||||||
ticket->client,
|
ticket->client,
|
||||||
server_username))
|
server_username))
|
||||||
fatal (s, "Permission denied");
|
fatal (s, NULL, "Permission denied.");
|
||||||
|
|
||||||
if (strncmp (cmd, "-x ", 3) == 0) {
|
if (strncmp (cmd, "-x ", 3) == 0) {
|
||||||
do_encrypt = 1;
|
do_encrypt = 1;
|
||||||
memmove (cmd, cmd + 3, strlen(cmd) - 2);
|
memmove (cmd, cmd + 3, strlen(cmd) - 2);
|
||||||
} else {
|
} else {
|
||||||
if(do_encrypt)
|
if(do_encrypt)
|
||||||
fatal (s, "Encryption required");
|
fatal (s, NULL, "Encryption is required.");
|
||||||
do_encrypt = 0;
|
do_encrypt = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -491,7 +497,7 @@ static void
|
||||||
pipe_a_like (int fd[2])
|
pipe_a_like (int fd[2])
|
||||||
{
|
{
|
||||||
if (socketpair (AF_UNIX, SOCK_STREAM, 0, fd) < 0)
|
if (socketpair (AF_UNIX, SOCK_STREAM, 0, fd) < 0)
|
||||||
fatal (STDOUT_FILENO, "socketpair: %m");
|
fatal (STDOUT_FILENO, "socketpair", "Pipe creation failed.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -508,7 +514,7 @@ setup_copier (void)
|
||||||
pipe_a_like(p2);
|
pipe_a_like(p2);
|
||||||
pid = fork ();
|
pid = fork ();
|
||||||
if (pid < 0)
|
if (pid < 0)
|
||||||
fatal (STDOUT_FILENO, "fork: %m");
|
fatal (STDOUT_FILENO, "fork", "Could not create child process.");
|
||||||
if (pid == 0) { /* child */
|
if (pid == 0) { /* child */
|
||||||
close (p0[1]);
|
close (p0[1]);
|
||||||
close (p1[0]);
|
close (p1[0]);
|
||||||
|
@ -525,7 +531,7 @@ setup_copier (void)
|
||||||
close (p2[1]);
|
close (p2[1]);
|
||||||
|
|
||||||
if (net_write (STDOUT_FILENO, "", 1) != 1)
|
if (net_write (STDOUT_FILENO, "", 1) != 1)
|
||||||
fatal (STDOUT_FILENO, "write failed");
|
fatal (STDOUT_FILENO, "net_write", "Write failure.");
|
||||||
|
|
||||||
loop (STDIN_FILENO, p0[1],
|
loop (STDIN_FILENO, p0[1],
|
||||||
STDOUT_FILENO, p1[0],
|
STDOUT_FILENO, p1[0],
|
||||||
|
@ -616,7 +622,7 @@ doit (int do_kerberos, int check_rhosts)
|
||||||
syslog_and_die ("getpeername: %m");
|
syslog_and_die ("getpeername: %m");
|
||||||
|
|
||||||
if (!do_kerberos && !is_reserved(socket_get_port(thataddr)))
|
if (!do_kerberos && !is_reserved(socket_get_port(thataddr)))
|
||||||
fatal(s, "Permission denied");
|
fatal(s, NULL, "Permission denied.");
|
||||||
|
|
||||||
p = buf;
|
p = buf;
|
||||||
port = 0;
|
port = 0;
|
||||||
|
@ -632,7 +638,7 @@ doit (int do_kerberos, int check_rhosts)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!do_kerberos && !is_reserved(htons(port)))
|
if (!do_kerberos && !is_reserved(htons(port)))
|
||||||
fatal(s, "Permission denied");
|
fatal(s, NULL, "Permission denied.");
|
||||||
|
|
||||||
if (port) {
|
if (port) {
|
||||||
int priv_port = IPPORT_RESERVED - 1;
|
int priv_port = IPPORT_RESERVED - 1;
|
||||||
|
@ -708,25 +714,25 @@ doit (int do_kerberos, int check_rhosts)
|
||||||
|
|
||||||
pwd = getpwnam (server_user);
|
pwd = getpwnam (server_user);
|
||||||
if (pwd == NULL)
|
if (pwd == NULL)
|
||||||
fatal (s, "Login incorrect.");
|
fatal (s, NULL, "Login incorrect.");
|
||||||
|
|
||||||
if (*pwd->pw_shell == '\0')
|
if (*pwd->pw_shell == '\0')
|
||||||
pwd->pw_shell = _PATH_BSHELL;
|
pwd->pw_shell = _PATH_BSHELL;
|
||||||
|
|
||||||
if (pwd->pw_uid != 0 && access (_PATH_NOLOGIN, F_OK) == 0)
|
if (pwd->pw_uid != 0 && access (_PATH_NOLOGIN, F_OK) == 0)
|
||||||
fatal (s, "Login disabled.");
|
fatal (s, NULL, "Login disabled.");
|
||||||
|
|
||||||
|
|
||||||
ret = getnameinfo_verified (thataddr, thataddr_len,
|
ret = getnameinfo_verified (thataddr, thataddr_len,
|
||||||
that_host, sizeof(that_host),
|
that_host, sizeof(that_host),
|
||||||
NULL, 0, 0);
|
NULL, 0, 0);
|
||||||
if (ret)
|
if (ret)
|
||||||
fatal (s, "getnameinfo: %s", gai_strerror(ret));
|
fatal (s, NULL, "getnameinfo: %s", gai_strerror(ret));
|
||||||
|
|
||||||
if (login_access(pwd, that_host) == 0) {
|
if (login_access(pwd, that_host) == 0) {
|
||||||
syslog(LOG_NOTICE, "Kerberos rsh denied to %s from %s",
|
syslog(LOG_NOTICE, "Kerberos rsh denied to %s from %s",
|
||||||
server_user, that_host);
|
server_user, that_host);
|
||||||
fatal(s, "Permission denied");
|
fatal(s, NULL, "Permission denied.");
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_GETSPNAM
|
#ifdef HAVE_GETSPNAM
|
||||||
|
@ -739,7 +745,7 @@ doit (int do_kerberos, int check_rhosts)
|
||||||
today = time(0)/(24L * 60 * 60);
|
today = time(0)/(24L * 60 * 60);
|
||||||
if (sp->sp_expire > 0)
|
if (sp->sp_expire > 0)
|
||||||
if (today > sp->sp_expire)
|
if (today > sp->sp_expire)
|
||||||
fatal(s, "Account has expired.");
|
fatal(s, NULL, "Account has expired.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -783,20 +789,20 @@ doit (int do_kerberos, int check_rhosts)
|
||||||
#endif /* HAVE_SETPCRED */
|
#endif /* HAVE_SETPCRED */
|
||||||
|
|
||||||
if (initgroups (pwd->pw_name, pwd->pw_gid) < 0)
|
if (initgroups (pwd->pw_name, pwd->pw_gid) < 0)
|
||||||
fatal (s, "Login incorrect.");
|
fatal (s, "initgroups", "Login incorrect.");
|
||||||
|
|
||||||
if (setgid(pwd->pw_gid) < 0)
|
if (setgid(pwd->pw_gid) < 0)
|
||||||
fatal (s, "Login incorrect.");
|
fatal (s, "setgid", "Login incorrect.");
|
||||||
|
|
||||||
if (setuid (pwd->pw_uid) < 0)
|
if (setuid (pwd->pw_uid) < 0)
|
||||||
fatal (s, "Login incorrect.");
|
fatal (s, "setuid", "Login incorrect.");
|
||||||
|
|
||||||
if (chdir (pwd->pw_dir) < 0)
|
if (chdir (pwd->pw_dir) < 0)
|
||||||
fatal (s, "Remote directory.");
|
fatal (s, "chdir", "Remote directory.");
|
||||||
|
|
||||||
if (errsock >= 0) {
|
if (errsock >= 0) {
|
||||||
if (dup2 (errsock, STDERR_FILENO) < 0)
|
if (dup2 (errsock, STDERR_FILENO) < 0)
|
||||||
fatal (s, "Dup2 failed.");
|
fatal (s, "dup2", "Cannot dup stderr.");
|
||||||
close (errsock);
|
close (errsock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -806,7 +812,7 @@ doit (int do_kerberos, int check_rhosts)
|
||||||
setup_copier ();
|
setup_copier ();
|
||||||
} else {
|
} else {
|
||||||
if (net_write (s, "", 1) != 1)
|
if (net_write (s, "", 1) != 1)
|
||||||
fatal (s, "write failed");
|
fatal (s, "net_write", "write failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef KRB4
|
#ifdef KRB4
|
||||||
|
@ -841,14 +847,16 @@ doit (int do_kerberos, int check_rhosts)
|
||||||
}
|
}
|
||||||
|
|
||||||
struct getargs args[] = {
|
struct getargs args[] = {
|
||||||
|
{ NULL, 'a', arg_flag, &do_addr_verify },
|
||||||
|
{ "keepalive", 'n', arg_negative_flag, &do_keepalive },
|
||||||
{ "inetd", 'i', arg_negative_flag, &do_inetd,
|
{ "inetd", 'i', arg_negative_flag, &do_inetd,
|
||||||
"Not started from inetd" },
|
"Not started from inetd" },
|
||||||
{ "kerberos", 'k', arg_flag, &do_kerberos,
|
{ "kerberos", 'k', arg_flag, &do_kerberos,
|
||||||
"Implement kerberised services" },
|
"Implement kerberised services" },
|
||||||
{ "encrypt", 'x', arg_flag, &do_encrypt,
|
{ "encrypt", 'x', arg_flag, &do_encrypt,
|
||||||
"Implement encrypted service" },
|
"Implement encrypted service" },
|
||||||
{ "rhosts", 'l', arg_flag, &do_rhosts,
|
{ "rhosts", 'l', arg_negative_flag, &do_rhosts,
|
||||||
"Check users .rhosts" },
|
"Don't check users .rhosts" },
|
||||||
{ "port", 'p', arg_string, &port_str, "Use this port",
|
{ "port", 'p', arg_string, &port_str, "Use this port",
|
||||||
"port" },
|
"port" },
|
||||||
{ "vacuous", 'v', arg_flag, &do_vacuous,
|
{ "vacuous", 'v', arg_flag, &do_vacuous,
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
2002-01-09 Jacques Vidrine <n@nectar.cc>
|
||||||
|
* su.c: Don't use getlogin() to determine whether we are root.
|
||||||
|
Patch by joda.
|
||||||
|
|
||||||
|
2001-06-12 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* su.c: check memory allocations. add some const
|
||||||
|
|
||||||
2000-12-31 Assar Westerlund <assar@sics.se>
|
2000-12-31 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
* su.c (krb5_verify): handle krb5_init_context failure
|
* su.c (krb5_verify): handle krb5_init_context failure
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# $Id: Makefile.am,v 1.6 2000/11/15 22:51:10 assar Exp $
|
# $Id: Makefile.am,v 1.7 2001/08/28 08:31:22 assar Exp $
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
INCLUDES += $(INCLUDE_krb4)
|
INCLUDES += $(INCLUDE_krb4) $(INCLUDE_des)
|
||||||
|
|
||||||
bin_PROGRAMS = su
|
bin_PROGRAMS = su
|
||||||
bin_SUIDS = su
|
bin_SUIDS = su
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.7 2001/08/28 08:31:22 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.6 2000/11/15 22:51:10 assar Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) $(INCLUDE_des)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,18 +180,20 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
|
@ -203,93 +210,42 @@ LDADD = $(LIB_kafs) \
|
||||||
|
|
||||||
subdir = appl/su
|
subdir = appl/su
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
bin_PROGRAMS = su$(EXEEXT)
|
bin_PROGRAMS = su$(EXEEXT)
|
||||||
PROGRAMS = $(bin_PROGRAMS)
|
PROGRAMS = $(bin_PROGRAMS)
|
||||||
|
|
||||||
|
am_su_OBJECTS = su.$(OBJEXT)
|
||||||
|
su_OBJECTS = $(am_su_OBJECTS)
|
||||||
|
su_LDADD = $(LDADD)
|
||||||
|
@KRB4_TRUE@su_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
|
||||||
|
@KRB4_TRUE@ $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
@KRB4_FALSE@su_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
|
@KRB4_FALSE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
|
su_LDFLAGS =
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
am_su_OBJECTS = su.$(OBJEXT)
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
su_OBJECTS = $(am_su_OBJECTS)
|
|
||||||
su_LDADD = $(LDADD)
|
|
||||||
@KRB4_FALSE@su_DEPENDENCIES = $(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_FALSE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
@KRB4_TRUE@su_DEPENDENCIES = $(top_builddir)/lib/kafs/libkafs.la \
|
|
||||||
@KRB4_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
|
||||||
@KRB4_TRUE@$(top_builddir)/lib/asn1/libasn1.la
|
|
||||||
su_LDFLAGS =
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(su_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
depcomp =
|
CFLAGS = @CFLAGS@
|
||||||
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
DIST_SOURCES = $(su_SOURCES)
|
||||||
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(su_SOURCES)
|
SOURCES = $(su_SOURCES)
|
||||||
OBJECTS = $(am_su_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/su/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-binPROGRAMS:
|
|
||||||
|
|
||||||
clean-binPROGRAMS:
|
|
||||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
||||||
|
|
||||||
distclean-binPROGRAMS:
|
|
||||||
|
|
||||||
maintainer-clean-binPROGRAMS:
|
|
||||||
|
|
||||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-binPROGRAMS:
|
|
||||||
@$(NORMAL_UNINSTALL)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
|
||||||
rm -f $(DESTDIR)$(bindir)/$$f; \
|
|
||||||
done
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -298,18 +254,57 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/su/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
uninstall-binPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
su$(EXEEXT): $(su_OBJECTS) $(su_DEPENDENCIES)
|
clean-binPROGRAMS:
|
||||||
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||||
|
su$(EXEEXT): $(su_OBJECTS) $(su_DEPENDENCIES)
|
||||||
@rm -f su$(EXEEXT)
|
@rm -f su$(EXEEXT)
|
||||||
$(LINK) $(su_LDFLAGS) $(su_OBJECTS) $(su_LDADD) $(LIBS)
|
$(LINK) $(su_LDFLAGS) $(su_OBJECTS) $(su_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -338,22 +333,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -363,85 +359,91 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(PROGRAMS) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am: install-binPROGRAMS
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-data-local
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am: uninstall-binPROGRAMS
|
installcheck: installcheck-am
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(PROGRAMS) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
|
||||||
mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
|
|
||||||
clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
|
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
|
||||||
distclean-tags distclean-generic clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-binPROGRAMS \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
|
||||||
distclean-am
|
dvi: dvi-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local
|
||||||
|
|
||||||
|
install-exec-am: install-binPROGRAMS
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean: mostlyclean-am
|
||||||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
||||||
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
mostlyclean-libtool
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
clean-binPROGRAMS clean-generic clean-libtool distclean \
|
||||||
mostlyclean distclean maintainer-clean
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am install-binPROGRAMS install-data install-data-am \
|
||||||
|
install-data-local install-exec install-exec-am install-info \
|
||||||
|
install-info-am install-man install-strip installcheck \
|
||||||
|
installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool tags uninstall \
|
||||||
|
uninstall-am uninstall-binPROGRAMS uninstall-info-am
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -571,7 +573,6 @@ check-local::
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
RCSID("$Id: su.c,v 1.20 2001/02/20 01:44:48 assar Exp $");
|
RCSID("$Id: su.c,v 1.23 2002/01/09 19:40:12 nectar Exp $");
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -50,7 +50,7 @@ RCSID("$Id: su.c,v 1.20 2001/02/20 01:44:48 assar Exp $");
|
||||||
|
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
|
|
||||||
#ifdef HAVE_OPENSSL_DES_H
|
#ifdef HAVE_OPENSSL
|
||||||
#include <openssl/des.h>
|
#include <openssl/des.h>
|
||||||
#else
|
#else
|
||||||
#include <des.h>
|
#include <des.h>
|
||||||
|
@ -107,10 +107,21 @@ usage (int ret)
|
||||||
exit (ret);
|
exit (ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
free_info(struct passwd *p)
|
||||||
|
{
|
||||||
|
free (p->pw_name);
|
||||||
|
free (p->pw_passwd);
|
||||||
|
free (p->pw_dir);
|
||||||
|
free (p->pw_shell);
|
||||||
|
free (p);
|
||||||
|
}
|
||||||
|
|
||||||
static struct passwd*
|
static struct passwd*
|
||||||
make_info(struct passwd *pwd)
|
dup_info(const struct passwd *pwd)
|
||||||
{
|
{
|
||||||
struct passwd *info;
|
struct passwd *info;
|
||||||
|
|
||||||
info = malloc(sizeof(*info));
|
info = malloc(sizeof(*info));
|
||||||
if(info == NULL)
|
if(info == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -121,8 +132,10 @@ make_info(struct passwd *pwd)
|
||||||
info->pw_dir = strdup(pwd->pw_dir);
|
info->pw_dir = strdup(pwd->pw_dir);
|
||||||
info->pw_shell = strdup(pwd->pw_shell);
|
info->pw_shell = strdup(pwd->pw_shell);
|
||||||
if(info->pw_name == NULL || info->pw_passwd == NULL ||
|
if(info->pw_name == NULL || info->pw_passwd == NULL ||
|
||||||
info->pw_dir == NULL || info->pw_shell == NULL)
|
info->pw_dir == NULL || info->pw_shell == NULL) {
|
||||||
|
free_info (info);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
}
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -132,7 +145,8 @@ static krb5_ccache ccache;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
krb5_verify(struct passwd *login_info, struct passwd *su_info,
|
krb5_verify(const struct passwd *login_info,
|
||||||
|
const struct passwd *su_info,
|
||||||
const char *kerberos_instance)
|
const char *kerberos_instance)
|
||||||
{
|
{
|
||||||
#ifdef KRB5
|
#ifdef KRB5
|
||||||
|
@ -312,12 +326,16 @@ main(int argc, char **argv)
|
||||||
syslog (LOG_ALERT, "NIS attack, user %s has uid 0", su_user);
|
syslog (LOG_ALERT, "NIS attack, user %s has uid 0", su_user);
|
||||||
errx (1, "unknown login %s", su_user);
|
errx (1, "unknown login %s", su_user);
|
||||||
}
|
}
|
||||||
su_info = make_info(pwd);
|
su_info = dup_info(pwd);
|
||||||
|
if (su_info == NULL)
|
||||||
|
errx (1, "malloc: out of memory");
|
||||||
|
|
||||||
pwd = getpwuid(getuid());
|
pwd = getpwuid(getuid());
|
||||||
if(pwd == NULL)
|
if(pwd == NULL)
|
||||||
errx(1, "who are you?");
|
errx(1, "who are you?");
|
||||||
login_info = make_info(pwd);
|
login_info = dup_info(pwd);
|
||||||
|
if (login_info == NULL)
|
||||||
|
errx (1, "malloc: out of memory");
|
||||||
if(env_flag)
|
if(env_flag)
|
||||||
shell = login_info->pw_shell;
|
shell = login_info->pw_shell;
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,3 +1,38 @@
|
||||||
|
2002-02-07 Johan Danielsson <joda@pdc.kth.se>
|
||||||
|
|
||||||
|
* telnet/telnet.c: print a more informative message than "done"
|
||||||
|
after negotiating encryption
|
||||||
|
|
||||||
|
2001-09-17 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* telnetd/telnetd.c: add a kludge to make it build on aix (that
|
||||||
|
defines NOERROR in both sys/stream.h and arpa/nameser.h and
|
||||||
|
considers that a fatal error)
|
||||||
|
|
||||||
|
* telnet/telnet.c: undef PUTSHORT to avoid conflict
|
||||||
|
|
||||||
|
2001-08-26 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* telnetd/Makefile.am: also link with the library for logout
|
||||||
|
|
||||||
|
2001-08-22 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* telnetd/sys_term.c: include libutil.h if it exists
|
||||||
|
|
||||||
|
2001-08-10 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* telnetd/sys_term.c (getpty): call openpty if it exists
|
||||||
|
|
||||||
|
2001-07-19 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* telnetd/global.c (output_data): make sure of not forwarding
|
||||||
|
`nfrontp' too far, thereby allowing writes after the end of
|
||||||
|
`netobuf'
|
||||||
|
|
||||||
|
2001-06-18 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
|
* libtelnet/kerberos5.c: update to new krb5_auth_con* names
|
||||||
|
|
||||||
2001-04-25 Assar Westerlund <assar@sics.se>
|
2001-04-25 Assar Westerlund <assar@sics.se>
|
||||||
|
|
||||||
* telnetd/sys_term.c (start_login): give the correct error if exec
|
* telnetd/sys_term.c (start_login): give the correct error if exec
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.6 1999/03/20 13:58:15 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.6 1999/03/20 13:58:15 joda Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,18 +180,20 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
|
@ -195,32 +202,46 @@ SUBDIRS = libtelnet telnet telnetd
|
||||||
EXTRA_DIST = README.ORIG telnet.state
|
EXTRA_DIST = README.ORIG telnet.state
|
||||||
subdir = appl/telnet
|
subdir = appl/telnet
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
|
depcomp =
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES =
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
depcomp =
|
DIST_SOURCES =
|
||||||
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
|
||||||
|
|
||||||
|
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
||||||
|
uninstall-info-recursive all-recursive install-data-recursive \
|
||||||
|
install-exec-recursive installdirs-recursive install-recursive \
|
||||||
|
uninstall-recursive check-recursive installcheck-recursive
|
||||||
|
DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
||||||
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
|
all: all-recursive
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
DIST_SUBDIRS = $(SUBDIRS)
|
|
||||||
all: all-redirect
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
mostlyclean-libtool:
|
||||||
cd $(top_builddir) \
|
-rm -f *.lo
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/telnet/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
# This directory's subdirectories are mostly independent; you can cd
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
# into them and run `make' without going through this Makefile.
|
# into them and run `make' without going through this Makefile.
|
||||||
|
@ -228,10 +249,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
# (1) if the variable is set in `config.status', edit `config.status'
|
# (1) if the variable is set in `config.status', edit `config.status'
|
||||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||||
# (2) otherwise, pass the desired values on the `make' command line.
|
# (2) otherwise, pass the desired values on the `make' command line.
|
||||||
|
$(RECURSIVE_TARGETS):
|
||||||
all-recursive install-data-recursive install-exec-recursive \
|
|
||||||
installdirs-recursive install-recursive uninstall-recursive \
|
|
||||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
|
||||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||||
dot_seen=no; \
|
dot_seen=no; \
|
||||||
target=`echo $@ | sed s/-recursive//`; \
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
@ -296,9 +314,9 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
tags=; \
|
tags=; \
|
||||||
here=`pwd`; \
|
here=`pwd`; \
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
if test "$$subdir" = .; then :; else \
|
if test "$$subdir" = .; then :; else \
|
||||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
||||||
unique=`for i in $$list; do \
|
unique=`for i in $$list; do \
|
||||||
|
@ -312,22 +330,23 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -342,84 +361,103 @@ distdir: $(DISTFILES)
|
||||||
test -d $(distdir)/$$subdir \
|
test -d $(distdir)/$$subdir \
|
||||||
|| mkdir $(distdir)/$$subdir \
|
|| mkdir $(distdir)/$$subdir \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
|
(cd $$subdir && \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
top_distdir="$(top_distdir)" \
|
||||||
|
distdir=../$(distdir)/$$subdir \
|
||||||
|
distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-recursive
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-recursive
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-recursive
|
check: check-recursive
|
||||||
installcheck-am:
|
|
||||||
installcheck: installcheck-recursive
|
|
||||||
install-exec-am:
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-recursive
|
|
||||||
|
|
||||||
install-data-am: install-data-local
|
|
||||||
install-data: install-data-recursive
|
|
||||||
|
|
||||||
install-am: all-am
|
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
||||||
install: install-recursive
|
|
||||||
uninstall-am:
|
|
||||||
uninstall: uninstall-recursive
|
|
||||||
all-am: Makefile all-local
|
all-am: Makefile all-local
|
||||||
all-redirect: all-recursive
|
|
||||||
install-strip:
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
|
||||||
installdirs: installdirs-recursive
|
installdirs: installdirs-recursive
|
||||||
installdirs-am:
|
installdirs-am:
|
||||||
|
|
||||||
|
install: install-recursive
|
||||||
|
install-exec: install-exec-recursive
|
||||||
|
install-data: install-data-recursive
|
||||||
|
uninstall: uninstall-recursive
|
||||||
|
|
||||||
|
install-am: all-am
|
||||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
|
|
||||||
|
installcheck: installcheck-recursive
|
||||||
|
install-strip:
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
`test -z '$(STRIP)' || \
|
||||||
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-tags mostlyclean-generic
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
mostlyclean: mostlyclean-recursive
|
|
||||||
|
|
||||||
clean-am: clean-tags clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-recursive
|
clean: clean-recursive
|
||||||
|
|
||||||
distclean-am: distclean-tags distclean-generic clean-am
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-recursive
|
distclean: distclean-recursive
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
|
distclean-am: clean-am distclean-generic distclean-libtool \
|
||||||
distclean-am
|
distclean-tags
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi: dvi-recursive
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-recursive
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-recursive
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-recursive
|
maintainer-clean: maintainer-clean-recursive
|
||||||
|
|
||||||
.PHONY: install-recursive uninstall-recursive install-data-recursive \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
uninstall-data-recursive install-exec-recursive \
|
|
||||||
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
mostlyclean: mostlyclean-recursive
|
||||||
all-recursive check-recursive installcheck-recursive info-recursive \
|
|
||||||
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||||
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
uninstall-am: uninstall-info-am
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
uninstall-info: uninstall-info-recursive
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
|
||||||
all-redirect all-am all install-strip installdirs-am installdirs \
|
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
|
||||||
mostlyclean-generic distclean-generic clean-generic \
|
check-local clean clean-generic clean-libtool clean-recursive \
|
||||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
distclean distclean-generic distclean-libtool \
|
||||||
|
distclean-recursive distclean-tags distdir dvi dvi-am \
|
||||||
|
dvi-recursive info info-am info-recursive install install-am \
|
||||||
|
install-data install-data-am install-data-local \
|
||||||
|
install-data-recursive install-exec install-exec-am \
|
||||||
|
install-exec-recursive install-info install-info-am \
|
||||||
|
install-info-recursive install-man install-recursive \
|
||||||
|
install-strip installcheck installcheck-am installdirs \
|
||||||
|
installdirs-am installdirs-recursive maintainer-clean \
|
||||||
|
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
|
||||||
|
mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
|
||||||
|
tags tags-recursive uninstall uninstall-am uninstall-info-am \
|
||||||
|
uninstall-info-recursive uninstall-recursive
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -553,7 +591,6 @@ check-local::
|
||||||
dist-hook:
|
dist-hook:
|
||||||
$(mkinstalldirs) $(distdir)/arpa
|
$(mkinstalldirs) $(distdir)/arpa
|
||||||
$(INSTALL_DATA) $(srcdir)/arpa/telnet.h $(distdir)/arpa
|
$(INSTALL_DATA) $(srcdir)/arpa/telnet.h $(distdir)/arpa
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# $Id: Makefile.am,v 1.8 1999/03/20 13:58:15 joda Exp $
|
# $Id: Makefile.am,v 1.9 2001/08/28 08:31:23 assar Exp $
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
INCLUDES += -I$(srcdir)/.. $(INCLUDE_krb4)
|
INCLUDES += -I$(srcdir)/.. $(INCLUDE_krb4) $(INCLUDE_des)
|
||||||
|
|
||||||
noinst_LIBRARIES = libtelnet.a
|
noinst_LIBRARIES = libtelnet.a
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Makefile.in generated automatically by automake 1.4b from Makefile.am
|
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -11,6 +11,16 @@
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# $Id: Makefile.am,v 1.9 2001/08/28 08:31:23 assar Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
||||||
|
|
||||||
|
|
||||||
|
# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
@ -31,11 +41,9 @@ infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../../..
|
top_builddir = ../../..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
|
@ -47,21 +55,17 @@ INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
INSTALL_STRIP_FLAG =
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
|
|
||||||
@SET_MAKE@
|
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
|
||||||
AMDEP = @AMDEP@
|
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
|
@ -69,11 +73,11 @@ CANONICAL_HOST = @CANONICAL_HOST@
|
||||||
CATMAN = @CATMAN@
|
CATMAN = @CATMAN@
|
||||||
CATMANEXT = @CATMANEXT@
|
CATMANEXT = @CATMANEXT@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
COMPILE_ET = @COMPILE_ET@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CXX = @CXX@
|
|
||||||
CXXCPP = @CXXCPP@
|
|
||||||
DBLIB = @DBLIB@
|
DBLIB = @DBLIB@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
DIR_com_err = @DIR_com_err@
|
||||||
DIR_des = @DIR_des@
|
DIR_des = @DIR_des@
|
||||||
DIR_roken = @DIR_roken@
|
DIR_roken = @DIR_roken@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
|
@ -82,20 +86,27 @@ EXTRA_LIB45 = @EXTRA_LIB45@
|
||||||
GROFF = @GROFF@
|
GROFF = @GROFF@
|
||||||
INCLUDES_roken = @INCLUDES_roken@
|
INCLUDES_roken = @INCLUDES_roken@
|
||||||
INCLUDE_ = @INCLUDE_@
|
INCLUDE_ = @INCLUDE_@
|
||||||
|
INCLUDE_des = @INCLUDE_des@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIB_ = @LIB_@
|
LIB_ = @LIB_@
|
||||||
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
|
||||||
|
LIB_NDBM = @LIB_NDBM@
|
||||||
|
LIB_com_err = @LIB_com_err@
|
||||||
|
LIB_com_err_a = @LIB_com_err_a@
|
||||||
|
LIB_com_err_so = @LIB_com_err_so@
|
||||||
LIB_des = @LIB_des@
|
LIB_des = @LIB_des@
|
||||||
|
LIB_des_a = @LIB_des_a@
|
||||||
LIB_des_appl = @LIB_des_appl@
|
LIB_des_appl = @LIB_des_appl@
|
||||||
|
LIB_des_so = @LIB_des_so@
|
||||||
LIB_kdb = @LIB_kdb@
|
LIB_kdb = @LIB_kdb@
|
||||||
LIB_otp = @LIB_otp@
|
LIB_otp = @LIB_otp@
|
||||||
LIB_roken = @LIB_roken@
|
LIB_roken = @LIB_roken@
|
||||||
LIB_security = @LIB_security@
|
LIB_security = @LIB_security@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
MAKEINFO = @MAKEINFO@
|
|
||||||
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
|
||||||
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
|
||||||
NROFF = @NROFF@
|
NROFF = @NROFF@
|
||||||
|
@ -103,38 +114,32 @@ OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
STRIP = @STRIP@
|
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
|
||||||
WFLAGS = @WFLAGS@
|
WFLAGS = @WFLAGS@
|
||||||
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
|
||||||
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__quote = @am__quote@
|
||||||
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
dpagaix_CFLAGS = @dpagaix_CFLAGS@
|
||||||
dpagaix_LDADD = @dpagaix_LDADD@
|
dpagaix_LDADD = @dpagaix_LDADD@
|
||||||
install_sh = @install_sh@
|
install_sh = @install_sh@
|
||||||
|
|
||||||
# $Id: Makefile.am,v 1.8 1999/03/20 13:58:15 joda Exp $
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
# $Id: Makefile.am.common,v 1.26 2001/05/21 13:27:48 joda Exp $
|
|
||||||
|
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
||||||
|
|
||||||
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/.. $(INCLUDE_krb4)
|
INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) -I$(srcdir)/.. $(INCLUDE_krb4) $(INCLUDE_des)
|
||||||
|
|
||||||
AM_CFLAGS = $(WFLAGS)
|
AM_CFLAGS = $(WFLAGS)
|
||||||
|
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
COMPILE_ET = $(top_builddir)/lib/com_err/compile_et
|
|
||||||
|
|
||||||
buildinclude = $(top_builddir)/include
|
buildinclude = $(top_builddir)/include
|
||||||
|
|
||||||
LIB_XauReadAuth = @LIB_XauReadAuth@
|
LIB_XauReadAuth = @LIB_XauReadAuth@
|
||||||
|
@ -152,8 +157,8 @@ LIB_getsockopt = @LIB_getsockopt@
|
||||||
LIB_logout = @LIB_logout@
|
LIB_logout = @LIB_logout@
|
||||||
LIB_logwtmp = @LIB_logwtmp@
|
LIB_logwtmp = @LIB_logwtmp@
|
||||||
LIB_odm_initialize = @LIB_odm_initialize@
|
LIB_odm_initialize = @LIB_odm_initialize@
|
||||||
|
LIB_openpty = @LIB_openpty@
|
||||||
LIB_pidfile = @LIB_pidfile@
|
LIB_pidfile = @LIB_pidfile@
|
||||||
LIB_readline = @LIB_readline@
|
|
||||||
LIB_res_search = @LIB_res_search@
|
LIB_res_search = @LIB_res_search@
|
||||||
LIB_setpcred = @LIB_setpcred@
|
LIB_setpcred = @LIB_setpcred@
|
||||||
LIB_setsockopt = @LIB_setsockopt@
|
LIB_setsockopt = @LIB_setsockopt@
|
||||||
|
@ -175,18 +180,20 @@ INCLUDE_openldap = @INCLUDE_openldap@
|
||||||
LIB_openldap = @LIB_openldap@
|
LIB_openldap = @LIB_openldap@
|
||||||
|
|
||||||
INCLUDE_readline = @INCLUDE_readline@
|
INCLUDE_readline = @INCLUDE_readline@
|
||||||
|
LIB_readline = @LIB_readline@
|
||||||
|
|
||||||
LEXLIB = @LEXLIB@
|
LEXLIB = @LEXLIB@
|
||||||
|
|
||||||
NROFF_MAN = groff -mandoc -Tascii
|
NROFF_MAN = groff -mandoc -Tascii
|
||||||
|
|
||||||
@KRB4_TRUE@LIB_kafs = @KRB4_TRUE@$(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
|
||||||
|
|
||||||
@KRB5_TRUE@LIB_krb5 = @KRB5_TRUE@$(top_builddir)/lib/krb5/libkrb5.la \
|
@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
||||||
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
@KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
|
||||||
@KRB5_TRUE@LIB_gssapi = @KRB5_TRUE@$(top_builddir)/lib/gssapi/libgssapi.la
|
|
||||||
|
|
||||||
@DCE_TRUE@LIB_kdfs = @DCE_TRUE@$(top_builddir)/lib/kdfs/libkdfs.la
|
@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
|
|
||||||
|
@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
|
||||||
CHECK_LOCAL = $(PROGRAMS)
|
CHECK_LOCAL = $(PROGRAMS)
|
||||||
|
|
||||||
|
@ -211,71 +218,38 @@ libtelnet_a_SOURCES = \
|
||||||
EXTRA_DIST = krb4encpwd.c rsaencpwd.c spx.c
|
EXTRA_DIST = krb4encpwd.c rsaencpwd.c spx.c
|
||||||
subdir = appl/telnet/libtelnet
|
subdir = appl/telnet/libtelnet
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../../../include/config.h
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
LIBRARIES = $(noinst_LIBRARIES)
|
LIBRARIES = $(noinst_LIBRARIES)
|
||||||
|
|
||||||
|
libtelnet_a_AR = $(AR) cru
|
||||||
|
libtelnet_a_LIBADD =
|
||||||
|
am_libtelnet_a_OBJECTS = auth.$(OBJEXT) enc_des.$(OBJEXT) \
|
||||||
|
encrypt.$(OBJEXT) genget.$(OBJEXT) kerberos.$(OBJEXT) \
|
||||||
|
kerberos5.$(OBJEXT) misc.$(OBJEXT)
|
||||||
|
libtelnet_a_OBJECTS = $(am_libtelnet_a_OBJECTS)
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../../../include
|
DEFS = @DEFS@
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
X_CFLAGS = @X_CFLAGS@
|
depcomp =
|
||||||
X_LIBS = @X_LIBS@
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
X_PRE_LIBS = @X_PRE_LIBS@
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
libtelnet_a_AR = $(AR) cru
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
libtelnet_a_LIBADD =
|
|
||||||
am_libtelnet_a_OBJECTS = auth.$(OBJEXT) enc_des.$(OBJEXT) \
|
|
||||||
encrypt.$(OBJEXT) genget.$(OBJEXT) kerberos.$(OBJEXT) \
|
|
||||||
kerberos5.$(OBJEXT) misc.$(OBJEXT)
|
|
||||||
libtelnet_a_OBJECTS = $(am_libtelnet_a_OBJECTS)
|
|
||||||
AR = ar
|
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
DIST_SOURCES = $(libtelnet_a_SOURCES)
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
depcomp =
|
CFLAGS = @CFLAGS@
|
||||||
DIST_COMMON = Makefile.am Makefile.in
|
DIST_SOURCES = $(libtelnet_a_SOURCES)
|
||||||
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
||||||
|
|
||||||
GZIP_ENV = --best
|
|
||||||
SOURCES = $(libtelnet_a_SOURCES)
|
SOURCES = $(libtelnet_a_SOURCES)
|
||||||
OBJECTS = $(am_libtelnet_a_OBJECTS)
|
|
||||||
|
|
||||||
all: all-redirect
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
|
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign appl/telnet/libtelnet/Makefile
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
||||||
cd $(top_builddir) \
|
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-noinstLIBRARIES:
|
|
||||||
|
|
||||||
clean-noinstLIBRARIES:
|
|
||||||
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
|
||||||
|
|
||||||
distclean-noinstLIBRARIES:
|
|
||||||
|
|
||||||
maintainer-clean-noinstLIBRARIES:
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.o core *.core
|
|
||||||
-rm -f *.$(OBJEXT)
|
|
||||||
|
|
||||||
clean-compile:
|
|
||||||
|
|
||||||
distclean-compile:
|
|
||||||
-rm -f *.tab.c
|
|
||||||
|
|
||||||
maintainer-clean-compile:
|
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -284,19 +258,39 @@ clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign appl/telnet/libtelnet/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && \
|
||||||
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
AR = ar
|
||||||
|
|
||||||
libtelnet.a: $(libtelnet_a_OBJECTS) $(libtelnet_a_DEPENDENCIES)
|
clean-noinstLIBRARIES:
|
||||||
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
||||||
|
libtelnet.a: $(libtelnet_a_OBJECTS) $(libtelnet_a_DEPENDENCIES)
|
||||||
-rm -f libtelnet.a
|
-rm -f libtelnet.a
|
||||||
$(libtelnet_a_AR) libtelnet.a $(libtelnet_a_OBJECTS) $(libtelnet_a_LIBADD)
|
$(libtelnet_a_AR) libtelnet.a $(libtelnet_a_OBJECTS) $(libtelnet_a_LIBADD)
|
||||||
$(RANLIB) libtelnet.a
|
$(RANLIB) libtelnet.a
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
$(COMPILE) -c `cygpath -w $<`
|
$(COMPILE) -c `cygpath -w $<`
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LTCOMPILE) -c -o $@ $<
|
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
|
@ -325,22 +319,23 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
mostlyclean-tags:
|
|
||||||
|
|
||||||
clean-tags:
|
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||||
|
|
||||||
maintainer-clean-tags:
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
top_distdir = ../../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||||
|
fi; \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pR $$d/$$file $(distdir) \
|
cp -pR $$d/$$file $(distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
|
@ -350,85 +345,91 @@ distdir: $(DISTFILES)
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
info-am:
|
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||||
info: info-am
|
dist-hook
|
||||||
dvi-am:
|
|
||||||
dvi: dvi-am
|
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
all-am: Makefile $(LIBRARIES) all-local
|
||||||
installcheck: installcheck-am
|
|
||||||
install-exec-am:
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
|
||||||
install-exec: install-exec-am
|
|
||||||
|
|
||||||
install-data-am: install-data-local
|
installdirs:
|
||||||
|
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
|
||||||
uninstall-am:
|
installcheck: installcheck-am
|
||||||
uninstall: uninstall-am
|
|
||||||
all-am: Makefile $(LIBRARIES) all-local
|
|
||||||
all-redirect: all-am
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
installdirs:
|
`test -z '$(STRIP)' || \
|
||||||
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
-rm -f Makefile.in
|
@echo "This command is intended for maintainers to use"
|
||||||
mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
|
||||||
mostlyclean-generic
|
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
|
||||||
|
|
||||||
clean-am: clean-noinstLIBRARIES clean-compile clean-libtool clean-tags \
|
|
||||||
clean-generic mostlyclean-am
|
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-noinstLIBRARIES distclean-compile \
|
clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
|
||||||
distclean-libtool distclean-tags distclean-generic \
|
mostlyclean-am
|
||||||
clean-am
|
|
||||||
-rm -f libtool
|
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
distclean-libtool distclean-tags
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
|
||||||
distclean-am
|
dvi: dvi-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-data-local
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
|
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean: mostlyclean-am
|
||||||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
||||||
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
mostlyclean-libtool
|
||||||
dvi-am dvi check-local check check-am installcheck-am installcheck \
|
|
||||||
install-exec-am install-exec install-data-local install-data-am \
|
uninstall-am: uninstall-info-am
|
||||||
install-data install-am install uninstall-am uninstall all-local \
|
|
||||||
all-redirect all-am all install-strip installdirs mostlyclean-generic \
|
.PHONY: GTAGS all all-am all-local check check-am check-local clean \
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
clean-generic clean-libtool clean-noinstLIBRARIES distclean \
|
||||||
mostlyclean distclean maintainer-clean
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am install-data install-data-am install-data-local \
|
||||||
|
install-exec install-exec-am install-info install-info-am \
|
||||||
|
install-man install-strip installcheck installcheck-am \
|
||||||
|
installdirs maintainer-clean maintainer-clean-generic \
|
||||||
|
mostlyclean mostlyclean-compile mostlyclean-generic \
|
||||||
|
mostlyclean-libtool tags uninstall uninstall-am \
|
||||||
|
uninstall-info-am
|
||||||
|
|
||||||
|
|
||||||
install-suid-programs:
|
install-suid-programs:
|
||||||
|
@ -558,7 +559,6 @@ check-local::
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0; \
|
test "$$failed" -eq 0; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
RCSID("$Id: auth.c,v 1.23 2000/01/18 03:09:34 assar Exp $");
|
RCSID("$Id: auth.c,v 1.25 2002/01/18 12:58:48 joda Exp $");
|
||||||
|
|
||||||
#if defined(AUTHENTICATION)
|
#if defined(AUTHENTICATION)
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -100,6 +100,8 @@ extern rsaencpwd_printsub();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int auth_debug_mode = 0;
|
int auth_debug_mode = 0;
|
||||||
|
int auth_has_failed = 0;
|
||||||
|
int auth_enable_encrypt = 0;
|
||||||
static const char *Name = "Noname";
|
static const char *Name = "Noname";
|
||||||
static int Server = 0;
|
static int Server = 0;
|
||||||
static Authenticator *authenticated = 0;
|
static Authenticator *authenticated = 0;
|
||||||
|
@ -468,6 +470,7 @@ auth_send(unsigned char *data, int cnt)
|
||||||
if (auth_debug_mode)
|
if (auth_debug_mode)
|
||||||
printf(">>>%s: Sent failure message\r\n", Name);
|
printf(">>>%s: Sent failure message\r\n", Name);
|
||||||
auth_finished(0, AUTH_REJECT);
|
auth_finished(0, AUTH_REJECT);
|
||||||
|
auth_has_failed = 1;
|
||||||
#ifdef KANNAN
|
#ifdef KANNAN
|
||||||
/*
|
/*
|
||||||
* We requested strong authentication, however no mechanisms worked.
|
* We requested strong authentication, however no mechanisms worked.
|
||||||
|
@ -646,7 +649,7 @@ auth_gen_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen)
|
||||||
buf[buflen-2] = '*';
|
buf[buflen-2] = '*';
|
||||||
buflen -= 2;
|
buflen -= 2;
|
||||||
for (; cnt > 0; cnt--, data++) {
|
for (; cnt > 0; cnt--, data++) {
|
||||||
snprintf(tbuf, sizeof(tbuf), " %d", *data);
|
snprintf((char*)tbuf, sizeof(tbuf), " %d", *data);
|
||||||
for (cp = tbuf; *cp && buflen > 0; --buflen)
|
for (cp = tbuf; *cp && buflen > 0; --buflen)
|
||||||
*buf++ = *cp++;
|
*buf++ = *cp++;
|
||||||
if (buflen <= 0)
|
if (buflen <= 0)
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
* or implied warranty.
|
* or implied warranty.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: enc-proto.h,v 1.10 2000/01/18 03:09:56 assar Exp $ */
|
/* $Id: enc-proto.h,v 1.11 2002/01/18 12:58:49 joda Exp $ */
|
||||||
|
|
||||||
#if defined(ENCRYPTION)
|
#if defined(ENCRYPTION)
|
||||||
Encryptions *findencryption (int);
|
Encryptions *findencryption (int);
|
||||||
|
@ -93,6 +93,7 @@ void encrypt_request_start(unsigned char*, int);
|
||||||
void encrypt_send_end(void);
|
void encrypt_send_end(void);
|
||||||
void encrypt_send_keyid(int, unsigned char*, int, int);
|
void encrypt_send_keyid(int, unsigned char*, int, int);
|
||||||
void encrypt_send_request_end(void);
|
void encrypt_send_request_end(void);
|
||||||
|
int encrypt_is_encrypting(void);
|
||||||
void encrypt_send_request_start(void);
|
void encrypt_send_request_start(void);
|
||||||
void encrypt_send_support(void);
|
void encrypt_send_support(void);
|
||||||
void encrypt_session_key(Session_Key*, int);
|
void encrypt_session_key(Session_Key*, int);
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
RCSID("$Id: enc_des.c,v 1.18 2001/02/24 05:47:39 assar Exp $");
|
RCSID("$Id: enc_des.c,v 1.20 2001/08/29 00:45:19 assar Exp $");
|
||||||
|
|
||||||
#if defined(AUTHENTICATION) && defined(ENCRYPTION) && defined(DES_ENCRYPTION)
|
#if defined(AUTHENTICATION) && defined(ENCRYPTION) && defined(DES_ENCRYPTION)
|
||||||
#include <arpa/telnet.h>
|
#include <arpa/telnet.h>
|
||||||
|
@ -50,7 +50,7 @@ RCSID("$Id: enc_des.c,v 1.18 2001/02/24 05:47:39 assar Exp $");
|
||||||
#include "encrypt.h"
|
#include "encrypt.h"
|
||||||
#include "misc-proto.h"
|
#include "misc-proto.h"
|
||||||
|
|
||||||
#ifdef HAVE_OPENSSL_DES_H
|
#ifdef HAVE_OPENSSL
|
||||||
#include <openssl/des.h>
|
#include <openssl/des.h>
|
||||||
#else
|
#else
|
||||||
#include <des.h>
|
#include <des.h>
|
||||||
|
@ -128,6 +128,8 @@ int fb64_reply (unsigned char *, int, struct fb *);
|
||||||
static void fb64_session (Session_Key *, int, struct fb *);
|
static void fb64_session (Session_Key *, int, struct fb *);
|
||||||
void fb64_stream_key (des_cblock, struct stinfo *);
|
void fb64_stream_key (des_cblock, struct stinfo *);
|
||||||
int fb64_keyid (int, unsigned char *, int *, struct fb *);
|
int fb64_keyid (int, unsigned char *, int *, struct fb *);
|
||||||
|
void fb64_printsub(unsigned char *, int ,
|
||||||
|
unsigned char *, int , char *);
|
||||||
|
|
||||||
void cfb64_init(int server)
|
void cfb64_init(int server)
|
||||||
{
|
{
|
||||||
|
@ -408,7 +410,7 @@ static void fb64_session(Session_Key *key, int server, struct fb *fbp)
|
||||||
fb64_stream_key(fbp->krbdes_key, &fbp->streams[DIR_DECRYPT-1]);
|
fb64_stream_key(fbp->krbdes_key, &fbp->streams[DIR_DECRYPT-1]);
|
||||||
|
|
||||||
if (fbp->once == 0) {
|
if (fbp->once == 0) {
|
||||||
#if !defined(OLD_DES_RANDOM_KEY) && !defined(HAVE_OPENSSL_DES_H)
|
#if !defined(OLD_DES_RANDOM_KEY) && !defined(HAVE_OPENSSL)
|
||||||
des_init_random_number_generator(&fbp->krbdes_key);
|
des_init_random_number_generator(&fbp->krbdes_key);
|
||||||
#endif
|
#endif
|
||||||
fbp->once = 1;
|
fbp->once = 1;
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
RCSID("$Id: encrypt.c,v 1.22 2000/01/18 03:10:35 assar Exp $");
|
RCSID("$Id: encrypt.c,v 1.23 2002/01/18 12:58:49 joda Exp $");
|
||||||
|
|
||||||
#if defined(ENCRYPTION)
|
#if defined(ENCRYPTION)
|
||||||
|
|
||||||
|
@ -952,6 +952,13 @@ encrypt_delay(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int encrypt_is_encrypting()
|
||||||
|
{
|
||||||
|
if (encrypt_output && decrypt_input)
|
||||||
|
return 1;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
encrypt_debug(int mode)
|
encrypt_debug(int mode)
|
||||||
{
|
{
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
* or implied warranty.
|
* or implied warranty.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: encrypt.h,v 1.6 2001/02/15 06:46:28 assar Exp $ */
|
/* $Id: encrypt.h,v 1.7 2001/08/22 20:30:22 assar Exp $ */
|
||||||
|
|
||||||
#ifndef __ENCRYPT__
|
#ifndef __ENCRYPT__
|
||||||
#define __ENCRYPT__
|
#define __ENCRYPT__
|
||||||
|
@ -90,7 +90,7 @@ typedef struct {
|
||||||
|
|
||||||
#define SK_DES 1 /* Matched Kerberos v5 KEYTYPE_DES */
|
#define SK_DES 1 /* Matched Kerberos v5 KEYTYPE_DES */
|
||||||
|
|
||||||
#ifdef HAVE_OPENSSL_DES_H
|
#ifdef HAVE_OPENSSL
|
||||||
#include <openssl/des.h>
|
#include <openssl/des.h>
|
||||||
#define des_new_random_key des_random_key
|
#define des_new_random_key des_random_key
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include "misc-proto.h"
|
#include "misc-proto.h"
|
||||||
|
|
||||||
RCSID("$Id: genget.c,v 1.6 1997/05/04 09:01:34 assar Exp $");
|
RCSID("$Id: genget.c,v 1.7 2001/09/03 05:54:14 assar Exp $");
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ isprefix(char *s1, char *s2)
|
||||||
os1 = s1;
|
os1 = s1;
|
||||||
c1 = *s1;
|
c1 = *s1;
|
||||||
c2 = *s2;
|
c2 = *s2;
|
||||||
while (LOWER(c1) == LOWER(c2)) {
|
while (tolower((unsigned char)c1) == tolower((unsigned char)c2)) {
|
||||||
if (c1 == '\0')
|
if (c1 == '\0')
|
||||||
break;
|
break;
|
||||||
c1 = *++s1;
|
c1 = *++s1;
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
RCSID("$Id: kerberos.c,v 1.51 2001/02/15 04:20:52 assar Exp $");
|
RCSID("$Id: kerberos.c,v 1.54 2001/08/22 20:30:22 assar Exp $");
|
||||||
|
|
||||||
#ifdef KRB4
|
#ifdef KRB4
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
@ -200,7 +200,8 @@ kerberos4_send(char *name, Authenticator *ap)
|
||||||
printf("get_cred failed: %s\r\n", krb_get_err_text(r));
|
printf("get_cred failed: %s\r\n", krb_get_err_text(r));
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
if (!auth_sendname(UserNameRequested, strlen(UserNameRequested))) {
|
if (!auth_sendname((unsigned char*)UserNameRequested,
|
||||||
|
strlen(UserNameRequested))) {
|
||||||
if (auth_debug_mode)
|
if (auth_debug_mode)
|
||||||
printf("Not enough room for user name\r\n");
|
printf("Not enough room for user name\r\n");
|
||||||
return(0);
|
return(0);
|
||||||
|
@ -219,7 +220,9 @@ kerberos4_send(char *name, Authenticator *ap)
|
||||||
|
|
||||||
des_key_sched(&cred.session, sched);
|
des_key_sched(&cred.session, sched);
|
||||||
memcpy (&cred_session, &cred.session, sizeof(cred_session));
|
memcpy (&cred_session, &cred.session, sizeof(cred_session));
|
||||||
|
#ifndef HAVE_OPENSSL
|
||||||
des_init_random_number_generator(&cred.session);
|
des_init_random_number_generator(&cred.session);
|
||||||
|
#endif
|
||||||
des_new_random_key(&session_key);
|
des_new_random_key(&session_key);
|
||||||
des_ecb_encrypt(&session_key, &session_key, sched, 0);
|
des_ecb_encrypt(&session_key, &session_key, sched, 0);
|
||||||
des_ecb_encrypt(&session_key, &challenge, sched, 0);
|
des_ecb_encrypt(&session_key, &challenge, sched, 0);
|
||||||
|
@ -571,11 +574,11 @@ kerberos4_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen)
|
||||||
goto common2;
|
goto common2;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
snprintf(buf, buflen, " %d (unknown)", data[3]);
|
snprintf((char*)buf, buflen, " %d (unknown)", data[3]);
|
||||||
common2:
|
common2:
|
||||||
BUMP(buf, buflen);
|
BUMP(buf, buflen);
|
||||||
for (i = 4; i < cnt; i++) {
|
for (i = 4; i < cnt; i++) {
|
||||||
snprintf(buf, buflen, " %d", data[i]);
|
snprintf((char*)buf, buflen, " %d", data[i]);
|
||||||
BUMP(buf, buflen);
|
BUMP(buf, buflen);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -647,7 +650,7 @@ pack_cred(CREDENTIALS *cred, unsigned char *buf)
|
||||||
static int
|
static int
|
||||||
unpack_cred(unsigned char *buf, int len, CREDENTIALS *cred)
|
unpack_cred(unsigned char *buf, int len, CREDENTIALS *cred)
|
||||||
{
|
{
|
||||||
unsigned char *p = buf;
|
char *p = (char*)buf;
|
||||||
u_int32_t tmp;
|
u_int32_t tmp;
|
||||||
|
|
||||||
strncpy (cred->service, p, ANAME_SZ);
|
strncpy (cred->service, p, ANAME_SZ);
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
RCSID("$Id: kerberos5.c,v 1.47 2001/01/09 18:45:33 assar Exp $");
|
RCSID("$Id: kerberos5.c,v 1.49 2001/06/18 19:50:11 joda Exp $");
|
||||||
|
|
||||||
#ifdef KRB5
|
#ifdef KRB5
|
||||||
|
|
||||||
|
@ -118,7 +118,7 @@ Data(Authenticator *ap, int type, void *d, int c)
|
||||||
unsigned char *cd = (unsigned char *)d;
|
unsigned char *cd = (unsigned char *)d;
|
||||||
|
|
||||||
if (c == -1)
|
if (c == -1)
|
||||||
c = strlen(cd);
|
c = strlen((char*)cd);
|
||||||
|
|
||||||
if (auth_debug_mode) {
|
if (auth_debug_mode) {
|
||||||
printf("%s:%d: [%d] (%d)",
|
printf("%s:%d: [%d] (%d)",
|
||||||
|
@ -224,7 +224,7 @@ kerberos5_send(char *name, Authenticator *ap)
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
krb5_auth_setkeytype (context, auth_context, KEYTYPE_DES);
|
krb5_auth_con_setkeytype (context, auth_context, KEYTYPE_DES);
|
||||||
|
|
||||||
foo[0] = ap->type;
|
foo[0] = ap->type;
|
||||||
foo[1] = ap->way;
|
foo[1] = ap->way;
|
||||||
|
@ -713,11 +713,11 @@ kerberos5_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen)
|
||||||
goto common2;
|
goto common2;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
snprintf(buf, buflen, " %d (unknown)", data[3]);
|
snprintf((char*)buf, buflen, " %d (unknown)", data[3]);
|
||||||
common2:
|
common2:
|
||||||
BUMP(buf, buflen);
|
BUMP(buf, buflen);
|
||||||
for (i = 4; i < cnt; i++) {
|
for (i = 4; i < cnt; i++) {
|
||||||
snprintf(buf, buflen, " %d", data[i]);
|
snprintf((char*)buf, buflen, " %d", data[i]);
|
||||||
BUMP(buf, buflen);
|
BUMP(buf, buflen);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# $Id: Makefile.am,v 1.15 2001/02/07 06:11:52 assar Exp $
|
# $Id: Makefile.am,v 1.16 2001/08/28 11:21:16 joda Exp $
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
INCLUDES += -I$(srcdir)/.. $(INCLUDE_krb4)
|
INCLUDES += -I$(srcdir)/.. $(INCLUDE_krb4) $(INCLUDE_des)
|
||||||
|
|
||||||
bin_PROGRAMS = telnet
|
bin_PROGRAMS = telnet
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue