massive Makefile cleanup, add missing 'svn:keywords' property

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2006-10-30 13:51:50 +00:00
parent d6c03f5259
commit 5cb332fb35
139 changed files with 1341 additions and 1322 deletions

View File

@ -12,13 +12,12 @@ PKG_NAME:=osiris
PKG_VERSION:=4.2.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://osiris.shmoo.com/data/
PKG_MD5SUM:=11445f7d8dec737f0be89357f5c5bcae
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
@ -28,7 +27,6 @@ define Package/osirisd
CATEGORY:=Administration
DEPENDS:=+libopenssl
TITLE:=Host integrity monitoring system (scanning agent)
DESCRIPTION:=an Host Integrity Monitoring System (scanning agent)
URL:=http://www.hostintegrity.com/osiris
endef
@ -42,8 +40,6 @@ define Build/Configure
endef
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)" \
@ -52,10 +48,10 @@ define Build/Compile
endef
define Package/osirisd/install
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/osirisd.init $(1)/etc/init.d/osirisd
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/osirisd $(1)/usr/sbin/
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/osirisd.init $(1)/etc/init.d/osirisd
endef
$(eval $(call BuildPackage,osirisd))

View File

@ -4,7 +4,7 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 4112 2006-07-02 20:33:21Z nico $
# $Id$
include $(TOPDIR)/rules.mk

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.

View File

@ -49,8 +49,8 @@ define Build/Compile
CFLAGS="$(TARGET_CFLAGS) -DNO_INET6_OPTION" \
CXX="$(TARGET_CROSS)g++" \
CC="$(TARGET_CC)" \
STAGING_DIR=$(STAGING_DIR) \
DESTDIR=$(PKG_INSTALL_DIR) \
STAGING_DIR="$(STAGING_DIR)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
PREFIX=/usr/ \
install
endef

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.

View File

@ -4,38 +4,33 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: $
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=bzip2
PKG_VERSION:=1.0.3
PKG_RELEASE:=1
PKG_MD5SUM:=8a716bebecb6e647d2e8a29ea5d8447f
PKG_SOURCE_URL:=http://www.bzip.org/$(PKG_VERSION)/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.bzip.org/$(PKG_VERSION)/
PKG_MD5SUM:=8a716bebecb6e647d2e8a29ea5d8447f
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
define Package/libbzip2
SECTION:=libs
CATEGORY:=Libraries
TITLE:=bzip2 is a freely available, patent free, high-quality data compressor.
DESCRIPTION:=bzip2 is a freely available, patent free, high-quality data compressor.
URL:=http://www.bzip.org
SECTION:=libs
CATEGORY:=Libraries
TITLE:=bzip2 is a freely available, patent free, high-quality data compressor.
URL:=http://www.bzip.org
endef
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)" \
libbz2.a
endef
@ -48,8 +43,8 @@ endef
define Build/UninstallDev
rm -rf \
$(STAGING_DIR)/usr/include/bzlib.h \
$(STAGING_DIR)/usr/lib/libbz2.a
$(STAGING_DIR)/usr/include/bzlib.h \
$(STAGING_DIR)/usr/lib/libbz2.a
endef
$(eval $(call BuildPackage,libbzip2))

View File

@ -1,46 +1,43 @@
# $Id: Makefile 3843 2006-05-30 18:55:52Z nbd $
#
# 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
PKG_NAME:=cgilib
PKG_VERSION:=0.5
PKG_RELEASE:=1
PKG_MD5SUM:=5187ba11b2ec165b6c5b6629087733b0
PKG_SOURCE_URL:=http://www.infodrom.org/projects/cgilib/download
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.infodrom.org/projects/cgilib/download
PKG_MD5SUM:=5187ba11b2ec165b6c5b6629087733b0
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
define Package/cgilib
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Simple CGI Library
DESCRIPTION:=Simple CGI Library.
URL:=http://www.infodrom.org/projects/cgilib/
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Simple CGI Library
URL:=http://www.infodrom.org/projects/cgilib/
endef
define Build/Configure
endef
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
OFLAGS="$(TARGET_CFLAGS)" \
all
endef
define Package/cgilib/install
install -m0755 -d $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libcgi.so.* $(1)/usr/lib/
endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_BUILD_DIR)/cgi.h $(STAGING_DIR)/usr/include/
@ -51,8 +48,13 @@ endef
define Build/UninstallDev
rm -rf \
$(STAGING_DIR)/usr/include/cgi.h \
$(STAGING_DIR)/usr/lib/libcgi.{a,so*}
$(STAGING_DIR)/usr/include/cgi.h \
$(STAGING_DIR)/usr/lib/libcgi.{a,so*}
endef
define Package/cgilib/install
install -d -m0755 $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libcgi.so.* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,cgilib))

View File

@ -4,8 +4,7 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Makefile for libexif
# $Id: $
# $Id$
include $(TOPDIR)/rules.mk
@ -13,12 +12,12 @@ PKG_NAME:=libexif
PKG_VERSION:=0.6.13
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/libexif
PKG_MD5SUM:=1b1e2b495c5aa20c08725f30545a110b
PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
@ -27,35 +26,26 @@ define Package/libexif
SECTION:=libs
CATEGORY:=Libraries
TITLE:=library for jpeg files with exif tags
DESCRIPTION:=library for jpeg files with exif tags\\\
URL:=http://libexif.sourceforge.net/
endef
BIG_ENDIAN:=no
ifeq ($(CONFIG_BIG_ENDIAN),y)
BIG_ENDIAN:=yes
endif
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--enable-static \
--without-libiconv-prefix,ac_cv_c_bigendian=$(BIG_ENDIAN))
$(call Build/Configure/Default, \
--enable-shared \
--enable-static \
--disable-rpath \
--without-libiconv-prefix \
--without-libintl-prefix \
)
endef
define Build/Compile
$(call Build/Compile/Default, \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install \
)
endef
define Package/libexif/install
install -m0755 -d $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libexif*.so.* $(1)/usr/lib/
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/bin
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/libexif $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
@ -68,4 +58,9 @@ define Build/UninstallDev
$(STAGING_DIR)/usr/lib/libexif*.{a,so*}
endef
define Package/libexif/install
install -d -m0755 $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libexif*.so.* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libexif))

View File

@ -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:=libffi-sable
PKG_VERSION:=3325
PKG_RELEASE:=3
PKG_MD5SUM:=0c32eaaea0269c5fbe156fcd0be3e5bd
PKG_SOURCE_URL:=http://sablevm.org/download/snapshot/2005-01-21/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://sablevm.org/download/snapshot/2005-01-21/
PKG_MD5SUM:=0c32eaaea0269c5fbe156fcd0be3e5bd
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -25,32 +26,28 @@ define Package/libffi-sable
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Foreign Function Interface library (for sablevm)
DESCRIPTION:=The libffi library provides a portable, high level programming\\\
interface to various calling conventions. This allows a programmer to\\\
call any function specified by a call interface description at run\\\
time.\\\
DESCRIPTION:=\
The libffi library provides a portable, high level programming \\\
interface to various calling conventions. This allows a programmer to \\\
call any function specified by a call interface description at run \\\
time.
URL:=http://sources.redhat.com/libffi/
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--enable-static \
--disable-debug)
$(call Build/Configure/Default, \
--enable-shared \
--enable-static \
--disable-debug \
)
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/libffi-sable/install
install -m0755 -d $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libffi.so.* $(1)/usr/lib/
endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/ffi{,target}.h $(STAGING_DIR)/usr/include/
@ -64,4 +61,9 @@ define Build/UninstallDev
$(STAGING_DIR)/usr/lib/libffi.{a,so*}
endef
define Package/libffi-sable/install
install -d -m0755 $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libffi.so.* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libffi-sable))

View File

@ -4,7 +4,7 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: $
# $Id$
include $(TOPDIR)/rules.mk

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.

View File

@ -4,7 +4,7 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 4153 2006-07-18 16:58:52Z florian $
# $Id$
include $(TOPDIR)/rules.mk

View File

@ -12,12 +12,12 @@ PKG_NAME:=libupnp
PKG_VERSION:=1.2.1a
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/upnp
PKG_MD5SUM:=e72b3550bf064eedf080f16f09688891
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
@ -27,10 +27,10 @@ define Package/libupnp
CATEGORY:=Libraries
DEPENDS:=+libpthread
TITLE:=UPnP SDK library
DESCRIPTION:=UPnP (Universal Plug and Play) SDK library.\\\
The Universal Plug and Play (UPnP) SDK for Linux provides support \\\
for building UPnP-compliant control points, devices, and bridges \\\
on Linux.
DESCRIPTION:=\
The Universal Plug and Play (UPnP) SDK for Linux provides support \\\
for building UPnP-compliant control points, devices, and bridges \\\
on Linux.
URL:=http://upnp.sourceforge.net/
endef
@ -44,11 +44,6 @@ define Build/Compile
STRIP=/bin/true
endef
define Package/libupnp/install
install -m0755 -d $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/upnp/bin/lib{ixml,threadutil,upnp}.so $(1)/usr/lib/
endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include/upnp
$(CP) $(PKG_BUILD_DIR)/upnp/inc/*.h $(STAGING_DIR)/usr/include/upnp/
@ -62,4 +57,9 @@ define Build/UninstallDev
$(STAGING_DIR)/usr/lib/lib{ixml,threadutil,upnp}.so
endef
define Package/libupnp/install
install -d -m0755 $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/upnp/bin/lib{ixml,threadutil,upnp}.so $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libupnp))

View File

@ -12,13 +12,12 @@ PKG_NAME:=matrixssl
PKG_VERSION:=1.2.4
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://nbd.vd-s.ath.cx/openwrt
PKG_MD5SUM:=771c1489488e62668d673478311d63ca
PKG_CAT:=zcat
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
@ -27,7 +26,6 @@ define Package/libmatrixssl
CATEGORY:=Libraries
DEPENDS:=+libpthread
TITLE:=Embedded SSL implementation
DESCRIPTION:=An embedded SSL implementation.
URL:=http://www.matrixssl.org/
endef
@ -40,11 +38,6 @@ define Build/Compile
DFLAGS="$(TARGET_CFLAGS) -Wall"
endef
define Package/libmatrixssl/install
install -d -m0755 $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/src/libmatrixssl.so.* $(1)/usr/lib/
endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include/matrixSsl
$(CP) $(PKG_BUILD_DIR)/matrixSsl.h $(STAGING_DIR)/usr/include/matrixSsl
@ -59,4 +52,9 @@ define Build/UninstallDev
$(STAGING_DIR)/usr/lib/libmatrixssl.so*
endef
define Package/libmatrixssl/install
install -d -m0755 $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/src/libmatrixssl.so.* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libmatrixssl))

View File

@ -1,14 +1,20 @@
# $Id: Makefile 3843 2006-05-30 18:55:52Z nbd $
#
# 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
PKG_NAME:=popt
PKG_VERSION:=1.7
PKG_RELEASE:=4
PKG_MD5SUM:=5988e7aeb0ae4dac8d83561265984cc9
PKG_SOURCE_URL:=ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/
PKG_MD5SUM:=5988e7aeb0ae4dac8d83561265984cc9
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -17,30 +23,25 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
define Package/libpopt
SECTION:=libs
CATEGORY:=Libraries
TITLE:=A command line option parsing library
DESCRIPTION:=A command line option parsing library
URL:=ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/
SECTION:=libs
CATEGORY:=Libraries
TITLE:=A command line option parsing library
URL:=ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared --enable-static)
$(call Build/Configure/Default, \
--enable-shared \
--enable-static \
)
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/libpopt/install
install -m0755 -d $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.so.* $(1)/usr/lib/
endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/popt.h $(STAGING_DIR)/usr/include/
@ -51,8 +52,13 @@ endef
define Build/UninstallDev
rm -rf \
$(STAGING_DIR)/usr/include/popt.h \
$(STAGING_DIR)/usr/lib/libpopt.{a,so*}
$(STAGING_DIR)/usr/include/popt.h \
$(STAGING_DIR)/usr/lib/libpopt.{a,so*}
endef
define Package/libpopt/install
install -d -m0755 $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.so.* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libpopt))

View File

@ -4,7 +4,7 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 3843 2006-05-30 18:55:52Z florian $
# $Id$
include $(TOPDIR)/rules.mk

View File

@ -4,7 +4,7 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: $
# $Id$
include $(TOPDIR)/rules.mk

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=motion
PKG_VERSION:=3.2.6
PKG_RELEASE:=1
PKG_MD5SUM:=71e6bd13fcca70372e9b7c7806d62b30
PKG_SOURCE_URL:=@SF/motion
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/motion
PKG_MD5SUM:=71e6bd13fcca70372e9b7c7806d62b30
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -27,29 +27,34 @@ define Package/motion
CATEGORY:=Multimedia
DEPENDS:=+libjpeg
TITLE:=webcam motion sensing and logging
DESCRIPTION:=Motion is a software motion detector
URL:=http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
endef
define Package/motion/conffiles
/etc/motion.conf
endef
define Build/Configure
$(call Build/Configure/Default,--without-ffmpeg \
--without-jpeg-mmx \
--without-mysql \
--without-pgsql \
)
$(call Build/Configure/Default, \
--without-ffmpeg \
--without-jpeg-mmx \
--without-mysql \
--without-pgsql \
)
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/motion/install
install -d -m0755 $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/motion-dist.conf $(1)/etc/motion.conf
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/motion $(1)/usr/bin/
endef
$(eval $(call BuildPackage,motion))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=peercast
PKG_VERSION:=0.1214
PKG_RELEASE:=1
PKG_MD5SUM:=4e8449cde7135ad97f788e67e1bd64ee
PKG_SOURCE_URL:=http://www.cti.ecp.fr/~beauxir5/peercast
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.cti.ecp.fr/~beauxir5/peercast
PKG_MD5SUM:=4e8449cde7135ad97f788e67e1bd64ee
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -27,10 +27,11 @@ define Package/peercast
CATEGORY:=Multimedia
DEPENDS:=+libpthread +uclibcxx
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.\\\
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/
endef
@ -39,31 +40,28 @@ define Package/peercast/conffiles
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--disable-static \
--with-gnu-ld \
--enable-staticbin, \
$(TARGET_CONFIGURE_OPTS) \
BUILD_CC="$(TARGET_CC)" HOSTCC="$(HOSTCC)" \
CFLAGS="$(TARGET_CFLAGS)" \
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -nostdinc++ -nodefaultlibs" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
LIBS="-nodefaultlibs -luClibc++ -lpthread")
$(call Build/Configure/Default, \
--enable-staticbin \
, \
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
LIBS="-nodefaultlibs -luClibc++ -lpthread -lc -lm" \
)
endef
define Build/Compile
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" all install)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/peercast/install
install -m0755 -d $(1)/usr/sbin
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/peercast $(1)/usr/sbin/
install -m0755 -d $(1)/usr/share/peercast/html
install -d -m0755 $(1)/usr/share/peercast/html
$(CP) $(PKG_INSTALL_DIR)/usr/share/peercast/html/en $(1)/usr/share/peercast/html/
install -m0755 -d $(1)/etc
install -d -m0755 $(1)/etc
install -m0644 ./files/peercast.ini $(1)/etc/
install -m0755 -d $(1)/etc/init.d
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/peercast.init $(1)/etc/init.d/peercast
endef

View File

@ -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:=aircrack-ng
PKG_VERSION:=0.6.2
PKG_RELEASE:=1
PKG_MD5SUM:=0b1a9fb6818822f933336efc9fff316b
PKG_SOURCE_URL:=http://download.aircrack-ng.org/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://download.aircrack-ng.org/
PKG_MD5SUM:=0b1a9fb6818822f933336efc9fff316b
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -24,9 +25,8 @@ include $(INCLUDE_DIR)/package.mk
define Package/aircrack-ng
SECTION:=net
CATEGORY:=Network
TITLE:=Aircrack-ng the next generation of aircrack with new features
DEPENDS:=+libpthread
DESCRIPTION:=Aircrack-ng the next generation of aircrack with new features
TITLE:=Aircrack-ng the next generation of aircrack with new features
URL:=http://www.aircrack-ng.org
endef

View File

@ -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:=amwall
PKG_VERSION:=0.1.0
PKG_RELEASE:=1
PKG_MD5SUM:=a8b6438e7fd9ccadc9f68824ae62349c
PKG_SOURCE_URL:=ftp://ftp.amselinux.net/source/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=ftp://ftp.amselinux.net/source/
PKG_MD5SUM:=a8b6438e7fd9ccadc9f68824ae62349c
PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,7 +27,6 @@ define Package/amwall
CATEGORY:=Network
DEPENDS:=+libamsel
TITLE:=PF to iptables
DESCRIPTION:=PF to iptables
URL:=http://www.amselinux.net
endef
@ -41,7 +41,7 @@ define Build/Compile
OPT_LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
PREFIX="/usr" \
CONFIG="$(PKG_BUILD_DIR)/etc/amsel" \
DESTDIR=$(PKG_INSTALL_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef

View File

@ -4,7 +4,7 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 4091 2006-06-27 00:35:46Z mbm $
# $Id$
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk

View File

@ -11,14 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=arpd
PKG_VERSION:=0.2
PKG_RELEASE:=1
PKG_MD5SUM:=e2911fa9de1b92ef50deda1489ae944d
PKG_SOURCE_URL:=http://niels.xtdnet.nl/honeyd
PKG_MD5SUM:=e2911fa9de1b92ef50deda1489ae944d
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://niels.xtdnet.nl/honeyd
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
@ -27,30 +26,27 @@ define Package/arpd
CATEGORY:=Network
DEPENDS:=+libpcap +libdnet +libevent
TITLE:=A daemon to fake ARP replies
DESCRIPTION:=A daemon to fake ARP replies
URL:=http://niels.xtdnet.nl/honeyd
URL:=http://niels.xtdnet.nl/honeyd/
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared --disable-static \
--with-libdnet=$(STAGING_DIR)/usr \
--with-libevent=$(STAGING_DIR)/usr \
--with-libpcap=$(STAGING_DIR)/usr \
)
$(call Build/Configure/Default, \
--with-libdnet="$(STAGING_DIR)/usr" \
--with-libevent="$(STAGING_DIR)/usr" \
--with-libpcap="$(STAGING_DIR)/usr" \
)
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" \
LIBS="-L$(STAGING_DIR)/usr/lib -lpcap -ldnet -levent"
INCLS="-I. -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LIBS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lpcap -ldnet -levent"
endef
define Package/arpd/install
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
install -m0755 $(PKG_BUILD_DIR)/arpd $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,arpd))

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,14 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=arpwatch
PKG_VERSION:=2.1a11
PKG_RELEASE:=1
PKG_MD5SUM:=9ecd00db892737431b0e524f3e52e19e
PKG_SOURCE_URL:=http://nbd.vd-s.ath.cx/openwrt
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://nbd.vd-s.ath.cx/openwrt
PKG_MD5SUM:=9ecd00db892737431b0e524f3e52e19e
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,8 @@ define Package/arpwatch
CATEGORY:=Network
DEPENDS:=+libpcap
TITLE:=Ethernet station activity monitor
DESCRIPTION:=Ethernet monitor program for keeping track of ethernet/ip address pairings
DESCRIPTION:=\
Ethernet monitor program for keeping track of ethernet/ip address pairings
URL:=http://nbd.vd-s.ath.cx/openwrt
endef
@ -35,8 +36,6 @@ define Package/arpwatch/conffiles
endef
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
ARPDIR=/etc/arpwatch \
CCOPT="$(TARGET_CFLAGS)" \
@ -45,9 +44,10 @@ define Build/Compile
endef
define Package/arpwatch/install
install -m0755 -d $(1)/usr/sbin $(1)/etc/arpwatch
$(CP) $(PKG_BUILD_DIR)/arp{watch,snmp} $(1)/usr/sbin/
install -d -m0755 $(1)/etc/arpwatch
$(CP) $(PKG_BUILD_DIR)/arp.dat $(1)/etc/arpwatch/
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/arp{watch,snmp} $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,arpwatch))

View File

@ -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:=atftp
PKG_VERSION:=0.7
PKG_RELEASE:=1
PKG_MD5SUM:=3b27365772d918050b2251d98a9c7c82
PKG_SOURCE_URL:=ftp://ftp.mamalinux.com/pub/atftp/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.mamalinux.com/pub/atftp/
PKG_MD5SUM:=3b27365772d918050b2251d98a9c7c82
PKG_CAT:=zcat
TAR_OPTIONS += || true
@ -22,23 +23,23 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
define Package/atftp
define Package/atftp/Default
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libreadline +libpcre
MENU:=1
TITLE:=TFTP client
DESCRIPTION:=TFTP client
TITLE:=TFTP
URL:=ftp://ftp.mamalinux.com/pub/atftp/
endef
define Package/atftp
$(call Package/atftp/Default)
DEPENDS:=+libreadline +libpcre
TITLE+= client
endef
define Package/atftpd
SECTION:=net
CATEGORY:=Network
DEPENDS:=atftp +libreadline +libpcre
TITLE:=TFTP server
DESCRIPTION:=TFTP server
URL:=ftp://ftp.mamalinux.com/pub/atftp/
$(call Package/atftp/Default)
DEPENDS:=+libreadline +libpcre
TITLE+= server
endef
define Package/atftpd/postinst
@ -52,24 +53,23 @@ if [ $$? -ne 0 ]; then
fi
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) \
CFLAGS="$(TARGET_CFLAGS) -Wall -D_REENTRANT" \
DESTDIR=$(PKG_INSTALL_DIR) \
all install
all
endef
define Package/atftp/install
install -m0755 -d $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/atftp $(1)/usr/sbin
endef
define Package/atftpd/install
install -m0755 -d $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/atftpd $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,atftp))

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -11,12 +12,12 @@ PKG_NAME:=autossh
PKG_VERSION:=1.3
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://www.harding.motd.ca/autossh
PKG_SOURCE_URL:=http://www.harding.motd.ca/autossh/
PKG_MD5SUM:=0e7ec62eeca5d1b197f3ef2d0f0d417f
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,8 +27,7 @@ define Package/autossh
CATEGORY:=Network
DEPENDS:=+openssh-client
TITLE:=Autossh client
DESCRIPTION:=Autossh client
URL:=http://www.harding.motd.ca/autossh
URL:=http://www.harding.motd.ca/autossh/
endef
define Build/Compile
@ -39,7 +39,7 @@ endef
define Package/autossh/install
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
install -m0755 $(PKG_BUILD_DIR)/autossh $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,autossh))

View File

@ -11,94 +11,76 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bind
PKG_VERSION:=9.3.2-P1
PKG_RELEASE:=8
PKG_MD5SUM:=a0b86647ef6a2d5f1e759112d08e2229
PKG_SOURCE_URL:=ftp://ftp.isc.org/isc/bind9/$(PKG_VERSION)/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.isc.org/isc/bind9/$(PKG_VERSION)/
PKG_MD5SUM:=a0b86647ef6a2d5f1e759112d08e2229
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
PKG_BUILDDEP:=libopenssl
include $(INCLUDE_DIR)/package.mk
define Package/bind
define Package/bind/Default
SECTION:=net
CATEGORY:=Network
SUBMENU:=ISC's DNS suite implementation
DEPENDS:=+libopenssl
TITLE:=ISC's DNS suite implementation
DESCRIPTION:=ISC's DNS suite implementation
TITLE:=bind
URL:=http://www.isc.org/sw/bind/
endef
define Package/bind-server
$(call Package/bind)
DEFAULT:=m if ALL
TITLE:=ISC's DNS server implementation
DESCRIPTION:=ISC's DNS server implementation
$(call Package/bind/Default)
TITLE+= DNS server
endef
define Package/bind-client
$(call Package/bind)
DEFAULT:=m if ALL
TITLE:=A dynamic DNS client
DESCRIPTION:=A dynamic DNS client
$(call Package/bind/Default)
TITLE+= dynamic DNS client
endef
define Package/bind-tools
$(call Package/bind)
DEFAULT:=m if ALL
TITLE:=Bind administration tools
DESCRIPTION:=A DNS client
$(call Package/bind/Default)
TITLE+= administration tools (all)
endef
define Package/bind-rndc
$(call Package/bind)
DEFAULT:=m if ALL
TITLE:=bind administration tools (rndc and rndc-confgen only)
DESCRIPTION:=bind administration tools (rndc and rndc-confgen only)
$(call Package/bind/Default)
TITLE+= administration tools (rndc and rndc-confgen only)
endef
define Package/bind-check
$(call Package/bind)
DEFAULT:=m if ALL
TITLE:=bind administration tools (named-checkconf and named-checkzone only)
DESCRIPTION:=bind administration tools (named-checkconf and named-checkzone only)
$(call Package/bind/Default)
TITLE+= administration tools (named-checkconf and named-checkzone only)
endef
define Package/bind-dnssec
$(call Package/bind)
DEFAULT:=m if ALL
TITLE:=Bind administration tools (dnssec-keygen and dnssec-signzone only)
DESCRIPTION:=Bind administration tools (dnssec-keygen and dnssec-signzone only)
$(call Package/bind/Default)
TITLE+= administration tools (dnssec-keygen and dnssec-signzone only)
endef
define Package/bind-host
$(call Package/bind)
DEFAULT:=m if ALL
TITLE:=A simple DNS client
DESCRIPTION:=A simple DNS client
$(call Package/bind/Default)
TITLE+= simple DNS client
endef
define Package/bind-dig
$(call Package/bind)
DEFAULT:=m if ALL
TITLE:=A DNS client
DESCRIPTION:=A DNS client
$(call Package/bind/Default)
TITLE+= DNS excavation tool
endef
define Package/Build/Configure
$(call Build/Configure/Default,\
$(call Build/Configure/Default,\
--enable-shared \
--enable-static \
--enable-ipv6 \
--with-randomdev=/dev/urandom \
--with-randomdev="/dev/urandom" \
--disable-threads \
--with-openssl=$(STAGING_DIR)/usr/ \
--with-openssl="$(STAGING_DIR)/usr" \
--with-libtool \
--with-gnu-ld \
)
)
endef
define Build/Compile
@ -115,11 +97,12 @@ endef
define Package/bind-server/install
install -d -m0755 $(1)/usr/sbin
install -d -m0755 $(1)/etc/init.d
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/named $(1)/usr/sbin/
$(CP) files/bind $(1)/etc
$(CP) files/named.init $(1)/etc/init.d/named
find $(1)/etc/bind -name ".svn" | xargs rm -rf
install -d -m0755 $(1)/etc
$(CP) ./files/bind $(1)/etc/
install -d -m0755 $(1)/etc/init.d
$(CP) ./files/named.init $(1)/etc/init.d/named
find $(1)/etc/bind/ -name ".svn" | xargs rm -rf
endef
define Package/bind-client/install
@ -129,9 +112,9 @@ endef
define Package/bind-tools/install
install -d -m0755 $(1)/usr/bin
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/dig $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/host $(1)/usr/bin/
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/dnssec-keygen $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/dnssec-signzone $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/named-checkconf $(1)/usr/sbin/

View File

@ -1,9 +1,10 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 4603 2006-08-18 21:21:06Z mbm $
# $Id$
include $(TOPDIR)/rules.mk
@ -18,7 +19,6 @@ PKG_CAT:=zcat
TAR_OPTIONS += || true
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
@ -32,7 +32,7 @@ define Package/bing
endef
define Build/Compile
$(call Build/Compile/Default)
$(call Build/Compile/Default)
endef
define Package/bing/install

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bitchx
PKG_VERSION:=1.1
PKG_RELEASE:=1
PKG_MD5SUM:=611d2dda222f00c10140236f4c331572
PKG_SOURCE_URL:=http://bitchx.org/files/source/
PKG_SOURCE:=ircii-pana-$(PKG_VERSION)-final.tar.gz
PKG_SOURCE_URL:=http://bitchx.org/files/source/
PKG_MD5SUM:=611d2dda222f00c10140236f4c331572
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/BitchX
@ -29,7 +29,6 @@ define Package/bitchx
CATEGORY:=Network
DEPENDS:=+libncurses
TITLE:=popular IRC client
DESCRIPTION:=popular IRC client
URL:=http://www.bitchx.org
endef

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,19 +11,18 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bitlbee
PKG_VERSION:=1.0.1
PKG_RELEASE:=1
PKG_MD5SUM:=a4d7daa9b64898dd41a3a6d104692d9a
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://get.bitlbee.org/src \
http://get.bitlbee.be/src \
http://get.us.bitlbee.org/src \
http://ftp.snt.utwente.nl/pub/software/bitlbee/src
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=a4d7daa9b64898dd41a3a6d104692d9a
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
PKG_BUILDDEP:=openssl glib libiconv
PKG_BUILDDEP:=libopenssl glib1 libiconv
include $(INCLUDE_DIR)/package.mk
@ -31,7 +31,6 @@ define Package/bitlbee
CATEGORY:=Network
DEPENDS:=+libopenssl +glib1 +libiconv
TITLE:=IRC gateway to IM chat networks
DESCRIPTION:=IRC gateway to IM chat networks
URL:=http://www.bitlbee.org/
endef
@ -41,29 +40,30 @@ define Package/bitlbee/conffiles
endef
define Build/Configure
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
STAGING_DIR="$(STAGING_DIR)" \
STRIP="$(STRIP)" \
./configure \
--prefix=/usr/ \
--bindir=/usr/sbin/ \
--etcdir=/etc/bitlbee/ \
--datadir=/usr/share/bitlbee/ \
--config=/var/lib/bitlbee/ \
--arch=OpenWrt \
--cpu="$(ARCH)" \
--debug=0 \
--strip=1 \
--sizeopt=1 \
--ipv6=1 \
--ssl=openssl \
--glib1=1 \
--glib1prefix="$(STAGING_DIR)/usr" \
);
# it's not GNU autoconf stuff
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
STAGING_DIR="$(STAGING_DIR)" \
STRIP="$(STRIP)" \
./configure \
--prefix=/usr/ \
--bindir=/usr/sbin/ \
--etcdir=/etc/bitlbee/ \
--datadir=/usr/share/bitlbee/ \
--config=/var/lib/bitlbee/ \
--arch=OpenWrt \
--cpu="$(ARCH)" \
--debug=0 \
--strip=1 \
--sizeopt=1 \
--ipv6=1 \
--ssl=openssl \
--glib1=1 \
--glib1prefix="$(STAGING_DIR)/usr" \
);
endef
define Build/Compile

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,20 +11,20 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bwm
PKG_VERSION:=1.1.0
PKG_RELEASE:=1
PKG_MD5SUM:=51021a036acb92d2bda0c0c0483f9552
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/b/bwm
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/b/bwm
PKG_MD5SUM:=51021a036acb92d2bda0c0c0483f9552
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
include $(INCLUDE_DIR)/package.mk
define Package/bwm
SECTION:=net
CATEGORY:=Network
TITLE:=A very tiny bandwidth monitor
DESCRIPTION:=A very tiny bandwidth monitor
URL:=http://ftp.debian.org/debian/pool/main/b/bwm
endef

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=crowdcontrol
PKG_VERSION:=0.4b
PKG_RELEASE:=1
PKG_MD5SUM:=a0991ae3d1f1a361558bed1a4aa66a9c
PKG_SOURCE_URL:=@openwrt/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@openwrt
PKG_MD5SUM:=a0991ae3d1f1a361558bed1a4aa66a9c
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,12 +26,16 @@ define Package/crowdcontrol
SECTION:=net
CATEGORY:=Network
TITLE:=The extra-light http proxy server
DESCRIPTION:=Crowd Control is an small, cross-platform HTTP proxy (a fork of the elhttp project)\\\
designed for systems with little RAM, such as a home router. It can filter URLs using\\\
DESCRIPTION:=\
Crowd Control is an small, cross-platform HTTP proxy (a fork of the elhttp project) \\\
designed for systems with little RAM, such as a home router. It can filter URLs using \\\
SquidGuard blocklists, and has the unique ability to filter HTTPS domains as well.
URL:=http://sourceforge.net/projects/crowdcontrol/
endef
define Build/Configure
endef
define Build/Compile
$(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/crowdcontrol $(PKG_BUILD_DIR)/crowdcontrol.c
endef

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,12 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ctorrent
PKG_VERSION:=1.3.4-dnh2
PKG_RELEASE:=1
PKG_MD5SUM:=6635e2d0d0ee21faeb85d95cd93c137b
PKG_SOURCE_URL:=http://www.rahul.net/dholmes/ctorrent/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-dnh2
PKG_SOURCE_URL:=http://www.rahul.net/dholmes/ctorrent/
PKG_MD5SUM:=6635e2d0d0ee21faeb85d95cd93c137b
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-dnh2
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
@ -23,46 +25,33 @@ include $(INCLUDE_DIR)/package.mk
define Package/ctorrent
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libopenssl
DEPENDS:=+libopenssl +uclibcxx
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.\\\
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/
endef
define Build/Configure
(cd $(PKG_BUILD_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include/openssl" \
LDFLAGS="-static -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--datadir=/usr/share \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
--program-prefix="" \
--with-gnu-ld \
);
$(call Build/Configure/Default, \
, \
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/openssl" \
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
LIBS="-nodefaultlibs -lcrypto -luClibc++ -lm -lc -lgcc" \
)
endef
define Build/Compile
$(call Build/Compile/Default, DESTDIR=$(PKG_INSTALL_DIR) install)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/ctorrent/install
mkdir -p $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ctorrent $(1)/usr/bin/
endef
$(eval $(call BuildPackage,ctorrent))

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,14 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=cups
PKG_VERSION:=1.1.23
PKG_RELEASE:=1
PKG_MD5SUM:=4ce09b1dce09b6b9398af0daae9adf63
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.tar.bz2
PKG_SOURCE_URL:= \
http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/cups/$(PKG_VERSION) \
ftp://ftp.easysw.com/pub/cups/$(PKG_VERSION) \
ftp://ftp3.easysw.com/pub/cups/$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.tar.bz2
PKG_MD5SUM:=4ce09b1dce09b6b9398af0daae9adf63
PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -32,7 +32,8 @@ define Package/cups
CATEGORY:=Network
DEPENDS:=+zlib
TITLE:=Common UNIX Printing System
DESCRIPTION:=A printer spooling system for devices with USB or LP support
DESCRIPTION:=\
A printer spooling system for devices with USB or LP support.
URL:=http://www.cups.org/
endef
@ -44,7 +45,8 @@ define Package/cups/conffiles
endef
define Build/Configure
$(call Build/Configure/Default, --with-gnu-ld \
$(call Build/Configure/Default, \
--libexecdir=/usr/lib \
--with-cups-user=root \
--with-cups-group=root \
--without-perl \
@ -68,10 +70,6 @@ define Build/Compile
DSTROOT="$(PKG_INSTALL_DIR)" \
STRIP="/bin/true" \
all install
if [ -d $(PKG_INSTALL_DIR)/usr/libexec ]; then \
rm -rf $(PKG_INSTALL_DIR)/usr/lib; \
mv $(PKG_INSTALL_DIR)/usr/libexec $(PKG_INSTALL_DIR)/usr/lib; \
fi
endef
define Package/cups/install
@ -111,9 +109,9 @@ endef
define Build/UninstallDev
rm -rf \
$(STAGING_DIR)/usr/bin/cups-config \
$(STAGING_DIR)/usr/include/cups \
$(STAGING_DIR)/usr/lib/libcups.{a,so*}
$(STAGING_DIR)/usr/bin/cups-config \
$(STAGING_DIR)/usr/include/cups \
$(STAGING_DIR)/usr/lib/libcups.{a,so*}
endef
$(eval $(call BuildPackage,cups))

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,12 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=cutter
PKG_VERSION:=1.03
PKG_RELEASE:=1
PKG_MD5SUM:=50093db9b64277643969ee75b83ebbd1
PKG_SOURCE_URL:=http://www.lowth.com/cutter/software/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=http://www.lowth.com/cutter/software/
PKG_MD5SUM:=50093db9b64277643969ee75b83ebbd1
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
@ -24,9 +26,10 @@ define Package/cutter
SECTION:=net
CATEGORY:=Network
TITLE:=allows an user to abort TCP/IP connections
DESCRIPTION:="Cutter" is an open source program that allows Linux firewall\\\
administrators to abort TCP/IP connections routed over the\\\
firewall or router on which it is run.\\\
DESCRIPTION:=\
Cutter is an open source program that allows Linux firewall \\\
administrators to abort TCP/IP connections routed over the \\\
firewall or router on which it is run.
URL:=http://www.lowth.com/cutter/
endef
@ -37,8 +40,8 @@ define Build/Compile
endef
define Package/cutter/install
mkdir -p $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/cutter $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,cutter))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dhcp-forwarder
PKG_VERSION:=0.7
PKG_RELEASE:=4
PKG_MD5SUM:=e7f876e615ebc3f96418f6477b4451e2
PKG_SOURCE_URL:=http://savannah.nongnu.org/download/dhcp-fwd
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://savannah.nongnu.org/download/dhcp-fwd
PKG_MD5SUM:=e7f876e615ebc3f96418f6477b4451e2
PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,7 +26,6 @@ define Package/dhcp-forwarder
SECTION:=net
CATEGORY:=Network
TITLE:=DHCP relay agent
DESCRIPTION:=DHCP relay agent
URL:=http://www.nongnu.org/dhcp-fwd/
endef
@ -34,9 +33,7 @@ define Package/dhcp-forwarder/conffiles
/etc/dhcp-fwd.conf
endef
define Build/Configure
$(call Build/Configure/Default)
endef
# uses GNU configure
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
@ -48,12 +45,12 @@ define Build/Compile
endef
define Package/dhcp-forwarder/install
install -m0755 -d $(1)/etc
install -m0644 $(PKG_BUILD_DIR)/contrib/dhcp-fwd.conf $(1)/etc/
install -m0755 -d $(1)/etc/init.d
install -m0755 ./files/dhcp-fwd.init $(1)/etc/init.d/dhcp-fwd
install -m0755 -d $(1)/usr/bin
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/dhcp-fwd $(1)/usr/bin/
install -d -m0755 $(1)/etc
install -m0644 $(PKG_BUILD_DIR)/contrib/dhcp-fwd.conf $(1)/etc/
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/dhcp-fwd.init $(1)/etc/init.d/dhcp-fwd
endef
$(eval $(call BuildPackage,dhcp-forwarder))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dhcp
PKG_VERSION:=3.0.3
PKG_RELEASE:=1
PKG_MD5SUM:=f91416a0b8ed3fd0601688cf0b7df58f
PKG_SOURCE_URL:=ftp://ftp.isc.org/isc/dhcp/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.isc.org/isc/dhcp/
PKG_MD5SUM:=f91416a0b8ed3fd0601688cf0b7df58f
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -22,39 +22,34 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
define Package/dhcp
define Package/dhcp/Default
SECTION:=net
CATEGORY:=Network
SUBMENU:=ISC's DHCP implementation
TITLE:=ISC's DHCP implementation
DESCRIPTION:=ISC's DHCP implementation
URL:=http://www.isc.org
TITLE:=ISC's DHCP
URL:=http://www.isc.org/
endef
define Package/dhcp-relay
$(call Package/dhcp)
TITLE:=DHCP relay
DESCRIPTION:=DHCP relay
$(call Package/dhcp/Default)
TITLE+= relay
endef
define Package/dhcp-server
$(call Package/dhcp)
TITLE:=DHCP server
DESCRIPTION:=DHCP server
$(call Package/dhcp/Default)
TITLE+= server
endef
define Build/Configure
# it's not GNU autoconf stuff
(cd $(PKG_BUILD_DIR) ; \
./configure \
--copts "$(TARGET_CFLAGS)" \
linux-2.2 \
--copts "$(TARGET_CFLAGS)" \
linux-2.2 \
);
endef
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)" \

View File

@ -4,17 +4,17 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: $
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=dsl_qos_queue
PKG_VERSION:=0.9.3
PKG_RELEASE:=1
PKG_MD5SUM:=ccbe8d28c3508c67f669fe98532533be
PKG_SOURCE_URL:=http://www.sonicspike.net/software/download/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.sonicspike.net/software/download/
PKG_MD5SUM:=ccbe8d28c3508c67f669fe98532533be
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
@ -26,15 +26,17 @@ define Package/dsl-qos-queue
CATEGORY:=Network
DEPENDS:=+iptables +kmod-ipt-queue
TITLE:=ADSL/ATM Bandwith management
DESCRIPTION:=ADSL/ATM Bandwith management
endef
define Build/Configure
endef
define Build/Compile
$(call Build/Compile/Default, \
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
install_prefix="$(PKG_INSTALL_DIR)" \
all)
all \
)
endef
define Package/dsl-qos-queue/install

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ethtool
PKG_VERSION:=3
PKG_RELEASE:=0
PKG_MD5SUM:=b4e71f7fa2629250677eefcb338442c5
PKG_SOURCE_URL:=@SF/gkernel
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/gkernel
PKG_MD5SUM:=b4e71f7fa2629250677eefcb338442c5
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,15 +26,15 @@ define Package/ethtool
SECTION:=net
CATEGORY:=Network
TITLE:=Display or change ethernet card settings
DESCRIPTION:=ethtool is used for querying settings of an ethernet device and changing them
DESCRIPTION:=\
ethtool is used for querying settings of an ethernet device and changing them.
URL:=http://sourceforge.net/projects/gkernel/
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

View File

@ -1,9 +1,10 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 4603 2006-08-18 21:21:06Z mbm $
# $Id$
include $(TOPDIR)/rules.mk

View File

@ -11,30 +11,34 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=fping
PKG_VERSION:=2.4b2_to-ipv6
PKG_RELEASE:=1
PKG_MD5SUM:=3ad516765514249a40d3c5b6caab812a
PKG_SOURCE_URL:=http://www.fping.com/download/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=http://www.fping.com/download/
PKG_MD5SUM:=3ad516765514249a40d3c5b6caab812a
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/fping
SECTION:=net
CATEGORY:=Network
TITLE:=A program to ping multiple hosts in parallel
DESCRIPTION:=fping is a ping(1) like program which uses the Internet Control Message Protocol\\\
(ICMP) echo request to determine if a host is up. fping is different from ping in\\\
that you can specify any number of hosts on the command line, or specify a file\\\
containing the lists of hosts to ping. Instead of trying one host until it timeouts\\\
or replies, fping will send out a ping packet and move on to the next host in a\\\
round-robin fashion. If a host replies, it is noted and removed from the list of\\\
hosts to check. If a host does not respond within a certain time limit and/or retry\\\
limit it will be considered unreachable.\\\
DESCRIPTION:=\
fping is a ping(1) like program which uses the Internet Control Message Protocol \\\
(ICMP) echo request to determine if a host is up. fping is different from ping in \\\
that you can specify any number of hosts on the command line, or specify a file \\\
containing the lists of hosts to ping. Instead of trying one host until it timeouts \\\
or replies, fping will send out a ping packet and move on to the next host in a \\\
round-robin fashion. If a host replies, it is noted and removed from the list of \\\
hosts to check. If a host does not respond within a certain time limit and/or retry \\\
limit it will be considered unreachable.
URL:=http://www.fping.com
endef
# uses Build/Configure/Default
define Build/Compile
$(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR) clean $(PKG_NAME)
mv $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME)4
@ -43,9 +47,10 @@ define Build/Compile
endef
define Package/fping/install
mkdir -p $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME)4 $(1)/usr/bin/$(PKG_NAME)
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME)6 $(1)/usr/bin/
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/fping4 $(1)/usr/bin/
$(CP) $(PKG_BUILD_DIR)/fping6 $(1)/usr/bin/
ln -sf fping4 $(1)/usr/bin/fping
endef
$(eval $(call BuildPackage,fping))

View File

@ -11,13 +11,14 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=fprobe-ulog
PKG_VERSION:=1.1
PKG_RELEASE:=1
PKG_MD5SUM:=cdb2e4edc47e8a3d5479eeabfb979ebc
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/fprobe
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_MD5SUM:=cdb2e4edc47e8a3d5479eeabfb979ebc
PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/fprobe-ulog
@ -25,16 +26,18 @@ define Package/fprobe-ulog
CATEGORY:=Network
DEPENDS:=+libpthread
TITLE:=NetFlow probe (ulog-based)
DESCRIPTION:=A NetFlow probe obtaining packets through linux netfilter code\\\
(iptables ULOG target).
DESCRIPTION:=\
A NetFlow probe obtaining packets through linux netfilter code \\\
(iptables ULOG target).
URL:=http://fprobe.sourceforge.net
endef
define Build/Configure
$(call Build/Configure/Default,--with-piddir=/var \
--with-membulk=index8 \
--with-hash=xor8 \
)
$(call Build/Configure/Default, \
--with-piddir=/var \
--with-membulk=index8 \
--with-hash=xor8 \
)
endef
define Build/Compile

View File

@ -8,15 +8,16 @@
include $(TOPDIR)/rules.mk
PKG_NAME := fprobe
PKG_VERSION := 1.1
PKG_RELEASE := 1
PKG_MD5SUM := 65850d0470078269b33eee58cba77ac2
PKG_NAME:=fprobe
PKG_VERSION:=1.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/fprobe
PKG_MD5SUM:=65850d0470078269b33eee58cba77ac2
PKG_CAT:=bzcat
PKG_SOURCE := $(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL := @SF/fprobe
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_CAT := bzcat
include $(INCLUDE_DIR)/package.mk
@ -25,17 +26,17 @@ define Package/fprobe
CATEGORY:=Network
DEPENDS:=+libpcap +libpthread
TITLE:=NetFlow probe (libpcap-based)
DESCRIPTION:=A NetFlow probe using libpcap
URL:=http://fprobe.sourceforge.net/
endef
define Build/Configure
$(call Build/Configure/Default,--with-piddir=/var \
--with-pcap=$(STAGING_DIR)/usr/include \
--with-libpcap=$(STAGING_DIR)/usr/lib \
--with-membulk=index8 \
--with-hash=xor8 \
)
$(call Build/Configure/Default, \
--with-piddir=/var \
--with-pcap="$(STAGING_DIR)/usr/include" \
--with-libpcap="$(STAGING_DIR)/usr/lib" \
--with-membulk=index8 \
--with-hash=xor8 \
)
endef
define Build/Compile
@ -43,7 +44,7 @@ define Build/Compile
endef
define Package/fprobe/install
mkdir -p $(1)/usr/bin
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/src/fprobe $(1)/usr/bin/
endef

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=frickin
PKG_VERSION:=1.3
PKG_RELEASE:=1
PKG_MD5SUM:= 5b2e98da2310c71c703d4617b88a173f
PKG_SOURCE_URL:=@SF/frickin
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/frickin
PKG_MD5SUM:= 5b2e98da2310c71c703d4617b88a173f
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,9 +26,10 @@ define Package/frickin
SECTION:=net
CATEGORY:=Network
TITLE:=PPTP (Point-to-Point Tunneling Protocol) proxy
DESCRIPTION:=Frickin PPTP Proxy allows a Point-to-Point Tunneling Protocol (PPTP)\\\
client to connect to a PPTP server through Network Address\\\
Translation (NAT).\\\
DESCRIPTION:=\
Frickin PPTP Proxy allows a Point-to-Point Tunneling Protocol (PPTP) \\\
client to connect to a PPTP server through Network Address \\\
Translation (NAT).
URL:=http://frickin.sourceforge.net
endef

View File

@ -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:=htpdate
PKG_VERSION:=0.9.0
PKG_RELEASE:=1
PKG_MD5SUM:=12cf883c5619cf4c13a62f77f1a55b54
PKG_SOURCE_URL:=http://www.clevervest.com/htp/archive/c/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.clevervest.com/htp/archive/c/
PKG_MD5SUM:=12cf883c5619cf4c13a62f77f1a55b54
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -25,7 +26,6 @@ define Package/htpdate
SECTION:=net
CATEGORY:=Network
TITLE:=an HTP (Hypertext Time Protocol) implementation
DESCRIPTION:=an HTP (Hypertext Time Protocol) implementation
URL:=http://www.clevervest.com/htp/
endef
@ -41,12 +41,12 @@ endef
define Package/htpdate/install
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/htpdate $(1)/usr/sbin/
install -d -m0755 $(1)/etc/default/
install -m0644 ./files/htpdate.default $(1)/etc/default/htpdate
install -d -m0755 $(1)/etc/init.d/
install -m0755 ./files/htpdate.init $(1)/etc/init.d/htpdate
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/htpdate $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,htpdate))

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.

View File

@ -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:=iftop
PKG_VERSION:=0.17
PKG_RELEASE:=1
PKG_MD5SUM:=062bc8fb3856580319857326e0b8752d
PKG_SOURCE_URL:=http://www.ex-parrot.com/~pdw/iftop/download
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.ex-parrot.com/~pdw/iftop/download
PKG_MD5SUM:=062bc8fb3856580319857326e0b8752d
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,20 +27,23 @@ define Package/iftop
CATEGORY:=Network
DEPENDS:=+libpcap +libncurses +libpthread
TITLE:=display bandwith usage on an interface
DESCRIPTION:=iftop does for network usage what top(1) does for CPU usage. It\\\
listens to network traffic on a named interface and displays a\\\
table of current bandwidth usage by pairs of hosts. Handy for\\\
answering the question 'why is our ADSL link so slow?'.
DESCRIPTION:=\
iftop does for network usage what top(1) does for CPU usage. It \\\
listens to network traffic on a named interface and displays a \\\
table of current bandwidth usage by pairs of hosts. Handy for \\\
answering the question 'why is our ADSL link so slow?'.
URL:=http://www.ex-parrot.com/~pdw/iftop/
endef
define Build/Compile
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" install)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/iftop/install
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/$(PKG_NAME) $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/iftop $(1)/usr/bin/
endef
$(eval $(call BuildPackage,iftop))

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,33 +11,41 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=igmpproxy
PKG_VERSION:=0.1-beta2
PKG_RELEASE:=1
PKG_MD5SUM:=2a5a59480f44d4b14077a6b5319e9940
PKG_SOURCE_URL:=@SF/igmpproxy
PKG_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_SOURCE_URL:=@SF/igmpproxy
PKG_MD5SUM:=2a5a59480f44d4b14077a6b5319e9940
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/igmpproxy
SECTION:=net
CATEGORY:=Network
TITLE:=Multicast Routing Daemon
DESCRIPTION:=IGMPproxy is a simple dynamic Multicast Routing Daemon using\\\
only IGMP signalling (Internet Group Management Protocol).\\\
DESCRIPTION:=\
IGMPproxy is a simple dynamic Multicast Routing Daemon using \\\
only IGMP signalling (Internet Group Management Protocol).
URL:=http://sourceforge.net/projects/igmpproxy
endef
define Build/Compile
$(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR)/src
define Package/igmpproxy/conffiles
/etc/igmpproxy.conf
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/src \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)"
endef
define Package/igmpproxy/install
mkdir -p $(1)/usr/sbin $(1)/etc
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME).conf $(1)/etc
install -d -m0755 $(1)/etc
install -m0755 $(PKG_BUILD_DIR)/src/igmpproxy.conf $(1)/etc
install -d -m0755 $(1)/usr/sbin $(1)/etc
install -m0644 $(PKG_BUILD_DIR)/src/igmpproxy $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,igmpproxy))

View File

@ -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:=ipcad
PKG_VERSION:=3.7
PKG_RELEASE:=1
PKG_MD5SUM:=34c542c99593dfe9d5b408deffcfe70e
PKG_SOURCE_URL:=@SF/ipcad
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/ipcad
PKG_MD5SUM:=34c542c99593dfe9d5b408deffcfe70e
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,9 +27,10 @@ define Package/ipcad
CATEGORY:=Network
DEPENDS:=+libpcap
TITLE:=listens for traffic on the specified interfaces
DESCRIPTION:=This daemon listens for traffic on the specified interfaces.\\\
It has the built-in RSH and NetFlow engines to allow exporting\\\
the accounting data the same way as Cisco routers do.\\\
DESCRIPTION:=\
This daemon listens for traffic on the specified interfaces.\\\
It has the built-in RSH and NetFlow engines to allow exporting \\\
the accounting data the same way as Cisco routers do.
URL:=http://lionet.info/ipcad/
endef
@ -36,28 +38,26 @@ define Package/ipcad/conffiles/
/etc/ipcad.conf
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
(cd $(PKG_BUILD_DIR); touch \
cfglex.c \
cslex.c \
);
$(call Build/Configure/Default, \
--enable-shared \
--disable-static \
--disable-rpath \
--with-gnu-ld \
--with-psrc=pcap \
--with-pcap-include="$(STAGING_DIR)/usr/include" \
--with-pcap-libraries="$(STAGING_DIR)/usr/lib", \
touch cfglex.c cslex.c; \
--with-pcap-libraries="$(STAGING_DIR)/usr/lib" \
, \
ac_cv_func_getifaddrs=no \
ac_cv_header_ifaddrs_h=no \
)
)
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -DHAVE_PCAP_H=1 -I$(STAGING_DIR)/usr/include" \
LIBS="-lnsl -pthread -lpcap" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
DESTDIR=$(PKG_INSTALL_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,11 +11,12 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=iperf
PKG_VERSION:=2.0.2
PKG_RELEASE:=1
PKG_MD5SUM:=bb658aba58a5af0356f5b1342dfe8f53
PKG_SOURCE_URL:=http://dast.nlanr.net/Projects/Iperf2.0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://dast.nlanr.net/Projects/Iperf2.0
PKG_MD5SUM:=bb658aba58a5af0356f5b1342dfe8f53
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
@ -25,30 +27,27 @@ define Package/iperf
CATEGORY:=Network
DEPENDS:=+uclibcxx
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.\\\
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/
endef
define Build/Configure
$(call Build/Configure/Default, \
--enable-shared \
--disable-static \
--disable-rpath \
--disable-multicast \
--disable-threads, \
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
LIBS="-luClibc++ -lc -lm -lgcc_s" \
--disable-threads \
, \
CXXFLAGS="$$$$CXX_CFLAGS -fno-builtin -fno-rtti -nostdinc++" \
LIBS="-nodefaultlibs -luClibc++ -lc -lm -lgcc_s" \
)
endef
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" install
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/iperf/install

View File

@ -1,9 +1,10 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: $
# $Id$
include $(TOPDIR)/rules.mk
@ -11,12 +12,13 @@ PKG_NAME:=ipkungfu
PKG_VERSION:=0.6.0
PKG_RELEASE:=1
PKG_SOURCE_URL:=http://www.linuxkungfu.org/ipkungfu
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.linuxkungfu.org/ipkungfu
PKG_MD5SUM:=a65b5e629a7e9ef00aaf20587d918e5f
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 +28,7 @@ define Package/ipkungfu
TITLE:=IPKungFu is an iptables-based Linux firewall
DESCRIPTION:=\
IPKungFu is an iptables-based Linux firewall.\\\
It aims to simplify the configuration of Internet\\\
It aims to simplify the configuration of Internet \\\
connection sharing, port forwarding, and packet filtering.
URL:=http://www.linuxkungfu.org
endef
@ -46,18 +48,19 @@ define Package/ipkungfu/conffiles
/etc/ipkungfu/vhosts.conf
endef
define Build/Configure
$(call Build/Configure/Default)
endef
# uses GNU configure
define Build/Compile
$(call Build/Compile/Default,all)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/ipkungfu/install
mkdir -p $(1)/usr/sbin $(1)/etc/ipkungfu/
$(CP) $(PKG_BUILD_DIR)/dummy_server $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/ipkungfu $(1)/usr/sbin/
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/dummy_server $(1)/usr/sbin/
$(CP) $(PKG_BUILD_DIR)/ipkungfu $(1)/usr/sbin/
install -d -m0755 $(1)/etc/ipkungfu/
$(CP) $(PKG_BUILD_DIR)/files/conf/* $(1)/etc/ipkungfu/
endef

View File

@ -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:=iptables-snmp
PKG_VERSION:=0.1
PKG_RELEASE:=1
PKG_MD5SUM:=8370d2f0c899461a053da491400119d1
PKG_SOURCE_URL:=http://www.nobiscuit.com/iptables-snmp
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.nobiscuit.com/iptables-snmp
PKG_MD5SUM:=8370d2f0c899461a053da491400119d1
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,15 +27,16 @@ define Package/iptables-snmp
CATEGORY:=Network
DEPENDS:=+snmpd
TITLE:=An snmpd plugin to access iptables rules
DESCRIPTION:=This is a plugin that makes iptables rules accessable from snmpd.
DESCRIPTION:=\
This is a plugin that makes iptables rules accessable from snmpd.
URL:=http://www.nobiscuit.com/iptables-snmp/
endef
define Build/Compile
$(call Build/Compile/Default, \
$(call Build/Compile/Default, \
INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \
all install \
)
)
endef
define Package/iptables-snmp/install

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -11,8 +12,8 @@ PKG_NAME:=irssi
PKG_VERSION:=0.8.10
PKG_RELEASE:=1
PKG_SOURCE_URL:=http://irssi.org/files/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)a.tar.bz2
PKG_SOURCE_URL:=http://irssi.org/files/
PKG_MD5SUM:=38e616bccb6a34ff6d91690317c2fa19
PKG_CAT:=bzcat
@ -25,29 +26,28 @@ define Package/irssi
CATEGORY:=Network
DEPENDS:=+glib1 +libncurses
TITLE:=console irc client
DESCRIPTION:=IRC client for the text console
URL:=http://irssi.org
URL:=http://irssi.org/
endef
define Build/Configure
$(call Build/Configure/Default,--with-perl=no \
--with-glib1 \
--with-gnu-ld \
--with-textui \
--without-terminfo \
--without-bot \
--without-file-offset-size \
--without-ssl \
--disable-ssl \
--disable-ipv6 \
--disable-proxy \
--with-glib-prefix=$(STAGING_DIR)/usr,ac_cv_c_bigendian=no \
ac_cv_sizeof_off_t=8)
$(call Build/Configure/Default, \
--with-perl=no \
--with-glib1 \
--with-glib-prefix="$(STAGING_DIR)/usr" \
--with-textui \
--without-terminfo \
--without-bot \
--without-file-offset-size \
--without-ssl \
--disable-ssl \
--disable-ipv6 \
--disable-proxy \
)
endef
define Package/irssi/install
mkdir -p $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/src/fe-text/$(PKG_NAME) $(1)/usr/bin/
install -d -m0755 $(1)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/src/fe-text/irssi $(1)/usr/bin/
endef
$(eval $(call BuildPackage,irssi))

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -11,10 +12,10 @@ PKG_NAME:=l2tpd
PKG_VERSION:=0.70pre
PKG_UPSTREAM_VERSION:=0.70-pre20031121
PKG_RELEASE:=4.1
PKG_MD5SUM:=3f2707b6e16a8cb72e7bf64f574202fa
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/l/l2tpd
PKG_SOURCE:=$(PKG_NAME)_$(PKG_UPSTREAM_VERSION).orig.tar.gz
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/l/l2tpd
PKG_MD5SUM:=3f2707b6e16a8cb72e7bf64f574202fa
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_UPSTREAM_VERSION).orig
@ -26,11 +27,11 @@ define Package/l2tpd
SECTION:=net
CATEGORY:=Network
TITLE:=An L2TP (Layer 2 Tunneling Protocol) daemon
DESCRIPTION:=A layer 2 tunneling protocol implementation.\\\
l2tpd is the open source implementation of the L2TP tunneling\\\
protocol (RFC2661). It does implement both LAC and LNS role\\\
in a L2TP networking architecture. The main goal of this protocol is\\\
to tunnel PPP frame trough an ip network.\\\
DESCRIPTION:=\
l2tpd is the open source implementation of the L2TP tunneling \\\
protocol (RFC2661). It does implement both LAC and LNS role \\\
in a L2TP networking architecture. The main goal of this protocol is \\\
to tunnel PPP frame trough an ip network.
URL:=http://l2tpd.sourceforge.net/
endef
@ -40,18 +41,20 @@ define Package/l2tpd/conffiles
endef
define Build/Compile
$(call Build/Compile/Default,CFLAGS="$(TARGET_CFLAGS) -I. -DLINUX -DSANITY -DIP_ALLOCATION")
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS) -I. -DLINUX -DSANITY -DIP_ALLOCATION" \
)
endef
define Package/l2tpd/install
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
install -d -m0755 $(1)/etc/l2tpd
install -m0644 ./files/l2tpd.conf $(1)/etc/l2tpd/
install -d -m0755 $(1)/etc/ppp
install -m0644 ./files/options.l2tpd $(1)/etc/ppp/
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/l2tpd.init $(1)/etc/init.d/l2tpd
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,l2tpd))

View File

@ -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:=l2tpns
PKG_VERSION:=2.1.14
PKG_RELEASE:=1
PKG_MD5SUM:=2a0ee2a3678160c335f1d68c17c4f871
PKG_SOURCE_URL:=@SF/l2tpns
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/l2tpns
PKG_MD5SUM:=2a0ee2a3678160c335f1d68c17c4f871
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,10 +27,11 @@ define Package/l2tpns
CATEGORY:=Network
DEPENDS:=+libcli
TITLE:=An L2TP enhanced server
DESCRIPTION:=l2tpns is a layer 2 tunneling protocol network server (LNS).\\\
it supports up to 65535 concurrent sessions per server/cluster\\\
plus ISP features such as rate limiting, walled garden, usage\\\
accounting, and more.\\\
DESCRIPTION:=\
l2tpns is a layer 2 tunneling protocol network server (LNS).\\\
it supports up to 65535 concurrent sessions per server/cluster \\\
plus ISP features such as rate limiting, walled garden, usage \\\
accounting, and more.
URL:=http://sourceforge.net/projects/l2tpns
endef
@ -40,7 +42,13 @@ define Package/l2tpns/conffiles
endef
define Build/Compile
$(call Build/Compile/Default, LD="$(TARGET_CC)" OPTIM="$(TARGET_CFLAGS)" STAGING_DIR=$(STAGING_DIR) DESTDIR=$(PKG_INSTALL_DIR) all install)
$(call Build/Compile/Default, \
LD="$(TARGET_CC)" \
OPTIM="$(TARGET_CFLAGS)" \
STAGING_DIR="$(STAGING_DIR)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install \
)
endef
define Package/l2tpns/install

View File

@ -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:=maradns
PKG_VERSION:=1.2.07.2
PKG_RELEASE:=1
PKG_MD5SUM:=dc67f6a496e668127871382a40367733
PKG_SOURCE_URL:=http://www.maradns.org/download/1.2/1.2.07.2/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.maradns.org/download/1.2/1.2.07.2/
PKG_MD5SUM:=dc67f6a496e668127871382a40367733
PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,7 +27,6 @@ define Package/maradns
CATEGORY:=Network
DEPENDS:=+libpthread
TITLE:=Small and secure DNS Server
DESCRIPTION:=A small and secure DNS server
URL:=http://www.maradns.org/
endef
@ -35,7 +35,8 @@ define Package/maradns/conffiles
endef
define Build/Configure
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
# it's not GNU autoconf stuff
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
./configure \
);

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=miau
PKG_VERSION:=0.6.0.2
PKG_RELEASE:=1
PKG_MD5SUM:=1b78d219a03655399c165eeb021cddd8
PKG_SOURCE_URL:= @SF/miau
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/miau
PKG_MD5SUM:=1b78d219a03655399c165eeb021cddd8
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,10 +26,11 @@ define Package/miau
SECTION:=net
CATEGORY:=Network
TITLE:=Another IRC-bouncer/proxy
DESCRIPTION:=In short, miau is an IRC-bouncer/proxy.\\\
Being more verbose, miau is small but quite featured\\\
IRC-bouncer - a service bit like HTTP-proxy, but\\\
for IRC-networks.\\\
DESCRIPTION:=\
In short, miau is an IRC-bouncer/proxy.\\\
Being more verbose, miau is small but quite featured \\\
IRC-bouncer - a service bit like HTTP-proxy, but \\\
for IRC-networks.
URL:=http://sourceforge.net/projects/miau/
endef
@ -43,9 +44,10 @@ define Build/Configure
)
endef
define Build/Compile
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" install)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/miau/install

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=miax
PKG_VERSION:=1.4
PKG_RELEASE:=1
PKG_MD5SUM:=44f0d2ef46ee2697d890b7b96846adc7
PKG_SOURCE_URL:=http://mesh.dl.sourceforge.net/sourceforge/miax/
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://mesh.dl.sourceforge.net/sourceforge/miax/
PKG_MD5SUM:=44f0d2ef46ee2697d890b7b96846adc7
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
@ -22,14 +22,15 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/miax
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpthread +bluez-libs
TITLE:=A console iax (asterisk) client
DESCRIPTION:=miax is a console iax (asterisk) client, it can work with\\\
a soundcard as a normal voip phone, taking input/output from\\\
keyboard, analog/gsm/isdn modem or bluetooth phones.\\\
URL:=http://www.eja.it/?l=gpl&testo=miax
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpthread +bluez-libs
TITLE:=A console iax (asterisk) client
DESCRIPTION:=\
miax is a console iax (asterisk) client, it can work with \\\
a soundcard as a normal voip phone, taking input/output from \\\
keyboard, analog/gsm/isdn modem or bluetooth phones.
URL:=http://www.eja.it/?l=gpl&testo=miax
endef
define Build/Compile

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mini-sendmail
PKG_VERSION:=1.3.5
PKG_RELEASE:=1
PKG_MD5SUM:=fff344184e98cff0ea4d817da9d29383
PKG_SOURCE_URL:=http://www.acme.com/software/mini_sendmail/
PKG_SOURCE:=mini_sendmail-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.acme.com/software/mini_sendmail/
PKG_MD5SUM:=fff344184e98cff0ea4d817da9d29383
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/mini_sendmail-$(PKG_VERSION)
@ -25,10 +25,11 @@ define Package/mini-sendmail
SECTION:=net
CATEGORY:=Network
TITLE:=A small sendmail-compatible mail forwarder
DESCRIPTION:=mini_sendmail reads its standard input up to an end-of-file and sends a\\\
copy of the message found there to all of the addresses listed.\\\
The message is sent by connecting to a local SMTP server. This means\\\
mini_sendmail can be used to send email from inside a chroot(2) area.\\\
DESCRIPTION:=\
mini_sendmail reads its standard input up to an end-of-file and sends a \\\
copy of the message found there to all of the addresses listed.\\\
The message is sent by connecting to a local SMTP server. This means \\\
mini_sendmail can be used to send email from inside a chroot(2) area.
URL:=http://www.acme.com/software/mini_sendmail/
endef

View File

@ -11,11 +11,11 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=netperf
PKG_VERSION:=2.3pl1
PKG_RELEASE:=1
PKG_MD5SUM:=b74314d78af31cb13516fb9a372d2e86
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.netperf.org/netperf/archive/ \
ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=b74314d78af31cb13516fb9a372d2e86
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,15 +26,14 @@ define Package/netperf
SECTION:=net
CATEGORY:=Network
TITLE:=network performance measurement tool
DESCRIPTION:=Program and service to do network performance measurement.
URL:=http://www.netperf.org
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
TARGET_NETPERF_HOME="/etc/netperf.conf" \
TARGET_CC="$(TARGET_CROSS)gcc" \
TARGET_CFLAGS="$(TARGET_CFLAGS)" \
TARGET_NETPERF_HOME="/etc/netperf.conf" \
TARGET_CC="$(TARGET_CROSS)gcc" \
TARGET_CFLAGS="$(TARGET_CFLAGS)" \
TARGET_LIBS="" \
all
endef

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=netstat-nat
PKG_VERSION:=1.4.6
PKG_RELEASE:=1
PKG_MD5SUM:=ccf71a6cbd9a513ea3adec54b54ee770
PKG_SOURCE_URL:=http://tweegy.demon.nl/download/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://tweegy.demon.nl/download/
PKG_MD5SUM:=ccf71a6cbd9a513ea3adec54b54ee770
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,21 +26,21 @@ define Package/netstat-nat
SECTION:=net
CATEGORY:=Network
TITLE:=A netstat variant for NAT connections
DESCRIPTION:=Netstat-nat is a small program written in C.\\\
It displays NAT connections, managed by netfilter/iptables which comes\\\
DESCRIPTION:=\
Netstat-nat is a small program written in C.\\\
It displays NAT connections, managed by netfilter/iptables which comes \\\
with the > 2.4.x linux kernels.\\\
The program reads its information from '/proc/net/ip_conntrack', which\\\
is the temporary conntrack-storage of netfilter.\\\
The program reads its information from '/proc/net/ip_conntrack', which \\\
is the temporary conntrack-storage of netfilter.
URL:=http://tweegy.demon.nl/projects/netstat-nat/
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
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/netstat-nat/install

View File

@ -1,4 +1,4 @@
# $Id: Makefile 4033 2006-06-21 02:32:39Z nbd $
# $Id$
include $(TOPDIR)/rules.mk

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nocatsplash
PKG_VERSION:=0.92
PKG_RELEASE:=1
PKG_MD5SUM:=e0fcc0effe52e63bc31070d16d0b4a81
PKG_SOURCE_URL:=http://wifi.rulez.org/~josephus/
PKG_SOURCE:=NoCatSplash-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://wifi.rulez.org/~josephus/
PKG_MD5SUM:=e0fcc0effe52e63bc31070d16d0b4a81
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/NoCatSplash-$(PKG_VERSION)
@ -27,12 +27,13 @@ define Package/nocatsplash
CATEGORY:=Network
DEPENDS:=+glib1
TITLE:=Open public network gateway daemon
DESCRIPTION:=NoCatSplash is an Open Public Network Gateway Daemon.\\\
It performs as a [captive/open/active] portal. When run on a gateway/router\\\
on a network, all web requests are redirected until the client either logs\\\
in or clicks "I Accept" to an AUP. The gateway daemon then changes the\\\
firewall rules on the gateway to pass traffic for that client (based on IP\\\
address and MAC address).\\\
DESCRIPTION:=\
NoCatSplash is an Open Public Network Gateway Daemon.\\\
It performs as a [captive/open/active] portal. When run on a gateway/router \\\
on a network, all web requests are redirected until the client either logs \\\
in or clicks "I Accept" to an AUP. The gateway daemon then changes the \\\
firewall rules on the gateway to pass traffic for that client (based on IP \\\
address and MAC address).
URL:=http://nocat.net
endef
@ -41,8 +42,10 @@ define Package/nocatsplash/conffiles
endef
define Build/Configure
$(call Build/Configure/Default, --with-firewall=iptables \
--with-glib-prefix="$(STAGING_DIR)/usr")
$(call Build/Configure/Default, \
--with-firewall=iptables \
--with-glib-prefix="$(STAGING_DIR)/usr" \
)
endef
define Build/Compile
@ -53,7 +56,7 @@ define Build/Compile
endef
define Package/nocatsplash/install
mkdir -p $(1)
install -d -m0755 $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ntpclient
PKG_VERSION:=2003_194
PKG_RELEASE:=2
PKG_MD5SUM:=94e84d5c6023c5e1f3890b28d0a08c92
PKG_SOURCE_URL:=http://doolittle.faludi.com/ntpclient
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://doolittle.faludi.com/ntpclient
PKG_MD5SUM:=94e84d5c6023c5e1f3890b28d0a08c92
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
@ -25,12 +25,13 @@ define Package/ntpclient
SECTION:=net
CATEGORY:=Network
TITLE:=NTP (Network Time Protocol) client
DESCRIPTION:=NTP client for setting system time from NTP servers.
DESCRIPTION:=\
NTP client for setting system time from NTP servers.
URL:=http://doolittle.faludi.com/ntpclient
endef
define Build/Compile
$(call Build/Compile/Default,all adjtimex)
$(call Build/Compile/Default,all adjtimex)
endef
define Package/ntpclient/install

View File

@ -4,50 +4,43 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id:$
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=oidentd
PKG_VERSION:=2.0.8
PKG_RELEASE:=1
PKG_MD5SUM:=c3d9a56255819ef8904b867284386911
PKG_SOURCE_URL:=@SF/ojnk
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/ojnk
PKG_MD5SUM:=c3d9a56255819ef8904b867284386911
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
define Package/oidentd
SECTION:=net
CATEGORY:=Network
DEPENDS:=
TITLE:=Identd server
DESCRIPTION:=A nat aware identd server that will correctly forwared requests to clients
DESCRIPTION:=\
A nat aware identd server that will correctly forwared requests to clients.
URL:=http://dev.ojnk.net/
endef
define Build/Configure
$(call Build/Configure/Default,--includedir=$(PKG_BUILD_DIR)/)
endef
# uses GNU configure
define Build/Compile
$(call Build/Compile/Default,all)
$(call Build/Compile/Default,all)
endef
define Package/oidentd/install
install -m0755 -d $(1)/usr/sbin
install -m0755 -d $(1)/etc/init.d
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
install -d -m0755 $(1)/etc/init.d
$(CP) ./files/oidentd.init $(1)/etc/init.d/oidentd
endef
$(eval $(call BuildPackage,oidentd))

View File

@ -11,14 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openntpd
PKG_VERSION:=3.7p1
PKG_RELEASE:=1
PKG_MD5SUM:=10ed8eefd760e5819efcf3277b118f47
# space separated list or special @SF for sourceforge projects
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/ \
ftp://ftp.de.openbsd.org/pub/unix/OpenBSD/OpenNTPD/ \
ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenNTPD/ \
ftp://ftp.sunet.se/pub/OpenBSD/OpenNTPD/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=10ed8eefd760e5819efcf3277b118f47
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -28,8 +27,9 @@ include $(INCLUDE_DIR)/package.mk
define Package/openntpd
SECTION:=net
CATEGORY:=Network
TITLE:=A free and easy to use NTP (Network Time Protocol) implementation
DESCRIPTION:=NTP server
TITLE:=NTP server
DESCRIPTION:=\
A free and easy to use NTP (Network Time Protocol) implementation.
URL:=http://www.openntpd.org/
endef
@ -75,24 +75,25 @@ grep -q '^ntp[[:space:]]*123/udp' $${IPKG_INSTROOT}/etc/services 2>/dev/null
endef
define Build/Configure
$(call Build/Configure/Default, --with-builtin-arc4random \
$(call Build/Configure/Default, \
--with-builtin-arc4random \
--with-privsep-user=ntp \
--with-adjtimex)
--with-adjtimex \
)
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -DUSE_ADJTIMEX"
endef
define Package/openntpd/install
install -d -m0755 $(1)/usr/sbin/
install -m0755 $(PKG_BUILD_DIR)/ntpd $(1)/usr/sbin/
install -d -m0755 $(1)/etc
install -m0644 ./files/ntpd.conf $(1)/etc/
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/ntpd.init $(1)/etc/init.d/ntpd
install -d -m0755 $(1)/usr/sbin/
install -m0755 $(PKG_BUILD_DIR)/ntpd $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,openntpd))

View File

@ -4,17 +4,17 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: $
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=openvpn
PKG_VERSION:=2.0.9
PKG_RELEASE:=1
PKG_MD5SUM:=60745008b90b7dbe25fe8337c550fec6
PKG_SOURCE_URL:=http://openvpn.net/release @SF/openvpn
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://openvpn.net/release @SF/openvpn
PKG_MD5SUM:=60745008b90b7dbe25fe8337c550fec6
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -22,15 +22,6 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
PKG_CONFIGURE_OPTIONS := --enable-shared \
--disable-static \
--disable-pthread \
--disable-debug \
--disable-plugins \
--enable-management \
--disable-socks \
--enable-password-save \
define Package/openvpn
SECTION:=net
CATEGORY:=Network
@ -39,23 +30,29 @@ define Package/openvpn
DESCRIPTION:=\
Open source VPN solution using SSL
URL:=http://openvpn.net
MENU:=1
endef
define Package/openvpn-easy-rsa
$(call Package/openvpn)
DEPENDS:=openvpn +openssl-util
TITLE:=Simple shell scripts to manage a Certificate Authority
MENU:=0
endef
define Build/Configure
$(call Build/Configure/Default,$(PKG_CONFIGURE_OPTIONS))
$(call Build/Configure/Default, \
--disable-pthread \
--disable-debug \
--disable-plugins \
--enable-management \
--disable-socks \
--enable-password-save \
)
endef
define Build/Compile
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \
install)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/openvpn/install
@ -64,8 +61,9 @@ define Package/openvpn/install
endef
define Package/openvpn-easy-rsa/install
install -d -m0755 $(1)/usr/sbin $(1)/etc/easy-rsa
$(CP) $(PKG_BUILD_DIR)/easy-rsa/2.0/{build-*,clean-all,inherit-inter,list-crl,pkitool,revoke-full,sign-req} $(1)/usr/sbin
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/easy-rsa/2.0/{build-*,clean-all,inherit-inter,list-crl,pkitool,revoke-full,sign-req} $(1)/usr/sbin/
install -d -m0755 $(1)/etc/easy-rsa
install -m 0644 $(PKG_BUILD_DIR)/easy-rsa/2.0/openssl.cnf $(1)/etc/easy-rsa/openssl.cnf
install -m 0644 $(PKG_BUILD_DIR)/easy-rsa/2.0/vars $(1)/etc/easy-rsa/vars
endef

View File

@ -12,13 +12,12 @@ PKG_NAME:=p910nd
PKG_VERSION:=0.7
PKG_RELEASE:=2
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.etherboot.org/p910nd
PKG_MD5SUM:=7bf752532d26c9106f8039db95df3a6b
PKG_CAT:=bzcat
PKG_INIT_PRIO=70
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
@ -26,14 +25,14 @@ define Package/p910nd
SECTION:=net
CATEGORY:=Network
TITLE:=A small non-spooling printer server
DESCRIPTION:=A small non-spooling printer server.\\\
p910nd is a small daemon that copies any data received on \\\
the port it is listening on to the corresponding printer \\\
port. It is primarily intended for diskless Linux hosts \\\
running as printer drivers but there is no reason why it \\\
could not be used on diskful hosts. Port 9100 is copied \\\
to /dev/lp0, 9101 to /dev/lp1 and 9102 to /dev/lp2. The \\\
default is port 9100 to /dev/lp0.
DESCRIPTION:=\
p910nd is a small daemon that copies any data received on \\\
the port it is listening on to the corresponding printer \\\
port. It is primarily intended for diskless Linux hosts \\\
running as printer drivers but there is no reason why it \\\
could not be used on diskful hosts. Port 9100 is copied \\\
to /dev/lp0, 9101 to /dev/lp1 and 9102 to /dev/lp2. The \\\
default is port 9100 to /dev/lp0.
URL:=http://www.etherboot.org/p910nd/
endef
@ -51,12 +50,12 @@ define Build/Compile
endef
define Package/p910nd/install
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/p910nd $(1)/usr/sbin/
install -d -m0755 $(1)/etc/default
install -m0644 ./files/p910nd.default $(1)/etc/default/p910nd
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/p910nd.init $(1)/etc/init.d/p910nd
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/p910nd $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,p910nd))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=parprouted
PKG_VERSION:=0.63
PKG_RELEASE:=1
PKG_MD5SUM:=12753098a22e82997d1941d6d2284750
PKG_SOURCE_URL:=http://www.hazard.maks.net/parprouted/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.hazard.maks.net/parprouted/
PKG_MD5SUM:=12753098a22e82997d1941d6d2284750
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -25,7 +25,8 @@ define Package/parprouted
SECTION:=net
CATEGORY:=Network
TITLE:=Proxy ARP daemon
DESCRIPTION:=parprouted is a daemon for transparent IP (Layer 3) proxy ARP bridging.\\\
DESCRIPTION:=\
parprouted is a daemon for transparent IP (Layer 3) proxy ARP bridging.\\\
This is useful for creation of transparent firewalls and bridging networks\\\
with different MAC protocols. Also, unlike standard bridging, proxy ARP\\\
bridging allows to bridge Ethernet networks behind wireless nodes without\\\
@ -34,16 +35,20 @@ define Package/parprouted
endef
define Build/Compile
$(call Build/Compile/Default,CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="" all)
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="" \
all \
)
endef
define Package/parprouted/install
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/parprouted $(1)/usr/sbin/
install -d -m0755 $(1)/etc/default
install -m0755 ./files/parprouted.default $(1)/etc/default/parprouted
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/parprouted.init $(1)/etc/init.d/parprouted
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/parprouted $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,parprouted))

View File

@ -11,14 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=portmap
PKG_VERSION:=5beta
PKG_RELEASE:=2
PKG_MD5SUM:=781e16ed4487c4caa082c6fef09ead4f
PKG_SOURCE_URL:=ftp://ftp.porcupine.org/pub/security
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.porcupine.org/pub/security
PKG_MD5SUM:=781e16ed4487c4caa082c6fef09ead4f
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
@ -27,7 +26,6 @@ define Package/portmap
CATEGORY:=Network
DEPENDS:=+libwrap
TITLE:=RPC Portmapper
DESCRIPTION:=The RPC Portmapper (used by the NFS Server)
URL:=ftp://ftp.porcupine.org/pub/security
endef
@ -40,10 +38,10 @@ define Build/Compile
endef
define Package/portmap/install
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/portmap.init $(1)/etc/init.d/portmap
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/portmap $(1)/usr/sbin/
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/portmap.init $(1)/etc/init.d/portmap
endef
$(eval $(call BuildPackage,portmap))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=portsentry
PKG_VERSION:=1.2
PKG_RELEASE:=1
PKG_MD5SUM:=3ebd3618ba9abfea2525e236bd44cebd
PKG_SOURCE_URL:=@SF/sentrytools
PKG_SOURCE:=$(PKG_NAME)-1.2.tar.gz
PKG_SOURCE_URL:=@SF/sentrytools
PKG_MD5SUM:=3ebd3618ba9abfea2525e236bd44cebd
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_beta
@ -25,7 +25,6 @@ define Package/portsentry
SECTION:=net
CATEGORY:=Network
TITLE:=Portscan protection utility
DESCRIPTION:=Software for protection against port scans
URL:=http://sourceforge.net/projects/sentrytools
endef
@ -33,15 +32,18 @@ define Package/portsentry/conffiles
/etc/portsentry.conf
endef
define Build/Configure
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) linux
endef
define Package/portsentry/install
mkdir -p $(1)/usr/bin
mkdir -p $(1)/etc
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(1)/etc/
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
install -d -m0755 $(1)/etc
install -m0644 $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(1)/etc/
install -d -m0755 $(1)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
endef
$(eval $(call BuildPackage,portsentry))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pptpd
PKG_VERSION:=1.3.0
PKG_RELEASE:=1
PKG_MD5SUM:=75d494e881f7027f4e60b114163f6b67
PKG_SOURCE_URL:=@SF/poptop
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/poptop
PKG_MD5SUM:=75d494e881f7027f4e60b114163f6b67
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -31,7 +31,9 @@ define Package/pptpd
endef
define Build/Configure
$(call Build/Configure/Default, --with-bcrelay)
$(call Build/Configure/Default, \
--with-bcrelay \
)
endef
define Build/Compile

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=psybnc
PKG_VERSION:=2.3.2-7
PKG_RELEASE:=1
PKG_MD5SUM:=4b893a92f914813450e0921b2894ad6c
PKG_SOURCE_URL:=http://www.psybnc.info/download/beta/
PKG_SOURCE:=psyBNC-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.psybnc.info/download/beta/
PKG_MD5SUM:=4b893a92f914813450e0921b2894ad6c
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
@ -26,30 +26,32 @@ define Package/psybnc
CATEGORY:=Network
DEPENDS:=
TITLE:=An IRC-Bouncer with many features
DESCRIPTION:=psyBNC is an easy-to-use, multi-user, permanent\\\
IRC-Bouncer with many features. Some of its features\\\
vhost- and relay support to connected bouncers and an\\\
extensive online help system. Many other helpful\\\
functions are included.\\\
DESCRIPTION:=\
psyBNC is an easy-to-use, multi-user, permanent \\\
IRC-Bouncer with many features. Some of its features \\\
vhost- and relay support to connected bouncers and an \\\
extensive online help system. Many other helpful \\\
functions are included.
URL:=http://www.psybnc.info/
endef
define Build/Compile
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS)" \
HOSTCC="$(HOSTCC)" \
all \
)
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS)" \
HOSTCC="$(HOSTCC)" \
all \
)
endef
define Package/psybnc/install
install -d -m0755 $(1)/usr/share/psybnc/lang/
install -d -m0755 $(1)/usr/share/psybnc/log/
install -d -m0755 $(1)/usr/sbin/
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/psybnc.sh $(1)/usr/sbin/psybnc
install -d -m0755 $(1)/usr/share/psybnc
install -m0755 $(PKG_BUILD_DIR)/psybnc $(1)/usr/share/psybnc/
install -m0600 $(PKG_BUILD_DIR)/psybnc.conf $(1)/usr/share/psybnc/
install -d -m0755 $(1)/usr/share/psybnc/lang
install -m0644 $(PKG_BUILD_DIR)/lang/english.lng $(1)/usr/share/psybnc/lang/
install -m0755 $(PKG_BUILD_DIR)/psybnc.sh $(1)/usr/sbin/psybnc
ln -sf /tmp $(1)/usr/share/psybnc/log
endef
$(eval $(call BuildPackage,psybnc))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ptunnel
PKG_VERSION:=0.61
PKG_RELEASE:=1
PKG_MD5SUM:=b45f73875f2af48f101816672f83a5fe
PKG_SOURCE_URL:=http://www.cti.ecp.fr/~beauxir5/ptunnel/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.cti.ecp.fr/~beauxir5/ptunnel/
PKG_MD5SUM:=b45f73875f2af48f101816672f83a5fe
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -27,32 +27,20 @@ define Package/ptunnel
CATEGORY:=Network
DEPENDS:=+libpthread +libpcap
TITLE:=Tunnel TCP connections over ICMP packets
DESCRIPTION:=ptunnel is an application that allows you to reliably tunnel TCP connections to\\\
a remote host using ICMP echo request and reply packets, commonly known as ping\\\
requests and replies. It acts as a proxy and can handle sockets and secured\\\
identification.\\\
DESCRIPTION:=\
ptunnel is an application that allows you to reliably tunnel TCP connections to \\\
a remote host using ICMP echo request and reply packets, commonly known as ping \\\
requests and replies. It acts as a proxy and can handle sockets and secured \\\
identification.
URL:=http://www.cs.uit.no/~daniels/PingTunnel/
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--disable-static \
--with-gnu-ld, \
$(TARGET_CONFIGURE_OPTS) \
BUILD_CC="$(TARGET_CC)" \
HOSTCC="$(HOSTCC)" \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
td_cv_buggygetaddrinfo="no" \
)
endef
# uses GNU configure
define Build/Compile
$(call Build/Compile/Default, \
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install \
)
all install
endef
define Package/ptunnel/install

View File

@ -11,12 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=raddump
PKG_VERSION:=0.3.1
PKG_RELEASE:=1
PKG_MD5SUM:=f8c29c67141ea78bb6ae8b97d5149480
PKG_SOURCE_URL:=@SF/raddump
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=@SF/raddump
PKG_MD5SUM:=f8c29c67141ea78bb6ae8b97d5149480
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,24 +27,25 @@ define Package/raddump
CATEGORY:=Network
DEPENDS:=+libpcap +libopenssl
TITLE:=raddump interprets captured RADIUS packets.
DESCRIPTION:=raddump interprets captured RADIUS packets to print a\\\
timestamp, packet length, RADIUS packet type, source and\\\
destination hosts and ports, and included attribute names and\\\
values for each packet.\\\
DESCRIPTION:=\
raddump interprets captured RADIUS packets to print a \\\
timestamp, packet length, RADIUS packet type, source and \\\
destination hosts and ports, and included attribute names and \\\
values for each packet.
URL:=http://sourceforge.net/projects/raddump
endef
define Build/Configure
$(call Build/Configure/Default)
endef
# uses GNU configure
define Build/Compile
$(MAKE) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) install
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/raddump/install
mkdir -p $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/raddump $(1)/usr/bin/
endef
$(eval $(call BuildPackage,raddump))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=reaim
PKG_VERSION:=0.8
PKG_RELEASE:=1
PKG_MD5SUM:=647d2ab72ec454f89294accfb3182c09
PKG_SOURCE_URL:=@SF/reaim
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/reaim
PKG_MD5SUM:=647d2ab72ec454f89294accfb3182c09
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -32,18 +32,18 @@ define Package/reaim
endef
define Build/Compile
$(call Build/Compile/Default, \
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install \
)
)
endef
define Package/reaim/install
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/reaim.init $(1)/etc/init.d/reaim
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/reaim $(1)/usr/sbin/
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/reaim.init $(1)/etc/init.d/reaim
endef
$(eval $(call BuildPackage,reaim))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=rp-l2tp
PKG_VERSION:=0.4
PKG_RELEASE:=1
PKG_MD5SUM:=0e45d11cb4fa6c56cce6b1d119733ed9
PKG_SOURCE_URL:=@SF/rp-l2tp
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/rp-l2tp
PKG_MD5SUM:=0e45d11cb4fa6c56cce6b1d119733ed9
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -22,41 +22,50 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
define Package/rp-l2tpd
define Package/rp-l2tpd/Default
SECTION:=net
CATEGORY:=Network
TITLE:=an L2TP (Layer 2 Tunneling Protocol) daemon
DESCRIPTION:=An L2TP (Layer 2 Tunneling Protocol) daemon.
TITLE:=Roaring Penguin L2TP
DESCRIPTION:=\
Roaring Penguin L2TP (Layer 2 Tunneling Protocol) implementation.
URL:=http://sourceforge.net/projects/rp-l2tp/
endef
define Package/rp-l2tpd
$(call Package/rp-l2tpd/Default)
TITLE+= daemon
MENU:=1
endef
define Package/rp-l2tpd-mod-cmd
SECTION:=net
CATEGORY:=Network
$(call Package/rp-l2tpd/Default)
DEPENDS:=rp-l2tpd
TITLE:=a simple command handler for the L2TP daemon
TITLE:=Simple command handler for the RR L2TP daemon
endef
define Package/rp-l2tpd-mod-ppp
SECTION:=net
CATEGORY:=Network
$(call Package/rp-l2tpd/Default)
DEPENDS:=rp-l2tpd
TITLE:=a PPP handler for the L2TP daeomon
TITLE:=PPP handler for the RR L2TP daeomon
endef
# uses GNU configure
define Build/Compile
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" all install)
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/rp-l2tpd/install
install -d -m0755 $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/l2tp.conf.example $(1)/etc/l2tp.conf
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/rp-l2tpd.init $(1)/etc/init.d/rp-l2tpd
install -d -m0755 $(1)/usr/lib/l2tp
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/l2tpd $(1)/usr/sbin/
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/rp-l2tpd.init $(1)/etc/init.d/rp-l2tpd
endef
define Package/rp-l2tpd-mod-cmd/install
@ -74,5 +83,3 @@ endef
$(eval $(call BuildPackage,rp-l2tpd))
$(eval $(call BuildPackage,rp-l2tpd-mod-cmd))
$(eval $(call BuildPackage,rp-l2tpd-mod-ppp))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=rp-pppoe
PKG_VERSION:=3.5
PKG_RELEASE:=1
PKG_MD5SUM:=97972f8f8f6a3ab9b7070333a6a29c4b
PKG_SOURCE_URL:=http://roaringpenguin.com/penguin/pppoe/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://roaringpenguin.com/penguin/pppoe/
PKG_MD5SUM:=97972f8f8f6a3ab9b7070333a6a29c4b
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -22,59 +22,36 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
define Package/rp-pppoe
define Package/rp-pppoe/Default
SECTION:=net
CATEGORY:=Network
DEPENDS:=+ppp
SUBMENU:=Roaring Penguin PPPoE (PPP over Ethernet) implementation
TITLE:=Roaring Penguin PPPoE (PPP over Ethernet) implementation
TITLE:=PPPoE (PPP over Ethernet)
URL:=http://roaringpenguin.com/penguin/pppoe/
endef
define Package/rp-pppoe-client
$(call Package/rp-pppoe)
TITLE:=PPPoE (PPP over Ethernet) client
$(call Package/rp-pppoe/Default)
TITLE+= client
endef
define Package/rp-pppoe-relay
$(call Package/rp-pppoe)
TITLE:=PPPoE (PPP over Ethernet) relay
$(call Package/rp-pppoe/Default)
TITLE+= relay
endef
define Package/rp-pppoe-server
$(call Package/rp-pppoe)
TITLE:=PPPoE (PPP over Ethernet) server
$(call Package/rp-pppoe/Default)
TITLE+= server
endef
define Package/rp-pppoe-sniff
$(call Package/rp-pppoe)
TITLE:=PPPoE (PPP over Ethernet) sniffer
$(call Package/rp-pppoe/Default)
TITLE+= sniffer
endef
define Build/Configure
(cd $(PKG_BUILD_DIR)/src ; rm -rf config.{cache,status}; \
$(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) \
)
$(call Build/Configure/Default,,, src)
endef
define Build/Compile
@ -122,4 +99,3 @@ $(eval $(call BuildPackage,rp-pppoe-client))
$(eval $(call BuildPackage,rp-pppoe-relay))
$(eval $(call BuildPackage,rp-pppoe-server))
$(eval $(call BuildPackage,rp-pppoe-sniff))

View File

@ -14,8 +14,8 @@ PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.openwall.com/scanlogd/ \
ftp://ftp.wiretapped.net/pub/openwall/ \
http://distro.ibiblio.org/pub/linux/distributions/openwall/
ftp://ftp.wiretapped.net/pub/openwall/ \
http://distro.ibiblio.org/pub/linux/distributions/openwall/
PKG_MD5SUM:=7b8187ea718ebe47f22805b921b909ab
PKG_CAT:=zcat

View File

@ -45,7 +45,7 @@ endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR=$(PKG_INSTALL_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ser2net
PKG_VERSION:=2.3
PKG_RELEASE:=1
PKG_MD5SUM:=5f83a3e8aec18331cb61069dccdfba47
PKG_SOURCE_URL:=@SF/ser2net/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/ser2net
PKG_MD5SUM:=5f83a3e8aec18331cb61069dccdfba47
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,44 +26,31 @@ define Package/ser2net
SECTION:=net
CATEGORY:=Network
TITLE:=Serial port TCP/IP redirector
DESCRIPTION:=This is ser2net, a program for allowing network connections to serial\\\
ports. See the man page for information about using the program. Note\\\
that ser2net supports RFC 2217 (remote control of serial port parameters),\\\
but you must have a complient client.\\\
URL:=http://sourceforge.net/projects/ser2net
DESCRIPTION:=\
This is ser2net, a program for allowing network connections to serial \\\
ports. See the man page for information about using the program. Note \\\
that ser2net supports RFC 2217 (remote control of serial port parameters), \\\
but you must have a complient client.
URL:=http://sourceforge.net/projects/ser2net/
endef
define Package/ser2net/conffiles
/etc/ser2net.conf
endef
define Build/Configure
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--sysconfdir=/etc \
);
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
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/ser2net/install
install -d -m0755 $(1)/usr/sbin
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/ser2net $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ser2net $(1)/usr/sbin/
install -d -m0755 $(1)/etc
cp -fpR $(PKG_BUILD_DIR)/ser2net.conf $(1)/etc
$(CP) $(PKG_BUILD_DIR)/ser2net.conf $(1)/etc/
endef
$(eval $(call BuildPackage,ser2net))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=shat
PKG_VERSION:=0.9.7
PKG_RELEASE:=1
PKG_MD5SUM:= da06846f35838b14d1513523dad84d24
PKG_SOURCE_URL:=http://world.maxina.de/src/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://world.maxina.de/src/
PKG_MD5SUM:=da06846f35838b14d1513523dad84d24
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,7 +26,8 @@ define Package/shat
SECTION:=net
CATEGORY:=Network
TITLE:=Source Hardware Address Translation
DESCRIPTION:=A tool which allows hosts with arbitrary IP configuration\\\
DESCRIPTION:=\
A tool which allows hosts with arbitrary IP configuration\\\
to connect to the internet over a SHAT gateway.\\\
URL:=http://www.teddy-net.com/cvs/Maxina/128gw/service/arpcatch/shat/
endef

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=sipp
PKG_VERSION:=1.0
PKG_RELEASE:=1
PKG_MD5SUM:=8866e9af0d3bc29e91ebb6eab89a7f1f
PKG_SOURCE_URL:=@SF/sipp
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/sipp
PKG_MD5SUM:=8866e9af0d3bc29e91ebb6eab89a7f1f
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
@ -26,7 +26,8 @@ define Package/sipp
CATEGORY:=Network
DEPENDS:=+uclibcxx +libpthread +libncurses
TITLE:=test tool / traffic generator for the SIP protocol
DESCRIPTION:=SIPp is a free Open Source test tool / traffic generator for the SIP protocol.\\\
DESCRIPTION:=\
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.\\\
URL:=http://sipp.sourceforge.net
@ -46,8 +47,8 @@ define Build/Compile
endef
define Package/sipp/install
mkdir -p $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,sipp))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=siproxd
PKG_VERSION:=0.5.13
PKG_RELEASE:=1
PKG_MD5SUM:=91a572f80dd5a9af5a0f7f207fd34478
PKG_SOURCE_URL:=@SF/siproxd
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/siproxd
PKG_MD5SUM:=91a572f80dd5a9af5a0f7f207fd34478
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -27,7 +27,6 @@ define Package/siproxd
CATEGORY:=Network
DEPENDS:=+libosip2
TITLE:=SIP (Session Initiation Protocol) proxy
DESCRIPTION:=A SIP (Session Initiation Protocol) proxy
URL:=http://siproxd.sourceforge.net/
endef
@ -35,13 +34,9 @@ define Package/siproxd/conffiles
/etc/siproxd.conf
endef
define Build/Configure
$(call Build/Configure/Default,--enable-static --enable-shared)
endef
# uses GNU configure
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
SUBDIRS="src scripts contrib" \
@ -49,13 +44,13 @@ define Build/Compile
endef
define Package/siproxd/install
install -d -m0755 $(1)/etc
$(CP) $(PKG_BUILD_DIR)/doc/siproxd.conf.example $(1)/etc/siproxd.conf
$(CP) $(PKG_BUILD_DIR)/doc/siproxd_passwd.cfg $(1)/etc/
install -d -m0755 $(1)/etc/init.d
install -m0755 files/siproxd.init $(1)/etc/init.d/siproxd
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/siproxd $(1)/usr/sbin/
install -d -m0755 $(1)/etc
install -m0644 $(PKG_BUILD_DIR)/doc/siproxd.conf.example $(1)/etc/siproxd.conf
install -m0600 $(PKG_BUILD_DIR)/doc/siproxd_passwd.cfg $(1)/etc/
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/siproxd.init $(1)/etc/init.d/siproxd
endef
$(eval $(call BuildPackage,siproxd))

View File

@ -11,11 +11,11 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=sipsak
PKG_VERSION:=0.9.6
PKG_RELEASE:=1
PKG_MD5SUM:=c4eb8e282902e75f4f040f09ea9d99d5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://download.berlios.de/sipsak/ \
http://ftp.iptel.org/pub/sipsak/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=c4eb8e282902e75f4f040f09ea9d99d5
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -28,19 +28,16 @@ define Package/sipsak
CATEGORY:=Network
DEPEDNDS:=+libopenssl
TITLE:=SIP (Session Initiation Protocol) stress and diagnostics utility
DESCRIPTION:=A SIP (Session Initiation Protocol) stress and diagnostics utility
URL:=http://www.sipsak.org/
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--disable-static \
--disable-gnutls,ac_cv_func_malloc_0_nonnull=yes)
$(call Build/Configure/Default, \
--disable-gnutls \
)
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

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=socat
PKG_VERSION:=1.4.3.0
PKG_RELEASE:=1
PKG_MD5SUM:=ce574e75c2fda4456e8efd4efb86ec5e
PKG_SOURCE_URL:=http://www.dest-unreach.org/socat/download/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.dest-unreach.org/socat/download/
PKG_MD5SUM:=ce574e75c2fda4456e8efd4efb86ec5e
PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-1.4
@ -27,22 +27,29 @@ define Package/socat
CATEGORY:=Network
DEPENDS:=+libopenssl +libpthread
TITLE:=A multipurpose relay (SOcket CAT)
DESCRIPTION:=SoCat (for SOcket CAT) establishes two bidirectional byte streams and\\\
DESCRIPTION:=\
SoCat (for SOcket CAT) establishes two bidirectional byte streams and \\\
transfers data between them.\\\
Data channels may be files, pipes, devices (terminal or modem, etc.), or\\\
sockets (Unix, IPv4, IPv6, raw, UDP, TCP, SSL). It provides forking,\\\
logging and tracing, different modes for interprocess communication and\\\
many more options.\\\
Data channels may be files, pipes, devices (terminal or modem, etc.), or \\\
sockets (Unix, IPv4, IPv6, raw, UDP, TCP, SSL). It provides forking, \\\
logging and tracing, different modes for interprocess communication and \\\
many more options.
URL:=http://www.dest-unreach.org/socat/
endef
define Build/Configure
$(call Build/Configure/Default,--disable-libwrap \
--disable-readline, sc_cv_termios_ispeed="no")
$(call Build/Configure/Default, \
--disable-libwrap \
--disable-readline \
, \
sc_cv_termios_ispeed="no" \
)
endef
define Build/Compile
$(call Build/Compile/Default, DESTDIR="$(PKG_INSTALL_DIR)" all install)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/socat/install

View File

@ -5,7 +5,7 @@
# See /LICENSE for more information.
#
# $Id$
#
include $(TOPDIR)/rules.mk
PKG_NAME:=squid

View File

@ -11,14 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=srelay
PKG_VERSION:=0.4.6
PKG_RELEASE:=1
PKG_MD5SUM:=4a9f3298b38d8588f0ffde31b946a47f
PKG_SOURCE_URL:=@SF/socks-relay
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/socks-relay
PKG_MD5SUM:=4a9f3298b38d8588f0ffde31b946a47f
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 +25,6 @@ define Package/srelay
SECTION:=net
CATEGORY:=Network
TITLE:=A socks 4/5 proxy server
DESCRIPTION:=A socks 4/5 protocol proxy server
URL:=http://www.c-wind.com/srelay/
endef
@ -35,15 +33,22 @@ define Package/srelay/conffiles
endef
define Build/Configure
$(call Build/Configure/Default,--disable-thread)
$(call Build/Configure/Default, \
--disable-thread \
)
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)
endef
define Package/srelay/install
install -m0755 -d $(1)/usr/bin
install -m0755 -d $(1)/etc/init.d
install -d -m0755 $(1)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/srelay $(1)/usr/bin/
install -d -m0755 $(1)/etc
install -m0644 files/srelay.conf $(1)/etc/
install -d -m0755 $(1)/etc/init.d
install -m0755 files/srelay.init $(1)/etc/init.d/srelay
install -m0644 files/srelay.conf $(1)/etc
endef
$(eval $(call BuildPackage,srelay))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ssltunnel
PKG_VERSION:=1.15
PKG_RELEASE:=1
PKG_MD5SUM:=bfe529edb9b6c97bc03d213676b1f35d
PKG_SOURCE_URL:=http://www.hsc.fr/ressources/outils/ssltunnel/download
PKG_SOURCE:=${PKG_NAME}-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.hsc.fr/ressources/outils/ssltunnel/download
PKG_MD5SUM:=bfe529edb9b6c97bc03d213676b1f35d
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -27,26 +27,29 @@ define Package/ssltunnel
CATEGORY:=Network
DEPENDS:=+ppp +libopenssl
TITLE:=A PPP over SSL vpn tool
DESCRIPTION:=A PPP over SSL vpn tool
URL:=http://www.hsc.fr/ressources/outils/ssltunnel/index.html
endef
define Build/Configure
$(call Build/Configure/Default,,BUILD_CC="$(TARGET_CC)" HOSTCC="$(HOSTCC)")
$(call Build/Configure/Default, \
, \
BUILD_CC="$(TARGET_CC)" \
HOSTCC="$(HOSTCC)" \
)
endef
define Build/Compile
$(call Build/Compile/Default,CCOPT="$(TARGET_CFLAGS)" INCLS="-I. -I$(STAGING_DIR)/usr/include" \
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install)
all install
endef
define Package/ssltunnel/install
install -m0755 -d $(1)/usr/bin
install -m0755 -d $(1)/usr/sbin
install -m0755 -d $(1)/usr/lib
install -d -m0755 $(1)/usr/bin
install -m0755 $(PKG_INSTALL_DIR)/usr/bin/pppclient $(1)/usr/bin/
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/pppwho $(1)/usr/sbin/
install -d -m0755 $(1)/usr/lib
install -m0755 $(PKG_INSTALL_DIR)/usr/lib/pppserver $(1)/usr/lib/
endef

View File

@ -11,14 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ssmtp
PKG_VERSION:=2.61
PKG_RELEASE:=1
PKG_MD5SUM:=957e6fff08625fe34f4fc33d0925bbc9
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/s/ssmtp/
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/s/ssmtp/
PKG_MD5SUM:=957e6fff08625fe34f4fc33d0925bbc9
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,25 +25,28 @@ define Package/ssmtp
SECTION:=net
CATEGORY:=Network
TITLE:=A minimal and secure mail sender
DESCRIPTION:=A secure, effective and simple way of getting mail off a system to your\\\
mail hub. It contains no suid-binaries or other dangerous things - no\\\
DESCRIPTION:=\
A secure, effective and simple way of getting mail off a system to your \\\
mail hub. It contains no suid-binaries or other dangerous things - no \\\
mail spool to poke around in, and no daemons running in the background.\\\
mail is simply forwarded to the configured mailhost. Extremely easy\\\
mail is simply forwarded to the configured mailhost. Extremely easy \\\
configuration.
URL:=http://packages.debian.org/stable/mail/ssmtp
endef
# uses GNU configure
define Build/Compile
$(call Build/Compile/Default,all)
$(MAKE) -C $(PKG_BUILD_DIR) \
all
endef
define Package/ssmtp/install
install -m0755 -d $(1)/etc/ssmtp
install -d -m0755 $(1)/etc/ssmtp
install -m0644 $(PKG_BUILD_DIR)/ssmtp.conf $(1)/etc/ssmtp/
install -m0644 $(PKG_BUILD_DIR)/revaliases $(1)/etc/ssmtp/
install -m0755 -d $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/ssmtp $(1)/usr/sbin/
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/ssmtp $(1)/usr/sbin/
ln -sf ssmtp $(1)/usr/sbin/sendmail
endef

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tcp_wrappers
PKG_VERSION:=7.6
PKG_RELEASE:=1
PKG_MD5SUM:=e6fa25f71226d090f34de3f6b122fb5a
PKG_SOURCE_URL:=ftp://ftp.porcupine.org/pub/security
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.porcupine.org/pub/security
PKG_MD5SUM:=e6fa25f71226d090f34de3f6b122fb5a
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION)
@ -25,7 +25,6 @@ define Package/libwrap
SECTION:=net
CATEGORY:=Network
TITLE:=Security wrapper library for TCP services
DESCRIPTION:=Security wrapper library for TCP services.
URL:=ftp://ftp.porcupine.org/pub/security/index.html
endef
@ -46,11 +45,6 @@ define Build/Compile
tidy all
endef
define Package/libwrap/install
install -d -m0755 $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/shared/libwrap.so.* $(1)/usr/lib/
endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_BUILD_DIR)/tcpd.h $(STAGING_DIR)/usr/include/
@ -61,8 +55,13 @@ endef
define Build/UninstallDev
rm -rf \
$(STAGING_DIR)/usr/include/tcpd.h \
$(STAGING_DIR)/usr/lib/libwrap.{a,so*}
$(STAGING_DIR)/usr/include/tcpd.h \
$(STAGING_DIR)/usr/lib/libwrap.{a,so*}
endef
define Package/libwrap/install
install -d -m0755 $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/shared/libwrap.so.* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libwrap))

View File

@ -11,12 +11,12 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tinc
PKG_VERSION:=1.0.4
PKG_RELEASE:=1
PKG_MD5SUM:=63887373dd763f8d90cecc5a3616c363
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.tinc-vpn.org/packages \
http://ftp.yi.se/pub/tinc/ \
http://www.mirrors.wiretapped.net/security/network-security/tinc/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=63887373dd763f8d90cecc5a3616c363
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -29,22 +29,21 @@ define Package/tinc
CATEGORY:=Network
DEPENDS:=+liblzo +libopenssl +zlib
TITLE:=VPN tunneling daemon
DESCRIPTION:=A VPN tunneling daemon
URL:=http://www.tinc-vpn.org/
endef
define Build/Configure
$(call Build/Configure/Default,--with-kernel=$(LINUX_DIR) \
--with-zlib=$(STAGING_DIR)/usr/ \
--with-lzo-include=$(STAGING_DIR)/usr/include/lzo \
)
$(call Build/Configure/Default, \
--with-kernel="$(LINUX_DIR)" \
--with-zlib="$(STAGING_DIR)/usr" \
--with-lzo-include="$(STAGING_DIR)/usr/include/lzo" \
)
endef
define Build/Compile
$(call Build/Compile/Default,CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install)
all install
endef
define Package/tinc/install

View File

@ -4,7 +4,7 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: $
# $Id$
include $(TOPDIR)/rules.mk
@ -26,32 +26,35 @@ define Package/tinyproxy
SECTION:=net
CATEGORY:=Network
TITLE:=Tinyproxy is a lightweight HTTP and HTTPS proxy.
DESCRIPTION:=\
Tinyproxy is a lightweight HTTP and HTTPS proxy.\
URL:=http://tinyproxy.sourceforge.net
URL:=http://tinyproxy.sourceforge.net/
endef
define Package/tinyproxy/conffiles
/etc/tinyproxy/tinyproxy.conf
endef
define Build/Configure
$(call Build/Configure/Default,\
--disable-static \
--enable-transparent-proxy \
)
$(call Build/Configure/Default,\
--enable-filter \
--enable-transparent-proxy \
)
endef
define Build/Compile
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" install)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/tinyproxy/install
install -d -m0755 $(1)/usr/sbin \
$(1)/etc/tinyproxy \
$(1)/etc/init.d \
$(1)/var/log \
$(1)/usr/share
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/tinyproxy $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/share/tinyproxy $(1)/usr/share/
$(CP) $(PKG_INSTALL_DIR)/etc/tinyproxy $(1)/etc/
$(CP) files/tinyproxy.init $(1)/etc/init.d/tinyproxy
install -d -m0755 $(1)/usr/share/tinyproxy
$(CP) $(PKG_INSTALL_DIR)/usr/share/tinyproxy/*.html $(1)/usr/share/tinyproxy/
install -d -m0755 $(1)/etc/tinyproxy
$(CP) $(PKG_INSTALL_DIR)/etc/tinyproxy/tinyproxy.conf $(1)/etc/tinyproxy/
install -d -m0755 $(1)/etc/init.d
$(CP) ./files/tinyproxy.init $(1)/etc/init.d/tinyproxy
endef
$(eval $(call BuildPackage,tinyproxy))

View File

@ -11,12 +11,12 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tor
PKG_VERSION:=0.1.0.17
PKG_RELEASE:=1
PKG_MD5SUM:=83c4afe29fa82473afcb2ec7e17771b9
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://tor.eff.org/dist/ \
http://ftp.se.linux.org/crypto/tor/ \
http://tor.meulie.net/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=83c4afe29fa82473afcb2ec7e17771b9
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -29,12 +29,13 @@ define Package/tor
CATEGORY:=Network
DEPENDS:=+libevent +libopenssl +libpthread +zlib
TITLE:=An anonymous Internet communication system
DESCRIPTION:=Tor is a toolset for a wide range of organizations and people that want\\\
to improve their safety and security on the Internet. Using Tor can\\\
help you anonymize web browsing and publishing, instant messaging,\\\
IRC, SSH, and more. Tor also provides a platform on which software\\\
developers can build new applications with built-in anonymity, safety,\\\
and privacy features.\\\
DESCRIPTION:=\
Tor is a toolset for a wide range of organizations and people that want \\\
to improve their safety and security on the Internet. Using Tor can \\\
help you anonymize web browsing and publishing, instant messaging, \\\
IRC, SSH, and more. Tor also provides a platform on which software \\\
developers can build new applications with built-in anonymity, safety, \\\
and privacy features.
URL:=http://tor.eff.org/
endef
@ -78,26 +79,29 @@ fi
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--disable-static,ac_cv_libevent_normal=yes \
$(call Build/Configure/Default,\
--with-gnu-ld \
, \
ac_cv_libevent_normal=yes \
ac_cv_openssldir="$(STAGING_DIR)/usr" \
tor_cv_null_is_zero=yes \
tor_cv_unaligned_ok=yes)
tor_cv_unaligned_ok=yes \
)
endef
define Build/Compile
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \
all install)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/tor/install
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/tor $(1)/usr/sbin/
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/tor.init $(1)/etc/init.d/tor
install -d -m0755 $(1)/etc/tor
install -m0644 ./files/torrc $(1)/etc/tor/torrc
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/tor $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,tor))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=udp-broadcast-relay
PKG_VERSION:=0.3
PKG_RELEASE:=1
PKG_MD5SUM:=a32f983b7063d6ac670e6b22be9b9d24
PKG_SOURCE_URL:=http://www.joachim-breitner.de/udp-broadcast-relay/files/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.joachim-breitner.de/udp-broadcast-relay/files/
PKG_MD5SUM:=a32f983b7063d6ac670e6b22be9b9d24
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -25,14 +25,15 @@ define Package/udp-broadcast-relay
SECTION:=net
CATEGORY:=Network
TITLE:=listens for packets on a specified UDP broadcast port
DESCRIPTION:=This program listens for packets on a specified UDP broadcast port.\\\
When a packet is received, it sends that packet to all specified interfaces but\\\
the one it came from as though it originated from the original sender.\\\
The primary purpose of this is to allow games on machines on separated\\\
local networks (Ethernet, WLAN) that use udp broadcasts to find each other to do so.\\\
It also works on ppp links, so you can log in from windows boxes (e.g. using pptp)\\\
and play LAN-based games together. Currently, you have to care about upcoming or\\\
downgoing interfaces yourself.\\\
DESCRIPTION:=\
This program listens for packets on a specified UDP broadcast port.\\\
When a packet is received, it sends that packet to all specified interfaces but \\\
the one it came from as though it originated from the original sender.\\\
The primary purpose of this is to allow games on machines on separated \\\
local networks (Ethernet, WLAN) that use udp broadcasts to find each other to do so.\\\
It also works on ppp links, so you can log in from windows boxes (e.g. using pptp) \\\
and play LAN-based games together. Currently, you have to care about upcoming or \\\
downgoing interfaces yourself.
URL:=http://www.joachim-breitner.de/udp-broadcast-relay/
endef
@ -41,7 +42,7 @@ define Build/Compile
endef
define Package/udp-broadcast-relay/install
mkdir -p $(1)/usr/sbin
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
endef

View File

@ -3,7 +3,7 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: $
# $Id$
include $(TOPDIR)/rules.mk

View File

@ -11,12 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=vgp
PKG_VERSION:=0.2.1
PKG_RELEASE:=1
PKG_MD5SUM:=b8c25b5dfcb944f78bbc584be9c230c7
PKG_SOURCE_URL:=http://vgpd.freaknet.org/files/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=http://vgpd.freaknet.org/files/
PKG_MD5SUM:=b8c25b5dfcb944f78bbc584be9c230c7
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
@ -24,22 +25,27 @@ include $(INCLUDE_DIR)/package.mk
define Package/vgp
SECTION:=net
CATEGORY:=Network
TITLE:=a daemon working like Cisco(c) HSRP
DESCRIPTION:=VGP (Virtual Gateway Protocol)is a very simple protocol able to\\\
work in a way similar to Cisco(c) HSRP. It implements the idea\\\
of Virtual Gateway to provide fault tollerance (and load\\\
balancing) on your net. Each client on your net has as its\\\
default gateway the virtual gateway and not the real router.\\\
TITLE:=A daemon working like Cisco(c) HSRP
DESCRIPTION:=\
VGP (Virtual Gateway Protocol)is a very simple protocol able to \\\
work in a way similar to Cisco(c) HSRP. It implements the idea \\\
of Virtual Gateway to provide fault tollerance (and load \\\
balancing) on your net. Each client on your net has as its \\\
default gateway set to the virtual gateway and not the real router.
URL:=http://vgpd.freaknet.org/
endef
# uses GNU configure
define Build/Compile
$(call Build/Compile/Default,DESTDIR=$(PKG_INSTALL_DIR) install)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/vgp/install
mkdir -p $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/vgpd $(1)/usr/bin/
endef
$(eval $(call BuildPackage,vgp))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=vnc-reflector
PKG_VERSION:=1.2.4
PKG_RELEASE:=1
PKG_MD5SUM:=c3f88bc62f228b335c25c07f9744ab0c
PKG_SOURCE_URL:=@SF/vnc-reflector
PKG_SOURCE:=vnc_reflector-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/vnc-reflector
PKG_MD5SUM:=c3f88bc62f228b335c25c07f9744ab0c
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/vnc_reflector
@ -26,18 +26,21 @@ define Package/vnc-reflector
CATEGORY:=Network
DEPENDS:=+libjpeg +zlib
TITLE:=VNC proxy for multiple clients
DESCRIPTION:=VNC Reflector is a specialized VNC server which acts as\\\
a proxy sitting between real VNC server (a host) and a\\\
number of VNC clients. It was designed to work efficiently\\\
with large number of clients.\\\
DESCRIPTION:=\
VNC Reflector is a specialized VNC server which acts as \\\
a proxy sitting between real VNC server (a host) and a \\\
number of VNC clients. It was designed to work efficiently \\\
with large number of clients.
URL:=http://sourceforge.net/projects/vnc-reflector
endef
define Build/Compile
$(call Build/Compile/Default,CC="$(TARGET_CC)" \
$(call Build/Compile/Default, \
CC="$(TARGET_CC)" \
OFLAGS="$(TARGET_CFLAGS)" \
STAGING_DIR=$(STAGING_DIR) \
default)
STAGING_DIR="$(STAGING_DIR)" \
default \
)
endef
define Package/vnc-reflector/install

View File

@ -4,17 +4,17 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: $
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=vncrepeater
PKG_VERSION:=0.12
PKG_RELEASE:=1
PKG_MD5SUM:=5951740a8a103d7d9668558b3639c6c4
PKG_SOURCE_URL:=http://www.rit.edu/~reh5586/openwrt/packages/vncrepeater/src
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.rit.edu/~reh5586/openwrt/packages/vncrepeater/src
PKG_MD5SUM:=5951740a8a103d7d9668558b3639c6c4
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -27,12 +27,13 @@ define Package/vncrepeater
CATEGORY:=Network
DEPENDS:=+uclibcxx
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.\\\
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
endef
@ -41,11 +42,11 @@ define Package/vncrepeater/
endef
define Build/Compile
$(call Build/Compile/Default, \
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
STAGING_DIR="$(STAGING_DIR)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
repeater)
repeater \
)
endef
define Package/vncrepeater/install

Some files were not shown because too many files have changed in this diff Show More