2 # Copyright (C) 2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.inet.no/dante/files/
16 PKG_HASH:=b6d232bd6fefc87d14bf97e447e4fcdeef4b28b16b048d804b50b48f261c4f53
18 PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
19 PKG_LICENSE:=BSD-4-Clause
24 include $(INCLUDE_DIR)/package.mk
32 ac_cv_search_pam_start="" \
33 ac_cv_func_sched_setscheduler=no
35 define Build/InstallDev
36 $(INSTALL_DIR) $(1)/usr/include
37 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
38 $(INSTALL_DIR) $(1)/usr/lib
39 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{a,so*,la} $(1)/usr/lib/
43 define Package/dante/default
45 URL:=http://www.inet.no/dante/
48 define Package/dante/default/description
49 Dante is a circuit-level firewall/proxy that can be used to provide convenient
50 and secure network connectivity, requiring only that the server Dante runs on
51 has external network connectivity. Dante is used daily by Fortune 100 companies
52 and large international organizations, either as a standard SOCKS server or as
56 define Package/libsocks
57 $(call Package/dante/default)
64 define Package/libsocks/description
65 $(call Package/dante/default/description)
66 This package provides the shared libsocks library.
69 define Package/libsocks/install
70 $(INSTALL_DIR) $(1)/usr/lib
71 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsocks.so.* $(1)/usr/lib/
76 $(call Package/dante/default)
77 SUBMENU:=Web Servers/Proxies
83 define Package/sockd/description
84 $(call Package/dante/default/description)
85 This package provides the Dante sockd daemon.
88 define Package/sockd/install
89 $(INSTALL_DIR) $(1)/usr/sbin
90 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/sockd $(1)/usr/sbin/
94 define Package/socksify
95 $(call Package/dante/default)
98 SUBMENU:=Web Servers/Proxies
102 define Package/socksify/description
103 $(call Package/dante/default/description)
104 This package provides the Dante socksify client.
107 define Package/socksify/install
108 $(INSTALL_DIR) $(1)/usr/bin
109 $(CP) $(PKG_INSTALL_DIR)/usr/bin/socksify $(1)/usr/bin/
111 $(INSTALL_DIR) $(1)/usr/lib
112 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdsocks.so* $(1)/usr/lib/
116 $(eval $(call BuildPackage,libsocks))
117 $(eval $(call BuildPackage,sockd))
118 $(eval $(call BuildPackage,socksify))