use Build/Configure/Default macro, Makefile cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5329 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=chillispot
|
||||
PKG_VERSION:=1.1.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=9d2597756af3fa14d7331b4a3651fc9b
|
||||
|
||||
PKG_SOURCE_URL:=http://www.chillispot.org/download
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.chillispot.org/download
|
||||
PKG_MD5SUM:=9d2597756af3fa14d7331b4a3651fc9b
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
@ -27,14 +27,14 @@ define Package/chillispot
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=@+PACKAGE_KMOD_TUN
|
||||
TITLE:=Wireless LAN HotSpot controller
|
||||
DESCRIPTION:=Wireless LAN HotSpot controller\\\
|
||||
ChilliSpot is an open source captive portal or wireless LAN \\\
|
||||
access point controller. It is used for authenticating users \\\
|
||||
of a wireless LAN. It supports web based login which is today's \\\
|
||||
standard for public HotSpots and it supports Wireless Protected \\\
|
||||
Access (WPA) which is the standard of the future. Authentication, \\\
|
||||
authorization and accounting (AAA) is handled by your favorite \\\
|
||||
radius server.
|
||||
DESCRIPTION:=\
|
||||
ChilliSpot is an open source captive portal or wireless LAN \\\
|
||||
access point controller. It is used for authenticating users \\\
|
||||
of a wireless LAN. It supports web based login which is today's \\\
|
||||
standard for public HotSpots and it supports Wireless Protected \\\
|
||||
Access (WPA) which is the standard of the future. Authentication, \\\
|
||||
authorization and accounting (AAA) is handled by your favorite \\\
|
||||
radius server.
|
||||
URL:=http://www.chillispot.org/
|
||||
endef
|
||||
|
||||
@ -42,43 +42,10 @@ define Package/chillispot/conffiles
|
||||
/etc/chilli.conf
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
./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 \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_NLS) \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--with-gnu-ld \
|
||||
);
|
||||
endef
|
||||
# uses GNU configure
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all install
|
||||
endef
|
||||
|
@ -12,20 +12,20 @@ PKG_NAME:=ez-ipupdate
|
||||
PKG_VERSION:=3.0.11b8
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
|
||||
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/e/ez-ipupdate \
|
||||
http://ftp.de.debian.org/debian/pool/main/e/ez-ipupdate
|
||||
PKG_MD5SUM:=000211add4c4845ffa4211841bff4fb0
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/ez-ipupdate
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=Dynamic DNS services client
|
||||
DESCRIPTION:=Dynamic DNS services client.
|
||||
URL:=http://ez-ipupdate.com/
|
||||
endef
|
||||
|
||||
@ -33,44 +33,19 @@ define Package/ez-ipupdate/conffiles
|
||||
/etc/ez-ipupdate.conf
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
./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 \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_NLS) \
|
||||
);
|
||||
endef
|
||||
# uses GNU configure
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||
endef
|
||||
|
||||
define Package/ez-ipupdate/install
|
||||
install -d -m0755 $(1)/etc
|
||||
install -m0600 ./files/$(PKG_NAME).conf $(1)/etc/
|
||||
install -d -m0755 $(1)/etc/hotplug.d/iface
|
||||
install -m0755 ./files/$(PKG_NAME).hotplug $(1)/etc/hotplug.d/iface/10-$(PKG_NAME)
|
||||
install -d -m0755 $(1)/usr/sbin
|
||||
install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
|
||||
install -m0755 $(PKG_BUILD_DIR)/ez-ipupdate $(1)/usr/sbin/
|
||||
install -d -m0755 $(1)/etc
|
||||
install -m0600 ./files/ez-ipupdate.conf $(1)/etc/
|
||||
install -d -m0755 $(1)/etc/hotplug.d/iface
|
||||
install -m0755 ./files/ez-ipupdate.hotplug $(1)/etc/hotplug.d/iface/10-ez-ipupdate
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,ez-ipupdate))
|
||||
|
@ -1,3 +1,4 @@
|
||||
#
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
@ -10,10 +11,10 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=gmediaserver
|
||||
PKG_VERSION:=0.9.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=93de0f8dcbc1353a0d0dd5b5ab4b3142
|
||||
|
||||
PKG_SOURCE_URL:=http://savannah.nongnu.org/download/gmediaserver/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://savannah.nongnu.org/download/gmediaserver/
|
||||
PKG_MD5SUM:=93de0f8dcbc1353a0d0dd5b5ab4b3142
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
@ -26,65 +27,33 @@ define Package/gmediaserver
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+id3lib +libupnp
|
||||
TITLE:=An UPnP music media server
|
||||
DESCRIPTION:=An UPnP music media server.
|
||||
URL:=http://www.nongnu.org/gmediaserver/
|
||||
endef
|
||||
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
$(call Build/Configure/Default, \
|
||||
--disable-rpath \
|
||||
--with-id3lib="$(STAGING_DIR)/usr" \
|
||||
--with-libupnp="$(STAGING_DIR)/usr" \
|
||||
, \
|
||||
LIBS=" -lixml -lthreadutil -lupnp -luClibc++ -lz" \
|
||||
am_cv_func_iconv=no \
|
||||
./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 \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_NLS) \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--disable-rpath \
|
||||
--with-gnu-ld \
|
||||
--with-id3lib="$(STAGING_DIR)/usr" \
|
||||
--with-libupnp="$(STAGING_DIR)/usr" \
|
||||
);
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all install
|
||||
endef
|
||||
|
||||
define Package/gmediaserver/install
|
||||
install -m0755 -d $(1)/etc/default
|
||||
install -m0644 ./files/gmediaserver.default $(1)/etc/default/gmediaserver
|
||||
install -m0755 -d $(1)/etc/init.d
|
||||
install -m0755 ./files/gmediaserver.init $(1)/etc/init.d/gmediaserver
|
||||
install -m0755 -d $(1)/usr/sbin
|
||||
install -d -m0755 $(1)/usr/sbin
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/gmediaserver $(1)/usr/sbin/
|
||||
$(RSTRIP) $(1)
|
||||
$(IPKG_BUILD) $(1) $(PACKAGE_DIR)
|
||||
install -d -m0755 $(1)/etc/default
|
||||
install -m0644 ./files/gmediaserver.default $(1)/etc/default/gmediaserver
|
||||
install -d -m0755 $(1)/etc/init.d
|
||||
install -m0755 ./files/gmediaserver.init $(1)/etc/init.d/gmediaserver
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,gmediaserver))
|
||||
|
@ -1,3 +1,4 @@
|
||||
#
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
@ -10,10 +11,10 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=icecast
|
||||
PKG_VERSION:=2.3.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=35256fbc4a93571662af2ed18fbbfcc5
|
||||
|
||||
PKG_SOURCE_URL:=http://downloads.us.xiph.org/releases/icecast/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://downloads.us.xiph.org/releases/icecast/
|
||||
PKG_MD5SUM:=35256fbc4a93571662af2ed18fbbfcc5
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
@ -26,61 +27,33 @@ define Package/icecast
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libcurl +libvorbisidec +libxml2 +libxslt
|
||||
TITLE:=A streaming media server for Ogg/Vorbis and MP3 audio streams
|
||||
DESCRIPTION:=Icecast is a streaming media server which currently supports Ogg\\\
|
||||
Vorbis and MP3 audio streams. It can be used to create an Internet\\\
|
||||
radio station or a privately running jukebox and many things in\\\
|
||||
between. It is very versatile in that new formats can be added\\\
|
||||
relatively easily and supports open standards for commuincation and\\\
|
||||
interaction.\\\
|
||||
DESCRIPTION:=\
|
||||
Icecast is a streaming media server which currently supports Ogg \\\
|
||||
Vorbis and MP3 audio streams. It can be used to create an Internet \\\
|
||||
radio station or a privately running jukebox and many things in \\\
|
||||
between. It is very versatile in that new formats can be added \\\
|
||||
relatively easily and supports open standards for commuincation and \\\
|
||||
interaction.
|
||||
URL:=http://www.icecast.org/
|
||||
endef
|
||||
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include/libxml2 " \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
|
||||
./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 \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_NLS) \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--disable-rpath \
|
||||
--with-gnu-ld \
|
||||
--enable-yp \
|
||||
--with-curl="yes" \
|
||||
--with-curl-config="$(STAGING_DIR)/usr/bin/curl-config" \
|
||||
--with-ogg="$(STAGING_DIR)/usr" \
|
||||
--with-speex="no" \
|
||||
--with-theora="no" \
|
||||
--with-vorbis="$(STAGING_DIR)/usr" \
|
||||
--with-xslt-config="$(STAGING_DIR)/usr/bin/xslt-config" \
|
||||
);
|
||||
$(call Build/Configure/Default, \
|
||||
--enable-yp \
|
||||
--with-curl="yes" \
|
||||
--with-curl-config="$(STAGING_DIR)/usr/bin/curl-config" \
|
||||
--with-ogg="$(STAGING_DIR)/usr" \
|
||||
--with-speex="no" \
|
||||
--with-theora="no" \
|
||||
--with-vorbis="$(STAGING_DIR)/usr" \
|
||||
--with-xslt-config="$(STAGING_DIR)/usr/bin/xslt-config" \
|
||||
, \
|
||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include/libxml2 " \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all install
|
||||
|
@ -1,3 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# $Id$
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
@ -5,10 +11,10 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=knock
|
||||
PKG_VERSION:=0.5
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=ca09d61458974cff90a700aba6120891
|
||||
|
||||
PKG_SOURCE_URL:=http://www.zeroflux.org/knock/files/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.zeroflux.org/knock/files/
|
||||
PKG_MD5SUM:=ca09d61458974cff90a700aba6120891
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
@ -16,83 +22,54 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/knock
|
||||
define Package/knock/Default
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libpcap
|
||||
TITLE:=A port-knocking client
|
||||
DESCRIPTION:=It listens to all traffic on an ethernet (or PPP) interface,\\\
|
||||
looking for special "knock" sequences of port-hits. A client\\\
|
||||
makes these port-hits by sending a TCP (or UDP) packet to a\\\
|
||||
port on the server. This port need not be open -- since\\\
|
||||
knockd listens at the link-layer level, it sees all traffic\\\
|
||||
even if it's destined for a closed port. When the server\\\
|
||||
detects a specific sequence of port-hits, it runs a command\\\
|
||||
defined in its configuration file. This can be used to open\\\
|
||||
up holes in a firewall for quick access.\\\
|
||||
TITLE:=Port-knocking
|
||||
DESCRIPTION:=\
|
||||
It listens to all traffic on an ethernet (or PPP) interface, \\\
|
||||
looking for special "knock" sequences of port-hits. A client \\\
|
||||
makes these port-hits by sending a TCP (or UDP) packet to a \\\
|
||||
port on the server. This port need not be open -- since \\\
|
||||
knockd listens at the link-layer level, it sees all traffic \\\
|
||||
even if it's destined for a closed port. When the server \\\
|
||||
detects a specific sequence of port-hits, it runs a command \\\
|
||||
defined in its configuration file. This can be used to open \\\
|
||||
up holes in a firewall for quick access.
|
||||
URL:=http://www.zeroflux.org/cgi-bin/cvstrac/knock/wiki
|
||||
endef
|
||||
|
||||
define Package/knock
|
||||
$(call Package/knock/Default)
|
||||
TITLE+= client
|
||||
DESCRIPTION+=\\\
|
||||
\\\
|
||||
This package contains the port-knocking client.
|
||||
endef
|
||||
|
||||
define Package/knockd
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libpcap
|
||||
TITLE:=A port-knocking server
|
||||
DESCRIPTION:=It listens to all traffic on an ethernet (or PPP) interface,\\\
|
||||
looking for special "knock" sequences of port-hits. A client\\\
|
||||
makes these port-hits by sending a TCP (or UDP) packet to a\\\
|
||||
port on the server. This port need not be open -- since\\\
|
||||
knockd listens at the link-layer level, it sees all traffic\\\
|
||||
even if it's destined for a closed port. When the server\\\
|
||||
detects a specific sequence of port-hits, it runs a command\\\
|
||||
defined in its configuration file. This can be used to open\\\
|
||||
up holes in a firewall for quick access.\\\
|
||||
URL:=http://www.zeroflux.org/cgi-bin/cvstrac/knock/wiki
|
||||
$(call Package/knock/Default)
|
||||
TITLE+= server
|
||||
DESCRIPTION+=\\\
|
||||
\\\
|
||||
This package contains the port-knocking server.
|
||||
endef
|
||||
|
||||
define Package/knockd/conffiles
|
||||
/etc/knockd.conf
|
||||
endef
|
||||
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
$(call Build/Configure/Default, \
|
||||
, \
|
||||
CFLAGS="$$$$CFLAGS $$$$CPPFLAGS" \
|
||||
ac_cv_lib_pcap_pcap_open_live=yes \
|
||||
./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-shared \
|
||||
--disable-static \
|
||||
--disable-rpath \
|
||||
--with-gnu-ld \
|
||||
);
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CFLAGS="-I$(STAGING_DIR)/usr/include" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all install
|
||||
endef
|
||||
|
@ -12,12 +12,12 @@ PKG_NAME:=matrixtunnel
|
||||
PKG_VERSION:=0.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://znerol.ch/files
|
||||
PKG_MD5SUM:=ffbbe0c50cc1863f6080aca302f7e2c8
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
@ -27,55 +27,29 @@ define Package/matrixtunnel
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libmatrixssl
|
||||
TITLE:=SSL tunnel based on matrixssl
|
||||
DESCRIPTION:=SSL tunnel based on matrixssl.\\\
|
||||
matrixtunnel is a stripped down version of stunnel \\\
|
||||
based on matrixssl library
|
||||
DESCRIPTION:=\
|
||||
matrixtunnel is a stripped down version of stunnel \\\
|
||||
based on matrixssl library.
|
||||
URL:=http://znerol.ch/svn/matrixtunnel/trunk/
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--program-prefix="" \
|
||||
--program-suffix="" \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--bindir=/usr/sbin \
|
||||
--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 \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_NLS) \
|
||||
--without-libiconv-prefix \
|
||||
--without-libintl-prefix \
|
||||
--with-matrixssl-src=$(BUILD_DIR)/matrixssl \
|
||||
);
|
||||
$(call Build/Configure/Default, \
|
||||
--without-libiconv-prefix \
|
||||
--without-libintl-prefix \
|
||||
--with-matrixssl-src="$(BUILD_DIR)/matrixssl" \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)/src \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all install
|
||||
endef
|
||||
|
||||
define Package/matrixtunnel/install
|
||||
install -d -m0755 $(1)/usr/sbin
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/matrixtunnel $(1)/usr/sbin/
|
||||
install -d -m0755 $(1)/usr/bin
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/matrixtunnel $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,matrixtunnel))
|
||||
|
@ -11,11 +11,12 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=mtr
|
||||
PKG_VERSION:=0.69
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=58904d6d8d70114195cdeb653d56914c
|
||||
|
||||
PKG_SOURCE_URL:=ftp://ftp.bitwizard.nl/mtr/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=ftp://ftp.bitwizard.nl/mtr/
|
||||
PKG_MD5SUM:=58904d6d8d70114195cdeb653d56914c
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
@ -26,63 +27,38 @@ define Package/mtr
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libncurses
|
||||
TITLE:=Full screen ncurses traceroute tool
|
||||
DESCRIPTION:=mtr combines the functionality of the 'traceroute' and 'ping' programs\\\
|
||||
DESCRIPTION:=\
|
||||
mtr combines the functionality of the 'traceroute' and 'ping' programs \\\
|
||||
in a single network diagnostic tool.\\\
|
||||
As mtr starts, it investigates the network connection between the host\\\
|
||||
mtr runs on and a user-specified destination host. After it\\\
|
||||
determines the address of each network hop between the machines,\\\
|
||||
it sends a sequence ICMP ECHO requests to each one to determine the\\\
|
||||
quality of the link to each machine. As it does this, it prints\\\
|
||||
running statistics about each machine.\\\
|
||||
As mtr starts, it investigates the network connection between the host \\\
|
||||
mtr runs on and a user-specified destination host. After it \\\
|
||||
determines the address of each network hop between the machines, \\\
|
||||
it sends a sequence ICMP ECHO requests to each one to determine the \\\
|
||||
quality of the link to each machine. As it does this, it prints \\\
|
||||
running statistics about each machine.
|
||||
URL:=http://www.bitwizard.nl/mtr/
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
|
||||
touch configure.in; \
|
||||
touch aclocal.m4; \
|
||||
touch Makefile.in; \
|
||||
touch img/Makefile.in; \
|
||||
touch stamp-h.in; \
|
||||
touch config.h.in; \
|
||||
touch configure; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
ac_cv_lib_resolv_res_mkquery=yes \
|
||||
./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 \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_NLS) \
|
||||
--without-gtk \
|
||||
(cd $(PKG_BUILD_DIR); touch \
|
||||
configure.in \
|
||||
aclocal.m4 \
|
||||
Makefile.in \
|
||||
img/Makefile.in \
|
||||
stamp-h.in \
|
||||
config.h.in \
|
||||
configure \
|
||||
);
|
||||
$(call Build/Configure/Default, \
|
||||
--without-gtk \
|
||||
, \
|
||||
ac_cv_lib_resolv_res_mkquery=yes \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
all install
|
||||
endef
|
||||
|
||||
|
@ -5,18 +5,20 @@
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# $Id$
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=nsca
|
||||
PKG_VERSION:=2.6
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/nagios
|
||||
PKG_MD5SUM:=d526a3ac3c29648c729c5fb4fb332488
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/send-nsca
|
||||
@ -24,7 +26,6 @@ define Package/send-nsca
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libmcrypt
|
||||
TITLE:=Nagios Service Check Acceptor (NSCA) client
|
||||
DESCRIPTION:=Nagios Service Check Acceptor (NSCA) client.
|
||||
URL:=http://www.nagios.org/
|
||||
endef
|
||||
|
||||
@ -33,32 +34,11 @@ define Package/send-nsca/conffiles
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
./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 \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_NLS) \
|
||||
--with-libmcrypt-prefix="$(STAGING_DIR)/usr" \
|
||||
);
|
||||
$(call Build/Configure/Default, \
|
||||
--with-libmcrypt-prefix="$(STAGING_DIR)/usr" \
|
||||
, \
|
||||
CFLAGS="$$$$CFLAGS $$$$CPPFLAGS" \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
|
@ -11,11 +11,12 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=slurm
|
||||
PKG_VERSION:=0.3.3
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=e68d09202b835c644f7f6b7f070f29a2
|
||||
|
||||
PKG_SOURCE_URL:=http://www.wormulon.net/files/code/slurm/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.wormulon.net/files/code/slurm/
|
||||
PKG_MD5SUM:=e68d09202b835c644f7f6b7f070f29a2
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
@ -26,54 +27,32 @@ define Package/slurm
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libncurses
|
||||
TITLE:=A realtime network interface monitor
|
||||
DESCRIPTION:=A realtime network interface monitor with the following features:\\\
|
||||
* realtime traffic statistics divided into incoming and outgoing\\\
|
||||
* optional combined view\\\
|
||||
* can monitor any kind of network interface\\\
|
||||
* shows detailed statistics about the interface.\\\
|
||||
* it's themeable\\\
|
||||
DESCRIPTION:=\
|
||||
A realtime network interface monitor with the following features: \\\
|
||||
- realtime traffic statistics divided into incoming and outgoing ;\\\
|
||||
- optional combined view ;\\\
|
||||
- can monitor any kind of network interface ;\\\
|
||||
- shows detailed statistics about the interface ;\\\
|
||||
- it's themeable.
|
||||
URL:=http://www.wormulon.net/projects/slurm
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
|
||||
touch configure.in; \
|
||||
touch aclocal.m4; \
|
||||
touch Makefile.in; \
|
||||
touch config.h.in; \
|
||||
touch configure; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
(cd $(PKG_BUILD_DIR); touch \
|
||||
configure.in \
|
||||
aclocal.m4 \
|
||||
Makefile.in \
|
||||
config.h.in \
|
||||
configure \
|
||||
);
|
||||
$(call Build/Configure/Default, \
|
||||
, \
|
||||
LIBS="-lncurses" \
|
||||
ac_cv_lib_ncurses_use_default_colors=yes \
|
||||
./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 \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_NLS) \
|
||||
);
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all install
|
||||
|
@ -11,13 +11,13 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=tcpdump
|
||||
PKG_VERSION:=3.9.4
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=4b64755bbc8ba1af49c747271a6df5b8
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.tcpdump.org/release/ \
|
||||
http://ftp.gwdg.de/pub/misc/tcpdump/ \
|
||||
http://www.at.tcpdump.org/ \
|
||||
http://www.br.tcpdump.org/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_MD5SUM:=4b64755bbc8ba1af49c747271a6df5b8
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
@ -30,49 +30,21 @@ define Package/tcpdump
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libpcap
|
||||
TITLE:=Network monitoring and data acquisition tool
|
||||
DESCRIPTION:=A tool for network monitoring and data acquisition.
|
||||
URL:=http://www.tcpdump.org/
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
|
||||
BUILD_CC="$(TARGET_CC)" HOSTCC="$(HOSTCC)" \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
ac_cv_linux_vers=2 \
|
||||
$(call Build/Configure/Default, \
|
||||
--enable-ipv6 \
|
||||
--without-crypto \
|
||||
, \
|
||||
BUILD_CC="$(TARGET_CC)" \
|
||||
HOSTCC="$(HOSTCC)" \
|
||||
td_cv_buggygetaddrinfo="no" \
|
||||
./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 \
|
||||
$(DISABLE_NLS) \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-ipv6 \
|
||||
--without-crypto \
|
||||
);
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CCOPT="$(TARGET_CFLAGS)" INCLS="-I. -I$(STAGING_DIR)/usr/include" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
|
@ -12,49 +12,25 @@ PKG_NAME:=wput
|
||||
PKG_VERSION:=0.5
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
||||
PKG_SOURCE_URL:=@SF/wput
|
||||
PKG_MD5SUM:=441b2e07219f78167b29a7ac33488fff
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/wput
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=A wget-like command-line FTP client
|
||||
DESCRIPTION:=A wget-like command-line FTP client.
|
||||
URL:=http://itooktheredpill.dyndns.org/wput/
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
./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 \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_NLS) \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--disable-g-switch \
|
||||
$(call Build/Configure/Default, \
|
||||
--disable-g-switch \
|
||||
)
|
||||
endef
|
||||
|
||||
|
@ -12,12 +12,12 @@ PKG_NAME:=xinetd
|
||||
PKG_VERSION:=2.3.13
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.xinetd.org/
|
||||
PKG_MD5SUM:=4295b5fe12350f09b5892b363348ac8b
|
||||
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
|
||||
@ -26,7 +26,6 @@ define Package/xinetd
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=A powerful and secure super-server
|
||||
DESCRIPTION:=A powerful and secure super-server.
|
||||
URL:=http://www.xinetd.org/
|
||||
endef
|
||||
|
||||
@ -35,54 +34,26 @@ define Package/xinetd/conffiles
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
||||
./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 \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_NLS) \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--without-libwrap \
|
||||
--with-loadavg \
|
||||
);
|
||||
$(call Build/Configure/Default, \
|
||||
--without-libwrap \
|
||||
--with-loadavg \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
build install
|
||||
endef
|
||||
|
||||
define Package/xinetd/install
|
||||
install -d -m0755 $(1)/usr/sbin
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/xinetd $(1)/usr/sbin/
|
||||
install -d -m0755 $(1)/etc
|
||||
install -m0644 ./files/xinetd.conf $(1)/etc/xinetd.conf
|
||||
install -d -m0755 $(1)/etc/xinetd.d
|
||||
install -d -m0755 $(1)/etc/init.d
|
||||
install -m0755 ./files/xinetd.init $(1)/etc/init.d/xinetd
|
||||
install -d -m0755 $(1)/usr/sbin
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/xinetd $(1)/usr/sbin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,xinetd))
|
||||
|
@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=xsupplicant
|
||||
PKG_VERSION:=1.2.7
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=f66c49cd6e4f331d05bf83513ed91990
|
||||
|
||||
PKG_SOURCE_URL:=@SF/open1x
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/open1x
|
||||
PKG_MD5SUM:=f66c49cd6e4f331d05bf83513ed91990
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
@ -27,8 +27,9 @@ define Package/xsupplicant
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libopenssl +wireless-tools
|
||||
TITLE:=A fully compliant 802.1x authenticator
|
||||
DESCRIPTION:=This software allows a GNU/Linux or BSD workstation to authenticate with\\\
|
||||
a RADIUS server using 802.1x and various EAP protocols.\\\
|
||||
DESCRIPTION:=\
|
||||
This software allows a GNU/Linux or BSD workstation to authenticate with \\\
|
||||
a RADIUS server using 802.1x and various EAP protocols.
|
||||
URL:=http://open1x.sourceforge.net/
|
||||
endef
|
||||
|
||||
@ -37,48 +38,22 @@ define Package/xsupplicant/conffiles
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
|
||||
touch configure.in; \
|
||||
touch aclocal.m4; \
|
||||
touch Makefile.in; \
|
||||
touch configure; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include \
|
||||
-I$(PKG_BUILD_DIR)/lib/libxsupconfig/ \
|
||||
-I$(STAGING_DIR)/usr/include/madwifi" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
CC="$(TARGET_CROSS)gcc" \
|
||||
./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 \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_NLS) \
|
||||
--with-openssl="$(STAGING_DIR)/usr" \
|
||||
--with-madwifi-path="$(STAGING_DIR)/usr/include/madwifi" \
|
||||
(cd $(PKG_BUILD_DIR); touch \
|
||||
configure.in \
|
||||
aclocal.m4 \
|
||||
Makefile.in \
|
||||
configure \
|
||||
);
|
||||
$(call Build/Configure/Default, \
|
||||
--with-openssl="$(STAGING_DIR)/usr" \
|
||||
--with-madwifi-path="$(STAGING_DIR)/usr/include/madwifi" \
|
||||
, \
|
||||
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/madwifi" \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CC="$(TARGET_CC)" \
|
||||
DESTDIR=$(PKG_INSTALL_DIR) \
|
||||
all install
|
||||
endef
|
||||
|
Reference in New Issue
Block a user