pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/zephyr Use kth-krb4 as dependency. It should work...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb8a6266802b
branches:  trunk
changeset: 513836:cb8a6266802b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jun 04 13:42:10 2006 +0000

description:
Use kth-krb4 as dependency. It should work with the system krb4 on
NetBSD, when someone adds a builtin.mk for security/kth-krb4.
Fix errno. Bump revision.

diffstat:

 chat/zephyr/Makefile         |  11 +++++++----
 chat/zephyr/distinfo         |   5 +++--
 chat/zephyr/patches/patch-ac |  13 -------------
 chat/zephyr/patches/patch-al |  21 +++++++++++++++++++++
 chat/zephyr/patches/patch-am |  16 ++++++++++++++++
 5 files changed, 47 insertions(+), 19 deletions(-)

diffs (118 lines):

diff -r bb5bff88afcd -r cb8a6266802b chat/zephyr/Makefile
--- a/chat/zephyr/Makefile      Sun Jun 04 13:41:10 2006 +0000
+++ b/chat/zephyr/Makefile      Sun Jun 04 13:42:10 2006 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2006/02/05 23:08:26 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2006/06/04 13:42:10 joerg Exp $
 #
 
 DISTNAME=      zephyr-20010518
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    chat net
 MASTER_SITES=  ftp://athena-dist.mit.edu/pub/ATHENA/zephyr/
 
@@ -13,8 +13,10 @@
 WRKSRC=                ${WRKDIR}/zephyr
 GNU_CONFIGURE= YES
 
-CPPFLAGS.NetBSD+=      -I/usr/include/kerberosIV -I/usr/include/krb5
-LDFLAGS.NetBSD+=       -lroken -lcrypto -lcom_err -ledit -lcurses
+.include "../../mk/bsd.prefs.mk"
+
+CPPFLAGS+=             -I${BUILDLINK_PREFIX.kth-krb4}/include/kerberosIV
+CPPFLAGS.NetBSD+=      -I${BUILDLINK_PREFIX.kth-krb4}/include/kerberosIV/ss
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
 CONFIGURE_ARGS+=       --with-krb4
 CONFIGURE_ARGS+=       --with-hesiod
@@ -41,5 +43,6 @@
 .include "../../devel/readline/buildlink3.mk"
 .include "../../net/hesiod/buildlink3.mk"
 .include "../../net/libares/buildlink3.mk"
+.include "../../security/kth-krb4/buildlink3.mk"
 .include "../../mk/x11.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r bb5bff88afcd -r cb8a6266802b chat/zephyr/distinfo
--- a/chat/zephyr/distinfo      Sun Jun 04 13:41:10 2006 +0000
+++ b/chat/zephyr/distinfo      Sun Jun 04 13:42:10 2006 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 15:59:14 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/06/04 13:42:10 joerg Exp $
 
 SHA1 (zephyr-20010518.tar.gz) = cd2fca9c2f0bfaa8e69c94813bedc87d66d3ac1c
 RMD160 (zephyr-20010518.tar.gz) = 1082db0df40e4ac1007e4b2b4f8adc15cf8a8ab0
 Size (zephyr-20010518.tar.gz) = 342259 bytes
 SHA1 (patch-aa) = f4338f0da9085e1780c52c9b2be2366b7a0f22c2
 SHA1 (patch-ab) = 61cbadf511806c1c16e489ac6d14de347b09277a
-SHA1 (patch-ac) = db350fc16d88818d4cce287fad220a2c3e84dabe
 SHA1 (patch-ad) = b0f8c408afc2e7fe9a673a5f2ec562a3e34e225c
 SHA1 (patch-ae) = 76b4a43282f3d8d8d42d72f66c677a652ff33e22
 SHA1 (patch-af) = 4ebb22fa3c1b2ed351ee267be737d34d8292129c
@@ -14,3 +13,5 @@
 SHA1 (patch-ai) = bfa2d01d20884d31e58bd12a171938504d929e28
 SHA1 (patch-aj) = 3ec4b1624e2eecefe129ac53e870ce2fb2bce236
 SHA1 (patch-ak) = 7c2084aac1e4b30124c380fbc369cb6a6b41eb17
+SHA1 (patch-al) = d61151a84bb9a55c21b2d757650064390127f8c8
+SHA1 (patch-am) = 40fc00c67f78485b0d45a86ab97aa8ae662dda40
diff -r bb5bff88afcd -r cb8a6266802b chat/zephyr/patches/patch-ac
--- a/chat/zephyr/patches/patch-ac      Sun Jun 04 13:41:10 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2003/09/16 19:41:50 seb Exp $
-
---- clients/zctl/zctl.c.orig   Thu Aug 12 20:19:38 1999
-+++ clients/zctl/zctl.c
-@@ -12,7 +12,7 @@
- 
- #include <sysdep.h>
- #include <zephyr/zephyr.h>
--#include <ss/ss.h>
-+#include <ss.h>
- #include <com_err.h>
- #include <pwd.h>
- #include <netdb.h>
diff -r bb5bff88afcd -r cb8a6266802b chat/zephyr/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/zephyr/patches/patch-al      Sun Jun 04 13:42:10 2006 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-al,v 1.1 2006/06/04 13:42:10 joerg Exp $
+
+--- server/acl_files.c.orig    2006-04-25 15:28:36.000000000 +0000
++++ server/acl_files.c
+@@ -18,6 +18,7 @@
+  * declared and not statically declared.
+  */
+ 
++#include <errno.h>
+ #include <zephyr/mit-copyright.h>
+ #include "zserver.h"
+ 
+@@ -48,8 +49,6 @@ static const char rcsid_acl_files_c[] = 
+ 
+ #define COR(a,b) ((a!=NULL)?(a):(b))
+ 
+-extern int errno;
+-
+ extern time_t time();
+ 
+ /* Canonicalize a principal name */
diff -r bb5bff88afcd -r cb8a6266802b chat/zephyr/patches/patch-am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/zephyr/patches/patch-am      Sun Jun 04 13:42:10 2006 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-am,v 1.1 2006/06/04 13:42:10 joerg Exp $
+
+--- zwgc/main.c.orig   2006-04-25 15:31:09.000000000 +0000
++++ zwgc/main.c
+@@ -21,4 +21,5 @@ static const char rcsid_main_c[] = "$Id:
+ #endif
+ 
++#include <errno.h>
+ #include <netdb.h>
+ #include <sys/socket.h>
+@@ -449,5 +450,4 @@ static RETSIGTYPE signal_child()
+   union wait status;
+ #endif
+-  extern int errno;
+   int pid, old_errno = errno;
+ 



Home | Main Index | Thread Index | Old Index