fix uClibc++ issue after build dir reorg: install uClibc++ headers in a separate include dir

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8598 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2007-09-03 15:58:55 +00:00
parent 50d1b76d54
commit 25e391427b
15 changed files with 306 additions and 284 deletions

View File

@ -4,7 +4,7 @@
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
# #
# $Id :$ # $Id$
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
@ -15,61 +15,52 @@ PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://developer.kde.org/~wheeler/files/src/ PKG_SOURCE_URL:=http://developer.kde.org/~wheeler/files/src/
PKG_MD5SUM:=dcd50ddb2544faeae77f194804559404 PKG_MD5SUM:=dcd50ddb2544faeae77f194804559404
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/taglib define Package/taglib
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
DEPENDS:=+zlib +uclibcxx DEPENDS:= +uclibcxx +zlib
TITLE:=Audio output library TITLE:=Audio output library
DESCRIPTION:=\
the audio output library
URL:=http://developer.kde.org/~wheeler/taglib.html URL:=http://developer.kde.org/~wheeler/taglib.html
endef endef
CONFIGURE_VARS += \ CONFIGURE_ARGS += \
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++ -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include" --enable-shared \
--enable-static \
--enable-final \
define Build/Configure CONFIGURE_VARS += \
$(call Build/Configure/Default, \ CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
--enable-final \ CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
,\ LDFLAGS="$$$$LDFLAGS" \
LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ LIBS="-nodefaultlibs -lz -luClibc++" \
LIBS="-luClibc++ -lc -lm -lgcc -lz" \
)
endef
define Build/Compile define Build/Compile
$(call Build/Compile/Default,\ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
all install \ all install
)
endef endef
define Build/InstallDev define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/bin mkdir -p $(STAGING_DIR)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(STAGING_DIR)/usr/bin/ $(CP) $(PKG_INSTALL_DIR)/usr/bin/taglib-config $(STAGING_DIR)/usr/bin/
mkdir -p $(STAGING_DIR)/usr/lib mkdir -p $(STAGING_DIR)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtag* $(STAGING_DIR)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtag.{a,so*} $(STAGING_DIR)/usr/lib/
mkdir -p $(STAGING_DIR)/usr/include/taglib mkdir -p $(STAGING_DIR)/usr/include/taglib
$(CP) $(PKG_INSTALL_DIR)/usr/include/taglib/* $(STAGING_DIR)/usr/include/taglib/ $(CP) $(PKG_INSTALL_DIR)/usr/include/taglib/* $(STAGING_DIR)/usr/include/taglib/
endef endef
define Build/UninstallDev define Build/UninstallDev
rm -rf \ rm -rf $(STAGING_DIR)/usr/bin/taglib-config \
$(STAGING_DIR)/usr/bin/taglib-config \ $(STAGING_DIR)/usr/include/taglib \
$(STAGING_DIR)/usr/lib/libtag* \ $(STAGING_DIR)/usr/lib/libtag.{a,so*}
$(STAGING_DIR)/usr/include/taglib/
endef endef
define Package/taglib/install define Package/taglib/install
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtag* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtag.so.* $(1)/usr/lib/
endef endef
$(eval $(call BuildPackage,taglib)) $(eval $(call BuildPackage,taglib))

View File

@ -42,6 +42,13 @@ UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
-e 's/cris.*/cris/' \ -e 's/cris.*/cris/' \
) )
MAKE_FLAGS:= \
TOPDIR="$(PKG_BUILD_DIR)/" \
$(TARGET_CONFIGURE_OPTS) \
ARCH_CFLAGS="$(TARGET_CFLAGS)" \
CROSS="$(TARGET_CROSS)" \
CP="$(CP)" \
define Build/Configure define Build/Configure
if [ -f ./files/config.$(UCLIBC_TARGET_ARCH) ]; then \ if [ -f ./files/config.$(UCLIBC_TARGET_ARCH) ]; then \
cp ./files/config.$(UCLIBC_TARGET_ARCH) $(PKG_BUILD_DIR)/.config; \ cp ./files/config.$(UCLIBC_TARGET_ARCH) $(PKG_BUILD_DIR)/.config; \
@ -51,34 +58,45 @@ define Build/Configure
endef endef
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ # fix ccache issue
TOPDIR="$(PKG_BUILD_DIR)/" \ $(MAKE) -C $(PKG_BUILD_DIR)/src/abi/libsupc \
$(TARGET_CONFIGURE_OPTS) \ $(MAKE_FLAGS) \
ARCH_CFLAGS="$(TARGET_CFLAGS)" \ CC="$(TARGET_CROSS)gcc" \
CROSS="$(TARGET_CROSS)" \
CP="$(CP)" \
all all
$(MAKE) -C $(PKG_BUILD_DIR) \
$(MAKE_FLAGS) \
DESTDIR="$(PKG_INSTALL_DIR)/usr" \
all install
endef endef
define Build/InstallDev define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include mkdir -p $(STAGING_DIR)/usr/bin
$(MAKE) -C $(PKG_BUILD_DIR) \ $(CP) $(PKG_INSTALL_DIR)/usr/bin/g++-uc $(STAGING_DIR)/usr/bin/
TOPDIR="$(PKG_BUILD_DIR)/" \ mkdir -p $(STAGING_DIR)/usr/include/uClibc++
$(TARGET_CONFIGURE_OPTS) \ $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(STAGING_DIR)/usr/include/uClibc++/
ARCH_CFLAGS="$(TARGET_CFLAGS)" \ mkdir -p $(STAGING_DIR)/usr/lib
CROSS="$(TARGET_CROSS)" \ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libuClibc++*.{a,so*} $(STAGING_DIR)/usr/lib/
DESTDIR="$(STAGING_DIR)" \ $(SED) 's,-I/include/,-I$(STAGING_DIR)/usr/include/uClibc++/,g' $(STAGING_DIR)/usr/bin/g++-uc
install $(SED) 's,-L/lib/,-L$(STAGING_DIR)/usr/lib/,g' $(STAGING_DIR)/usr/bin/g++-uc
$(if $(STAGING_DIR_HOST), \
ln -sf $(shell $(SCRIPT_DIR)/abs2rel.pl $(STAGING_DIR)/usr/bin/g++-uc $(STAGING_DIR_HOST)/bin/) $(STAGING_DIR_HOST)/bin/ \
)
endef endef
define Build/UninstallDev define Build/UninstallDev
rm -rf $(STAGING_DIR)/lib/libuClibc++*.{a,so*} rm -rf $(STAGING_DIR)/usr/bin/g++-uc \
$(STAGING_DIR)/usr/include/uClibc++ \
$(STAGING_DIR)/usr/lib/libuClibc++*.{a,so*}
$(if $(STAGING_DIR_HOST), \
rm -f $(STAGING_DIR_HOST)/bin/g++-uc \
)
endef endef
define Package/uclibcxx/install define Package/uclibcxx/install
$(INSTALL_DIR) $(1)/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/src/libuClibc++*.so.* $(1)/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libuClibc++.so.* $(1)/usr/lib/
$(CP) $(PKG_BUILD_DIR)/src/libuClibc++-*.so $(1)/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libuClibc++-*.so $(1)/usr/lib/
endef endef
$(eval $(call BuildPackage,uclibcxx)) $(eval $(call BuildPackage,uclibcxx))

View File

@ -15,10 +15,6 @@ PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.cti.ecp.fr/~beauxir5/peercast PKG_SOURCE_URL:=http://www.cti.ecp.fr/~beauxir5/peercast
PKG_MD5SUM:=4e8449cde7135ad97f788e67e1bd64ee PKG_MD5SUM:=4e8449cde7135ad97f788e67e1bd64ee
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -27,11 +23,6 @@ define Package/peercast
CATEGORY:=Multimedia CATEGORY:=Multimedia
DEPENDS:=+libpthread +uclibcxx DEPENDS:=+libpthread +uclibcxx
TITLE:=P2P audio and video streaming server TITLE:=P2P audio and video streaming server
DESCRIPTION:=\
PeerCast is a fresh new P2P streaming server. It can stream music \\\
and video from a broad variety of formats. Many audio players can \\\
listen to peercast streams, as it's been built to remain compatible \\\
with Nullsoft Shoutcast.
URL:=http://www.peercast.org/ URL:=http://www.peercast.org/
endef endef
@ -39,15 +30,21 @@ define Package/peercast/conffiles
/etc/peercast.ini /etc/peercast.ini
endef endef
define Build/Configure define Package/peercast/description
$(call Build/Configure/Default, \ PeerCast is a fresh new P2P streaming server. It can stream music and
--enable-staticbin \ video from a broad variety of formats. Many audio players can listen to
, \ peercast streams, as it's been built to remain compatible with Nullsoft
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \ Shoutcast.
LIBS="-nodefaultlibs -luClibc++ -lpthread -lc -lm" \
)
endef endef
CONFIGURE_ARGS += \
--enable-staticbin \
CONFIGURE_VARS += \
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
LIBS="-nodefaultlibs -luClibc++ -lpthread" \
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -20,39 +20,64 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/cbtt define Package/cbtt/Default
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=zlib DEPENDS:=+libpthread +uclibcxx +zlib
MENU:=1
TITLE:=Bittorrent tracker TITLE:=Bittorrent tracker
DEPENDS:=+libpthread +uclibcxx
DESCRIPTION:=a C BitTorrent Tracker
URL:=http://bnbtusermods.sourceforge.net URL:=http://bnbtusermods.sourceforge.net
endef endef
define Package/cbtt
$(call Package/cbtt/Default)
endef
define Package/cbtt-mysql define Package/cbtt-mysql
SECTION:=net DEPENDS+= +libmysqlclient
CATEGORY:=Network TITLE+= (with mysql support)
DEPENDS:=cbtt +libmysqlclient
TITLE:=Bittorrent tracker with mysql support
DESCRIPTION:=Bittorrent tracker with mysql support
URL:=http://bnbtusermods.sourceforge.net
endef endef
MAKE_FLAGS += \
LFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/mysql -L. -lz -lmysqlclient -nodefaultlibs -lpthread -luClibc++ -lc -lm -lgcc" \
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -fno-builtin -fno-rtti -nostdinc++"
define Package/cbtt/install define Build/Template
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bnbt $(1)/usr/bin/ $(STAMP_BUILT)-$(2): $(STAMP_PREPARED)
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -fno-rtti -nostdinc++" \
LFLAGS="$(TARGET_LDFLAGS) -L. -nodefaultlibs $(4) -lz -luClibc++ -lm -lpthread" \
$(3)
touch $$@
$(STAMP_BUILT): $(STAMP_BUILT)-$(2)
define Package/$(1)/install
$(INSTALL_DIR) $$(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(3) $$(1)/usr/bin/
endef endef
define Package/cbtt-mysql/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bnbtmysql $(1)/usr/bin/
endef endef
define Build/Configure
endef
define Build/Compile
endef
ifneq ($(SDK)$(CONFIG_PACKAGE_cbtt),)
define Build/without-mysql
$(call Build/Template,cbtt,without-mysql,bnbt,)
endef
endif
$(eval $(Build/without-mysql))
ifneq ($(SDK)$(CONFIG_PACKAGE_cbtt-mysql),)
define Build/with-mysql
$(call Build/Template,cbtt-mysql,with-mysql,bnbtmysql, \
-L$(STAGING_DIR)/usr/lib/mysql -lmysqlclient \
)
endef
endif
$(eval $(Build/with-mysql))
$(eval $(call BuildPackage,cbtt)) $(eval $(call BuildPackage,cbtt))
$(eval $(call BuildPackage,cbtt-mysql)) $(eval $(call BuildPackage,cbtt-mysql))

View File

@ -23,17 +23,19 @@ define Package/ctorrent
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=+libopenssl +uclibcxx DEPENDS:=+libopenssl +uclibcxx
TITLE:=console-based BitTorrent client TITLE:=console-based BitTorrent client
DESCRIPTION:=\
CTorrent is a BitTorrent client written in the C programming language, known to \\\
be a very robust and mature programming language, which produces fast and \\\
optimized application.
URL:=http://www.rahul.net/dholmes/ctorrent/ URL:=http://www.rahul.net/dholmes/ctorrent/
endef endef
define Package/ctorrent/description
CTorrent is a BitTorrent client written in the C programming language,
known to be a very robust and mature programming language, which produces
fast and optimized application.
endef
CONFIGURE_ARGS += \ CONFIGURE_VARS += \
CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/openssl" \ CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \ CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
LIBS="-nodefaultlibs -lcrypto -luClibc++ -lm -lc -lgcc" LIBS="-nodefaultlibs -lcrypto -luClibc++ -lm"
define Package/ctorrent/install define Package/ctorrent/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin

View File

@ -15,10 +15,6 @@ PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://dast.nlanr.net/Projects/Iperf2.0 PKG_SOURCE_URL:=http://dast.nlanr.net/Projects/Iperf2.0
PKG_MD5SUM:=bb658aba58a5af0356f5b1342dfe8f53 PKG_MD5SUM:=bb658aba58a5af0356f5b1342dfe8f53
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -27,23 +23,24 @@ define Package/iperf
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=+uclibcxx DEPENDS:=+uclibcxx
TITLE:=Internet Protocol bandwidth measuring tool TITLE:=Internet Protocol bandwidth measuring tool
DESCRIPTION:=\
Iperf is a modern alternative for measuring TCP and UDP bandwidth \\\
performance, allowing the tuning of various parameters and \\\
characteristics.
URL:=http://dast.nlanr.net/Projects/Iperf/ URL:=http://dast.nlanr.net/Projects/Iperf/
endef endef
define Build/Configure define Package/iperf/description
$(call Build/Configure/Default, \ Iperf is a modern alternative for measuring TCP and UDP bandwidth
--disable-multicast \ performance, allowing the tuning of various parameters and
--disable-threads \ characteristics.
, \
CXXFLAGS="$$$$CXX_CFLAGS -fno-builtin -fno-rtti -nostdinc++" \
LIBS="-nodefaultlibs -luClibc++ -lc -lm -lgcc_s" \
)
endef endef
CONFIGURE_ARGS += \
--disable-multicast \
--disable-threads \
CONFIGURE_VARS += \
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
CXXFLAGS="$$$$CXX_CFLAGS -fno-builtin -fno-rtti -nostdinc++" \
LIBS="-nodefaultlibs -luClibc++" \
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -12,29 +12,33 @@ PKG_NAME:=kismet
PKG_VERSION:=2007-01-R1a PKG_VERSION:=2007-01-R1a
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.kismetwireless.net/code PKG_SOURCE_URL:=http://www.kismetwireless.net/code
PKG_MD5SUM:=5921166366d3f695eeef26121c56a674 PKG_MD5SUM:=5921166366d3f695eeef26121c56a674
PKG_CAT:=zcat
PKG_BUILD_DEPENDS:=libpcap libncurses uclibcxx PKG_BUILD_DEPENDS:=libnotimpl libpcap libncurses uclibcxx
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/kismet-client define Package/kismet/Default
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
TITLE:=Kismet client TITLE:=Kismet
DEPENDS:=+libncurses +uclibcxx DEPENDS:= +uclibcxx
DESCRIPTION:=Kismet client.\\\
An 802.11 layer2 wireless network detector, sniffer, and intrusion \\\
detection system.\\\
\\\
This package contains the kismet text interface client.
URL:=http://www.kismetwireless.net/ URL:=http://www.kismetwireless.net/
endef endef
define Package/kismet/Default/description
An 802.11 layer2 wireless network detector, sniffer, and intrusion
detection system.
endef
define Package/kismet-client
$(call Package/kismet/Default)
TITLE+= client
DEPENDS+= +libncurses
endef
define Package/kismet-client/conffiles define Package/kismet-client/conffiles
/etc/kismet/ap_manuf /etc/kismet/ap_manuf
/etc/kismet/client_manuf /etc/kismet/client_manuf
@ -42,34 +46,30 @@ define Package/kismet-client/conffiles
/etc/kismet/kismet_ui.conf /etc/kismet/kismet_ui.conf
endef endef
define Package/kismet-client/description
$(call Package/kismet/Default/description)
This package contains the kismet text interface client.
endef
define Package/kismet-drone define Package/kismet-drone
SECTION:=net $(call Package/kismet/Default)
CATEGORY:=Network DEPENDS+= +libpcap
DEPENDS:=+libpcap +uclibcxx TITLE+= drone
TITLE:=Kismet drone
DESCRIPTION:=Kismet drone.\\\
An 802.11 layer2 wireless network detector, sniffer, and intrusion \\\
detection system.\\\
\\\
This package contains the kismet remote sniffing.and monitoring drone.
URL:=http://www.kismetwireless.net/
endef endef
define Package/kismet-drone/conffiles define Package/kismet-drone/conffiles
/etc/kismet/kismet_drone.conf /etc/kismet/kismet_drone.conf
endef endef
define Package/kismet-drone/description
$(call Package/kismet/Default/description)
This package contains the kismet remote sniffing.and monitoring drone.
endef
define Package/kismet-server define Package/kismet-server
SECTION:=net $(call Package/kismet/Default)
CATEGORY:=Network DEPENDS+= +libpcap
DEPENDS:=+libpcap +uclibcxx TITLE+= server
TITLE:=Kismet server
DESCRIPTION:=Kismet server.\\\
An 802.11 layer2 wireless network detector, sniffer, and intrusion \\\
detection system.\\\
\\\
This package contains the kismet server.
URL:=http://www.kismetwireless.net/
endef endef
define Package/kismet-server/conffiles define Package/kismet-server/conffiles
@ -78,44 +78,26 @@ define Package/kismet-server/conffiles
/etc/kismet/kismet.conf /etc/kismet/kismet.conf
endef endef
define Build/Configure define Package/kismet-server/description
(cd $(PKG_BUILD_DIR); rm -rf config.cache; \ $(call Package/kismet/Default/description)
$(TARGET_CONFIGURE_OPTS) \ This package contains the kismet server.
CFLAGS="$(TARGET_CFLAGS)" \
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(LINUX_DIR)/include" \
LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
LIBS="-luClibc++ -lc -lm -lgcc" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--program-prefix="" \
--program-suffix="" \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--datadir=/usr/share \
--includedir=/usr/include \
--infodir=/usr/share/info \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--localstatedir=/var \
--mandir=/usr/share/man \
--sbindir=/usr/sbin \
--sysconfdir=/etc/kismet \
$(DISABLE_LARGEFILE) \
$(DISABLE_NLS) \
--enable-syspcap=yes \
--disable-setuid \
--disable-wsp100 \
--disable-gpsmap \
);
endef endef
CONFIGURE_ARGS += \
--enable-syspcap=yes \
--disable-setuid \
--disable-wsp100 \
--disable-gpsmap \
CONFIGURE_VARS += \
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++ -I$(LINUX_DIR)/include" \
LDFLAGS="$$$$LDFLAGS" \
LIBS="-nodefaultlibs -luClibc++ -lm -lnotimpl" \
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
LIBS="-luClibc++ -lc -lm -lgcc" \ LD="\$$$$(CC)" \
all all
endef endef

View File

@ -11,30 +11,24 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=miredo PKG_NAME:=miredo
PKG_VERSION:=1.0.0 PKG_VERSION:=1.0.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=b5a51cb98732decc2ada96b2caee5d3c
PKG_SOURCE_URL:=http://www.remlab.net/files/miredo/ PKG_SOURCE_URL:=http://www.remlab.net/files/miredo/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_CAT:=bzcat PKG_MD5SUM:=b5a51cb98732decc2ada96b2caee5d3c
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/miredo define Package/miredo/Default
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=+libpthread +uclibcxx +kmod-ipv6 +kmod-tun DEPENDS:=+libpthread +uclibcxx +kmod-ipv6 +kmod-tun
SUBMENU:=miredo - Teredo (IPv6 tunneling over UDP through NAT) client and relay daemon SUBMENU:=miredo: Teredo (IPv6 tunneling over UDP through NAT)
DESCRIPTION:=miredo - A Teredo (IPv6 tunneling over UDP through NAT) client and relay daemon.
URL:=http://www.simphalempin.com/dev/miredo/ URL:=http://www.simphalempin.com/dev/miredo/
endef endef
define Package/miredo-server define Package/miredo-server
$(call Package/miredo) $(call Package/miredo/Default)
TITLE:=Teredo (IPv6 tunneling over UDP through NAT) server daemon TITLE:=Teredo (IPv6 tunneling over UDP through NAT) server daemon
DESCRIPTION:=A Teredo (IPv6 tunneling over UDP through NAT) server daemon.
endef endef
define Package/miredo-server/conffiles define Package/miredo-server/conffiles
@ -42,17 +36,16 @@ define Package/miredo-server/conffiles
endef endef
define Package/miredo-client define Package/miredo-client
$(call Package/miredo) $(call Package/miredo/Default)
TITLE:=Teredo (IPv6 tunneling over UDP through NAT) client and relay daemon TITLE:=Teredo (IPv6 tunneling over UDP through NAT) client and relay daemon
DESCRIPTION:=Teredo (IPv6 tunneling over UDP through NAT) client and relay daemon
endef endef
define Package/miredo-client/conffiles define Package/miredo-client/conffiles
/etc/miredo.conf /etc/miredo.conf
endef endef
define Build/Configure CONFIGURE_ARGS += \
$(call Build/Configure/Default,--disable-shared \ --disable-shared \
--enable-static \ --enable-static \
--with-gnu-ld \ --with-gnu-ld \
--disable-rpath \ --disable-rpath \
@ -60,17 +53,15 @@ $(call Build/Configure/Default,--disable-shared \
--enable-teredo-client \ --enable-teredo-client \
--enable-teredo-relay \ --enable-teredo-relay \
--enable-teredo-server \ --enable-teredo-server \
--enable-miredo-user=root,CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \ --enable-miredo-user=root \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ CONFIGURE_VARS += \
LIBS="-luClibc++ -lc -lm" \ CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
LIBS="-nodefaultlibs -luClibc++ -lm" \
ac_cv_file__proc_self_maps=yes\ ac_cv_file__proc_self_maps=yes\
)
endef
define Build/Compile define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
CXXLINK="\$$$$(LINK)" \ CXXLINK="\$$$$(LINK)" \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -12,13 +12,9 @@ PKG_NAME:=nmap
PKG_VERSION:=4.20 PKG_VERSION:=4.20
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=ea50419f99472200c4184a304e3831ea
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://download.insecure.org/nmap/dist PKG_SOURCE_URL:=http://download.insecure.org/nmap/dist
PKG_CAT:=bzcat PKG_MD5SUM:=ea50419f99472200c4184a304e3831ea
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -27,26 +23,26 @@ define Package/nmap
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=+libdnet +libpcap +libpcre +uclibcxx DEPENDS:=+libdnet +libpcap +libpcre +uclibcxx
TITLE:=Network exploration and/or security auditing utility TITLE:=Network exploration and/or security auditing utility
DESCRIPTION:=\
A free open source utility for network exploration or security auditing.
URL:=http://www.insecure.org/nmap/ URL:=http://www.insecure.org/nmap/
endef endef
define Build/Configure define Package/nmap/description
$(call Build/Configure/Default, \ A free open source utility for network exploration or security auditing.
--without-openssl \
--without-nmapfe \
--with-libdnet="$(STAGING_DIR)/usr" \
--with-libpcap="$(STAGING_DIR)/usr" \
--with-libpcre="$(STAGING_DIR)/usr" \
, \
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
LIBS="-nodefaultlibs -luClibc++ -lc -lm -lgcc" \
)
endef endef
CONFIGURE_ARGS += \
--without-openssl \
--without-nmapfe \
--with-libdnet="$(STAGING_DIR)/usr" \
--with-libpcap="$(STAGING_DIR)/usr" \
--with-libpcre="$(STAGING_DIR)/usr" \
CONFIGURE_VARS += \
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
LIBS="-nodefaultlibs -luClibc++" \
define Build/Compile define Build/Compile
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
all install all install

View File

@ -18,64 +18,73 @@ PKG_MD5SUM:=b400d03c0e39e3e78a7327ba78f789f0
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/rrs define Package/rrs/Default
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
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/
endef
define Package/rrs
$(call Package/rrs/Default)
SECTION:=net
CATEGORY:=Network
DEPENDS+= +libopenssl
TITLE+= (with SSL support)
URL:=http://www.cycom.se/dl/rrs/ URL:=http://www.cycom.se/dl/rrs/
endef endef
define Package/rrs-nossl define Package/rrs-nossl
$(call Package/rrs/Default)
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=+uclibcxx TITLE+= (without SSL support)
TITLE:=A reverse (connecting) remote shell (without SSL support)
URL:=http://www.cycom.se/dl/rrs/
endef endef
ifneq ($(SDK),) define Build/Template
CONFIG_PACKAGE_rrs:=m
CONFIG_PACKAGE_rrs-nossl:=m
endif
define Build/Compile/Template $(STAMP_BUILT)-$(2): $(STAMP_PREPARED)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
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) $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -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="$(TARGET_LDFLAGS) -nodefaultlibs $(4) -luClibc++ -lm -lutil" \
LDFLAGSNOSSL="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -Wl,-Bdynamic,-luClibc++,-Bstatic,-lstdc++,-Bdynamic $(3) -lutil -lm -lc" \ LDFLAGSNOSSL="$(TARGET_LDFLAGS) -nodefaultlibs $(4) -luClibc++ -lm -lutil" \
$(2) $(3)
( cd $(PKG_BUILD_DIR); mv rrs rrs-$(1); ) ( cd $(PKG_BUILD_DIR); mv -f rrs rrs-$(2); )
touch $$@
$(STAMP_BUILT): $(STAMP_BUILT)-$(2)
define Package/$(1)/install
$(INSTALL_DIR) $$(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/rrs-$(2) $$(1)/usr/bin/rrs
endef endef
ifneq ($(CONFIG_PACKAGE_rrs),) endef
define Build/Compile/with-ssl
$(call Build/Compile/Template,ssl,generic,-lcrypto -lssl)
endef
endif
ifneq ($(CONFIG_PACKAGE_rrs-nossl),)
define Build/Compile/without-ssl define Build/Configure
$(call Build/Compile/Template,nossl,generic-nossl,) endef
endef
endif
define Build/Compile define Build/Compile
$(call Build/Compile/with-ssl)
$(call Build/Compile/without-ssl)
endef endef
define Package/rrs/install ifneq ($(SDK)$(CONFIG_PACKAGE_rrs),)
$(INSTALL_DIR) $(1)/usr/bin define Build/with-ssl
$(INSTALL_BIN) $(PKG_BUILD_DIR)/rrs-ssl $(1)/usr/bin/rrs $(call Build/Template,rrs,with-ssl,generic,-lcrypto -lssl)
endef endef
endif
$(eval $(Build/with-ssl))
ifneq ($(SDK)$(CONFIG_PACKAGE_rrs-nossl),)
define Build/without-ssl
$(call Build/Template,rrs-nossl,without-ssl,generic-nossl,)
endef
endif
$(eval $(Build/without-ssl))
define Package/rrs-nossl/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/rrs-nossl $(1)/usr/bin/rrs
endef
$(eval $(call BuildPackage,rrs)) $(eval $(call BuildPackage,rrs))
$(eval $(call BuildPackage,rrs-nossl)) $(eval $(call BuildPackage,rrs-nossl))

View File

@ -0,0 +1,12 @@
diff -ruN rrs-1.70-old/Makefile rrs-1.70-new/Makefile
--- rrs-1.70-old/Makefile 2004-05-30 02:14:14.000000000 +0200
+++ rrs-1.70-new/Makefile 2007-09-01 16:26:09.000000000 +0200
@@ -50,7 +50,7 @@
$(CC) $(CFLAGS) $(LDFLAGS) $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc
compile-generic-nossl:
- $(CC) -DWITHOUT_SSL $(CFLAGS) $$CFLAGS $(LDFLAGSNOSSL) $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc
+ $(CC) -DWITHOUT_SSL $(CFLAGS) $(LDFLAGSNOSSL) $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc
## qnx
compile-qnx:

View File

@ -15,7 +15,6 @@ PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/sipp PKG_SOURCE_URL:=@SF/sipp
PKG_MD5SUM:=8866e9af0d3bc29e91ebb6eab89a7f1f PKG_MD5SUM:=8866e9af0d3bc29e91ebb6eab89a7f1f
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
@ -24,13 +23,16 @@ include $(INCLUDE_DIR)/package.mk
define Package/sipp define Package/sipp
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=+uclibcxx +libpthread +libncurses DEPENDS:= +libncurses +libpthread +uclibcxx
TITLE:=test tool / traffic generator for the SIP protocol TITLE:=test tool / traffic generator for the SIP protocol
DESCRIPTION:=\ URL:=http://sipp.sourceforge.net/
SIPp is a free Open Source test tool / traffic generator for the SIP protocol.\\\ endef
It includes a few basic SipStone user agent scenarios (UAC and UAS) and\\\
establishes and releases multiple calls with the INVITE and BYE methods.\\\ define Package/sipp/description
URL:=http://sipp.sourceforge.net SIPp is a free Open Source test tool / traffic generator for the SIP
protocol. It includes a few basic SipStone user agent scenarios (UAC and
UAS) and establishes and releases multiple calls with the INVITE and BYE
methods.
endef endef
define Build/Compile define Build/Compile
@ -40,15 +42,15 @@ define Build/Compile
CPP_linux="$(TARGET_CC)" \ CPP_linux="$(TARGET_CC)" \
CCLINK_linux="$(TARGET_CC)" \ CCLINK_linux="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \ CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS_linux="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -fno-builtin -nostdinc++" \ CPPFLAGS_linux="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -fno-rtti -nostdinc++" \
LFLAGS_linux="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ LFLAGS_linux="$(TARGET_LDFLAGS)" \
LIBS="-luClibc++ -lc -lm -lgcc -lpthread -ldl -lncurses" \ LIBS="-nodefaultlibs -lncurses -luClibc++ -ldl -lpthread" \
all all
endef endef
define Package/sipp/install define Package/sipp/install
$(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/sipp $(1)/usr/sbin/
endef endef
$(eval $(call BuildPackage,sipp)) $(eval $(call BuildPackage,sipp))

View File

@ -26,24 +26,26 @@ define Package/vncrepeater
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=+uclibcxx DEPENDS:=+uclibcxx
TITLE:=UltraVNC repeater for Linux TITLE:=UltraVNC repeater for Linux
DESCRIPTION:=\
Viewer can be behind Nat router or directly connected to the internet \\\
Instead of forwarding serveral ports, you only need to forward 1 port \\\
If the PC that runs the Repeater has access to the local DNS server, \\\
you can use your local DNS names instead of 10.10.10.12.\\\
This could be handy when you have a dynamic DHCP server allocating \\\
ip adresses for your PC.
URL:=http://ultravnc.sourceforge.net/addons/repeater.html URL:=http://ultravnc.sourceforge.net/addons/repeater.html
endef endef
define Package/vncrepeater/ define Package/vncrepeater/conffiles
/etc/vncrepeater.conf /etc/vncrepeater.conf
endef endef
define Package/vncrepeater/description
Viewer can be behind Nat router or directly connected to the internet
instead of forwarding serveral ports, you only need to forward 1 port.
If the PC that runs the Repeater has access to the local DNS server,
you can use your local DNS names instead of 10.10.10.12.
This could be handy when you have a dynamic DHCP server allocating
ip adresses for your PC.
endef
define Build/Compile define Build/Compile
$(call Build/Compile/Default, \ $(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \ CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -fno-rtti -nostdinc++" \
STAGING_DIR="$(STAGING_DIR)" \ LDFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -luClibc++" \
repeater \ repeater \
) )
endef endef

View File

@ -6,7 +6,7 @@ diff -urN vncrepeater-0.12/Makefile vncrepeater-0.12.new/Makefile
+CFLAGS=-Wall +CFLAGS=-Wall
repeater: repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o repeater: repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o
- g++ $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o - g++ $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o
+ $(CC) $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o -nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -luClibc++ + $(CC) $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o $(LDFLAGS)
repeater.o: repeater.cpp repeater.o: repeater.cpp
- g++ $(CFLAGS) -c repeater.cpp - g++ $(CFLAGS) -c repeater.cpp

View File

@ -12,13 +12,9 @@ PKG_NAME:=xmail
PKG_VERSION:=1.24 PKG_VERSION:=1.24
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.xmailserver.org/ PKG_SOURCE_URL:=http://www.xmailserver.org/
PKG_MD5SUM:=106730bdbaa4fda9e90a7c22df024114 PKG_MD5SUM:=106730bdbaa4fda9e90a7c22df024114
PKG_CAT:=zcat
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -27,25 +23,27 @@ define Package/xmail
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=+uclibcxx +libopenssl DEPENDS:=+uclibcxx +libopenssl
TITLE:=advanced, fast and reliable ESMTP/POP3 mail server TITLE:=advanced, fast and reliable ESMTP/POP3 mail server
DESCRIPTION:=\
XMail is an Internet mail server featuring an SMTP, POP3 and finger server. \\\
It's incredibly easy to set up and has lots of features including : \\\
multiple domains, virtual users and spam protection.
URL:=http://www.xmailserver.org/ URL:=http://www.xmailserver.org/
endef endef
define Package/xmail/description
XMail is an Internet mail server featuring an SMTP, POP3 and finger server.
It's incredibly easy to set up and has lots of features including :
multiple domains, virtual users and spam protection.
endef
define Build/Configure define Build/Configure
$(CP) ./files/SysMachine.h $(PKG_BUILD_DIR)/ $(CP) ./files/SysMachine.h $(PKG_BUILD_DIR)/
endef endef
define Build/Compile define Build/Compile
CFLAGS="$(TARGET_CFLAGS)" \
$(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.lnx \ $(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.lnx \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
LDFLAGS="$(EXTRA_LDFLAGS) -luClibc++ -lssl -lm -lpthread -lcrypto -ldl" \ LD="\$$$$(CC)" \
WITH_SSL_INCLUDE="$(STAGING_DIR)/usr/include" \ CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -fno-rtti -nostdinc++" \
WITH_SSL_LIB="$(STAGING_DIR)/usr/lib" \ LDFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -lcrypto -lssl -luClibc++ -ldl -lm -lpthread" \
CPPFLAGS="$(TARGET_CFLAGS)" \ all
CXX="$(TARGET_CROSS)g++"
endef endef
define Package/xmail/install define Package/xmail/install