1 include $(TOPDIR
)/rules.mk
6 PKG_MAINTAINER
:=Peter Stadler
<peter.stadler@student.uibk.ac.at
>
8 include $(INCLUDE_DIR
)/package.mk
9 include $(INCLUDE_DIR
)/cmake.mk
11 CMAKE_OPTIONS
+= -DUBUS
=y
12 CMAKE_OPTIONS
+= -DVERSION
=$(PKG_VERSION
)
14 define Package
/nginx-util
/default
17 SUBMENU
:=Web Servers
/Proxies
18 TITLE
:=Builder of LAN listen directives for Nginx
19 DEPENDS
:=+libstdcpp
+libubus
+libubox
+libpthread
22 define Package
/nginx-util
23 $(Package
/nginx-util
/default
)
24 CONFLICTS
:=nginx-ssl-util
27 define Package
/nginx-ssl-util
/default
28 $(Package
/nginx-util
/default
)
29 TITLE
+= and manager of its SSL certificates
34 define Package
/nginx-ssl-util
35 $(Package
/nginx-ssl-util
/default
)
38 CONFLICTS
+= nginx-ssl-util-nopcre
41 define Package
/nginx-ssl-util-nopcre
42 $(Package
/nginx-ssl-util
/default
)
43 TITLE
+= (using
<regex
>)
44 CONFLICTS
+= nginx-ssl-util
47 define Package
/nginx-util
/description
48 Utility that builds dynamically LAN listen directives for Nginx.
51 Package
/nginx-ssl-util
/default
/description
= $(Package
/nginx-util
/description
)\
52 Furthermore
, it manages SSL directives for its server parts and can create \
53 corresponding
(self-signed
) certificates.
55 Package
/nginx-ssl-util
/description
= \
56 $(Package
/nginx-ssl-util
/default
/description
) \
57 It uses the PCRE library for performance.
59 Package
/nginx-ssl-util-nopcre
/description
= \
60 $(Package
/nginx-ssl-util
/default
/description
) \
61 It uses the standard regex library of C
++.
63 define Package
/nginx-util
/install
64 $(INSTALL_DIR
) $(1)/usr
/bin
65 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/nginx-util
$(1)/usr
/bin
/nginx-util
68 define Package
/nginx-ssl-util
/install
69 $(INSTALL_DIR
) $(1)/usr
/bin
70 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/nginx-ssl-util
$(1)/usr
/bin
/nginx-util
73 define Package
/nginx-ssl-util-nopcre
/install
74 $(INSTALL_DIR
) $(1)/usr
/bin
75 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/nginx-ssl-util-nopcre \
76 $(1)/usr
/bin
/nginx-util
79 $(eval
$(call BuildPackage
,nginx-util
))
80 $(eval
$(call BuildPackage
,nginx-ssl-util
))
81 $(eval
$(call BuildPackage
,nginx-ssl-util-nopcre
))