Line
Link Here
|
0 |
-- pam-krb5-migrate-0.0.8.orig/Makefile |
0 |
++ pam-krb5-migrate-0.0.8/Makefile |
Lines 1-6
Link Here
|
1 |
include Makefile.settings |
1 |
include Makefile.settings |
2 |
LDFLAGS += -Bsymbolic -x -shared |
2 |
LDFLAGS += -Bsymbolic -x -shared |
3 |
CFLAGS += `$(KRB5CONFIG) --cflags krb5 kadm-client` |
3 |
CFLAGS += `$(KRB5CONFIG) --cflags krb5 kadm-client` |
|
|
4 |
CFLAGS += $(COM_ERR_CFLAGS) |
4 |
CFLAGS += -fPIC |
5 |
CFLAGS += -fPIC |
5 |
|
6 |
|
6 |
# Uncomment these lines to build the module with local db support. |
7 |
# Uncomment these lines to build the module with local db support. |
Lines 10-21
Link Here
|
10 |
# Uncomment these lines to build the module with remote kadmin support. |
11 |
# Uncomment these lines to build the module with remote kadmin support. |
11 |
KLOCAL = |
12 |
KLOCAL = |
12 |
LIBS += `$(KRB5CONFIG) --libs krb5 kadm-client` |
13 |
LIBS += `$(KRB5CONFIG) --libs krb5 kadm-client` |
|
|
14 |
LIBS += $(COM_ERR_LIBS) |
13 |
LIBS += -lc |
15 |
LIBS += -lc |
14 |
|
16 |
|
15 |
all: pam_krb5_migrate.so |
17 |
all: pam_krb5_migrate.so |
16 |
|
18 |
|
17 |
pam_krb5_migrate.so: pam_krb5_migrate.o |
19 |
pam_krb5_migrate.so: pam_krb5_migrate.o |
18 |
$(LD) -Bsymbolic -x -shared -o pam_krb5_migrate.so \ |
20 |
$(LD) -z defs -Bsymbolic -x -shared -o pam_krb5_migrate.so \ |
19 |
pam_krb5_migrate.o $(LIBS) |
21 |
pam_krb5_migrate.o $(LIBS) |
20 |
|
22 |
|
21 |
pam_krb5_migrate.o: pam_krb5_migrate.c |
23 |
pam_krb5_migrate.o: pam_krb5_migrate.c |
22 |
-- pam-krb5-migrate-0.0.8.orig/Makefile.settings.in |
24 |
++ pam-krb5-migrate-0.0.8/Makefile.settings.in |
Lines 3-8
Link Here
|
3 |
DEFS = @DEFS@ |
3 |
DEFS = @DEFS@ |
4 |
LIBS = @LIBS@ |
4 |
LIBS = @LIBS@ |
5 |
KRB5CONFIG = @KRB5CONFIG@ |
5 |
KRB5CONFIG = @KRB5CONFIG@ |
|
|
6 |
COM_ERR_CFLAGS = @COM_ERR_CFLAGS@ |
7 |
COM_ERR_LIBS = @COM_ERR_LIBS@ |
6 |
prefix = @prefix@ |
8 |
prefix = @prefix@ |
7 |
datarootdir = @datarootdir@ |
9 |
datarootdir = @datarootdir@ |
8 |
mandir = @mandir@ |
10 |
mandir = @mandir@ |
9 |
-- pam-krb5-migrate-0.0.8.orig/configure.ac |
11 |
++ pam-krb5-migrate-0.0.8/configure.ac |
Lines 1-10
Link Here
|
1 |
AC_INIT(pam-krb5-migrate, 0.0.8, [jelmer@samba.org]) |
1 |
AC_INIT(pam-krb5-migrate, 0.0.7, [jelmer@samba.org]) |
2 |
AC_PROG_CC |
2 |
AC_PROG_CC |
3 |
AC_PATH_PROG(KRB5CONFIG, krb5-config, no) |
3 |
AC_PATH_PROG(KRB5CONFIG, krb5-config, no) |
4 |
AC_CHECK_LIB(pam, pam_get_item, [], [AC_MSG_ERROR([pam not found])]) |
4 |
AC_CHECK_LIB(pam, pam_get_item, [], [AC_MSG_ERROR([pam not found])]) |
5 |
save_LIBS="$LIBS" |
5 |
save_LIBS="$LIBS" |
6 |
LIBS="$LIBS `$ac_cv_path_KRB5CONFIG --libs kadm-client`" |
6 |
LIBS="$LIBS `$ac_cv_path_KRB5CONFIG --libs kadm-client`" |
7 |
AC_CHECK_FUNCS(kadm5_get_policy) |
7 |
AC_CHECK_FUNCS(kadm5_get_policy) |
|
|
8 |
PKG_CHECK_MODULES(COM_ERR, com_err) |
8 |
LIBS="$save_LIBS" |
9 |
LIBS="$save_LIBS" |
9 |
AC_CONFIG_FILES([Makefile.settings]) |
10 |
AC_CONFIG_FILES([Makefile.settings]) |
10 |
AC_OUTPUT |
11 |
AC_OUTPUT |
11 |
-- pam-krb5-migrate-0.0.8.orig/configure |
12 |
++ pam-krb5-migrate-0.0.8/configure |
Lines 1-6
Link Here
|
1 |
#! /bin/sh |
1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
2 |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.61 for pam-krb5-migrate 0.0.8. |
3 |
# Generated by GNU Autoconf 2.61 for pam-krb5-migrate 0.0.7. |
4 |
# |
4 |
# |
5 |
# Report bugs to <jelmer@samba.org>. |
5 |
# Report bugs to <jelmer@samba.org>. |
6 |
# |
6 |
# |
Lines 574-581
Link Here
|
574 |
# Identity of this package. |
574 |
# Identity of this package. |
575 |
PACKAGE_NAME='pam-krb5-migrate' |
575 |
PACKAGE_NAME='pam-krb5-migrate' |
576 |
PACKAGE_TARNAME='pam-krb5-migrate' |
576 |
PACKAGE_TARNAME='pam-krb5-migrate' |
577 |
PACKAGE_VERSION='0.0.8' |
577 |
PACKAGE_VERSION='0.0.7' |
578 |
PACKAGE_STRING='pam-krb5-migrate 0.0.8' |
578 |
PACKAGE_STRING='pam-krb5-migrate 0.0.7' |
579 |
PACKAGE_BUGREPORT='jelmer@samba.org' |
579 |
PACKAGE_BUGREPORT='jelmer@samba.org' |
580 |
|
580 |
|
581 |
ac_subst_vars='SHELL |
581 |
ac_subst_vars='SHELL |
Lines 623-628
Link Here
|
623 |
EXEEXT |
623 |
EXEEXT |
624 |
OBJEXT |
624 |
OBJEXT |
625 |
KRB5CONFIG |
625 |
KRB5CONFIG |
|
|
626 |
PKG_CONFIG |
627 |
COM_ERR_CFLAGS |
628 |
COM_ERR_LIBS |
626 |
LIBOBJS |
629 |
LIBOBJS |
627 |
LTLIBOBJS' |
630 |
LTLIBOBJS' |
628 |
ac_subst_files='' |
631 |
ac_subst_files='' |
Lines 633-639
Link Here
|
633 |
CFLAGS |
636 |
CFLAGS |
634 |
LDFLAGS |
637 |
LDFLAGS |
635 |
LIBS |
638 |
LIBS |
636 |
CPPFLAGS' |
639 |
CPPFLAGS |
|
|
640 |
PKG_CONFIG |
641 |
COM_ERR_CFLAGS |
642 |
COM_ERR_LIBS' |
637 |
|
643 |
|
638 |
|
644 |
|
639 |
# Initialize some variables set by options. |
645 |
# Initialize some variables set by options. |
Lines 1136-1142
Link Here
|
1136 |
# Omit some internal or obsolete options to make the list less imposing. |
1142 |
# Omit some internal or obsolete options to make the list less imposing. |
1137 |
# This message is too long to be a string in the A/UX 3.1 sh. |
1143 |
# This message is too long to be a string in the A/UX 3.1 sh. |
1138 |
cat <<_ACEOF |
1144 |
cat <<_ACEOF |
1139 |
\`configure' configures pam-krb5-migrate 0.0.8 to adapt to many kinds of systems. |
1145 |
\`configure' configures pam-krb5-migrate 0.0.7 to adapt to many kinds of systems. |
1140 |
|
1146 |
|
1141 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
1147 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
1142 |
|
1148 |
|
Lines 1197-1203
Link Here
|
1197 |
|
1203 |
|
1198 |
if test -n "$ac_init_help"; then |
1204 |
if test -n "$ac_init_help"; then |
1199 |
case $ac_init_help in |
1205 |
case $ac_init_help in |
1200 |
short | recursive ) echo "Configuration of pam-krb5-migrate 0.0.8:";; |
1206 |
short | recursive ) echo "Configuration of pam-krb5-migrate 0.0.7:";; |
1201 |
esac |
1207 |
esac |
1202 |
cat <<\_ACEOF |
1208 |
cat <<\_ACEOF |
1203 |
|
1209 |
|
Lines 1209-1214
Link Here
|
1209 |
LIBS libraries to pass to the linker, e.g. -l<library> |
1215 |
LIBS libraries to pass to the linker, e.g. -l<library> |
1210 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1216 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1211 |
you have headers in a nonstandard directory <include dir> |
1217 |
you have headers in a nonstandard directory <include dir> |
|
|
1218 |
PKG_CONFIG path to pkg-config utility |
1219 |
COM_ERR_CFLAGS |
1220 |
C compiler flags for COM_ERR, overriding pkg-config |
1221 |
COM_ERR_LIBS |
1222 |
linker flags for COM_ERR, overriding pkg-config |
1212 |
|
1223 |
|
1213 |
Use these variables to override the choices made by `configure' or to help |
1224 |
Use these variables to override the choices made by `configure' or to help |
1214 |
it to find libraries and programs with nonstandard names/locations. |
1225 |
it to find libraries and programs with nonstandard names/locations. |
Lines 1274-1280
Link Here
|
1274 |
test -n "$ac_init_help" && exit $ac_status |
1285 |
test -n "$ac_init_help" && exit $ac_status |
1275 |
if $ac_init_version; then |
1286 |
if $ac_init_version; then |
1276 |
cat <<\_ACEOF |
1287 |
cat <<\_ACEOF |
1277 |
pam-krb5-migrate configure 0.0.8 |
1288 |
pam-krb5-migrate configure 0.0.7 |
1278 |
generated by GNU Autoconf 2.61 |
1289 |
generated by GNU Autoconf 2.61 |
1279 |
|
1290 |
|
1280 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1291 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
Lines 1288-1294
Link Here
|
1288 |
This file contains any messages produced by compilers while |
1299 |
This file contains any messages produced by compilers while |
1289 |
running configure, to aid debugging if configure makes a mistake. |
1300 |
running configure, to aid debugging if configure makes a mistake. |
1290 |
|
1301 |
|
1291 |
It was created by pam-krb5-migrate $as_me 0.0.8, which was |
1302 |
It was created by pam-krb5-migrate $as_me 0.0.7, which was |
1292 |
generated by GNU Autoconf 2.61. Invocation command line was |
1303 |
generated by GNU Autoconf 2.61. Invocation command line was |
1293 |
|
1304 |
|
1294 |
$ $0 $@ |
1305 |
$ $0 $@ |
Lines 2773-2778
Link Here
|
2773 |
fi |
2784 |
fi |
2774 |
done |
2785 |
done |
2775 |
|
2786 |
|
|
|
2787 |
|
2788 |
|
2789 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
2790 |
if test -n "$ac_tool_prefix"; then |
2791 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
2792 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
2793 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2794 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2795 |
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
2796 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2797 |
else |
2798 |
case $PKG_CONFIG in |
2799 |
[\\/]* | ?:[\\/]*) |
2800 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
2801 |
;; |
2802 |
*) |
2803 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2804 |
for as_dir in $PATH |
2805 |
do |
2806 |
IFS=$as_save_IFS |
2807 |
test -z "$as_dir" && as_dir=. |
2808 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2809 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2810 |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
2811 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2812 |
break 2 |
2813 |
fi |
2814 |
done |
2815 |
done |
2816 |
IFS=$as_save_IFS |
2817 |
|
2818 |
;; |
2819 |
esac |
2820 |
fi |
2821 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
2822 |
if test -n "$PKG_CONFIG"; then |
2823 |
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
2824 |
echo "${ECHO_T}$PKG_CONFIG" >&6; } |
2825 |
else |
2826 |
{ echo "$as_me:$LINENO: result: no" >&5 |
2827 |
echo "${ECHO_T}no" >&6; } |
2828 |
fi |
2829 |
|
2830 |
|
2831 |
fi |
2832 |
if test -z "$ac_cv_path_PKG_CONFIG"; then |
2833 |
ac_pt_PKG_CONFIG=$PKG_CONFIG |
2834 |
# Extract the first word of "pkg-config", so it can be a program name with args. |
2835 |
set dummy pkg-config; ac_word=$2 |
2836 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2837 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2838 |
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then |
2839 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2840 |
else |
2841 |
case $ac_pt_PKG_CONFIG in |
2842 |
[\\/]* | ?:[\\/]*) |
2843 |
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
2844 |
;; |
2845 |
*) |
2846 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2847 |
for as_dir in $PATH |
2848 |
do |
2849 |
IFS=$as_save_IFS |
2850 |
test -z "$as_dir" && as_dir=. |
2851 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2852 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2853 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
2854 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2855 |
break 2 |
2856 |
fi |
2857 |
done |
2858 |
done |
2859 |
IFS=$as_save_IFS |
2860 |
|
2861 |
;; |
2862 |
esac |
2863 |
fi |
2864 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
2865 |
if test -n "$ac_pt_PKG_CONFIG"; then |
2866 |
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 |
2867 |
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } |
2868 |
else |
2869 |
{ echo "$as_me:$LINENO: result: no" >&5 |
2870 |
echo "${ECHO_T}no" >&6; } |
2871 |
fi |
2872 |
|
2873 |
if test "x$ac_pt_PKG_CONFIG" = x; then |
2874 |
PKG_CONFIG="" |
2875 |
else |
2876 |
case $cross_compiling:$ac_tool_warned in |
2877 |
yes:) |
2878 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2879 |
whose name does not start with the host triplet. If you think this |
2880 |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
2881 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
2882 |
whose name does not start with the host triplet. If you think this |
2883 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
2884 |
ac_tool_warned=yes ;; |
2885 |
esac |
2886 |
PKG_CONFIG=$ac_pt_PKG_CONFIG |
2887 |
fi |
2888 |
else |
2889 |
PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
2890 |
fi |
2891 |
|
2892 |
fi |
2893 |
if test -n "$PKG_CONFIG"; then |
2894 |
_pkg_min_version=0.9.0 |
2895 |
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 |
2896 |
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } |
2897 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
2898 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
2899 |
echo "${ECHO_T}yes" >&6; } |
2900 |
else |
2901 |
{ echo "$as_me:$LINENO: result: no" >&5 |
2902 |
echo "${ECHO_T}no" >&6; } |
2903 |
PKG_CONFIG="" |
2904 |
fi |
2905 |
|
2906 |
fi |
2907 |
|
2908 |
pkg_failed=no |
2909 |
{ echo "$as_me:$LINENO: checking for COM_ERR" >&5 |
2910 |
echo $ECHO_N "checking for COM_ERR... $ECHO_C" >&6; } |
2911 |
|
2912 |
if test -n "$PKG_CONFIG"; then |
2913 |
if test -n "$COM_ERR_CFLAGS"; then |
2914 |
pkg_cv_COM_ERR_CFLAGS="$COM_ERR_CFLAGS" |
2915 |
else |
2916 |
if test -n "$PKG_CONFIG" && \ |
2917 |
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"com_err\"") >&5 |
2918 |
($PKG_CONFIG --exists --print-errors "com_err") 2>&5 |
2919 |
ac_status=$? |
2920 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2921 |
(exit $ac_status); }; then |
2922 |
pkg_cv_COM_ERR_CFLAGS=`$PKG_CONFIG --cflags "com_err" 2>/dev/null` |
2923 |
else |
2924 |
pkg_failed=yes |
2925 |
fi |
2926 |
fi |
2927 |
else |
2928 |
pkg_failed=untried |
2929 |
fi |
2930 |
if test -n "$PKG_CONFIG"; then |
2931 |
if test -n "$COM_ERR_LIBS"; then |
2932 |
pkg_cv_COM_ERR_LIBS="$COM_ERR_LIBS" |
2933 |
else |
2934 |
if test -n "$PKG_CONFIG" && \ |
2935 |
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"com_err\"") >&5 |
2936 |
($PKG_CONFIG --exists --print-errors "com_err") 2>&5 |
2937 |
ac_status=$? |
2938 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2939 |
(exit $ac_status); }; then |
2940 |
pkg_cv_COM_ERR_LIBS=`$PKG_CONFIG --libs "com_err" 2>/dev/null` |
2941 |
else |
2942 |
pkg_failed=yes |
2943 |
fi |
2944 |
fi |
2945 |
else |
2946 |
pkg_failed=untried |
2947 |
fi |
2948 |
|
2949 |
|
2950 |
|
2951 |
if test $pkg_failed = yes; then |
2952 |
|
2953 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2954 |
_pkg_short_errors_supported=yes |
2955 |
else |
2956 |
_pkg_short_errors_supported=no |
2957 |
fi |
2958 |
if test $_pkg_short_errors_supported = yes; then |
2959 |
COM_ERR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "com_err"` |
2960 |
else |
2961 |
COM_ERR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "com_err"` |
2962 |
fi |
2963 |
# Put the nasty error message in config.log where it belongs |
2964 |
echo "$COM_ERR_PKG_ERRORS" >&5 |
2965 |
|
2966 |
{ { echo "$as_me:$LINENO: error: Package requirements (com_err) were not met: |
2967 |
|
2968 |
$COM_ERR_PKG_ERRORS |
2969 |
|
2970 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
2971 |
installed software in a non-standard prefix. |
2972 |
|
2973 |
Alternatively, you may set the environment variables COM_ERR_CFLAGS |
2974 |
and COM_ERR_LIBS to avoid the need to call pkg-config. |
2975 |
See the pkg-config man page for more details. |
2976 |
" >&5 |
2977 |
echo "$as_me: error: Package requirements (com_err) were not met: |
2978 |
|
2979 |
$COM_ERR_PKG_ERRORS |
2980 |
|
2981 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
2982 |
installed software in a non-standard prefix. |
2983 |
|
2984 |
Alternatively, you may set the environment variables COM_ERR_CFLAGS |
2985 |
and COM_ERR_LIBS to avoid the need to call pkg-config. |
2986 |
See the pkg-config man page for more details. |
2987 |
" >&2;} |
2988 |
{ (exit 1); exit 1; }; } |
2989 |
elif test $pkg_failed = untried; then |
2990 |
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it |
2991 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
2992 |
path to pkg-config. |
2993 |
|
2994 |
Alternatively, you may set the environment variables COM_ERR_CFLAGS |
2995 |
and COM_ERR_LIBS to avoid the need to call pkg-config. |
2996 |
See the pkg-config man page for more details. |
2997 |
|
2998 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
2999 |
See \`config.log' for more details." >&5 |
3000 |
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it |
3001 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
3002 |
path to pkg-config. |
3003 |
|
3004 |
Alternatively, you may set the environment variables COM_ERR_CFLAGS |
3005 |
and COM_ERR_LIBS to avoid the need to call pkg-config. |
3006 |
See the pkg-config man page for more details. |
3007 |
|
3008 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
3009 |
See \`config.log' for more details." >&2;} |
3010 |
{ (exit 1); exit 1; }; } |
3011 |
else |
3012 |
COM_ERR_CFLAGS=$pkg_cv_COM_ERR_CFLAGS |
3013 |
COM_ERR_LIBS=$pkg_cv_COM_ERR_LIBS |
3014 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
3015 |
echo "${ECHO_T}yes" >&6; } |
3016 |
: |
3017 |
fi |
2776 |
LIBS="$save_LIBS" |
3018 |
LIBS="$save_LIBS" |
2777 |
ac_config_files="$ac_config_files Makefile.settings" |
3019 |
ac_config_files="$ac_config_files Makefile.settings" |
2778 |
|
3020 |
|
Lines 3202-3208
Link Here
|
3202 |
# report actual input values of CONFIG_FILES etc. instead of their |
3444 |
# report actual input values of CONFIG_FILES etc. instead of their |
3203 |
# values after options handling. |
3445 |
# values after options handling. |
3204 |
ac_log=" |
3446 |
ac_log=" |
3205 |
This file was extended by pam-krb5-migrate $as_me 0.0.8, which was |
3447 |
This file was extended by pam-krb5-migrate $as_me 0.0.7, which was |
3206 |
generated by GNU Autoconf 2.61. Invocation command line was |
3448 |
generated by GNU Autoconf 2.61. Invocation command line was |
3207 |
|
3449 |
|
3208 |
CONFIG_FILES = $CONFIG_FILES |
3450 |
CONFIG_FILES = $CONFIG_FILES |
Lines 3245-3251
Link Here
|
3245 |
_ACEOF |
3487 |
_ACEOF |
3246 |
cat >>$CONFIG_STATUS <<_ACEOF |
3488 |
cat >>$CONFIG_STATUS <<_ACEOF |
3247 |
ac_cs_version="\\ |
3489 |
ac_cs_version="\\ |
3248 |
pam-krb5-migrate config.status 0.0.8 |
3490 |
pam-krb5-migrate config.status 0.0.7 |
3249 |
configured by $0, generated by GNU Autoconf 2.61, |
3491 |
configured by $0, generated by GNU Autoconf 2.61, |
3250 |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
3492 |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
3251 |
|
3493 |
|
Lines 3449-3459
Link Here
|
3449 |
EXEEXT!$EXEEXT$ac_delim |
3691 |
EXEEXT!$EXEEXT$ac_delim |
3450 |
OBJEXT!$OBJEXT$ac_delim |
3692 |
OBJEXT!$OBJEXT$ac_delim |
3451 |
KRB5CONFIG!$KRB5CONFIG$ac_delim |
3693 |
KRB5CONFIG!$KRB5CONFIG$ac_delim |
|
|
3694 |
PKG_CONFIG!$PKG_CONFIG$ac_delim |
3695 |
COM_ERR_CFLAGS!$COM_ERR_CFLAGS$ac_delim |
3696 |
COM_ERR_LIBS!$COM_ERR_LIBS$ac_delim |
3452 |
LIBOBJS!$LIBOBJS$ac_delim |
3697 |
LIBOBJS!$LIBOBJS$ac_delim |
3453 |
LTLIBOBJS!$LTLIBOBJS$ac_delim |
3698 |
LTLIBOBJS!$LTLIBOBJS$ac_delim |
3454 |
_ACEOF |
3699 |
_ACEOF |
3455 |
|
3700 |
|
3456 |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 47; then |
3701 |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then |
3457 |
break |
3702 |
break |
3458 |
elif $ac_last_try; then |
3703 |
elif $ac_last_try; then |
3459 |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
3704 |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
3460 |
-- pam-krb5-migrate-0.0.8.orig/debian/control |
3705 |
++ pam-krb5-migrate-0.0.8/debian/control |
Line 0
Link Here
|
0 |
-- pam-krb5-migrate-0.0.8.orig/debian/install |
1 |
Source: pam-krb5-migrate |
|
|
2 |
Section: net |
3 |
Priority: optional |
4 |
Maintainer: Jelmer Vernooij <jelmer@samba.org> |
5 |
Standards-Version: 3.7.3.0 |
6 |
Build-Depends: debhelper (>= 5.0.2), heimdal-dev (>= 1.0.0), libpam-dev, pkg-config, comerr-dev |
7 |
Vcs-Bzr: http://people.samba.org/bzr/jelmer/pam_krb5_migrate/debian |
8 |
XS-DM-Upload-Allowed: yes |
9 |
|
10 |
Package: libpam-krb5-migrate-heimdal |
11 |
Architecture: any |
12 |
Depends: ${shlibs:Depends} |
13 |
Description: PAM module for migrating to Kerberos |
14 |
A stackable authentication module that takes a username and password from an |
15 |
earlier module in the stack and attempts to transparently add the user to a |
16 |
Kerberos realm using the Kerberos 5 kadmin service. The module can be used to |
17 |
ease the administrative burdens of migrating a large installed userbase from |
18 |
pre-existing authentication methods to a Kerberos-based setup. |
19 |
. |
20 |
This package allows updating the database of a remote Heimdal server. |
|
|
21 |
++ pam-krb5-migrate-0.0.8/debian/install |
Line 0
Link Here
|
0 |
-- pam-krb5-migrate-0.0.8.orig/debian/README.Debian |
1 |
usr/share/man/man7/pam_krb5_migrate.7 |
|
|
2 |
lib/security/pam_krb5_migrate.so |
|
|
3 |
++ pam-krb5-migrate-0.0.8/debian/README.Debian |
Line 0
Link Here
|
0 |
-- pam-krb5-migrate-0.0.8.orig/debian/copyright |
1 |
pam-krb5-migrate for Debian |
|
|
2 |
--------------------------- |
3 |
This package has been built with support for accessing the Kerberos |
4 |
administration over the network. |
5 |
|
6 |
SETTING UP THE PAM_KRB5_MIGRATE MODULE |
7 |
|
8 |
If you do not already have a KDC, you will need to set up a Kerberos |
9 |
database for your realm. See the Kerberos V5 Installation Guide for |
10 |
details. |
11 |
|
12 |
If you will be updating against a live database from a machine other than |
13 |
the KDC, or if you intend to run the migration module on more than one |
14 |
machine at a time, you will need to use kadmin (or kadmin.local) to create |
15 |
a special Kerberos principal called pam_migrate/<hostname>, where |
16 |
<hostname> is the full domain name (FQDN) of the host where you're |
17 |
deploying the pam module. |
18 |
|
19 |
% kadmin |
20 |
Authenticating as principal admin/admin@REALM with password. |
21 |
kadmin.local: add --use-defaults -r pam_migrate/hostname@REALM |
22 |
WARNING: no policy specified for pam_migrate/hostname@REALM; defaulting to no policy |
23 |
Principal "pam_migrate/hostname@REALM" created. |
24 |
|
25 |
Then extract the key for this principal to a keytab for use on the host: |
26 |
|
27 |
kadmin.local: ext -k /var/kerberos/krb5kdc/hostname.keytab pam_migrate/hostname |
28 |
Entry for principal pam_migrate/hostname with kvno 4, encryption type DES cbc mode with CRC-32 added to keytab |
29 |
WRFILE:/var/kerberos/krb5kdc/hostname.keytab. |
30 |
Entry for principal pam_migrate/hostname with kvno 4, encryption type Triple DES cbc mode raw added to keytab |
31 |
WRFILE:/var/kerberos/krb5kdc/hostname.keytab. |
32 |
|
33 |
|
34 |
This principal should *only* have permission to add principals to the |
35 |
database and should have no other permissions. To give the principal |
36 |
permission to add to the database, add this line to the top of your |
37 |
kadmind.acl file: |
38 |
|
39 |
pam_migrate/hostname@REALM add |
40 |
|
41 |
You can also give all principals of the form pam_migrate/<hostname> |
42 |
permission to add by using the line |
43 |
|
44 |
pam_migrate/*@REALM add |
45 |
|
46 |
You will then need to copy your new keytab (securely!) to the appropriate |
47 |
machine and install it as /etc/security/pam_krb5.keytab. Like all |
48 |
keytabs, this file should be readable only by root and should be treated |
49 |
with the utmost care when transferring it to the destination host. |
50 |
*Anyone with access to this keytab will be able to create new Kerberos |
51 |
principals in your realm.* |
|
|
52 |
++ pam-krb5-migrate-0.0.8/debian/copyright |
Line 0
Link Here
|
0 |
-- pam-krb5-migrate-0.0.8.orig/debian/rules |
1 |
This package was Debianized by Jelmer Vernooij <jelmer@samba.org> |
|
|
2 |
on Sat Nov 11 14:01:19 CET 2006. |
3 |
|
4 |
The upstream source was downloaded from http://samba.org/~jelmer/pam_krb5_migrate. |
5 |
|
6 |
Copyright (c) Steve Langasek <vorlon@netexpress.net> |
7 |
|
8 |
This program is free software; you can redistribute it and/or modify |
9 |
it under the terms of the GNU General Public License as published by |
10 |
the Free Software Foundation; version 2 dated June, 1991. |
11 |
|
12 |
This program is distributed in the hope that it will be useful, |
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
GNU General Public License for more details. |
16 |
|
17 |
You should have received a copy of the GNU General Public License |
18 |
along with this program; if not, write to the Free Software |
19 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, |
20 |
MA 02110-1301, USA. |
21 |
|
22 |
The GPL is available on Debian systems in /usr/share/common-licenses/GPL. |
|
|
23 |
++ pam-krb5-migrate-0.0.8/debian/rules |
Line 0
Link Here
|
0 |
-- pam-krb5-migrate-0.0.8.orig/debian/watch |
1 |
#!/usr/bin/make -f |
|
|
2 |
# Based on debian/rules from libpam-heimdal |
3 |
|
4 |
DESTDIR=$(CURDIR)/debian/tmp |
5 |
|
6 |
configure: configure-stamp |
7 |
configure-stamp: |
8 |
dh_testdir |
9 |
./configure --prefix=/usr |
10 |
touch configure-stamp |
11 |
|
12 |
build: build-stamp |
13 |
build-stamp: configure |
14 |
dh_testdir |
15 |
$(MAKE) CFLAGS=-fPIC |
16 |
touch build-stamp |
17 |
|
18 |
clean: |
19 |
dh_testdir |
20 |
dh_testroot |
21 |
rm -f build-stamp configure-stamp |
22 |
[ ! -f Makefile.settings ] || $(MAKE) distclean |
23 |
dh_clean |
24 |
|
25 |
install: build |
26 |
dh_testdir |
27 |
dh_testroot |
28 |
dh_clean -k |
29 |
dh_installdirs |
30 |
$(MAKE) install DESTDIR=$(DESTDIR) |
31 |
dh_install --list-missing --fail-missing --sourcedir=$(DESTDIR) |
32 |
|
33 |
binary-indep: build install |
34 |
binary-arch: build install |
35 |
dh_testdir |
36 |
dh_testroot |
37 |
dh_installdocs -a README |
38 |
dh_installchangelogs -a CHANGELOG |
39 |
dh_installexamples -a |
40 |
dh_installman -a pam_krb5_migrate.7 |
41 |
dh_strip -a |
42 |
dh_compress -a |
43 |
dh_fixperms -a |
44 |
dh_installdeb -a |
45 |
dh_shlibdeps -a |
46 |
dh_gencontrol -a |
47 |
dh_md5sums -a |
48 |
dh_builddeb -a |
49 |
|
50 |
binary: binary-indep binary-arch |
51 |
.PHONY: configure build clean binary-indep binary-arch binary install |
|
|
52 |
++ pam-krb5-migrate-0.0.8/debian/watch |
Line 0
Link Here
|
0 |
-- pam-krb5-migrate-0.0.8.orig/debian/compat |
1 |
version=3 |
|
|
2 |
http://samba.org/~jelmer/pam_krb5_migrate/pam-krb5-migrate-(.*).tar.gz |
|
|
3 |
++ pam-krb5-migrate-0.0.8/debian/compat |
Line 0
Link Here
|
0 |
-- pam-krb5-migrate-0.0.8.orig/debian/changelog |
1 |
5 |
|
|
2 |
++ pam-krb5-migrate-0.0.8/debian/changelog |
Line 0
Link Here
|
0 |
-- pam-krb5-migrate-0.0.8.orig/aclocal.m4 |
1 |
pam-krb5-migrate (0.0.8-1) unstable; urgency=low |
|
|
2 |
|
3 |
* New upstream release. |
4 |
+ Fixes compatibility with newer Heimdal versions. (Closes: #445579) |
5 |
* Link with -z defs to force build failure in the future when there are |
6 |
missing symbols. |
7 |
* Allow Debian Maintainer uploads. |
8 |
|
9 |
-- Jelmer Vernooij <jelmer@samba.org> Mon, 10 Dec 2007 20:59:40 +0100 |
10 |
|
11 |
pam-krb5-migrate (0.0.7-1) unstable; urgency=low |
12 |
|
13 |
* Include syslog.h. (Closes: #441683) |
14 |
* Fix building twice in a row. (Closes: #424346) |
15 |
|
16 |
-- Jelmer Vernooij <jelmer@samba.org> Thu, 13 Sep 2007 18:29:08 +0200 |
17 |
|
18 |
pam-krb5-migrate (0.0.6-1) unstable; urgency=low |
19 |
|
20 |
* New upstream release. |
21 |
|
22 |
-- Jelmer Vernooij <jelmer@samba.org> Fri, 27 Apr 2007 22:15:01 +0200 |
23 |
|
24 |
pam-krb5-migrate (0.0.5-1) unstable; urgency=low |
25 |
|
26 |
* Initial release. (Closes: #413820) |
27 |
|
28 |
-- Jelmer Vernooij <jelmer@samba.org> Sat, 11 Nov 2006 13:58:49 +0100 |
|
|
29 |
++ pam-krb5-migrate-0.0.8/aclocal.m4 |
Line 0
Link Here
|
|
|
1 |
# generated automatically by aclocal 1.9.6 -*- Autoconf -*- |
2 |
|
3 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
4 |
# 2005 Free Software Foundation, Inc. |
5 |
# This file is free software; the Free Software Foundation |
6 |
# gives unlimited permission to copy and/or distribute it, |
7 |
# with or without modifications, as long as this notice is preserved. |
8 |
|
9 |
# This program is distributed in the hope that it will be useful, |
10 |
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
11 |
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
12 |
# PARTICULAR PURPOSE. |
13 |
|
14 |
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
15 |
# |
16 |
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
17 |
# |
18 |
# This program is free software; you can redistribute it and/or modify |
19 |
# it under the terms of the GNU General Public License as published by |
20 |
# the Free Software Foundation; either version 2 of the License, or |
21 |
# (at your option) any later version. |
22 |
# |
23 |
# This program is distributed in the hope that it will be useful, but |
24 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
25 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
26 |
# General Public License for more details. |
27 |
# |
28 |
# You should have received a copy of the GNU General Public License |
29 |
# along with this program; if not, write to the Free Software |
30 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
31 |
# |
32 |
# As a special exception to the GNU General Public License, if you |
33 |
# distribute this file as part of a program that contains a |
34 |
# configuration script generated by Autoconf, you may include it under |
35 |
# the same distribution terms that you use for the rest of that program. |
36 |
|
37 |
# PKG_PROG_PKG_CONFIG([MIN-VERSION]) |
38 |
# ---------------------------------- |
39 |
AC_DEFUN([PKG_PROG_PKG_CONFIG], |
40 |
[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |
41 |
m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) |
42 |
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl |
43 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
44 |
AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) |
45 |
fi |
46 |
if test -n "$PKG_CONFIG"; then |
47 |
_pkg_min_version=m4_default([$1], [0.9.0]) |
48 |
AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) |
49 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
50 |
AC_MSG_RESULT([yes]) |
51 |
else |
52 |
AC_MSG_RESULT([no]) |
53 |
PKG_CONFIG="" |
54 |
fi |
55 |
|
56 |
fi[]dnl |
57 |
])# PKG_PROG_PKG_CONFIG |
58 |
|
59 |
# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
60 |
# |
61 |
# Check to see whether a particular set of modules exists. Similar |
62 |
# to PKG_CHECK_MODULES(), but does not set variables or print errors. |
63 |
# |
64 |
# |
65 |
# Similar to PKG_CHECK_MODULES, make sure that the first instance of |
66 |
# this or PKG_CHECK_MODULES is called, or make sure to call |
67 |
# PKG_CHECK_EXISTS manually |
68 |
# -------------------------------------------------------------- |
69 |
AC_DEFUN([PKG_CHECK_EXISTS], |
70 |
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
71 |
if test -n "$PKG_CONFIG" && \ |
72 |
AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then |
73 |
m4_ifval([$2], [$2], [:]) |
74 |
m4_ifvaln([$3], [else |
75 |
$3])dnl |
76 |
fi]) |
77 |
|
78 |
|
79 |
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |
80 |
# --------------------------------------------- |
81 |
m4_define([_PKG_CONFIG], |
82 |
[if test -n "$PKG_CONFIG"; then |
83 |
if test -n "$$1"; then |
84 |
pkg_cv_[]$1="$$1" |
85 |
else |
86 |
PKG_CHECK_EXISTS([$3], |
87 |
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], |
88 |
[pkg_failed=yes]) |
89 |
fi |
90 |
else |
91 |
pkg_failed=untried |
92 |
fi[]dnl |
93 |
])# _PKG_CONFIG |
94 |
|
95 |
# _PKG_SHORT_ERRORS_SUPPORTED |
96 |
# ----------------------------- |
97 |
AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], |
98 |
[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
99 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
100 |
_pkg_short_errors_supported=yes |
101 |
else |
102 |
_pkg_short_errors_supported=no |
103 |
fi[]dnl |
104 |
])# _PKG_SHORT_ERRORS_SUPPORTED |
105 |
|
106 |
|
107 |
# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], |
108 |
# [ACTION-IF-NOT-FOUND]) |
109 |
# |
110 |
# |
111 |
# Note that if there is a possibility the first call to |
112 |
# PKG_CHECK_MODULES might not happen, you should be sure to include an |
113 |
# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac |
114 |
# |
115 |
# |
116 |
# -------------------------------------------------------------- |
117 |
AC_DEFUN([PKG_CHECK_MODULES], |
118 |
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
119 |
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl |
120 |
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl |
121 |
|
122 |
pkg_failed=no |
123 |
AC_MSG_CHECKING([for $1]) |
124 |
|
125 |
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) |
126 |
_PKG_CONFIG([$1][_LIBS], [libs], [$2]) |
127 |
|
128 |
m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS |
129 |
and $1[]_LIBS to avoid the need to call pkg-config. |
130 |
See the pkg-config man page for more details.]) |
131 |
|
132 |
if test $pkg_failed = yes; then |
133 |
_PKG_SHORT_ERRORS_SUPPORTED |
134 |
if test $_pkg_short_errors_supported = yes; then |
135 |
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` |
136 |
else |
137 |
$1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` |
138 |
fi |
139 |
# Put the nasty error message in config.log where it belongs |
140 |
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
141 |
|
142 |
ifelse([$4], , [AC_MSG_ERROR(dnl |
143 |
[Package requirements ($2) were not met: |
144 |
|
145 |
$$1_PKG_ERRORS |
146 |
|
147 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
148 |
installed software in a non-standard prefix. |
149 |
|
150 |
_PKG_TEXT |
151 |
])], |
152 |
[AC_MSG_RESULT([no]) |
153 |
$4]) |
154 |
elif test $pkg_failed = untried; then |
155 |
ifelse([$4], , [AC_MSG_FAILURE(dnl |
156 |
[The pkg-config script could not be found or is too old. Make sure it |
157 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
158 |
path to pkg-config. |
159 |
|
160 |
_PKG_TEXT |
161 |
|
162 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], |
163 |
[$4]) |
164 |
else |
165 |
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
166 |
$1[]_LIBS=$pkg_cv_[]$1[]_LIBS |
167 |
AC_MSG_RESULT([yes]) |
168 |
ifelse([$3], , :, [$3]) |
169 |
fi[]dnl |
170 |
])# PKG_CHECK_MODULES |
171 |
|