最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Openwrt package: it said " is up to date" and no compile - Stack Overflow

programmeradmin1浏览0评论

I have made those steps

First I have download sdk and toolchain

wget .3.0_musl.Linux-x86_64.tar.zst
wget .3.0_musl.Linux-x86_64.tar.zst

checking sha256sums and gpg for security

wget 
wget .asc
gpg -v *asc
sha256sum -c --ignore-missing sha256sums

I extract the toolchains and sdk

tar -xvf openwrt-sdk-lantiq-xrx200_gcc-13.3.0_musl.Linux-x86_64.tar.zst
tar -xvf openwrt-toolchain-lantiq-xrx200_gcc-13.3.0_musl.Linux-x86_64.tar.zst

I have created the packages and makefile

cd package
mkdir telnetd-ssl
vim Makefile
# $Id: Makefile 1146 2005-06-05 13:32:28Z nbd $

include $(TOPDIR)/rules.mk

PKG_NAME:=telnetd-ssl
PKG_VERSION:=0.17.41
PKG_RELEASE:=1
PKG_MD5SUM:=3063643c5d200b863cf3a794c22325aa

PKG_SOURCE_URL:=
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

include $(INCLUDE_DIR)/package.mk

define Package/telnetd-ssl
  SECTION:=net
  CATEGORY:=Network
  TITLE:=The in.telnetd program is a server that handles the Defense Advanced Research Project Agency (DARPA) interactive telnet communication protocol.
  SSL telnetd replaces the regular telnetd by using SSL authentication and encryption. It works in conjunction with the regular telnetd in both directio
  ns. It checks whether the other side also uses SSL, if not it falls back to the regular telnet protocol.
  URL:=
  DEPENDS:=libopenssl3
endef

define Build/Configure
    $(call Build/Configure/Default,--without-pth-test --with-pth=$(STAGING_DIR),\
                        CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -nostdinc++" \
                        CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
                        LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -luClibc++ -lc -lm -lgcc")
endef

define Build/Compile
    $(call Build/Compile/Default)
endef

define Package/telnetd-ssl/install
    mkdir -p $(1)/usr/bin
    $(CP) $(PKG_BUILD_DIR)/src/telnetd-ssl $(1)/usr/bin/
endef

$(eval $(call BuildPackage,telnetd-ssl))

Now I have tried to make the package and


make V=99 package/telnetd-ssl
make: 'package/telnetd-ssl' is up to date.

But don't compile nothing! Why?

I have made those steps

First I have download sdk and toolchain

wget https://downloads.openwrt./snapshots/targets/lantiq/xrx200/openwrt-sdk-lantiq-xrx200_gcc-13.3.0_musl.Linux-x86_64.tar.zst
wget https://downloads.openwrt./snapshots/targets/lantiq/xrx200/openwrt-toolchain-lantiq-xrx200_gcc-13.3.0_musl.Linux-x86_64.tar.zst

checking sha256sums and gpg for security

wget https://downloads.openwrt./snapshots/targets/lantiq/xrx200/sha256sums
wget https://downloads.openwrt./snapshots/targets/lantiq/xrx200/sha256sums.asc
gpg -v *asc
sha256sum -c --ignore-missing sha256sums

I extract the toolchains and sdk

tar -xvf openwrt-sdk-lantiq-xrx200_gcc-13.3.0_musl.Linux-x86_64.tar.zst
tar -xvf openwrt-toolchain-lantiq-xrx200_gcc-13.3.0_musl.Linux-x86_64.tar.zst

I have created the packages and makefile

cd package
mkdir telnetd-ssl
vim Makefile
# $Id: Makefile 1146 2005-06-05 13:32:28Z nbd $

include $(TOPDIR)/rules.mk

PKG_NAME:=telnetd-ssl
PKG_VERSION:=0.17.41
PKG_RELEASE:=1
PKG_MD5SUM:=3063643c5d200b863cf3a794c22325aa

PKG_SOURCE_URL:=https://packages.debian./sid/telnetd-ssl
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

include $(INCLUDE_DIR)/package.mk

define Package/telnetd-ssl
  SECTION:=net
  CATEGORY:=Network
  TITLE:=The in.telnetd program is a server that handles the Defense Advanced Research Project Agency (DARPA) interactive telnet communication protocol.
  SSL telnetd replaces the regular telnetd by using SSL authentication and encryption. It works in conjunction with the regular telnetd in both directio
  ns. It checks whether the other side also uses SSL, if not it falls back to the regular telnet protocol.
  URL:=https://packages.debian./sid/telnetd-ssl
  DEPENDS:=libopenssl3
endef

define Build/Configure
    $(call Build/Configure/Default,--without-pth-test --with-pth=$(STAGING_DIR),\
                        CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -nostdinc++" \
                        CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
                        LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -luClibc++ -lc -lm -lgcc")
endef

define Build/Compile
    $(call Build/Compile/Default)
endef

define Package/telnetd-ssl/install
    mkdir -p $(1)/usr/bin
    $(CP) $(PKG_BUILD_DIR)/src/telnetd-ssl $(1)/usr/bin/
endef

$(eval $(call BuildPackage,telnetd-ssl))

Now I have tried to make the package and


make V=99 package/telnetd-ssl
make: 'package/telnetd-ssl' is up to date.

But don't compile nothing! Why?

Share Improve this question asked Feb 16 at 12:49 elbarnaelbarna 7352 gold badges14 silver badges31 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Solution found

make package/telnetd-ssl is wrong

make package/telnetd-ssl/compile is ok

发布评论

评论列表(0)

  1. 暂无评论