rrs:
* Finally fixed the menu thing now * Use uClibc++ for the version without SSL support git-svn-id: svn://svn.openwrt.org/openwrt/packages@8228 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -18,26 +18,22 @@ PKG_MD5SUM:=b400d03c0e39e3e78a7327ba78f789f0
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/rrs/Default
|
define Package/rrs
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
MENU:=1
|
DEPENDS:=+uclibcxx +libopenssl
|
||||||
DEPENDS:=+uclibcxx
|
TITLE:=A reverse (connecting) remote shell (with SSL support)
|
||||||
TITLE:=A reverse (connecting) remote shell
|
|
||||||
URL:=http://www.cycom.se/dl/rrs/
|
URL:=http://www.cycom.se/dl/rrs/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/rrs
|
define Package/rrs-nossl
|
||||||
$(call Package/rrs/Default)
|
SECTION:=net
|
||||||
DEPENDS+=+libopenssl
|
CATEGORY:=Network
|
||||||
TITLE+= (with SSL support)
|
DEPENDS:=+uclibcxx
|
||||||
|
TITLE:=A reverse (connecting) remote shell (without SSL support)
|
||||||
|
URL:=http://www.cycom.se/dl/rrs/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/rrs-nossl
|
|
||||||
$(call Package/rrs/Default)
|
|
||||||
DEPENDS+=rrs
|
|
||||||
TITLE+= (without SSL support)
|
|
||||||
endef
|
|
||||||
|
|
||||||
ifneq ($(SDK),)
|
ifneq ($(SDK),)
|
||||||
CONFIG_PACKAGE_rrs:=m
|
CONFIG_PACKAGE_rrs:=m
|
||||||
@ -49,10 +45,13 @@ define Build/Compile/Template
|
|||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -fno-builtin -fno-rtti -nostdinc++" \
|
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -fno-builtin -fno-rtti -nostdinc++" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -Wl,-Bdynamic,-luClibc++,-Bstatic,-lstdc++,-Bdynamic $(3) -lutil -lm -lc" \
|
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -Wl,-Bdynamic,-luClibc++,-Bstatic,-lstdc++,-Bdynamic $(3) -lutil -lm -lc" \
|
||||||
|
LDFLAGSNOSSL="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -Wl,-Bdynamic,-luClibc++,-Bstatic,-lstdc++,-Bdynamic $(3) -lutil -lm -lc" \
|
||||||
$(2)
|
$(2)
|
||||||
( cd $(PKG_BUILD_DIR); mv rrs rrs-$(1); )
|
( cd $(PKG_BUILD_DIR); mv rrs rrs-$(1); )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
# LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -Wl,-Bdynamic,-luClibc++,-Bstatic,-lstdc++,-Bdynamic $(3) -lutil -lm -lc" \
|
||||||
|
|
||||||
ifneq ($(CONFIG_PACKAGE_rrs),)
|
ifneq ($(CONFIG_PACKAGE_rrs),)
|
||||||
define Build/Compile/with-ssl
|
define Build/Compile/with-ssl
|
||||||
$(call Build/Compile/Template,ssl,generic,-lcrypto -lssl)
|
$(call Build/Compile/Template,ssl,generic,-lcrypto -lssl)
|
||||||
|
Reference in New Issue
Block a user