Heimdal really uses termcapdiff -r1.103 -r1.104 pkgsrc/security/heimdal/Makefile
(roy)
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.103 2013/08/24 16:45:08 richard Exp $ | 1 | # $NetBSD: Makefile,v 1.104 2013/10/11 16:21:40 roy Exp $ | |
2 | 2 | |||
3 | DISTNAME= heimdal-1.5.3 | 3 | DISTNAME= heimdal-1.5.3 | |
4 | PKGREVISION= 1 | 4 | PKGREVISION= 2 | |
5 | CATEGORIES= security | 5 | CATEGORIES= security | |
6 | MASTER_SITES= http://www.h5l.org/dist/src/ | 6 | MASTER_SITES= http://www.h5l.org/dist/src/ | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://www.h5l.org/ | 9 | HOMEPAGE= http://www.h5l.org/ | |
10 | COMMENT= Kerberos 5 implementation | 10 | COMMENT= Kerberos 5 implementation | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | CONFLICTS+= arla-[0-9]* | 13 | CONFLICTS+= arla-[0-9]* | |
14 | CONFLICTS+= mit-krb5-[0-9]* | 14 | CONFLICTS+= mit-krb5-[0-9]* | |
15 | CONFLICTS+= openafs-[0-9]* | 15 | CONFLICTS+= openafs-[0-9]* | |
16 | CONFLICTS+= gss-[0-9]* | 16 | CONFLICTS+= gss-[0-9]* | |
17 | CONFLICTS+= kth-krb4-[0-9]* | 17 | CONFLICTS+= kth-krb4-[0-9]* | |
@@ -93,17 +93,17 @@ TEST_TARGET= check | @@ -93,17 +93,17 @@ TEST_TARGET= check | |||
93 | 93 | |||
94 | # remove manpages conficting with OpenSSL keeping only the important ones | 94 | # remove manpages conficting with OpenSSL keeping only the important ones | |
95 | pre-configure: | 95 | pre-configure: | |
96 | cd ${WRKSRC}/doc/doxyout/hcrypto && \ | 96 | cd ${WRKSRC}/doc/doxyout/hcrypto && \ | |
97 | ${GREP} -e /hcrypto_ -e /page_ manpages > manpages.new && \ | 97 | ${GREP} -e /hcrypto_ -e /page_ manpages > manpages.new && \ | |
98 | mv manpages.new manpages | 98 | mv manpages.new manpages | |
99 | 99 | |||
100 | # Avoid 'cat: cannot open ./localefiles: No such file or directory' | 100 | # Avoid 'cat: cannot open ./localefiles: No such file or directory' | |
101 | pre-build: | 101 | pre-build: | |
102 | ${TOUCH} ${WRKSRC}/po/localefiles | 102 | ${TOUCH} ${WRKSRC}/po/localefiles | |
103 | 103 | |||
104 | .include "../../databases/sqlite3/buildlink3.mk" | 104 | .include "../../databases/sqlite3/buildlink3.mk" | |
105 | .include "../../security/openssl/buildlink3.mk" | 105 | .include "../../security/openssl/buildlink3.mk" | |
106 | .include "../../mk/curses.buildlink3.mk" | 106 | .include "../../mk/termcap.buildlink3.mk" | |
107 | .include "../../mk/pthread.buildlink3.mk" | 107 | .include "../../mk/pthread.buildlink3.mk" | |
108 | .include "../../mk/readline.buildlink3.mk" | 108 | .include "../../mk/readline.buildlink3.mk" | |
109 | .include "../../mk/bsd.pkg.mk" | 109 | .include "../../mk/bsd.pkg.mk" |
@@ -1,16 +1,18 @@ | @@ -1,16 +1,18 @@ | |||
1 | $NetBSD: distinfo,v 1.38 2013/08/16 08:30:14 adam Exp $ | 1 | $NetBSD: distinfo,v 1.39 2013/10/11 16:21:40 roy Exp $ | |
2 | 2 | |||
3 | SHA1 (heimdal-1.5.3.tar.gz) = 23f39a099ae862dce1f5f4e5c3720861849a4bd0 | 3 | SHA1 (heimdal-1.5.3.tar.gz) = 23f39a099ae862dce1f5f4e5c3720861849a4bd0 | |
4 | RMD160 (heimdal-1.5.3.tar.gz) = 834660b4c0fe81a3aac4ffd9d8d37d74add1fa70 | 4 | RMD160 (heimdal-1.5.3.tar.gz) = 834660b4c0fe81a3aac4ffd9d8d37d74add1fa70 | |
5 | Size (heimdal-1.5.3.tar.gz) = 6798305 bytes | 5 | Size (heimdal-1.5.3.tar.gz) = 6798305 bytes | |
6 | SHA1 (patch-ad) = 3dad4f3dfb19deb37c6b684ddea3e931678c5c6e | 6 | SHA1 (patch-ad) = 3dad4f3dfb19deb37c6b684ddea3e931678c5c6e | |
7 | SHA1 (patch-al) = 022d5f3723bd1db7fe5e92eea5d0106851a5d424 | 7 | SHA1 (patch-al) = 022d5f3723bd1db7fe5e92eea5d0106851a5d424 | |
8 | SHA1 (patch-cf_install-catman.sh) = 8eb8ea0c0c8b281c080c85eefc3abbc7dcbe6746 | 8 | SHA1 (patch-cf_install-catman.sh) = 8eb8ea0c0c8b281c080c85eefc3abbc7dcbe6746 | |
9 | SHA1 (patch-cf_libtool.m4) = cd229e0e934649cb04c3f39928d1fa12c2474f62 | 9 | SHA1 (patch-cf_libtool.m4) = cd229e0e934649cb04c3f39928d1fa12c2474f62 | |
10 | SHA1 (patch-cf_pthreads.m4) = eff8f355887d2f9795446073efd67ccf739db2c9 | 10 | SHA1 (patch-cf_pthreads.m4) = eff8f355887d2f9795446073efd67ccf739db2c9 | |
11 | SHA1 (patch-kdc_version-script.map) = 42b0417a16b19a680f30ae34cfffd082f609d4a6 | 11 | SHA1 (patch-kdc_version-script.map) = 42b0417a16b19a680f30ae34cfffd082f609d4a6 | |
12 | SHA1 (patch-lib_hcrypto_libtommath_tommath.h) = 60f223bb23145854f2a144da9e0a9484728b618a | 12 | SHA1 (patch-lib_hcrypto_libtommath_tommath.h) = 60f223bb23145854f2a144da9e0a9484728b618a | |
13 | SHA1 (patch-lib_hcrypto_libtommath_tommath_class.h) = 8c7b1e8d30cda79fd59a8ef83094a611b47a43df | 13 | SHA1 (patch-lib_hcrypto_libtommath_tommath_class.h) = 8c7b1e8d30cda79fd59a8ef83094a611b47a43df | |
14 | SHA1 (patch-lib_hcrypto_libtommath_tommath_superclass.h) = 141e75b5b310446694769b16a977fa5b25160fbd | 14 | SHA1 (patch-lib_hcrypto_libtommath_tommath_superclass.h) = 141e75b5b310446694769b16a977fa5b25160fbd | |
15 | SHA1 (patch-lib_libedit_aclocal.m4) = c50025a3b9bcae9913adab251169462dbc0f3221 | 15 | SHA1 (patch-lib_libedit_aclocal.m4) = c50025a3b9bcae9913adab251169462dbc0f3221 | |
16 | SHA1 (patch-lib_libedit_configure) = c029c471d68d389e67e1cc636a352a004fd6124e | |||
17 | SHA1 (patch-lib_libedit_configure.ac) = 588b184615a80ab85d7c3624c6c05860c8e6feb0 | |||
16 | SHA1 (patch-lib_otp_Makefile.in) = 0fe1426000824614f0e31d3ab2348948f3f414d3 | 18 | SHA1 (patch-lib_otp_Makefile.in) = 0fe1426000824614f0e31d3ab2348948f3f414d3 |
$NetBSD: patch-lib_libedit_configure,v 1.1 2013/10/11 16:21:40 roy Exp $
Include termcap in the termcap test
--- lib/libedit/configure.orig 2013-10-11 15:50:12.000000000 +0000
+++ lib/libedit/configure
@@ -11603,7 +11603,50 @@ test -n "$NROFF" || NROFF="/bin/false"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
+$as_echo_n "checking for tgetent in -ltermcap... " >&6; }
+if test "${ac_cv_lib_curses_termcap+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ltermcap $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char tgetent ();
+int
+main ()
+{
+return tgetent ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_termcap_tgetent=yes
+else
+ ac_cv_lib_termcap_tgetent=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
+$as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
+if test "x$ac_cv_lib_termcap_tgetent" = x""yes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBTERMCAP 1
+_ACEOF
+
+ LIBS="-ltermcap $LIBS"
+
+else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lcurses" >&5
$as_echo_n "checking for tgetent in -lcurses... " >&6; }
if test "${ac_cv_lib_curses_tgetent+set}" = set; then :
@@ -11692,11 +11735,12 @@ _ACEOF
LIBS="-lncurses $LIBS"
else
- as_fn_error "libcurses or libncurses are required!" "$LINENO" 5
+ as_fn_error "libtermcap, libcurses or libncurses are required!" "$LINENO" 5
fi
fi
+fi
### use option --enable-widec to turn on use of wide-character support
$NetBSD: patch-lib_libedit_configure.ac,v 1.1 2013/10/11 16:21:40 roy Exp $
Include termcap in the termcap test
--- lib/libedit/configure.ac.orig 2013-10-11 15:50:21.000000000 +0000
+++ lib/libedit/configure.ac
@@ -33,9 +33,10 @@ AC_PROG_AWK
EL_MANTYPE
-AC_CHECK_LIB(curses, tgetent,,
- [AC_CHECK_LIB(ncurses, tgetent,,
- [AC_MSG_ERROR([libcurses or libncurses are required!])] )] )
+AC_CHECK_LIB(termcap, tgetent,,
+ [AC_CHECK_LIB(curses, tgetent,,
+ [AC_CHECK_LIB(ncurses, tgetent,,
+ [AC_MSG_ERROR([libtermcap, libcurses or libncurses are required!])] )] )] )
### use option --enable-widec to turn on use of wide-character support