~ubuntu-branches/debian/squeeze/ntp/squeeze

« back to all changes in this revision

Viewing changes to debian/patches/kfreebsd.patch

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2010-05-24 11:09:51 UTC
  • mfrom: (1.2.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100524110951-1o7gh469ygochf4n
Tags: 1:4.2.6.p1+dfsg-1
* New upstream version
  - They no longer ship arlib, adjust dfsg.patch.
  - Drop kfreebsd.patch, applied upstream
  - Update patches for upstream changes.
* Remove the obsolete config files:

  for ntp:
  - /etc/logcheck/ignore.d.server/ntp, removed in 1:4.2.6+dfsg-1
  - /etc/dhcp3/dhclient-enter-hooks.d/ntp, replaced by exit hooks in
    1:4.2.4p4+dfsg-3
  - /etc/network/if-up.d/ntp, removed in 1:4.2.4p0+dfsg-1

  for ntpdate:
  - /etc/dhcp3/dhclient-enter-hooks.d/ntpdate, replaced by exit hooks in
    1:4.2.4p4+dfsg-3

  Use dpkg 1.15.7.2's dpkg-maintscript-helper.  This needs
  a Pre-Depends to work, else it's never going to be removed.
  (Closes: #569530)
* Add "Depends: ${misc:Depends}" to ntp-doc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From: Aurelien Jarno <aurelien@aurel32.net>
2
 
Subject: Tell configure what to do on kfreebsd.
3
 
Bug: http://bugs.ntp.org/1440
4
 
Bug-Debian: http://bugs.debian.org/522696
5
 
 
6
 
 
7
 
Index: ntp-4.2.6+dfsg/configure.ac
8
 
===================================================================
9
 
--- ntp-4.2.6+dfsg.orig/configure.ac    2009-12-23 20:02:50.000000000 +0000
10
 
+++ ntp-4.2.6+dfsg/configure.ac 2009-12-23 21:03:42.000000000 +0000
11
 
@@ -775,16 +775,19 @@
12
 
     ac_cv_var_override_hz=yes
13
 
     ;;
14
 
  *-*-freebsd*)
15
 
     ac_cv_var_override_hz=yes
16
 
     ;;
17
 
  *-*-sunos4*)
18
 
     ac_cv_var_override_hz=yes
19
 
     ;;
20
 
+ *-*-kfreebsd*)
21
 
+    ac_cv_var_override_hz=yes
22
 
+    ;;
23
 
 esac])
24
 
 case "$ac_cv_var_override_hz" in
25
 
  yes)
26
 
     AC_DEFINE(OVERRIDE_HZ, 1, [Do we need to override the system's idea of HZ?])
27
 
     ;;
28
 
 esac
29
 
 
30
 
 dnl AC_CACHE_CHECK(ut_host in struct utmp, ac_cv_func_ut_host_in_utmp,
31
 
@@ -1892,16 +1895,19 @@
32
 
        ans=no
33
 
        ;;
34
 
      *-*-*linux*)
35
 
        ans=no
36
 
        ;;
37
 
      *-*-unicosmp*)
38
 
        ans=no
39
 
        ;;
40
 
+     *-*-kfreebsd*)
41
 
+       ans=no
42
 
+       ;;
43
 
     esac
44
 
     ;;
45
 
 esac
46
 
 ac_cv_var_signalled_io=$ans])
47
 
 case "$ac_cv_var_signalled_io" in
48
 
  yes) AC_DEFINE(HAVE_SIGNALED_IO, 1, [Can we use SIGIO for tcp and udp IO?]) ;;
49
 
 esac
50
 
 
51
 
@@ -1960,16 +1966,19 @@
52
 
        ans=no
53
 
        ;;
54
 
      *-*-ultrix*)
55
 
         ans=no
56
 
         ;;
57
 
      *-*-unicosmp*)
58
 
         ans=no
59
 
         ;;
60
 
+     *-*-kfreebsd*)
61
 
+       ans=no
62
 
+       ;;
63
 
      *) ans=yes
64
 
         ;;
65
 
     esac
66
 
     ;;
67
 
 esac
68
 
 ac_cv_var_use_udp_sigpoll=$ans])
69
 
 case "$ac_cv_var_use_udp_sigpoll" in
70
 
  yes) AC_DEFINE(USE_UDP_SIGPOLL, 1, [Can we use SIGPOLL for UDP?]) ;;
71
 
@@ -2011,16 +2020,19 @@
72
 
         ans=no
73
 
         ;;
74
 
      *-*-qnx*)
75
 
         ans=no
76
 
         ;;
77
 
      *-*-unicosmp*)
78
 
         ans=no
79
 
         ;;
80
 
+     *-*-kfreebsd*)
81
 
+       ans=no
82
 
+       ;;
83
 
      *) ans=yes
84
 
         ;;
85
 
     esac
86
 
     ;;
87
 
 esac
88
 
 ac_cv_var_use_tty_sigpoll=$ans])
89
 
 case "$ac_cv_var_use_tty_sigpoll" in
90
 
  yes) AC_DEFINE(USE_TTY_SIGPOLL, 1, [Can we use SIGPOLL for tty IO?]) ;;