diff options
| author | Hiroki Sato <hrs@FreeBSD.org> | 2016-11-12 21:22:47 +0000 |
|---|---|---|
| committer | Hiroki Sato <hrs@FreeBSD.org> | 2016-11-12 21:22:47 +0000 |
| commit | 714587dad816ba9027e76f5da158752f4284f86a (patch) | |
| tree | d5e14ab62a63c34bd29a4db70b4ee1d6fa8201e9 /security/heimdal/files | |
| parent | Document multimedia/lives security issues (diff) | |
- Fix Berkeley DB dependency. It now properly uses BDB_LIB specified in
Mk/Uses/bdb.mk instead of db185 interfaces in libc.
As a side-effect, this causes a compatibility issue between
heimdal.db created by kadmin(8) in the base system or one by
an older security/heimdal. See UPDATING about this issue.
- Fix readline dependency end eliminate libheimedit.
- Use -lpthread instead of -pthread.
- Use FOO_CONFIGURE_WITH=foo instead of FOO_CONFIGURE_ON=--with-foo.
Notes
Notes:
svn path=/head/; revision=425994
Diffstat (limited to 'security/heimdal/files')
| -rw-r--r-- | security/heimdal/files/patch-cf__db.m4 | 19 | ||||
| -rw-r--r-- | security/heimdal/files/patch-configure | 56 |
2 files changed, 38 insertions, 37 deletions
diff --git a/security/heimdal/files/patch-cf__db.m4 b/security/heimdal/files/patch-cf__db.m4 deleted file mode 100644 index ba2782b903dc..000000000000 --- a/security/heimdal/files/patch-cf__db.m4 +++ /dev/null @@ -1,19 +0,0 @@ ---- cf/db.m4.orig 2012-03-22 10:24:19.000000000 +0100 -+++ cf/db.m4 2012-03-22 10:27:20.000000000 +0100 -@@ -42,6 +42,7 @@ - db4/db.h \ - db3/db.h \ - db.h \ -+ db_185.h \ - ])]) - - dnl db_create is used by db3 and db4 and db5 -@@ -77,6 +78,8 @@ - #include <stdio.h> - #if defined(HAVE_DB2_DB_H) - #include <db2/db.h> -+ #elif defined(HAVE_DB_185_H) -+ #include <db_185.h> - #elif defined(HAVE_DB_H) - #include <db.h> - #else diff --git a/security/heimdal/files/patch-configure b/security/heimdal/files/patch-configure index 75819ab7213f..49b1668ed158 100644 --- a/security/heimdal/files/patch-configure +++ b/security/heimdal/files/patch-configure @@ -1,6 +1,15 @@ ---- configure.orig 2012-12-09 22:09:32 UTC -+++ configure -@@ -9567,29 +9567,6 @@ fi +--- configure.orig 2012-12-10 07:09:32.000000000 +0900 ++++ configure 2016-11-13 03:23:46.814899000 +0900 +@@ -8869,7 +8869,7 @@ + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + inherit_rpath=no +- link_all_deplibs=unknown ++ link_all_deplibs=no + module_cmds= + module_expsym_cmds= + old_archive_from_new_cmds= +@@ -9567,29 +9567,6 @@ hardcode_shlibpath_var=no ;; @@ -30,7 +39,7 @@ # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -@@ -10561,10 +10538,6 @@ dgux*) +@@ -10561,10 +10538,6 @@ shlibpath_var=LD_LIBRARY_PATH ;; @@ -41,7 +50,7 @@ freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. -@@ -10572,7 +10545,6 @@ freebsd* | dragonfly*) +@@ -10572,7 +10545,6 @@ objformat=`/usr/bin/objformat` else case $host_os in @@ -49,7 +58,7 @@ *) objformat=elf ;; esac fi -@@ -10590,18 +10562,6 @@ freebsd* | dragonfly*) +@@ -10590,18 +10562,6 @@ esac shlibpath_var=LD_LIBRARY_PATH case $host_os in @@ -68,26 +77,37 @@ *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes -@@ -14227,7 +14187,7 @@ case "$host" in +@@ -11661,7 +11621,7 @@ + old_striplib= + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 + $as_echo_n "checking whether stripping libraries is possible... " >&6; } +-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then ++if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +@@ -14227,9 +14187,9 @@ native_pthread_support="netbsd 3 uses explict pthread" PTHREAD_LIBADD="-lpthread" ;; -*-*-freebsd[56789]*) +*-*-freebsd*) native_pthread_support=yes - PTHREAD_LIBADD="-pthread" +- PTHREAD_LIBADD="-pthread" ++ PTHREAD_LIBADD="-lpthread" ;; -@@ -14393,9 +14353,6 @@ done - - else - for ac_header in \ -- db5/db.h \ -- db4/db.h \ -- db3/db.h \ - db.h \ + *-*-openbsd*) + native_pthread_support=yes +@@ -14488,7 +14448,7 @@ + fi + # db_create + eval "ac_tr_func=HAVE_`echo db_create | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`" +-eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`" ++eval "ac_tr_lib=HAVE_LIB`echo $ac_res | sed -e 's/-l//;s/[-.]/_/g' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`" + eval "LIB_db_create=$ac_res" - do : -@@ -28245,7 +28202,7 @@ fi + case "$ac_res" in +@@ -28245,7 +28205,7 @@ krb_cv_compile_et="no" krb_cv_com_err_need_r="" |
