Skip to content

Commit

Permalink
2014 09 23
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Waldvogel committed Sep 23, 2014
1 parent 3119914 commit ef66cf1
Show file tree
Hide file tree
Showing 180 changed files with 5,887 additions and 11,917 deletions.
69 changes: 0 additions & 69 deletions acl/Makefile

This file was deleted.

67 changes: 0 additions & 67 deletions attr/Makefile

This file was deleted.

24 changes: 12 additions & 12 deletions cyrus-sasl-krb5/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 \
Expand Down Expand Up @@ -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/
Expand Down
11 changes: 11 additions & 0 deletions cyrus-sasl-krb5/patches/901-openwrt-krb5-include-path.patch
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
15 changes: 6 additions & 9 deletions forked-daapd/files/forked-daapd.init
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@
# Copyright (C) 2010 OpenWrt.org

START=99
BIN=/usr/sbin/forked-daapd
PID=/var/run/forked-daapd.pid
SSD=start-stop-daemon
USE_PROCD=1

start() {
$SSD -p $PID -S -x $BIN -- -P $PID
}

stop() {
$SSD -p $PID -K -s SIGINT
start_service() {
procd_open_instance
procd_set_param command /usr/sbin/forked-daapd -f
procd_set_param respawn
procd_close_instance
}
43 changes: 43 additions & 0 deletions gperftools/Makefile
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))
44 changes: 0 additions & 44 deletions hd-idle2/Makefile

This file was deleted.

12 changes: 0 additions & 12 deletions hd-idle2/files/hd-idle.config

This file was deleted.

Loading

0 comments on commit ef66cf1

Please sign in to comment.