~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/programs/xrx/helper/Imakefile

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:54:57 cpqbld Exp $
 
2
 
 
3
 
 
4
 
 
5
 
 
6
XCOMM $XFree86: xc/programs/xrx/helper/Imakefile,v 1.2 2001/04/23 16:17:13 tsi Exp $
 
7
 
 
8
XCOMM Define UseWWW in order to use the www program to perform the GET request
 
9
XCOMM #define UseWWW YES
 
10
 
 
11
          RXSRC = ../rx
 
12
    RX_INCLUDES = -I$(RXSRC)
 
13
 
 
14
#if UseWWW
 
15
  DEFINES = StrcasecmpDefines -DXUSE_WWW
 
16
 INCLUDES = $(RX_INCLUDES)
 
17
 
 
18
GETURL_SRCS = GetUrl.c
 
19
GETURL_OBJS = GetUrl.o
 
20
 
 
21
#else /* UseWWW */
 
22
 
 
23
   CONN_DEFINES = -DTCPCONN
 
24
  TRANS_DEFINES = -DTRANS_CLIENT
 
25
# if HasBSD44Sockets
 
26
   SOCK_DEFINES = -DBSD44SOCKETS
 
27
# endif
 
28
 DEPEND_DEFINES = $(TRANS_DEFINES) $(CONN_DEFINES) DependDefines
 
29
 
 
30
  DEFINES = StrcasecmpDefines \
 
31
        $(CONN_DEFINES) $(SOCK_DEFINES) $(TRANS_DEFINES) $(POLL_DEFINES)
 
32
 INCLUDES = $(TRANS_INCLUDES) $(RX_INCLUDES)
 
33
 
 
34
GETURL_SRCS = GetUrl.c httptran.c transport.c
 
35
GETURL_OBJS = GetUrl.o httptran.o
 
36
#endif /* UseWWW */
 
37
 
 
38
PARAMS_SRCS = PRead.c PParse.c BuildReq.c
 
39
PARAMS_OBJS = PRead.o PParse.o BuildReq.o
 
40
 
 
41
MISC_SRCS = XUrls.c XAuth.c XDpyName.c Prefs.c
 
42
MISC_OBJS = XUrls.o XAuth.o XDpyName.o Prefs.o
 
43
 
 
44
SRCS = helper.c $(PARAMS_SRCS) $(GETURL_SRCS) $(MISC_SRCS)
 
45
OBJS = helper.o $(PARAMS_OBJS) $(GETURL_OBJS) $(MISC_OBJS)
 
46
 
 
47
LOCAL_LIBRARIES = $(XTOOLLIB) $(XAUTHLIB) $(XMULIB) $(XEXTLIB) $(XLIB)
 
48
DEPLIBS = $(DEPXTOOLLIB) $(DEPXAUTHLIB) $(DEPXMULIB) $(DEPXEXTLIB) $(DEPXLIB)
 
49
 
 
50
ComplexProgramTarget(xrx);
 
51
 
 
52
#if !UseWWW
 
53
LinkFile(transport.c,$(TRANSCOMMSRC)/transport.c)
 
54
#endif
 
55
LinkFile(PRead.c,$(RXSRC)/PRead.c)
 
56
LinkFile(PParse.c,$(RXSRC)/PParse.c)
 
57
LinkFile(BuildReq.c,$(RXSRC)/BuildReq.c)
 
58
LinkFile(XUrls.c,$(RXSRC)/XUrls.c)
 
59
LinkFile(XAuth.c,$(RXSRC)/XAuth.c)
 
60
LinkFile(XDpyName.c,$(RXSRC)/XDpyName.c)
 
61
LinkFile(Prefs.c,$(RXSRC)/Prefs.c)