forked from tobiaswaldvogel/openwrt-addpack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tobias Waldvogel
committed
Sep 23, 2014
1 parent
3119914
commit ef66cf1
Showing
180 changed files
with
5,887 additions
and
11,917 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,11 @@ PKG_MAINTAINER:=W. Michael Petullo <[email protected]> | |
|
||
PKG_SOURCE:=cyrus-sasl-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=ftp://ftp.cyrusimap.org/cyrus-sasl/ | ||
PKG_MD5SUM:=a7f4e5e559a0e37b3ffc438c9456e425 | ||
PKG_MD5SUM:= | ||
|
||
PKG_LICENSE:=BSD-4c BSD | ||
PKG_LICENSE_FILES:=COPYING cmulocal/COPYING saslauthd/COPYING | ||
|
||
PKG_BUILD_DEPENDS:=libopenssl | ||
|
||
PKG_FIXUP:=autoreconf | ||
PKG_MACRO_PATHS:=cmulocal config ../cmulocal ../config | ||
PKG_AUTOMAKE_PATHS:=. saslauthd sasldb | ||
|
@@ -37,7 +35,7 @@ define Package/libsasl2-krb5 | |
CATEGORY:=Libraries | ||
TITLE:=A general purpose authentication library (with krb5) | ||
URL:=http://asg.web.cmu.edu/sasl/ | ||
DEPENDS:=+krb5-mit-libs +libopenssl | ||
DEPENDS:=+krb5-mit-client-libs +libopenssl | ||
endef | ||
|
||
define Package/sasl2-krb5 | ||
|
@@ -53,7 +51,7 @@ TARGET_CPPFLAGS += $(FPIC) -I$(STAGING_DIR)/usr/include/krb5 | |
|
||
CONFIGURE_ARGS += \ | ||
--enable-shared \ | ||
--enable-static \ | ||
--disable-static \ | ||
--disable-sample \ | ||
--enable-staticdlopen \ | ||
--disable-java \ | ||
|
@@ -118,16 +116,18 @@ define Build/Compile | |
all install | ||
endef | ||
|
||
#define Build/InstallDev | ||
# $(INSTALL_DIR) $(1)/usr/include/ | ||
# $(CP) $(PKG_INSTALL_DIR)/usr/include/sasl $(1)/usr/include/ | ||
# $(INSTALL_DIR) $(1)/usr/lib/ | ||
define Build/InstallDev | ||
$(INSTALL_DIR) $(1)/usr/include/ | ||
$(CP) $(PKG_INSTALL_DIR)/usr/include/sasl $(1)/usr/include/ | ||
$(INSTALL_DIR) $(1)/usr/lib/ | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsasl2.so* $(1)/usr/lib/ | ||
# $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsasl2.{a,so*} $(1)/usr/lib/ | ||
# ln -sf libsasl2.a $(1)/usr/lib/libsasl.a | ||
# ln -sf libsasl2.so $(1)/usr/lib/libsasl.so | ||
# $(INSTALL_DIR) $(1)/usr/lib/sasl2 | ||
ln -sf libsasl2.so $(1)/usr/lib/libsasl.so | ||
$(INSTALL_DIR) $(1)/usr/lib/sasl2 | ||
# $(CP) $(PKG_INSTALL_DIR)/usr/lib/sasl2/lib*.{a,so*} $(1)/usr/lib/sasl2/ | ||
#endef | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sasl2/lib*.so* $(1)/usr/lib/sasl2/ | ||
endef | ||
|
||
define Package/libsasl2-krb5/install | ||
$(INSTALL_DIR) $(1)/usr/lib/ | ||
|
11 changes: 11 additions & 0 deletions
11
cyrus-sasl-krb5/patches/901-openwrt-krb5-include-path.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/cmulocal/sasl2.m4 | ||
+++ b/cmulocal/sasl2.m4 | ||
@@ -66,7 +66,7 @@ | ||
fi | ||
fi | ||
AC_CHECK_HEADER([gssapi.h],, | ||
- [AC_CHECK_HEADER([gssapi/gssapi.h],, | ||
+ [AC_CHECK_HEADER([krb5/gssapi/gssapi.h],, | ||
[AC_WARN([Disabling GSSAPI - no include files found]); gssapi=no])]) | ||
AC_CHECK_HEADERS(gssapi/gssapi_ext.h) | ||
CPPFLAGS=$cmu_saved_CPPFLAGS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# | ||
# Copyright (C) 2006-2010 OpenWrt.org | ||
# | ||
# This is free software, licensed under the GNU General Public License v2. | ||
# See /LICENSE for more information. | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=gperftools | ||
PKG_VERSION:=2.1 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://gperftools.googlecode.com/files | ||
PKG_MD5SUM:= | ||
PKG_INSTALL:=1 | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
|
||
define Package/libtcmalloc | ||
SECTION:=libs | ||
CATEGORY:=Libraries | ||
TITLE:=Google tcmalloc | ||
URL:=https://code.google.com/p/gperftools/downloads | ||
DEPENDS:=+libstdcpp | ||
endef | ||
|
||
CONFIGURE_ARGS += --enable-minimal | ||
|
||
define Package/libtcmalloc/install | ||
$(INSTALL_DIR) $(1)/usr/lib | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtcmalloc_minimal.so* $(1)/usr/lib | ||
endef | ||
|
||
define Build/InstallDev | ||
$(INSTALL_DIR) $(1)/usr/include | ||
$(INSTALL_DIR) $(1)/usr/lib | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtcmalloc_minimal.{a,so*} $(1)/usr/lib | ||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include | ||
endef | ||
|
||
$(eval $(call BuildPackage,libtcmalloc)) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.