OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | # |
2 | # Copyright (C) 2011 OpenWrt.org |
||
3 | # |
||
4 | # This is free software, licensed under the GNU General Public License v2. |
||
5 | # See /LICENSE for more information. |
||
6 | # |
||
7 | |||
8 | include $(TOPDIR)/rules.mk |
||
9 | |||
10 | PKG_NAME:=dante |
||
11 | PKG_VERSION:=1.4.1 |
||
3 | office | 12 | PKG_RELEASE:=1 |
1 | office | 13 | |
14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
||
15 | PKG_SOURCE_URL:=http://www.inet.no/dante/files/ |
||
16 | PKG_HASH:=b6d232bd6fefc87d14bf97e447e4fcdeef4b28b16b048d804b50b48f261c4f53 |
||
17 | |||
18 | PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io> |
||
19 | PKG_LICENSE:=BSD-4-Clause |
||
20 | |||
21 | PKG_FIXUP:=autoreconf |
||
22 | PKG_INSTALL:=1 |
||
23 | |||
24 | include $(INCLUDE_DIR)/package.mk |
||
25 | |||
26 | CONFIGURE_ARGS += \ |
||
27 | --without-upnp \ |
||
28 | --without-pam \ |
||
29 | --disable-libwrap |
||
30 | |||
31 | CONFIGURE_VARS += \ |
||
3 | office | 32 | ac_cv_search_pam_start="" |
1 | office | 33 | |
34 | define Build/InstallDev |
||
35 | $(INSTALL_DIR) $(1)/usr/include |
||
36 | $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ |
||
37 | $(INSTALL_DIR) $(1)/usr/lib |
||
38 | $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{a,so*,la} $(1)/usr/lib/ |
||
39 | endef |
||
40 | |||
41 | |||
42 | define Package/dante/default |
||
43 | TITLE:=Dante SOCKS |
||
44 | URL:=http://www.inet.no/dante/ |
||
45 | endef |
||
46 | |||
47 | define Package/dante/default/description |
||
48 | Dante is a circuit-level firewall/proxy that can be used to provide convenient |
||
49 | and secure network connectivity, requiring only that the server Dante runs on |
||
50 | has external network connectivity. Dante is used daily by Fortune 100 companies |
||
51 | and large international organizations, either as a standard SOCKS server or as |
||
3 | office | 52 | a "reverse proxy". |
1 | office | 53 | endef |
54 | |||
55 | define Package/libsocks |
||
56 | $(call Package/dante/default) |
||
57 | SECTION:=libs |
||
58 | CATEGORY:=Libraries |
||
59 | TITLE+= Library |
||
60 | endef |
||
61 | |||
62 | define Package/libsocks/description |
||
63 | $(call Package/dante/default/description) |
||
64 | This package provides the shared libsocks library. |
||
65 | endef |
||
66 | |||
67 | define Package/libsocks/install |
||
68 | $(INSTALL_DIR) $(1)/usr/lib |
||
3 | office | 69 | $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsocks.so* $(1)/usr/lib/ |
1 | office | 70 | endef |
71 | |||
72 | |||
73 | define Package/sockd |
||
74 | $(call Package/dante/default) |
||
75 | SUBMENU:=Web Servers/Proxies |
||
76 | SECTION:=net |
||
77 | CATEGORY:=Network |
||
78 | TITLE+= Daemon |
||
79 | endef |
||
80 | |||
81 | define Package/sockd/description |
||
82 | $(call Package/dante/default/description) |
||
83 | This package provides the Dante sockd daemon. |
||
84 | endef |
||
85 | |||
86 | define Package/sockd/install |
||
87 | $(INSTALL_DIR) $(1)/usr/sbin |
||
88 | $(CP) $(PKG_INSTALL_DIR)/usr/sbin/sockd $(1)/usr/sbin/ |
||
89 | endef |
||
90 | |||
91 | |||
92 | define Package/socksify |
||
93 | $(call Package/dante/default) |
||
94 | SECTION:=net |
||
95 | CATEGORY:=Network |
||
96 | SUBMENU:=Web Servers/Proxies |
||
97 | TITLE+= Client |
||
98 | endef |
||
99 | |||
100 | define Package/socksify/description |
||
101 | $(call Package/dante/default/description) |
||
102 | This package provides the Dante socksify client. |
||
103 | endef |
||
104 | |||
105 | define Package/socksify/install |
||
106 | $(INSTALL_DIR) $(1)/usr/bin |
||
107 | $(CP) $(PKG_INSTALL_DIR)/usr/bin/socksify $(1)/usr/bin/ |
||
108 | |||
109 | $(INSTALL_DIR) $(1)/usr/lib |
||
110 | $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdsocks.so* $(1)/usr/lib/ |
||
111 | endef |
||
112 | |||
113 | |||
114 | $(eval $(call BuildPackage,libsocks)) |
||
115 | $(eval $(call BuildPackage,sockd)) |
||
116 | $(eval $(call BuildPackage,socksify)) |