tcp-wrappers-7.6-makefile.patch 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. --- Makefile 1997-03-21 18:27:21.000000000 +0000
  2. +++ Makefile 2003-07-27 20:13:53.000000000 +0000
  3. @@ -143,8 +143,8 @@
  4. linux:
  5. @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
  6. - LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= \
  7. - NETGROUP= TLI= EXTRA_CFLAGS="-DBROKEN_SO_LINGER" all
  8. + LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= \
  9. + NETGROUP= TLI= EXTRA_CFLAGS="$(PARDUS_OPT) -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER" all
  10. # This is good for many SYSV+BSD hybrids with NIS, probably also for HP-UX 7.x.
  11. hpux hpux8 hpux9 hpux10:
  12. @@ -663,6 +663,7 @@
  13. $(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \
  14. -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \
  15. -DSEVERITY=$(SEVERITY) -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
  16. + -DPIC -D_REENTRANT -fPIC -DHAVE_STRERROR \
  17. $(UCHAR) $(TABLES) $(STRINGS) $(TLI) $(EXTRA_CFLAGS) $(DOT) \
  18. $(VSYSLOG) $(HOSTNAME)
  19. --- Makefile 1997-03-21 18:27:21.000000000 +0000
  20. +++ Makefile 2002-12-16 14:02:38.000000000 +0000
  21. @@ -44,7 +44,7 @@
  22. #REAL_DAEMON_DIR=/usr/etc
  23. #
  24. # SysV.4 Solaris 2.x OSF AIX
  25. -#REAL_DAEMON_DIR=/usr/sbin
  26. +REAL_DAEMON_DIR=/usr/sbin
  27. #
  28. # BSD 4.4
  29. #REAL_DAEMON_DIR=/usr/libexec
  30. @@ -472,7 +474,7 @@
  31. # If your system supports vsyslog(), comment out the following definition.
  32. # If in doubt leave it in, it won't harm.
  33. -VSYSLOG = -Dvsyslog=myvsyslog
  34. +#VSYSLOG = -Dvsyslog=myvsyslog
  35. # End of the system dependencies.
  36. #################################
  37. @@ -491,7 +493,7 @@
  38. # Uncomment the next definition to turn on the language extensions
  39. # (examples: allow, deny, banners, twist and spawn).
  40. #
  41. -#STYLE = -DPROCESS_OPTIONS # Enable language extensions.
  42. +STYLE = -DPROCESS_OPTIONS # Enable language extensions.
  43. ################################################################
  44. # Optional: Changing the default disposition of logfile records
  45. @@ -514,7 +516,7 @@
  46. #
  47. # The LOG_XXX names below are taken from the /usr/include/syslog.h file.
  48. -FACILITY= LOG_MAIL # LOG_MAIL is what most sendmail daemons use
  49. +FACILITY= LOG_AUTHPRIV # LOG_MAIL is what most sendmail daemons use
  50. # The syslog priority at which successful connections are logged.
  51. @@ -531,7 +533,7 @@
  52. # and with Solaris < 2.4. APPEND_DOT will not work with hostnames taken
  53. # from /etc/hosts or from NIS maps. It does work with DNS through NIS.
  54. #
  55. -# DOT= -DAPPEND_DOT
  56. +DOT= -DAPPEND_DOT
  57. ##################################################
  58. # Optional: Always attempt remote username lookups
  59. @@ -551,7 +553,7 @@
  60. # still do selective username lookups as documented in the hosts_access.5
  61. # and hosts_options.5 manual pages (`nroff -man' format).
  62. #
  63. -#AUTH = -DALWAYS_RFC931
  64. +AUTH = -DALWAYS_RFC931
  65. #
  66. # The default username lookup timeout is 10 seconds. This may not be long
  67. # enough for slow hosts or networks, but is enough to irritate PC users.
  68. @@ -610,7 +612,7 @@
  69. # Paranoid mode implies hostname lookup. In order to disable hostname
  70. # lookups altogether, see the next section.
  71. -PARANOID= -DPARANOID
  72. +#PARANOID= -DPARANOID
  73. ########################################
  74. # Optional: turning off hostname lookups