diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2006-04-17 18:59:21 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2006-04-17 18:59:21 +0000 |
commit | c155b83a4de282337a525369f302e0ef403e5d17 (patch) | |
tree | fada3e16d89956c3c277bd3375097f167b3cdd5d /net-misc/asterisk-app_authenticate_ldap | |
parent | Version bump. (diff) | |
download | gentoo-2-c155b83a4de282337a525369f302e0ef403e5d17.tar.gz gentoo-2-c155b83a4de282337a525369f302e0ef403e5d17.tar.bz2 gentoo-2-c155b83a4de282337a525369f302e0ef403e5d17.zip |
Compiles with asterisk-1.2.x only, add include order patch and fix DEPEND.
(Portage version: 2.0.54)
Diffstat (limited to 'net-misc/asterisk-app_authenticate_ldap')
4 files changed, 47 insertions, 8 deletions
diff --git a/net-misc/asterisk-app_authenticate_ldap/ChangeLog b/net-misc/asterisk-app_authenticate_ldap/ChangeLog index 6651b9417218..490f98b4582c 100644 --- a/net-misc/asterisk-app_authenticate_ldap/ChangeLog +++ b/net-misc/asterisk-app_authenticate_ldap/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/asterisk-app_authenticate_ldap -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_authenticate_ldap/ChangeLog,v 1.1 2005/08/27 22:25:39 stkn Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_authenticate_ldap/ChangeLog,v 1.2 2006/04/17 18:59:21 stkn Exp $ + + 16 Apr 2006; Stefan Knoblich <stkn@gentoo.org> + +files/app_authenticate_ldap-0.1.3-include.diff, + asterisk-app_authenticate_ldap-0.1.3.ebuild: + Compiles with asterisk-1.2.x only, add include order patch and fix DEPEND. *asterisk-app_authenticate_ldap-0.1.3 (28 Aug 2005) diff --git a/net-misc/asterisk-app_authenticate_ldap/Manifest b/net-misc/asterisk-app_authenticate_ldap/Manifest index 31ba92808cae..31b385dea22c 100644 --- a/net-misc/asterisk-app_authenticate_ldap/Manifest +++ b/net-misc/asterisk-app_authenticate_ldap/Manifest @@ -1,5 +1,6 @@ -MD5 de41c503f05f5f99a8635b0e333729a5 metadata.xml 217 -MD5 2e328a08142aaf854bc82cd7dcfa4134 ChangeLog 483 -MD5 b0d754405e1ce8015f192bc00acab12e asterisk-app_authenticate_ldap-0.1.3.ebuild 929 +MD5 f4669db26110f7c42f96596c5c9c92a9 ChangeLog 708 +MD5 391df1540a7b5e5b8df47b09a0308705 asterisk-app_authenticate_ldap-0.1.3.ebuild 1041 MD5 c9076cee173573fe658a9609d0393d17 files/app_authenticate_ldap-0.1.3-astcfg.diff 664 +MD5 49d260ca4f689b030a98b9ce2044aee2 files/app_authenticate_ldap-0.1.3-include.diff 704 MD5 47a5d7381d6197fabb4b49eafdaad2a9 files/digest-asterisk-app_authenticate_ldap-0.1.3 77 +MD5 de41c503f05f5f99a8635b0e333729a5 metadata.xml 217 diff --git a/net-misc/asterisk-app_authenticate_ldap/asterisk-app_authenticate_ldap-0.1.3.ebuild b/net-misc/asterisk-app_authenticate_ldap/asterisk-app_authenticate_ldap-0.1.3.ebuild index 384ccef6cf96..cebf67eb741b 100644 --- a/net-misc/asterisk-app_authenticate_ldap/asterisk-app_authenticate_ldap-0.1.3.ebuild +++ b/net-misc/asterisk-app_authenticate_ldap/asterisk-app_authenticate_ldap-0.1.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_authenticate_ldap/asterisk-app_authenticate_ldap-0.1.3.ebuild,v 1.1 2005/08/27 22:25:39 stkn Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_authenticate_ldap/asterisk-app_authenticate_ldap-0.1.3.ebuild,v 1.2 2006/04/17 18:59:21 stkn Exp $ inherit eutils @@ -18,7 +18,8 @@ KEYWORDS="~x86" # depends on iconv support DEPEND="sys-libs/glibc - >=net-misc/asterisk-1.0.7-r1 + >=net-misc/asterisk-1.2.0 + !=net-misc/asterisk-1.0* net-misc/asterisk-app_ldap" S=${WORKDIR}/apps @@ -29,6 +30,9 @@ src_unpack() { cd ${S} # use asterisk-config... epatch ${FILESDIR}/${MY_PN}-0.1.3-astcfg.diff + + # fix include order for asterisk-1.2.x + epatch ${FILESDIR}/${MY_PN}-0.1.3-include.diff } src_compile() { diff --git a/net-misc/asterisk-app_authenticate_ldap/files/app_authenticate_ldap-0.1.3-include.diff b/net-misc/asterisk-app_authenticate_ldap/files/app_authenticate_ldap-0.1.3-include.diff new file mode 100644 index 000000000000..f174dacea6ee --- /dev/null +++ b/net-misc/asterisk-app_authenticate_ldap/files/app_authenticate_ldap-0.1.3-include.diff @@ -0,0 +1,29 @@ +--- apps/app_authenticate_ldap.c.orig 2006-04-15 18:51:59.000000000 +0000 ++++ apps/app_authenticate_ldap.c 2006-04-15 18:52:08.000000000 +0000 +@@ -11,6 +11,13 @@ + * the GNU General Public License + */ + ++#include <stdlib.h> ++#include <unistd.h> ++#include <string.h> ++#include <errno.h> ++#include <stdlib.h> ++#include <stdio.h> ++ + #include <asterisk/lock.h> + #include <asterisk/file.h> + #include <asterisk/logger.h> +@@ -21,12 +28,6 @@ + #include <asterisk/astdb.h> + #include <asterisk/utils.h> + #include <asterisk/options.h> +-#include <stdlib.h> +-#include <unistd.h> +-#include <string.h> +-#include <errno.h> +-#include <stdlib.h> +-#include <stdio.h> + + static char *tdesc = "Authentication Application"; + |