~ubuntu-branches/ubuntu/trusty/ntp/trusty-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-04-03 07:21:01 UTC
  • mfrom: (4.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20130403072101-v3vt8xcs18b6uhjf
Tags: 1:4.2.6.p5+dfsg-2ubuntu1
* New upstream version, fixing build failure in raring.
* Merge with Debian; remaining changes:
  + debian/ntp.conf, debian/ntpdate.default: Change default server to
    ntp.ubuntu.com.
  + debian/ntpdate.ifup: Stop ntp before running ntpdate when an interface
    comes up, then start again afterwards.
  + debian/ntp.init, debian/rules: Only stop when entering single user mode.
  + Add enforcing AppArmor profile:
    - debian/control: Add Conflicts/Replaces on apparmor-profiles.
    - debian/control: Add Suggests on apparmor.
    - debian/ntp.dirs: Add apparmor directories.
    - debian/ntp.preinst: Force complain on certain upgrades.
    - debian/ntp.postinst: Reload apparmor profile.
    - debian/ntp.postrm: Remove the force-complain file.
    - add debian/apparmor-profile*.
    - debian/rules: install apparmor-profile and apparmor-profile.tunable.
    - debian/README.Debian: Add note on AppArmor.
  + debian/{control,rules}: Add and enable hardened build for PIE.
  + debian/apparmor-profile: Adjust location of drift files.
  + debian/rules, debian/ntp.dirs, debian/source_ntp.py: Add apport hook.
  + debian/ntpdate-debian: Disregard empty ntp.conf files.
  + debian/ntp.preinst: Remove empty /etc/ntp.conf on fresh intallation.
  + debian/ntpdate.ifup: Fix interaction with openntpd.
  + debian/source_ntp.py: Add filter on AppArmor profile names to prevent
    false positives from denials originating in other packages.
  + debian/apparmor-profile: Add samba4 ntp signing socket to ntpd apparmor
    profile.
  + debian/apparmor-profile: adjust for IPv6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
 
5
# Inc.
5
6
# This file is free software; the Free Software Foundation
6
7
# gives unlimited permission to copy and/or distribute it,
7
8
# with or without modifications, as long as this notice is preserved.
19
20
If you have problems, you may need to regenerate the build system entirely.
20
21
To do so, use the procedure documented by the package, typically `autoreconf'.])])
21
22
 
22
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
23
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
 
24
# Foundation, Inc.
23
25
#
24
26
# This file is free software; the Free Software Foundation
25
27
# gives unlimited permission to copy and/or distribute it,
26
28
# with or without modifications, as long as this notice is preserved.
27
29
 
 
30
# serial 1
 
31
 
28
32
# AM_AUTOMAKE_VERSION(VERSION)
29
33
# ----------------------------
30
34
# Automake X.Y traces this macro to ensure aclocal.m4 has been
34
38
[am__api_version='1.11'
35
39
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36
40
dnl require some minimum version.  Point them to the right macro.
37
 
m4_if([$1], [1.11.1], [],
 
41
m4_if([$1], [1.11.3], [],
38
42
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39
43
])
40
44
 
50
54
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51
55
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52
56
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
 
[AM_AUTOMAKE_VERSION([1.11.1])dnl
 
57
[AM_AUTOMAKE_VERSION([1.11.3])dnl
54
58
m4_ifndef([AC_AUTOCONF_VERSION],
55
59
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56
60
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
57
61
 
58
62
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
59
63
 
60
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
64
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
61
65
#
62
66
# This file is free software; the Free Software Foundation
63
67
# gives unlimited permission to copy and/or distribute it,
64
68
# with or without modifications, as long as this notice is preserved.
65
69
 
 
70
# serial 1
 
71
 
66
72
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
67
73
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
68
74
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
144
150
Usually this means the macro was only invoked conditionally.]])
145
151
fi])])
146
152
 
147
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
148
 
# Free Software Foundation, Inc.
 
153
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
 
154
# 2010, 2011 Free Software Foundation, Inc.
149
155
#
150
156
# This file is free software; the Free Software Foundation
151
157
# gives unlimited permission to copy and/or distribute it,
152
158
# with or without modifications, as long as this notice is preserved.
153
159
 
154
 
# serial 10
 
160
# serial 12
155
161
 
156
162
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
157
163
# written in clear, in which case automake, when reading aclocal.m4,
191
197
  # instance it was reported that on HP-UX the gcc test will end up
192
198
  # making a dummy file named `D' -- because `-MD' means `put the output
193
199
  # in D'.
 
200
  rm -rf conftest.dir
194
201
  mkdir conftest.dir
195
202
  # Copy depcomp to subdir because otherwise we won't find it if we're
196
203
  # using a relative directory.
255
262
        break
256
263
      fi
257
264
      ;;
258
 
    msvisualcpp | msvcmsys)
 
265
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
259
266
      # This compiler won't grok `-c -o', but also, the minuso test has
260
267
      # not run yet.  These depmodes are late enough in the game, and
261
268
      # so weak that their functioning should not be impacted.
320
327
if test "x$enable_dependency_tracking" != xno; then
321
328
  am_depcomp="$ac_aux_dir/depcomp"
322
329
  AMDEPBACKSLASH='\'
 
330
  am__nodep='_no'
323
331
fi
324
332
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
325
333
AC_SUBST([AMDEPBACKSLASH])dnl
326
334
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
335
AC_SUBST([am__nodep])dnl
 
336
_AM_SUBST_NOTMAKE([am__nodep])dnl
327
337
])
328
338
 
329
339
# Generate code to set up dependency tracking.              -*- Autoconf -*-
557
567
done
558
568
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
559
569
 
560
 
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
 
570
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
 
571
# Inc.
561
572
#
562
573
# This file is free software; the Free Software Foundation
563
574
# gives unlimited permission to copy and/or distribute it,
564
575
# with or without modifications, as long as this notice is preserved.
565
576
 
 
577
# serial 1
 
578
 
566
579
# AM_PROG_INSTALL_SH
567
580
# ------------------
568
581
# Define $install_sh.
729
742
fi
730
743
])
731
744
 
732
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
745
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
 
746
# Inc.
733
747
#
734
748
# This file is free software; the Free Software Foundation
735
749
# gives unlimited permission to copy and/or distribute it,
736
750
# with or without modifications, as long as this notice is preserved.
737
751
 
 
752
# serial 1
 
753
 
738
754
# AM_PROG_MKDIR_P
739
755
# ---------------
740
756
# Check for `mkdir -p'.
757
773
 
758
774
# Helper functions for option handling.                     -*- Autoconf -*-
759
775
 
760
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 
776
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
 
777
# Foundation, Inc.
761
778
#
762
779
# This file is free software; the Free Software Foundation
763
780
# gives unlimited permission to copy and/or distribute it,
764
781
# with or without modifications, as long as this notice is preserved.
765
782
 
766
 
# serial 4
 
783
# serial 5
767
784
 
768
785
# _AM_MANGLE_OPTION(NAME)
769
786
# -----------------------
771
788
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
772
789
 
773
790
# _AM_SET_OPTION(NAME)
774
 
# ------------------------------
 
791
# --------------------
775
792
# Set option NAME.  Presently that only means defining a flag for this option.
776
793
AC_DEFUN([_AM_SET_OPTION],
777
794
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
778
795
 
779
796
# _AM_SET_OPTIONS(OPTIONS)
780
 
# ----------------------------------
 
797
# ------------------------
781
798
# OPTIONS is a space-separated list of Automake options.
782
799
AC_DEFUN([_AM_SET_OPTIONS],
783
800
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
853
870
fi
854
871
AC_MSG_RESULT(yes)])
855
872
 
856
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
873
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
857
874
#
858
875
# This file is free software; the Free Software Foundation
859
876
# gives unlimited permission to copy and/or distribute it,
860
877
# with or without modifications, as long as this notice is preserved.
861
878
 
 
879
# serial 1
 
880
 
862
881
# AM_PROG_INSTALL_STRIP
863
882
# ---------------------
864
883
# One issue with vendor `install' (even GNU) is that you can't
881
900
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
882
901
AC_SUBST([INSTALL_STRIP_PROGRAM])])
883
902
 
884
 
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
 
903
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
885
904
#
886
905
# This file is free software; the Free Software Foundation
887
906
# gives unlimited permission to copy and/or distribute it,
888
907
# with or without modifications, as long as this notice is preserved.
889
908
 
890
 
# serial 2
 
909
# serial 3
891
910
 
892
911
# _AM_SUBST_NOTMAKE(VARIABLE)
893
912
# ---------------------------
896
915
AC_DEFUN([_AM_SUBST_NOTMAKE])
897
916
 
898
917
# AM_SUBST_NOTMAKE(VARIABLE)
899
 
# ---------------------------
 
918
# --------------------------
900
919
# Public sister of _AM_SUBST_NOTMAKE.
901
920
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
902
921
 
903
922
# Check how to create a tarball.                            -*- Autoconf -*-
904
923
 
905
 
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
924
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
906
925
#
907
926
# This file is free software; the Free Software Foundation
908
927
# gives unlimited permission to copy and/or distribute it,
924
943
# a tarball read from stdin.
925
944
#     $(am__untar) < result.tar
926
945
AC_DEFUN([_AM_PROG_TAR],
927
 
[# Always define AMTAR for backward compatibility.
928
 
AM_MISSING_PROG([AMTAR], [tar])
 
946
[# Always define AMTAR for backward compatibility.  Yes, it's still used
 
947
# in the wild :-(  We should find a proper way to deprecate it ...
 
948
AC_SUBST([AMTAR], ['$${TAR-tar}'])
929
949
m4_if([$1], [v7],
930
 
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
 
950
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
931
951
     [m4_case([$1], [ustar],, [pax],,
932
952
              [m4_fatal([Unknown tar format])])
933
953
AC_MSG_CHECKING([how to create a $1 tar archive])