|
@ -9,13 +9,13 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=i2pd |
|
|
PKG_NAME:=i2pd |
|
|
PKG_VERSION:=2.22.0 |
|
|
|
|
|
|
|
|
PKG_VERSION:=2.23.0 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
|
|
|
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/PurpleI2P/i2pd/tar.gz/$(PKG_VERSION)? |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/PurpleI2P/i2pd/tar.gz/$(PKG_VERSION)? |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_HASH:=6547d7a560482c5eda9106ae19267bc8afbb6af48fed3bebf423ade28103e173 |
|
|
|
|
|
|
|
|
PKG_HASH:=19e8573b44b94ce83bd5705569934049cb1dc39db11449abcb9e4b36afe5a279 |
|
|
PKG_LICENSE:=BSD-3-clause |
|
|
PKG_LICENSE:=BSD-3-clause |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
@ -38,8 +38,8 @@ define Package/i2pd/description |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/i2pd/conffiles |
|
|
define Package/i2pd/conffiles |
|
|
|
|
|
/etc/config/i2pd |
|
|
/etc/i2pd/i2pd.conf |
|
|
/etc/i2pd/i2pd.conf |
|
|
/etc/i2pd/subscriptions.txt |
|
|
|
|
|
/etc/i2pd/tunnels.conf |
|
|
/etc/i2pd/tunnels.conf |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
@ -51,14 +51,15 @@ define Package/i2pd/install |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/i2pd $(1)/usr/sbin |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/i2pd $(1)/usr/sbin |
|
|
$(INSTALL_DIR) $(1)/usr/share/i2pd |
|
|
$(INSTALL_DIR) $(1)/usr/share/i2pd |
|
|
$(CP) $(PKG_BUILD_DIR)/contrib/certificates $(1)/usr/share/i2pd |
|
|
$(CP) $(PKG_BUILD_DIR)/contrib/certificates $(1)/usr/share/i2pd |
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config |
|
|
|
|
|
$(INSTALL_CONF) ./files/i2pd.config $(1)/etc/config/i2pd |
|
|
$(INSTALL_DIR) $(1)/etc/i2pd |
|
|
$(INSTALL_DIR) $(1)/etc/i2pd |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/contrib/i2pd.conf $(1)/etc/i2pd |
|
|
|
|
|
|
|
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/contrib/i2pd.conf $(1)/etc/i2pd |
|
|
$(SED) ' \
|
|
|
$(SED) ' \
|
|
|
s/127.0.0.1/192.168.1.1/g; \
|
|
|
s/127.0.0.1/192.168.1.1/g; \
|
|
|
s/datadir = \/var\/lib/datadir = \/etc/ \
|
|
|
s/datadir = \/var\/lib/datadir = \/etc/ \
|
|
|
' $(1)/etc/i2pd/i2pd.conf |
|
|
' $(1)/etc/i2pd/i2pd.conf |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/contrib/subscriptions.txt $(1)/etc/i2pd |
|
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/contrib/tunnels.conf $(1)/etc/i2pd |
|
|
|
|
|
|
|
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/contrib/tunnels.conf $(1)/etc/i2pd |
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
$(INSTALL_BIN) ./files/i2pd.init $(1)/etc/init.d/i2pd |
|
|
$(INSTALL_BIN) ./files/i2pd.init $(1)/etc/init.d/i2pd |
|
|
endef |
|
|
endef |
|
|