massive Makefile cleanup, add missing 'svn:keywords' property
authorNicolas Thill <nico@openwrt.org>
Mon, 30 Oct 2006 13:51:50 +0000 (13:51 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 30 Oct 2006 13:51:50 +0000 (13:51 +0000)
SVN-Revision: 5348

139 files changed:
admin/osiris/Makefile
ipv6/6tunnel/Makefile
ipv6/aiccu/Makefile
ipv6/mrd6/Makefile
lang/jamvm/Makefile
libs/bzip2/Makefile
libs/cgilib/Makefile
libs/libexif/Makefile
libs/libffi-sable/Makefile
libs/libgphoto2/Makefile
libs/libiconv/Makefile
libs/libjpeg/Makefile
libs/libupnp/Makefile
libs/matrixssl/Makefile
libs/popt/Makefile
libs/uclibc++/Makefile
multimedia/gphoto2/Makefile
multimedia/motion/Makefile
multimedia/peercast/Makefile
net/aircrack-ng/Makefile
net/amwall/Makefile
net/aodv-uu/Makefile
net/arpd/Makefile
net/arpwatch/Makefile
net/atftp/Makefile
net/autossh/Makefile
net/bind/Makefile
net/bing/Makefile
net/bitchx/Makefile
net/bitlbee/Makefile
net/bmon/Makefile
net/bwm/Makefile
net/crowdcontrol/Makefile
net/ctorrent/Makefile
net/cups/Makefile
net/cutter/Makefile
net/dhcp-forwarder/Makefile
net/dhcp/Makefile
net/dsl-qos-queue/Makefile
net/ethtool/Makefile
net/ettercap/Makefile
net/fping/Makefile
net/fprobe-ulog/Makefile
net/fprobe/Makefile
net/frickin/Makefile
net/htpdate/Makefile
net/httping/Makefile
net/iftop/Makefile
net/igmpproxy/Makefile
net/ipcad/Makefile
net/iperf/Makefile
net/ipkungfu/Makefile
net/iptables-snmp/Makefile
net/irssi/Makefile
net/l2tpd/Makefile
net/l2tpns/Makefile
net/maradns/Makefile
net/miau/Makefile
net/miax/Makefile
net/mini_sendmail/Makefile
net/netperf/Makefile
net/netstat-nat/Makefile
net/nfs-kernel-server/Makefile
net/nocatsplash/Makefile
net/ntpclient/Makefile
net/oidentd/Makefile
net/openntpd/Makefile
net/openvpn/Makefile
net/p910nd/Makefile
net/parprouted/Makefile
net/portmap/Makefile
net/portsentry/Makefile
net/pptpd/Makefile
net/psybnc/Makefile
net/ptunnel/Makefile
net/raddump/Makefile
net/reaim/Makefile
net/rp-l2tp/Makefile
net/rp-pppoe/Makefile
net/scanlogd/Makefile
net/scdp/Makefile
net/ser2net/Makefile
net/shat/Makefile
net/sipp/Makefile
net/siproxd/Makefile
net/sipsak/Makefile
net/socat/Makefile
net/squid/Makefile
net/srelay/Makefile
net/ssltunnel/Makefile
net/ssmtp/Makefile
net/tcp_wrappers/Makefile
net/tinc/Makefile
net/tinyproxy/Makefile
net/tor/Makefile
net/udp-broadcast-relay/Makefile
net/uob-nomad/Makefile
net/vgp/Makefile
net/vnc-reflector/Makefile
net/vncrepeater/Makefile
net/vpnc/Makefile
net/vrrpd/Makefile
net/vsftpd/Makefile
net/vtun/Makefile
net/wdiag/Makefile
net/wifidog/Makefile
net/wknock/Makefile
net/wpa_supplicant/Makefile
net/wrt-radauth/Makefile
net/xsupplicant/Makefile
net/yafc/Makefile
sound/madplay/Makefile
sound/mt-daapd/Makefile
utils/alsa-utils/Makefile
utils/bc/Makefile
utils/cifsmount/Makefile
utils/collectd/Makefile
utils/deco/Makefile
utils/dosfstools/Makefile
utils/dtach/Makefile
utils/fetchmail/Makefile
utils/heyu/Makefile
utils/lilo/Makefile
utils/logrotate/Makefile
utils/lrzsz/Makefile
utils/macchanger/Makefile
utils/minicom/Makefile
utils/mutt/Makefile
utils/nano/Makefile
utils/pciutils/Makefile
utils/pipacs/Makefile
utils/procmail/Makefile
utils/rrdcollect/Makefile
utils/sane-backends/Makefile
utils/setpwc/Makefile
utils/strace/Makefile
utils/usbutils/Makefile
utils/vim/Makefile
utils/wx200d/Makefile

index 81a180758c61704adc91c121143e8b2f461fec5f..6e8a212ad3756a8e92d3a266dc909902f264befe 100644 (file)
@@ -12,13 +12,12 @@ PKG_NAME:=osiris
 PKG_VERSION:=4.2.1
 PKG_RELEASE:=1
 
 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_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
 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)
   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
 
   URL:=http://www.hostintegrity.com/osiris
 endef
 
@@ -42,8 +40,6 @@ define Build/Configure
 endef
 
 define Build/Compile   
 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)" \
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
@@ -52,10 +48,10 @@ define Build/Compile
 endef
 
 define Package/osirisd/install 
 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)/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))
 endef
 
 $(eval $(call BuildPackage,osirisd))
index 0ead0c7b713d5c3e76395f08f5c4ad5bedb19296..59e63594b92256eb6da14145b9945904ea4e11ec 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # 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
 
 
 include $(TOPDIR)/rules.mk
 
index 933bf738cc52619b01338bc1d03f5cc9bb8f5752..a70a4a61e720840d1b69f88dd9d6616d18f7453d 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
index 3d8435e2e3d2e1be35c628b2c49825515fe3bbbf..48e40a40fb009cb07ffa248f8668927f88d13b1c 100644 (file)
@@ -49,8 +49,8 @@ define Build/Compile
                CFLAGS="$(TARGET_CFLAGS) -DNO_INET6_OPTION" \
                CXX="$(TARGET_CROSS)g++" \
                CC="$(TARGET_CC)" \
                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
                PREFIX=/usr/ \
                install
 endef
index 96adf8d63cd7349bcc010c93486b7f935fd4e300..0859da2f29936ee266ebfc2156ade86ae931168a 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
index 3e4bf537f49fe3913e114ad0a5195bbb90c2cca4..fa753a4dd4dc89ae916fc7af3f72e28ec5aa1aa1 100644 (file)
@@ -4,38 +4,33 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # 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
 
 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:=$(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_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
 
 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
 endef
 
 define Build/Compile
-       rm -rf $(PKG_INSTALL_DIR)
-       mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
-               DESTDIR="$(PKG_INSTALL_DIR)" \
                libbz2.a
 endef
 
                libbz2.a
 endef
 
@@ -48,8 +43,8 @@ endef
        
 define Build/UninstallDev
        rm -rf \
        
 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))
 endef
 
 $(eval $(call BuildPackage,libbzip2))
index cc6498b4dcfdcbda545f623f2da4647c728b9bde..25175c55c891613f474a27553a866382694292fc 100644 (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
 
 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:=$(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_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
 
 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
 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
 
        $(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/
 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 \
        
 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))
 endef
 
 $(eval $(call BuildPackage,cgilib))
index 6d0c18199d4b10419ccc1b5d74b1c2e0b3797ef6..2ebfa14c450c3a4639501dd0f40933016bc3d0a4 100644 (file)
@@ -4,8 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # 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
 
 
 include $(TOPDIR)/rules.mk
 
@@ -13,12 +12,12 @@ PKG_NAME:=libexif
 PKG_VERSION:=0.6.13
 PKG_RELEASE:=1
 
 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_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
 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
   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
 
   URL:=http://libexif.sourceforge.net/
 endef
 
-BIG_ENDIAN:=no
-ifeq ($(CONFIG_BIG_ENDIAN),y)
-BIG_ENDIAN:=yes
-endif
-
 define Build/Configure
 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
 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
 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
        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
 
                $(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))
 $(eval $(call BuildPackage,libexif))
index eeb3935ac762773e122b637e56549ff471b6dfeb..850faf47bf9d213588e4429cd60675c2f755836c 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(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)
 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)
   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
   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   
 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
 
        $(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/
 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
 
                $(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))
 $(eval $(call BuildPackage,libffi-sable))
index d7738d7a3c8cad057cd933fb22bc4ed750a9a15c..e89eda46f34d221ddb7f4d606a4671bc21ccb2a7 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
 
 include $(TOPDIR)/rules.mk
 
index ef4a10ab55a6ce4a8892f3a5d618e7a9b44cbb74..6f3524bde389276122ba02b2e2f06600d40e788b 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
index aa978f6ea446cf549e6121d21d42cfe4c7b4526b..dc25b9fcf32b255d7a3465c081f1239f9708f3da 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # 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
 
 
 include $(TOPDIR)/rules.mk
 
index 7480fab687941ca2a276782def62dbfb0325bd86..1904a60344ce5bf66b7b436d7629ca093077b498 100644 (file)
@@ -12,12 +12,12 @@ PKG_NAME:=libupnp
 PKG_VERSION:=1.2.1a
 PKG_RELEASE:=1
 
 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_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
 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
   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
 
   URL:=http://upnp.sourceforge.net/
 endef
 
@@ -44,11 +44,6 @@ define Build/Compile
                STRIP=/bin/true
 endef
 
                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/
 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
 
                $(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))
 $(eval $(call BuildPackage,libupnp))
index b5bb71dc5f651c004c34288ce2f8fbf5d4926450..22fb87557a31065936812a43226a135d33bafddb 100644 (file)
@@ -12,13 +12,12 @@ PKG_NAME:=matrixssl
 PKG_VERSION:=1.2.4
 PKG_RELEASE:=1
 
 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_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
 
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -27,7 +26,6 @@ define Package/libmatrixssl
   CATEGORY:=Libraries
   DEPENDS:=+libpthread
   TITLE:=Embedded SSL implementation
   CATEGORY:=Libraries
   DEPENDS:=+libpthread
   TITLE:=Embedded SSL implementation
-  DESCRIPTION:=An embedded SSL implementation.
   URL:=http://www.matrixssl.org/
 endef
 
   URL:=http://www.matrixssl.org/
 endef
 
@@ -40,11 +38,6 @@ define Build/Compile
                DFLAGS="$(TARGET_CFLAGS) -Wall"
 endef
 
                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
 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
 
                $(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))
 $(eval $(call BuildPackage,libmatrixssl))
index b5ee00d1d90a4d47bb5a4f5d2d8585a7d4a89302..0ccf9d31c597bfe862bc785d06dc2a12725ded1f 100644 (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
 
 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:=$(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)
 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
 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
 endef
 
 define Build/Configure
-$(call Build/Configure/Default,--enable-shared --enable-static)
+       $(call Build/Configure/Default, \
+               --enable-shared \
+               --enable-static \
+       )
 endef
 
 define Build/Compile
 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
 
        $(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/
 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 \
        
 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))
 endef
 
 $(eval $(call BuildPackage,libpopt))
index 372341120f06f71eb4b1023ed58b041c80e07c1f..552b188f53042e07a81e5e17227061d70d090c01 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # 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
 
 
 include $(TOPDIR)/rules.mk
 
index 38b44879333887dd74e0b1e3e70c1472f3e6d5bf..67cdc4eb8fc57802e50db43f58183739a5e3c0b6 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
 
 include $(TOPDIR)/rules.mk
 
index a29d90a3cc61811856c5731ba7ab77c724c7d9e1..512617c9d0194d2e1d86a33242a3039ca4a53c6a 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=motion
 PKG_VERSION:=3.2.6
 PKG_RELEASE:=1
 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:=$(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)
 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
   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
 
   URL:=http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
 endef
 
+define Package/motion/conffiles
+/etc/motion.conf
+endef
+
 define Build/Configure
 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   
 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  
        $(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/
        install -d -m0755 $(1)/usr/bin
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/motion $(1)/usr/bin/
+
 endef
 
 $(eval $(call BuildPackage,motion))
 endef
 
 $(eval $(call BuildPackage,motion))
index 676fd86645e98b63bf466f9c4df06278cad5b6e0..6988ae464b3b4a5d4a177063b4ad69dc21e829ea 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=peercast
 PKG_VERSION:=0.1214
 PKG_RELEASE:=1
 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:=$(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)
 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
   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
 
   URL:=http://www.peercast.org/
 endef
 
@@ -39,31 +40,28 @@ define Package/peercast/conffiles
 endef
 
 define Build/Configure
 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
 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        
 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/
        $(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/
        $(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 -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
 
        install -m0755 ./files/peercast.init $(1)/etc/init.d/peercast
 endef
 
index eba789c16d27b943fa3d9bab5cbfa4262b48b143..5f0a40c13ffcfc7836f8bec6259b17321d73a1a0 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(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)
 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
 define Package/aircrack-ng
   SECTION:=net
   CATEGORY:=Network
-  TITLE:=Aircrack-ng the next generation of aircrack with new features
   DEPENDS:=+libpthread
   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
 
   URL:=http://www.aircrack-ng.org
 endef
 
index 40bd912504afd7554f4a64b40832a7b14a13ad78..f9a4350220dece0a84b17112c9706e4e71bb2ad3 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(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)
 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
   CATEGORY:=Network
   DEPENDS:=+libamsel
   TITLE:=PF to iptables
-  DESCRIPTION:=PF to iptables
   URL:=http://www.amselinux.net
 endef
 
   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" \
                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
 
                all install
 endef
 
index 284cd4318e9870d83ba185af41207f426d6e76d7..79be57dd27a763ff9402fb563366b574053c3be7 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # 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
 
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
index 08498fd3a309efece84fb6162a7fd25b746f46e6..f073edd7296fa68af64a7d5dad8272062c66c8ae 100644 (file)
@@ -11,14 +11,13 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=arpd
 PKG_VERSION:=0.2
 PKG_RELEASE:=1
 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:=$(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_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 
 
 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
   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
 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
 endef
 
 define Build/Compile
-       rm -rf $(PKG_INSTALL_DIR)
-       mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                CCOPT="$(TARGET_CFLAGS)" \
        $(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
 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))
 endef
 
 $(eval $(call BuildPackage,arpd))
index 7c17393d1d9210e30e4adfdea97446d03ee2b40b..a709abbf569e0dfcf3ede6345b64fc958e557dae 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(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_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -26,7 +26,8 @@ define Package/arpwatch
   CATEGORY:=Network
   DEPENDS:=+libpcap
   TITLE:=Ethernet station activity monitor
   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
 
   URL:=http://nbd.vd-s.ath.cx/openwrt
 endef
 
@@ -35,8 +36,6 @@ define Package/arpwatch/conffiles
 endef
 
 define Build/Compile
 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)" \
        $(MAKE) -C $(PKG_BUILD_DIR) \
                ARPDIR=/etc/arpwatch \
                CCOPT="$(TARGET_CFLAGS)" \
@@ -45,9 +44,10 @@ define Build/Compile
 endef
 
 define Package/arpwatch/install
 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/
        $(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))
 endef
 
 $(eval $(call BuildPackage,arpwatch))
index e09e452fa56d3d25d3685dd75797b04002553693..bb3d8d49284d634d15593096e33d426928403244 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=ftp://ftp.mamalinux.com/pub/atftp/
+PKG_MD5SUM:=3b27365772d918050b2251d98a9c7c82
 PKG_CAT:=zcat
 TAR_OPTIONS += || true
 
 PKG_CAT:=zcat
 TAR_OPTIONS += || true
 
@@ -22,23 +23,23 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/atftp
+define Package/atftp/Default
   SECTION:=net
   CATEGORY:=Network
   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
 
   URL:=ftp://ftp.mamalinux.com/pub/atftp/
 endef
 
+define Package/atftp
+  $(call Package/atftp/Default)
+  DEPENDS:=+libreadline +libpcre
+  TITLE+= client
+endef
+
 define Package/atftpd
 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
 endef
 
 define Package/atftpd/postinst
@@ -52,24 +53,23 @@ if [ $$? -ne 0 ]; then
 fi
 endef
 
 fi
 endef
 
+# uses GNU configure
+
 define Build/Compile
 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" \
        $(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
 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
 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))
 endef
 
 $(eval $(call BuildPackage,atftp))
index 0ed891958530f7be910e0e27e5a80a2b7c68888b..f7a1e81eb81ceed8ee55574205e4d21475d7c6ce 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_VERSION:=1.3
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
 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_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
 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
   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
 endef
 
 define Build/Compile
@@ -39,7 +39,7 @@ endef
 
 define Package/autossh/install
        install -d -m0755 $(1)/usr/sbin
 
 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))
 endef
 
 $(eval $(call BuildPackage,autossh))
index d006b7b31306244fd793c38fcc054b288e351bfb..1844b050ed143b409e89778ea698e9705c91f234 100644 (file)
@@ -11,94 +11,76 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=bind
 PKG_VERSION:=9.3.2-P1
 PKG_RELEASE:=8
 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:=$(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_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
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/bind
+define Package/bind/Default
   SECTION:=net
   CATEGORY:=Network
   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
   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
 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
 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
 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
 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
 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
 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
 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
 endef
 
 define Package/Build/Configure
-$(call Build/Configure/Default,\
+       $(call Build/Configure/Default,\
                --enable-shared \
                --enable-static \
                --enable-ipv6 \
                --enable-shared \
                --enable-static \
                --enable-ipv6 \
-               --with-randomdev=/dev/urandom \
+               --with-randomdev="/dev/urandom" \
                --disable-threads \
                --disable-threads \
-               --with-openssl=$(STAGING_DIR)/usr/ \
+               --with-openssl="$(STAGING_DIR)/usr" \
                --with-libtool \
                --with-libtool \
-               --with-gnu-ld \
-)
+       )
 endef
 
 define Build/Compile
 endef
 
 define Build/Compile
@@ -115,11 +97,12 @@ endef
 
 define Package/bind-server/install
        install -d -m0755 $(1)/usr/sbin
 
 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) $(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
 endef
 
 define Package/bind-client/install
@@ -129,9 +112,9 @@ endef
 
 define Package/bind-tools/install
        install -d -m0755 $(1)/usr/bin
 
 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/
        $(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/
        $(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/
index 2ff8d41d2d2be567a32f48c93b1af0ae11e0f335..648dac0029c57dc6dafa4f249fc277290df56f97 100644 (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.
 #
 # 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
 
 
 include $(TOPDIR)/rules.mk
 
@@ -18,7 +19,6 @@ PKG_CAT:=zcat
 TAR_OPTIONS += || true
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 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
 
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -32,7 +32,7 @@ define Package/bing
 endef
 
 define Build/Compile
 endef
 
 define Build/Compile
-$(call Build/Compile/Default)
+       $(call Build/Compile/Default)
 endef
 
 define Package/bing/install
 endef
 
 define Package/bing/install
index bfd6370d8157dd369defb0218af329e39aa4784a..f7d9eaf38ec6114b2d332367807ad53067f97537 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=bitchx
 PKG_VERSION:=1.1
 PKG_RELEASE:=1
 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:=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
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/BitchX
@@ -29,7 +29,6 @@ define Package/bitchx
   CATEGORY:=Network
   DEPENDS:=+libncurses
   TITLE:=popular IRC client
   CATEGORY:=Network
   DEPENDS:=+libncurses
   TITLE:=popular IRC client
-  DESCRIPTION:=popular IRC client
   URL:=http://www.bitchx.org
 endef
 
   URL:=http://www.bitchx.org
 endef
 
index ad7ee36f82d9fcda0d13ca2dbffb8af90e7aa795..5d2ff8a61c9accf99e13229faa0410f078be5b16 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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_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_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
 
 
 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
   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
 
   URL:=http://www.bitlbee.org/
 endef
 
@@ -41,29 +40,30 @@ define Package/bitlbee/conffiles
 endef
 
 define Build/Configure
 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
 endef
 
 define Build/Compile
index 06e8509cd905006b9573834d39ef4bedddd5078f..d7fef3d42473e3cc66987704d2dc235579217b80 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
index ec3d896c1f624d861f2d3c16ac1388d7ec5a4d8f..860dd3017a30d36140fe70d02face1287974ead6 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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_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_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
 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
 
   URL:=http://ftp.debian.org/debian/pool/main/b/bwm
 endef
 
index 740648dc35670c5efcbd1ba5fc983c42eb195080..546b8722e553d28659f86d615118592cb703ff23 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=crowdcontrol
 PKG_VERSION:=0.4b
 PKG_RELEASE:=1
 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:=$(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)
 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
   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
 
        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
 define Build/Compile
        $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/crowdcontrol $(PKG_BUILD_DIR)/crowdcontrol.c
 endef
index 111d985f1bcda3107e04c81cb2013593fe0e2c69..5f1028fb47d206f5901c15a47a0690ac1a812ddd 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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_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_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-dnh2
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 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
 define Package/ctorrent
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+libopenssl
+  DEPENDS:=+libopenssl +uclibcxx
   TITLE:=console-based BitTorrent client
   TITLE:=console-based BitTorrent client
-  DESCRIPTION:=CTorrent is a BitTorrent client written in the C programming language, known to\\\
-       be a very robust and mature programming language, which produces fast and\\\
-       optimized application.\\\
+  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
   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   
 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        
 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))
 endef
 
 $(eval $(call BuildPackage,ctorrent))
index 2b6e525d632a118bb3511853f61a947f770ca817..e0ec160eafbbfa1952eacc3cd79ed172ca69e9eb 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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_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)
 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
   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
 
   URL:=http://www.cups.org/
 endef
 
@@ -44,7 +45,8 @@ define Package/cups/conffiles
 endef
 
 define Build/Configure
 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 \
                --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
                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
 endef
 
 define Package/cups/install
@@ -111,9 +109,9 @@ endef
 
 define Build/UninstallDev
        rm -rf \
 
 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))
 endef
 
 $(eval $(call BuildPackage,cups))
index f1917f3ab0b299ebf39bcf03048134a09c2fefef..7c8d5cf61357e445590c3d7e39e7c436465c36d3 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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_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_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 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
   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
        
   URL:=http://www.lowth.com/cutter/
 endef
        
@@ -37,8 +40,8 @@ define Build/Compile
 endef
        
 define Package/cutter/install
 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))
 endef
 
 $(eval $(call BuildPackage,cutter))
index c4002507c8b24f1b29e3fbb415f404389a0a10ed..2479b6c3bf618bc9ec01fbc3037936f1581318d7 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=dhcp-forwarder
 PKG_VERSION:=0.7
 PKG_RELEASE:=4
 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:=$(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)
 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
   SECTION:=net
   CATEGORY:=Network
   TITLE:=DHCP relay agent
-  DESCRIPTION:=DHCP relay agent
   URL:=http://www.nongnu.org/dhcp-fwd/
 endef
 
   URL:=http://www.nongnu.org/dhcp-fwd/
 endef
 
@@ -34,9 +33,7 @@ define Package/dhcp-forwarder/conffiles
 /etc/dhcp-fwd.conf
 endef
 
 /etc/dhcp-fwd.conf
 endef
 
-define Build/Configure
-       $(call Build/Configure/Default)
-endef
+# uses GNU configure
 
 define Build/Compile
        rm -rf $(PKG_INSTALL_DIR)
 
 define Build/Compile
        rm -rf $(PKG_INSTALL_DIR)
@@ -48,12 +45,12 @@ define Build/Compile
 endef
        
 define Package/dhcp-forwarder/install
 endef
        
 define Package/dhcp-forwarder/install
-       install -m0755 -d $(1)/etc
+       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 -m0644 $(PKG_BUILD_DIR)/contrib/dhcp-fwd.conf $(1)/etc/
-       install -m0755 -d $(1)/etc/init.d
+       install -d -m0755 $(1)/etc/init.d
        install -m0755 ./files/dhcp-fwd.init $(1)/etc/init.d/dhcp-fwd
        install -m0755 ./files/dhcp-fwd.init $(1)/etc/init.d/dhcp-fwd
-       install -m0755 -d $(1)/usr/bin
-       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/dhcp-fwd $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,dhcp-forwarder))
 endef
 
 $(eval $(call BuildPackage,dhcp-forwarder))
index d15eb9c67b39b47f38553e74ce7eac19b0da722e..da75804c626d2e71eb2f0df1968df52fbb847cf0 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=dhcp
 PKG_VERSION:=3.0.3
 PKG_RELEASE:=1
 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:=$(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)
 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
 
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/dhcp
+define Package/dhcp/Default
   SECTION:=net
   CATEGORY:=Network
   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
 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
 endef
 
 define Package/dhcp-server
-  $(call Package/dhcp)
-  TITLE:=DHCP server
-  DESCRIPTION:=DHCP server
+  $(call Package/dhcp/Default)
+  TITLE+= server
 endef
 
 
 define Build/Configure
 endef
 
 
 define Build/Configure
+       # it's not GNU autoconf stuff
        (cd $(PKG_BUILD_DIR) ; \
                ./configure \
        (cd $(PKG_BUILD_DIR) ; \
                ./configure \
-                 --copts "$(TARGET_CFLAGS)" \
-                 linux-2.2 \
+                       --copts "$(TARGET_CFLAGS)" \
+                       linux-2.2 \
        );
 endef
 
 define Build/Compile
        );
 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)" \
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
index 35885b28e5a9abf0bd7af256be5ef51c39e89ade..f1cb4a0758153a276f9e077b37060e2a7c376e2a 100644 (file)
@@ -4,17 +4,17 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # 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
 
 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:=$(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)
 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
   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
 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" \
                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   
 endef
 
 define Package/dsl-qos-queue/install   
index 3ee4debf15351e4af0c09f4c69699285be17af25..ff7e6c7a77be8dcf3d8be3071d84d705a40830fe 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=ethtool
 PKG_VERSION:=3
 PKG_RELEASE:=0
 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:=$(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)
 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
   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
 
   URL:=http://sourceforge.net/projects/gkernel/
 endef
 
+# uses GNU configure
+
 define Build/Compile
 define Build/Compile
-       rm -rf $(PKG_INSTALL_DIR)
-       mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
        $(MAKE) -C $(PKG_BUILD_DIR) \
-               $(TARGET_CONFIGURE_OPTS) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
 endef
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
 endef
index dbf33101c929a3111b049d9372cf55738f7eec82..96c1c3781a1fc81846a9f93ace662dec010057ab 100644 (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.
 #
 # 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
 
 
 include $(TOPDIR)/rules.mk
 
index 9448b9dd73103e3687ed6f9322d8509fb1592a6e..500e4f1bb6a80942d12ed37b65972b1034e43b11 100644 (file)
@@ -11,30 +11,34 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=fping
 PKG_VERSION:=2.4b2_to-ipv6
 PKG_RELEASE:=1
 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_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_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
 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
   
   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
 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   
 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))
 endef
 
 $(eval $(call BuildPackage,fping))
index eed36beb37e5c6bd8719775379b1fc5266dcf68d..cdec7c65ff23888382b118246027b8a84e1a0394 100644 (file)
@@ -11,13 +11,14 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=fprobe-ulog
 PKG_VERSION:=1.1
 PKG_RELEASE:=1
 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_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_CAT:=bzcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/fprobe-ulog
 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)
   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
   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   
 endef
 
 define Build/Compile   
index f539e96bd9cd0d218f4702b9510f2cd410914d4c..a8acaa51bfdf5c02d97128308d0e29d78df33925 100644 (file)
@@ -8,15 +8,16 @@
 
 include $(TOPDIR)/rules.mk
 
 
 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_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_CAT := bzcat
 
 include $(INCLUDE_DIR)/package.mk
 
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -25,17 +26,17 @@ define Package/fprobe
   CATEGORY:=Network
   DEPENDS:=+libpcap +libpthread
   TITLE:=NetFlow probe (libpcap-based)
   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
   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
 endef
 
 define Build/Compile
@@ -43,7 +44,7 @@ define Build/Compile
 endef
 
 define Package/fprobe/install
 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
 
        $(CP) $(PKG_BUILD_DIR)/src/fprobe $(1)/usr/bin/
 endef
 
index 056adb263786a2d5693662a6cc3fbf06fa9f6ab4..9eb07ee270971d22858e88c4e06b83427878e20b 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=frickin
 PKG_VERSION:=1.3
 PKG_RELEASE:=1
 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:=$(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)
 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
   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
 
   URL:=http://frickin.sourceforge.net
 endef
 
index 8a53cf9bb0029820a46e0d29375f649d4a17e817..1d76c6a7ec829ab1e7cb8dcdee9bc636c1cb6ed5 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(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)
 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
   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
 
   URL:=http://www.clevervest.com/htp/
 endef
 
@@ -41,12 +41,12 @@ endef
 
 
 define Package/htpdate/install 
 
 
 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)/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))
 endef
 
 $(eval $(call BuildPackage,htpdate))
index f536ab2d0c7493a80bd9ff12c45161d6c221f3a9..7331d4f9bda4075a2fd399f92611c8a683dabd5a 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
index 15c982cdaed9074889c7cc271851deaf482ab766..ba8880da5507ad70cb471da2e5bc44aa2ceceeab 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(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)
 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
   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
   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
 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))
 endef
 
 $(eval $(call BuildPackage,iftop))
index 06620e7c524aeb2029216080d0694ce97c6f5998..8bf9d20e7cbfb181b42015ad788c1742db10fc76 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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_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_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
 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
 
   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
 
 endef
 
+define Build/Compile   
+       $(MAKE) -C $(PKG_BUILD_DIR)/src \
+               CC="$(TARGET_CC)" \
+               CFLAGS="$(TARGET_CFLAGS)"
+endef
 
 define Package/igmpproxy/install       
 
 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))
 endef
 
 $(eval $(call BuildPackage,igmpproxy))
index 28ba31c3e379e848c7be5c53239f7cb557ad5958..159b0f5a70fad18994890c4e14a0f4ece4e4935b 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(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)
 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
   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
 
   URL:=http://lionet.info/ipcad/
 endef
 
@@ -36,28 +38,26 @@ define Package/ipcad/conffiles/
 /etc/ipcad.conf
 endef
 
 /etc/ipcad.conf
 endef
 
-
 define Build/Configure
 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-static \
-               --disable-rpath \
-               --with-gnu-ld \
                --with-psrc=pcap \
                --with-pcap-include="$(STAGING_DIR)/usr/include" \
                --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 \
                ac_cv_func_getifaddrs=no \
                ac_cv_header_ifaddrs_h=no \
-)
+       )
 endef
 
 define Build/Compile   
        $(MAKE) -C $(PKG_BUILD_DIR) \
 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
 
                all install
 endef
 
index 67a7d8401f594b1d4a65f472edf8dc52139ebab9..73358c4dcb7fafc1d6b078d2eb1144d6295d86bd 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://dast.nlanr.net/Projects/Iperf2.0
+PKG_MD5SUM:=bb658aba58a5af0356f5b1342dfe8f53
 PKG_CAT:=zcat
 PKG_CAT:=zcat
+
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 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
   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, \
   URL:=http://dast.nlanr.net/Projects/Iperf/ 
 endef
 
 define Build/Configure
        $(call Build/Configure/Default, \
-               --enable-shared \
-               --disable-static \
-               --disable-rpath \
                --disable-multicast \
                --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   
        )
 endef
 
 define Build/Compile   
-       rm -rf $(PKG_INSTALL_DIR)
-       mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
        $(MAKE) -C $(PKG_BUILD_DIR) \
-               DESTDIR="$(PKG_INSTALL_DIR)" install
+               DESTDIR="$(PKG_INSTALL_DIR)" \
+               all install
 endef
 
 define Package/iperf/install   
 endef
 
 define Package/iperf/install   
index 3120a3b9506c6791b11e92db2eddcd9e929c0b97..2135036e0fccc43a106d9c5a901eaa97463b6e18 100644 (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.
 #
 # 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
 
 
 include $(TOPDIR)/rules.mk
 
@@ -11,12 +12,13 @@ PKG_NAME:=ipkungfu
 PKG_VERSION:=0.6.0
 PKG_RELEASE:=1
 
 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:=$(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_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
 
 
 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.\\\
   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
        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
 
 /etc/ipkungfu/vhosts.conf
 endef
 
-define Build/Configure
-$(call Build/Configure/Default)
-endef
+# uses GNU configure
 
 define Build/Compile
 
 define Build/Compile
-$(call Build/Compile/Default,all)
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               DESTDIR="$(PKG_INSTALL_DIR)" \
+               all install
 endef
 
 define Package/ipkungfu/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
 
        $(CP) $(PKG_BUILD_DIR)/files/conf/* $(1)/etc/ipkungfu/
 endef
 
index eaa6b2f405fd9dfda3dce9995264a0d62c6d4e99..519b365baa1cc9c1e50eed510871649e7b1a18cc 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(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)
 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
   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   
   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 \
                INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \
                all install \
-  )
+       )
 endef
  
 define Package/iptables-snmp/install   
 endef
  
 define Package/iptables-snmp/install   
index 5900d20b5f1d2ada75086778919c1dce4e86a507..024bcfa637498066ec4180492955daf17497085e 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(PKG_NAME)-$(PKG_VERSION)a.tar.bz2
+PKG_SOURCE_URL:=http://irssi.org/files/
 PKG_MD5SUM:=38e616bccb6a34ff6d91690317c2fa19
 PKG_CAT:=bzcat
 
 PKG_MD5SUM:=38e616bccb6a34ff6d91690317c2fa19
 PKG_CAT:=bzcat
 
@@ -25,29 +26,28 @@ define Package/irssi
   CATEGORY:=Network
   DEPENDS:=+glib1 +libncurses
   TITLE:=console irc client
   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
 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   
 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))
 endef
 
 $(eval $(call BuildPackage,irssi))
index 1f4838056c7445a7ee0736835dff83305accd865..0ed5a898d70ba69bca3e75ceb25d392392bde682 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(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
 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
   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
 
   URL:=http://l2tpd.sourceforge.net/
 endef
 
@@ -40,18 +41,20 @@ define Package/l2tpd/conffiles
 endef
 
 define Build/Compile
 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   
 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)/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))
 endef
 
 $(eval $(call BuildPackage,l2tpd))
index 323a6dce1053efcb697c204157d2259201669288..fd44dab90b5a921d109c1f2e4d0642f10464e67e 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(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)
 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
   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
 
   URL:=http://sourceforge.net/projects/l2tpns
 endef
 
@@ -40,7 +42,13 @@ define Package/l2tpns/conffiles
 endef
        
 define Build/Compile
 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  
 endef
 
 define Package/l2tpns/install  
index 79ea02c8be1fd473014dbb85d169cf3d995c2865..989bbd90df73e6ecac4e6f528af3dc8984c3db5a 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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_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:=$(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)
 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
   CATEGORY:=Network
   DEPENDS:=+libpthread
   TITLE:=Small and secure DNS Server
-  DESCRIPTION:=A small and secure DNS server
   URL:=http://www.maradns.org/
 endef
 
   URL:=http://www.maradns.org/
 endef
 
@@ -35,7 +35,8 @@ define Package/maradns/conffiles
 endef
 
 define Build/Configure
 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 \
        );
                $(TARGET_CONFIGURE_OPTS) \
                ./configure \
        );
index 4ecd2efcaabd52b3b5ca1345fae5755deaffa5e5..97437b8b2373b89f47fbea7b45b9546c6cf8fdfd 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=miau
 PKG_VERSION:=0.6.0.2
 PKG_RELEASE:=1
 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:=$(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)
 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
   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
 
   URL:=http://sourceforge.net/projects/miau/
 endef
 
@@ -43,9 +44,10 @@ define Build/Configure
        )
 endef
 
        )
 endef
 
-
 define Build/Compile   
 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    
 endef
 
 define Package/miau/install    
index 200dd04a970e7ca99dcf4e47382342f59be91b6e..cbaa9b9b79ceee37c975cc7356d0722adbf6dba1 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=miax
 PKG_VERSION:=1.4
 PKG_RELEASE:=1
 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:=$(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)
 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
 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
 endef
 
 define Build/Compile
index ac31596fa3eaf5f886c7d8b644cc82b4d037a85f..402d957cecfab929fd8e25651eea4b0058294567 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=mini-sendmail
 PKG_VERSION:=1.3.5
 PKG_RELEASE:=1
 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:=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)
 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
   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
 
   URL:=http://www.acme.com/software/mini_sendmail/
 endef
 
index add3136d663373b497e6061af613b158ac2c2f70..9ca3a1ecc4076e4323a6c6e36ca47f61ae987ec5 100644 (file)
@@ -11,11 +11,11 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=netperf
 PKG_VERSION:=2.3pl1
 PKG_RELEASE:=1
 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_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)
 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
   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) \
   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
                TARGET_LIBS="" \
                all
 endef
index 01640849911af2d586e1ec4d36dea1d45115340e..716796f49d8f99c4c9672608d0934723c7ee0353 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=netstat-nat
 PKG_VERSION:=1.4.6
 PKG_RELEASE:=1
 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:=$(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)
 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
   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.\\\
        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
 
   URL:=http://tweegy.demon.nl/projects/netstat-nat/
 endef
 
+# uses GNU configure
+
 define Build/Compile   
 define Build/Compile   
-       rm -rf $(PKG_INSTALL_DIR)
-       mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
        $(MAKE) -C $(PKG_BUILD_DIR) \
-         $(TARGET_CONFIGURE_OPTS) \
-         DESTDIR="$(PKG_INSTALL_DIR)" \
-         all install
+               DESTDIR="$(PKG_INSTALL_DIR)" \
+               all install
 endef
 
 define Package/netstat-nat/install     
 endef
 
 define Package/netstat-nat/install     
index 29f4899869aca61a9fb61956c0f3c8f1428c21d7..29cf6e6edc41d8033ea5af683e7c6eb33fff17eb 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile 4033 2006-06-21 02:32:39Z nbd $
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
 
 include $(TOPDIR)/rules.mk
 
index 5cd7d05b31f7fdb5035748496b70794c2f492c9a..051132dd9084b61fbea9114c65df29213d1d28d4 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=nocatsplash
 PKG_VERSION:=0.92
 PKG_RELEASE:=1
 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:=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)
 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
   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
 
   URL:=http://nocat.net
 endef
 
@@ -41,8 +42,10 @@ define Package/nocatsplash/conffiles
 endef
 
 define Build/Configure
 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   
 endef
 
 define Build/Compile   
@@ -53,7 +56,7 @@ define Build/Compile
 endef
 
 define Package/nocatsplash/install     
 endef
 
 define Package/nocatsplash/install     
-       mkdir -p $(1)
+       install -d -m0755 $(1)
        $(CP) $(PKG_INSTALL_DIR)/* $(1)/ 
 endef
 
        $(CP) $(PKG_INSTALL_DIR)/* $(1)/ 
 endef
 
index b9ad6dbcee7d2697f4710414e7411f377cf01f08..7bbec8aaabfb008b8f1b3fc285bc2dd60d1212ac 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=ntpclient
 PKG_VERSION:=2003_194
 PKG_RELEASE:=2
 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:=$(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)
 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
   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
   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       
 endef
 
 define Package/ntpclient/install       
index b951305ce1d6b90dbb062ab6f1002f030a6e8371..45bf9b4e6eee3377aefdeb046df2390f26ee5fb4 100644 (file)
@@ -4,50 +4,43 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # 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
 
 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:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/ojnk
+PKG_MD5SUM:=c3d9a56255819ef8904b867284386911
 PKG_CAT:=zcat
 
 PKG_CAT:=zcat
 
-
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 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
 
 include $(INCLUDE_DIR)/package.mk
 
 define Package/oidentd
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=
   TITLE:=Identd server 
   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
 
 endef
 
-
-define Build/Configure
-  $(call Build/Configure/Default,--includedir=$(PKG_BUILD_DIR)/)
-endef
+# uses GNU configure
 
 define Build/Compile
 
 define Build/Compile
-  $(call Build/Compile/Default,all)
+       $(call Build/Compile/Default,all)
 endef
 
 define Package/oidentd/install
 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/
        $(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))
        $(CP) ./files/oidentd.init $(1)/etc/init.d/oidentd
 endef
 
 $(eval $(call BuildPackage,oidentd))
-
-
-
index 0f859b3914c5d436885bb730cd411c913e460740..3fe16f45f19b1e9016c370bbe4926ae4cb65a2f6 100644 (file)
@@ -11,14 +11,13 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=openntpd
 PKG_VERSION:=3.7p1
 PKG_RELEASE:=1
 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_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)
 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
 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
 
   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
 endef
 
 define Build/Configure
-$(call Build/Configure/Default, --with-builtin-arc4random \
+       $(call Build/Configure/Default, \
+               --with-builtin-arc4random \
                --with-privsep-user=ntp \
                --with-privsep-user=ntp \
-               --with-adjtimex)
+               --with-adjtimex \
+       )
 endef
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
 endef
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
-               $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS) -DUSE_ADJTIMEX"
 endef
 
 define Package/openntpd/install        
                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)/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))
 endef
 
 $(eval $(call BuildPackage,openntpd))
index 5d354ac1a8189680e42f971f379823401c8ff78e..05cedaf9c73d312aa3e2342bc1fde2ecc38b2011 100644 (file)
@@ -4,17 +4,17 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # 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
 
 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:=$(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)
 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
 
 
 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
 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
   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
 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
 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   
 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 
 endef
 
 define Package/openvpn/install 
@@ -64,8 +61,9 @@ define Package/openvpn/install
 endef
 
 define Package/openvpn-easy-rsa/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
        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
index a023d6d0cedcd579daf0e2666bf5189757fb9b85..c1bce001c47a06339248dce8a42b022721686f70 100644 (file)
@@ -12,13 +12,12 @@ PKG_NAME:=p910nd
 PKG_VERSION:=0.7
 PKG_RELEASE:=2
 
 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_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
 
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -26,14 +25,14 @@ define Package/p910nd
   SECTION:=net
   CATEGORY:=Network
   TITLE:=A small non-spooling printer server
   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
 
   URL:=http://www.etherboot.org/p910nd/
 endef
 
@@ -51,12 +50,12 @@ define Build/Compile
 endef
 
 define Package/p910nd/install
 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)/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))
 endef
 
 $(eval $(call BuildPackage,p910nd))
index d9456de56c31052c810776e299d2fd5a9a9e0234..7c39707f9b0328e3296419c5f3686d498948f205 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=parprouted
 PKG_VERSION:=0.63
 PKG_RELEASE:=1
 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:=$(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)
 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
   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\\\
        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
 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      
 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)/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))
 endef
 
 $(eval $(call BuildPackage,parprouted))
index 562ff291a841d57a06569120b22f95af81a959f8..cd6671d2e2103eb7f1f10ebbc9bd281a39931966 100644 (file)
@@ -11,14 +11,13 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=portmap
 PKG_VERSION:=5beta
 PKG_RELEASE:=2
 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:=$(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_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -27,7 +26,6 @@ define Package/portmap
   CATEGORY:=Network
   DEPENDS:=+libwrap
   TITLE:=RPC Portmapper
   CATEGORY:=Network
   DEPENDS:=+libwrap
   TITLE:=RPC Portmapper
-  DESCRIPTION:=The RPC Portmapper (used by the NFS Server)
   URL:=ftp://ftp.porcupine.org/pub/security
 endef
 
   URL:=ftp://ftp.porcupine.org/pub/security
 endef
 
@@ -40,10 +38,10 @@ define Build/Compile
 endef
 
 define Package/portmap/install 
 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)/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))
 endef
 
 $(eval $(call BuildPackage,portmap))
index 7bcd7faab09b08e44a09fa2ff47ca0383de06f73..66ac1ff8bec395fb1528c0ff8cfaa9ee01c978d3 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=portsentry
 PKG_VERSION:=1.2
 PKG_RELEASE:=1
 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:=$(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
 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
   SECTION:=net
   CATEGORY:=Network
   TITLE:=Portscan protection utility
-  DESCRIPTION:=Software for protection against port scans
   URL:=http://sourceforge.net/projects/sentrytools
 endef
 
   URL:=http://sourceforge.net/projects/sentrytools
 endef
 
@@ -33,15 +32,18 @@ define Package/portsentry/conffiles
 /etc/portsentry.conf
 endef
 
 /etc/portsentry.conf
 endef
 
+define Build/Configure
+endef
+
 define Build/Compile   
        $(MAKE) -C $(PKG_BUILD_DIR) linux
 endef
 
 define Package/portsentry/install      
 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))
 endef
 
 $(eval $(call BuildPackage,portsentry))
index cf1a1752006d87b25da9f971acc8ee128f498524..dc57921755f66fa96aafa4fe18de38d47056f0a0 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=pptpd
 PKG_VERSION:=1.3.0
 PKG_RELEASE:=1
 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:=$(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)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -31,7 +31,9 @@ define Package/pptpd
 endef
 
 define Build/Configure
 endef
 
 define Build/Configure
-       $(call Build/Configure/Default, --with-bcrelay)
+       $(call Build/Configure/Default, \
+               --with-bcrelay \
+       )
 endef
 
 define Build/Compile
 endef
 
 define Build/Compile
index 4a617a4ecb3d40ce710fd8a9b71abd89af67fbbd..761387f6eb7ee59fb5c4574d4c9615692d015a0f 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=psybnc
 PKG_VERSION:=2.3.2-7
 PKG_RELEASE:=1
 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:=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)
 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
   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   
   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  
 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 -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 -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))
 endef
 
 $(eval $(call BuildPackage,psybnc))
index 2ce40709c96cc112addb4e17ec3cf40c58b8fdb7..3c5e9cce49aa47fbc74e38e367d41ce9060f435d 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=ptunnel
 PKG_VERSION:=0.61
 PKG_RELEASE:=1
 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:=$(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)
 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
   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
 
   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   
 
 define Build/Compile   
-  $(call Build/Compile/Default, \
+       $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
-               all install \
-  )
+               all install
 endef
 
 define Package/ptunnel/install 
 endef
 
 define Package/ptunnel/install 
index 7ccb43c1252f44a31cc638083655dd88e05bee1c..2a9973fdb3740e4838c358e8ac085c4f2eace27b 100644 (file)
@@ -11,12 +11,13 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=raddump
 PKG_VERSION:=0.3.1
 PKG_RELEASE:=1
 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_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_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 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.
   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
 
   URL:=http://sourceforge.net/projects/raddump
 endef
 
-define Build/Configure 
-       $(call Build/Configure/Default)
-endef
+# uses GNU configure
 
 define Build/Compile   
 
 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 
 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))
 endef
 
 $(eval $(call BuildPackage,raddump))
index 38468716332a6a1340bd0093e98771c74602c3af..5bab88f676d867e1e27803af7a3a3d8e2606ecf2 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=reaim
 PKG_VERSION:=0.8
 PKG_RELEASE:=1
 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:=$(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)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -32,18 +32,18 @@ define Package/reaim
 endef
 
 define Build/Compile   
 endef
 
 define Build/Compile   
-  $(call Build/Compile/Default, \
+       $(call Build/Compile/Default, \
                CFLAGS="$(TARGET_CFLAGS)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install \
                CFLAGS="$(TARGET_CFLAGS)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install \
-  )
+       )
 endef
 
 define Package/reaim/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)/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))
 endef
 
 $(eval $(call BuildPackage,reaim))
index 37ea89eb6c4335114dcafd4ef804a481090c2449..d6ee87f2af1ec2336986418758b396e2fed43632 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=rp-l2tp
 PKG_VERSION:=0.4
 PKG_RELEASE:=1
 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:=$(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)
 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
 
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/rp-l2tpd
+define Package/rp-l2tpd/Default
   SECTION:=net
   CATEGORY:=Network
   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/
   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
   MENU:=1
 endef
 
 define Package/rp-l2tpd-mod-cmd
-  SECTION:=net
-  CATEGORY:=Network
+  $(call Package/rp-l2tpd/Default)
   DEPENDS:=rp-l2tpd
   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
 endef
 
 define Package/rp-l2tpd-mod-ppp
-  SECTION:=net
-  CATEGORY:=Network
+  $(call Package/rp-l2tpd/Default)
   DEPENDS:=rp-l2tpd
   DEPENDS:=rp-l2tpd
-  TITLE:=a PPP handler for the L2TP daeomon
+  TITLE:=PPP handler for the RR L2TP daeomon
 endef
 
 endef
 
+# uses GNU configure
+
 define Build/Compile
 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
 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)/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        
 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))
 $(eval $(call BuildPackage,rp-l2tpd))
 $(eval $(call BuildPackage,rp-l2tpd-mod-cmd))
 $(eval $(call BuildPackage,rp-l2tpd-mod-ppp))
-
-
index 1a45af82f27658fd789e9c0b6dba685252c686db..a2bebb8c0280fd4800c106c0ef358699a2983407 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=rp-pppoe
 PKG_VERSION:=3.5
 PKG_RELEASE:=1
 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:=$(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)
 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
 
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/rp-pppoe
+define Package/rp-pppoe/Default
   SECTION:=net
   CATEGORY:=Network
   DEPENDS:=+ppp
   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
 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
 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
 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
 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
 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   
 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))
 $(eval $(call BuildPackage,rp-pppoe-relay))
 $(eval $(call BuildPackage,rp-pppoe-server))
 $(eval $(call BuildPackage,rp-pppoe-sniff))
-
index 573ff668d3fc4276d0097efff7a4d7ee373b2545..1491857bd27577bbdd337ea38c110be5e9628b91 100644 (file)
@@ -14,8 +14,8 @@ PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.openwall.com/scanlogd/ \
 
 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
 
 PKG_MD5SUM:=7b8187ea718ebe47f22805b921b909ab
 PKG_CAT:=zcat
 
index 4e3cbff18c156a024c9b8e471e1f65da299b5781..edfce0cbc21b0b00794ea9c648b430fbe1bdf538 100644 (file)
@@ -45,7 +45,7 @@ endef
 
 define Build/Compile   
        $(MAKE) -C $(PKG_BUILD_DIR) \
 
 define Build/Compile   
        $(MAKE) -C $(PKG_BUILD_DIR) \
-               DESTDIR=$(PKG_INSTALL_DIR) \
+               DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
 endef
 
                all install
 endef
 
index 691272603a409501ff88a22334aac1493cb4fdc0..c7e0013ff27c878ed398522e40e9314f517086e4 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=ser2net
 PKG_VERSION:=2.3
 PKG_RELEASE:=1
 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:=$(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)
 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
   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
 
 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   
 
 define Build/Compile   
-       rm -rf $(PKG_INSTALL_DIR)
-       mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_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
 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
        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))
 endef
 
 $(eval $(call BuildPackage,ser2net))
index ec7bdf4df8ad18da635b7b70790540da5e75a8ad..2d1deb6ed33aca731a7c8393630a14d9565ee6da 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=shat
 PKG_VERSION:=0.9.7
 PKG_RELEASE:=1
 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:=$(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)
 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
   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
        to connect to the internet over a SHAT gateway.\\\
   URL:=http://www.teddy-net.com/cvs/Maxina/128gw/service/arpcatch/shat/
 endef
index ad0447009e28248e3d1a8d7a5c4ee81027e5ba0d..4a99c2265cf5816d5df071837442fb238e38dfaf 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=sipp
 PKG_VERSION:=1.0
 PKG_RELEASE:=1
 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:=$(PKG_NAME).$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/sipp
+PKG_MD5SUM:=8866e9af0d3bc29e91ebb6eab89a7f1f
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
 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
   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
        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    
 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))
 endef
 
 $(eval $(call BuildPackage,sipp))
index d717ff71a8620f148fb99c7af273677daff0c8bc..d016071b01bd16d80304248cc7afb4bc2a5483db 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=siproxd
 PKG_VERSION:=0.5.13
 PKG_RELEASE:=1
 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:=$(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)
 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
   CATEGORY:=Network
   DEPENDS:=+libosip2
   TITLE:=SIP (Session Initiation Protocol) proxy
-  DESCRIPTION:=A SIP (Session Initiation Protocol) proxy
   URL:=http://siproxd.sourceforge.net/
 endef
 
   URL:=http://siproxd.sourceforge.net/
 endef
 
@@ -35,13 +34,9 @@ define Package/siproxd/conffiles
 /etc/siproxd.conf
 endef
 
 /etc/siproxd.conf
 endef
 
-define Build/Configure
-$(call Build/Configure/Default,--enable-static --enable-shared)
-endef
+# uses GNU configure
        
 define Build/Compile
        
 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" \
        $(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
 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)/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))
 endef
 
 $(eval $(call BuildPackage,siproxd))
index e0704a36bd625536f6b68dbbdd928d6b532c16c8..d0563d639a97f57c54a3f94ae2b0a1bfec4c065a 100644 (file)
@@ -11,11 +11,11 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=sipsak
 PKG_VERSION:=0.9.6
 PKG_RELEASE:=1
 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_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)
 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
   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
   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   
 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
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
index 1cf8f93ccbfb0a4bc0b9881175df21f79bf04210..e55b12f2beebab23d1702e1248f47abc43ec7929 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=socat
 PKG_VERSION:=1.4.3.0
 PKG_RELEASE:=1
 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:=$(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
 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)
   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.\\\
        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
   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   
 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   
 endef
 
 define Package/socat/install   
index f762b71c6cf992f61c27ab20be227ddad7317180..4939e1fb2ca761c7a90e52bd6f0e4c6076ea808f 100644 (file)
@@ -5,7 +5,7 @@
 # See /LICENSE for more information.
 #
 # $Id$
 # See /LICENSE for more information.
 #
 # $Id$
-#
+
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=squid
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=squid
index 22c9c97b5710ee6ac2af089e602abd4c512db6cd..c680f7edc48d11c05f5bb4dc6e01e1b63d9b0e99 100644 (file)
@@ -11,14 +11,13 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=srelay
 PKG_VERSION:=0.4.6
 PKG_RELEASE:=1
 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:=$(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_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -26,7 +25,6 @@ define Package/srelay
   SECTION:=net
   CATEGORY:=Network
   TITLE:=A socks 4/5 proxy server
   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
 
   URL:=http://www.c-wind.com/srelay/
 endef
 
@@ -35,15 +33,22 @@ define Package/srelay/conffiles
 endef
 
 define Build/Configure
 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  
 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 -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 -m0755 files/srelay.init $(1)/etc/init.d/srelay
-       install -m0644 files/srelay.conf $(1)/etc
 endef
 
 $(eval $(call BuildPackage,srelay))
 endef
 
 $(eval $(call BuildPackage,srelay))
index 6fb5017e62a8ff0e8bcdf54f5e057fff9d7c5bcb..952844e167bb80bad89cfd30aabca385cfb513af 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=ssltunnel
 PKG_VERSION:=1.15
 PKG_RELEASE:=1
 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:=${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)
 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
   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
   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
 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)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
-               all install)
+               all install
 endef
 
 define Package/ssltunnel/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 -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 -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
 
        install -m0755 $(PKG_INSTALL_DIR)/usr/lib/pppserver $(1)/usr/lib/
 endef
 
index 8215a548d71d8c08d34eedd20c60532011dc6f4d..c8e88cb39a101398108abd4cd11d119c1c694cc2 100644 (file)
@@ -11,14 +11,13 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=ssmtp
 PKG_VERSION:=2.61
 PKG_RELEASE:=1
 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:=$(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_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -26,25 +25,28 @@ define Package/ssmtp
   SECTION:=net
   CATEGORY:=Network
   TITLE:=A minimal and secure mail sender
   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 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
 
        configuration.
   URL:=http://packages.debian.org/stable/mail/ssmtp
 endef
 
+# uses GNU configure
 
 define Build/Compile
 
 define Build/Compile
-$(call Build/Compile/Default,all)
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               all
 endef
 
 define Package/ssmtp/install   
 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 -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
 
        ln -sf ssmtp $(1)/usr/sbin/sendmail
 endef
 
index 5ee7de7583f6557807a8e411d17991c7700b3050..e5b0d5a8da45b009834f30cf14eaf1950356df55 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=tcp_wrappers
 PKG_VERSION:=7.6
 PKG_RELEASE:=1
 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:=$(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)
 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
   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
 
   URL:=ftp://ftp.porcupine.org/pub/security/index.html
 endef
 
@@ -46,11 +45,6 @@ define Build/Compile
                tidy all
 endef
 
                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/
 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 \
 
 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
 
 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))
 $(eval $(call BuildPackage,libwrap))
index bb256cb15d2a5fb3b9a1852f1f22c8c1b95a61ca..0d29ca420a8653b2774d0b34a0ae87cc56f786ea 100644 (file)
@@ -11,12 +11,12 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=tinc
 PKG_VERSION:=1.0.4
 PKG_RELEASE:=1
 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_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)
 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
   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
   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
 endef
 
 define Build/Compile
-$(call Build/Compile/Default,CC="$(TARGET_CC)" \
-               CFLAGS="$(TARGET_CFLAGS)" \
+       $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
-               all install)
+               all install
 endef
 
 define Package/tinc/install    
 endef
 
 define Package/tinc/install    
index 11938b7388f2f00516a1ff6d49c5cebfbfa0ad3d..ec798dfd12257b55e8a8c86d3d35893f4a1fbf40 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
 
 include $(TOPDIR)/rules.mk
 
@@ -26,32 +26,35 @@ define Package/tinyproxy
   SECTION:=net
   CATEGORY:=Network
   TITLE:=Tinyproxy is a lightweight HTTP and HTTPS proxy.
   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
 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
 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
 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/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))
 endef
 
 $(eval $(call BuildPackage,tinyproxy))
index 6cdac91f946c7e0cca732232e3276358fd8ddafc..ff2b6344b79c84803266ce38b850d2da18822782 100644 (file)
@@ -11,12 +11,12 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=tor
 PKG_VERSION:=0.1.0.17
 PKG_RELEASE:=1
 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_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)
 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
   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
 
   URL:=http://tor.eff.org/
 endef
 
@@ -78,26 +79,29 @@ fi
 endef
 
 define Build/Configure
 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 \
                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
 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     
 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)/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))
 endef
 
 $(eval $(call BuildPackage,tor))
-
index fb917e0009f481d4f92b095a140b81ef1dc98d6b..2a45d4923285bf99b92d306938006cbdd31cb5c7 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=udp-broadcast-relay
 PKG_VERSION:=0.3
 PKG_RELEASE:=1
 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:=$(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)
 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
   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
 
   URL:=http://www.joachim-breitner.de/udp-broadcast-relay/
 endef
 
@@ -41,7 +42,7 @@ define Build/Compile
 endef
 
 define Package/udp-broadcast-relay/install     
 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
 
        $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
 endef
 
index fc2db4a34ed54716b6bcd08634fc69d2cdc7037f..8c5851639547d84bed1796a2eddf179128abbbb6 100644 (file)
@@ -3,7 +3,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
 
 include $(TOPDIR)/rules.mk
 
index 43cdfa70dcc8f6591df9643bd4f9676be1ddbba6..e75a169d85424d3be62c560e6db8c416ba07a6d3 100644 (file)
@@ -11,12 +11,13 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=vgp
 PKG_VERSION:=0.2.1
 PKG_RELEASE:=1
 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_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_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 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
 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
 
   URL:=http://vgpd.freaknet.org/
 endef
 
+# uses GNU configure
+
 define Build/Compile
 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
 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))
 endef
 
 $(eval $(call BuildPackage,vgp))
index 2efc6d84b7e1edf606b09d2f7d84a6cf9519dfac..296e9b87d3092421f5e0b04b1ced15581bc3c764 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=vnc-reflector
 PKG_VERSION:=1.2.4
 PKG_RELEASE:=1
 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:=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
 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
   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
   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)" \
                OFLAGS="$(TARGET_CFLAGS)" \
-               STAGING_DIR=$(STAGING_DIR) \
-               default)
+               STAGING_DIR="$(STAGING_DIR)" \
+               default \
+       )
 endef
 
 define Package/vnc-reflector/install   
 endef
 
 define Package/vnc-reflector/install   
index e221c1ad07d42068c6710e53aa6195d53e993bdf..48bfbbf140dde09e56a5c18b044b2ca3d6d5b251 100644 (file)
@@ -4,17 +4,17 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # 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
 
 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:=$(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)
 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
   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
 
   URL:=http://ultravnc.sourceforge.net/addons/repeater.html
 endef
 
@@ -41,11 +42,11 @@ define Package/vncrepeater/
 endef
 
 define Build/Compile
 endef
 
 define Build/Compile
-$(call Build/Compile/Default, \
+       $(call Build/Compile/Default, \
                CFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
                STAGING_DIR="$(STAGING_DIR)" \
                CFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
                STAGING_DIR="$(STAGING_DIR)" \
-               DESTDIR="$(PKG_INSTALL_DIR)" \
-               repeater)
+               repeater \
+       )
 endef
 
 define Package/vncrepeater/install     
 endef
 
 define Package/vncrepeater/install     
index 7976d9165ff010113f15577b95a2da25140eca7e..b0bc21f76c5d55ce3938763ef2077b8ea7cfba12 100644 (file)
@@ -12,13 +12,12 @@ PKG_NAME:=vpnc
 PKG_VERSION:=0.3.3
 PKG_RELEASE:=1
 
 PKG_VERSION:=0.3.3
 PKG_RELEASE:=1
 
-PKG_MD5SUM:=e7518cff21326fe7eb9795b60c25ae6a
-PKG_SOURCE_URL:=http://www.unix-ag.uni-kl.de/~massar/vpnc/
-
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_URL:=http://www.unix-ag.uni-kl.de/~massar/vpnc/
+PKG_MD5SUM:=e7518cff21326fe7eb9795b60c25ae6a
 PKG_CAT:=zcat
 
 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
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
@@ -28,7 +27,6 @@ define Package/vpnc
   CATEGORY:=Network
   DEPENDS:=+libgpg-error +libgcrypt +kmod-tun
   TITLE:=VPN client for Cisco 3000
   CATEGORY:=Network
   DEPENDS:=+libgpg-error +libgcrypt +kmod-tun
   TITLE:=VPN client for Cisco 3000
-  DESCRIPTION:=Client for cisco3000 VPN Concentrator
   URL:=http://www.unix-ag.uni-kl.de/~massar/vpnc/
 endef
 
   URL:=http://www.unix-ag.uni-kl.de/~massar/vpnc/
 endef
 
@@ -38,18 +36,24 @@ define Package/vpnc/conffiles
 endef
 
 define Build/Compile
 endef
 
 define Build/Compile
-$(call Build/Compile/Default,CC="$(TARGET_CC)" \
+       $(call Build/Compile/Default, \
                OFLAGS="$(TARGET_CFLAGS)" \
                OS="Linux" \
                STAGING_DIR="$(STAGING_DIR)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                PREFIX=/usr \
                OFLAGS="$(TARGET_CFLAGS)" \
                OS="Linux" \
                STAGING_DIR="$(STAGING_DIR)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                PREFIX=/usr \
-               all install)
+               all install \
+       )
 endef
 
 define Package/vpnc/install
 endef
 
 define Package/vpnc/install
-       install -d -m0755 $(1)
-       $(CP) $(PKG_INSTALL_DIR)/* $(1)/
+       install -d -m0755 $(1)/usr/sbin
+       $(CP)   $(PKG_INSTALL_DIR)/usr/sbin/vpnc \
+               $(PKG_INSTALL_DIR)/usr/sbin/vpnc-disconnect \
+               $(1)/usr/sbin/
+       install -d -m0700 $(1)/etc/vpnc
+       install -m0600 $(PKG_INSTALL_DIR)/etc/vpnc/vpnc.conf $(1)/etc/vpnc/
+       install -m0755 $(PKG_INSTALL_DIR)/etc/vpnc/vpnc-script $(1)/etc/vpnc/
 endef
 
 $(eval $(call BuildPackage,vpnc))
 endef
 
 $(eval $(call BuildPackage,vpnc))
index 854776bfb901473e4793bd10900c0c04c6f1b5c1..efada914bfe897567a27935ffb2ba816a9e4575d 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=vrrpd
 PKG_VERSION:=1.0
 PKG_RELEASE:=1
 PKG_NAME:=vrrpd
 PKG_VERSION:=1.0
 PKG_RELEASE:=1
-PKG_MD5SUM:=6d5066ea1a6ced817376ca0f54765447
 
 
-PKG_SOURCE_URL:=@SF/vrrpd
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/vrrpd
+PKG_MD5SUM:=6d5066ea1a6ced817376ca0f54765447
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -25,11 +25,12 @@ define Package/vrrpd
   SECTION:=net
   CATEGORY:=Network
   TITLE:=Virtual Router Redundancy Protocol daemon
   SECTION:=net
   CATEGORY:=Network
   TITLE:=Virtual Router Redundancy Protocol daemon
-  DESCRIPTION:=VRRPd is an implementation of Virtual Router Redundancy\\\
-  Protocol as specified in rfc2338.  VRRPd is interoperable with\\\
-  other RFC-based VRRP implementations, including Cisco and\\\
-  Juniper, and is included as a standard feature on ImageStream\\\
-  routers.\\\
+  DESCRIPTION:=\
+       VRRPd is an implementation of Virtual Router Redundancy \\\
+       Protocol as specified in rfc2338.  VRRPd is interoperable with \\\
+       other RFC-based VRRP implementations, including Cisco and \\\
+       Juniper, and is included as a standard feature on ImageStream \\\
+       routers.
   URL:=http://www.sourceforge.net/projects/vrrpd
 endef
 
   URL:=http://www.sourceforge.net/projects/vrrpd
 endef
 
@@ -38,19 +39,20 @@ define Package/vrrpd/conffiles
 endef
 
 define Build/Compile   
 endef
 
 define Build/Compile   
-$(call Build/Compile/Default, \
+       $(call Build/Compile/Default, \
                DBG_OPT="" \
                MAIN_OPT="$(TARGET_CFLAGS)" \
                DBG_OPT="" \
                MAIN_OPT="$(TARGET_CFLAGS)" \
-               vrrpd)
+               vrrpd \
+       )
 endef
 
 define Package/vrrpd/install   
 endef
 
 define Package/vrrpd/install   
+       install -d -m0755 $(1)/usr/sbin
+       install -m0755 $(PKG_BUILD_DIR)/vrrpd $(1)/usr/sbin/
        install -d -m0755 $(1)/etc/default
        install -m0644 ./files/vrrpd.default $(1)/etc/default/vrrpd
        install -d -m0755 $(1)/etc/init.d
        install -m0755 ./files/vrrpd.init $(1)/etc/init.d/vrrpd
        install -d -m0755 $(1)/etc/default
        install -m0644 ./files/vrrpd.default $(1)/etc/default/vrrpd
        install -d -m0755 $(1)/etc/init.d
        install -m0755 ./files/vrrpd.init $(1)/etc/init.d/vrrpd
-       install -d -m0755 $(1)/usr/sbin
-       install -m0755 $(PKG_BUILD_DIR)/vrrpd $(1)/usr/sbin/
 endef
 
 $(eval $(call BuildPackage,vrrpd))
 endef
 
 $(eval $(call BuildPackage,vrrpd))
index 174f1eea95d4676fb88595c056a0a98ca517fa45..1a39a65dd5ee7c0cf45843b9aba7ff59383b2eaa 100644 (file)
@@ -26,7 +26,6 @@ define Package/vsftpd
   SECTION:=net
   CATEGORY:=Network
   TITLE:=A fast and secure FTP server
   SECTION:=net
   CATEGORY:=Network
   TITLE:=A fast and secure FTP server
-  DESCRIPTION:=A fast and secure FTP server.
   URL:=http://vsftpd.beasts.org/
 endef
 
   URL:=http://vsftpd.beasts.org/
 endef
 
@@ -48,12 +47,12 @@ define Build/Compile
 endef
 
 define Package/vsftpd/install
 endef
 
 define Package/vsftpd/install
+       install -d -m0755 $(1)/usr/sbin
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/vsftpd $(1)/usr/sbin/
        install -d -m0755 $(1)/etc
        install -m0644 ./files/vsftpd.conf $(1)/etc/vsftpd.conf
        install -d -m0755 $(1)/etc/init.d
        install -m0755 ./files/vsftpd.init $(1)/etc/init.d/vsftpd
        install -d -m0755 $(1)/etc
        install -m0644 ./files/vsftpd.conf $(1)/etc/vsftpd.conf
        install -d -m0755 $(1)/etc/init.d
        install -m0755 ./files/vsftpd.init $(1)/etc/init.d/vsftpd
-       install -d -m0755 $(1)/usr/sbin
-       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/vsftpd $(1)/usr/sbin/
 endef
 
 $(eval $(call BuildPackage,vsftpd))
 endef
 
 $(eval $(call BuildPackage,vsftpd))
index 0f5c90a81a507b46a1090cc80f37c4fec062d582..8ba01531d1b682ca5a72c26715259c7d6afc4164 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=vtun
 PKG_VERSION:=2.6
 PKG_RELEASE:=1
 PKG_NAME:=vtun
 PKG_VERSION:=2.6
 PKG_RELEASE:=1
-PKG_MD5SUM:=309534fd03c5d13a19c43916f61f4bbf
 
 
-PKG_SOURCE_URL:=@SF/vtun
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/vtun
+PKG_MD5SUM:=309534fd03c5d13a19c43916f61f4bbf
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
@@ -26,7 +26,6 @@ define Package/vtun
   CATEGORY:=Network
   DEPENDS:=+kmod-tun +liblzo +libopenssl +zlib
   TITLE:=VPN tunneling daemon
   CATEGORY:=Network
   DEPENDS:=+kmod-tun +liblzo +libopenssl +zlib
   TITLE:=VPN tunneling daemon
-  DESCRIPTION:=VPN tunneling daemon
   URL:=http://vtun.sourceforge.net
 endef
 
   URL:=http://vtun.sourceforge.net
 endef
 
@@ -35,20 +34,23 @@ define Package/vtun/conffiles
 endef
 
 define Build/Configure
 endef
 
 define Build/Configure
-$(call Build/Configure/Default,,LIBS="-L$(STAGING_DIR)/usr/lib" \
+       $(call Build/Configure/Default, \
+               , \
+               LIBS="-L$(STAGING_DIR)/usr/lib" \
                BLOWFISH_HDR_DIR="$(STAGING_DIR)/usr/include/openssl" \
                LZO_HDR_DIR="$(STAGING_DIR)/usr/include/lzo" \
                BLOWFISH_HDR_DIR="$(STAGING_DIR)/usr/include/openssl" \
                LZO_HDR_DIR="$(STAGING_DIR)/usr/include/lzo" \
-               SSL_HDR_DIR="$(STAGING_DIR)/usr/include/openssl")
+               SSL_HDR_DIR="$(STAGING_DIR)/usr/include/openssl" \
+       )
 endef
 
 define Build/Compile   
 endef
 
 define Build/Compile   
-$(call Build/Compile/Default,vtund)
+       $(call Build/Compile/Default,vtund)
 endef
 
 define Package/vtun/install    
 endef
 
 define Package/vtun/install    
-       install -m0755 -d $(1)/etc
+       install -d -m0755 $(1)/etc
        install -m0600 $(PKG_BUILD_DIR)/vtund.conf $(1)/etc/
        install -m0600 $(PKG_BUILD_DIR)/vtund.conf $(1)/etc/
-       install -m0755 -d $(1)/usr/sbin
+       install -d -m0755 $(1)/usr/sbin
        install -m0755 $(PKG_BUILD_DIR)/vtund $(1)/usr/sbin/
 endef
 
        install -m0755 $(PKG_BUILD_DIR)/vtund $(1)/usr/sbin/
 endef
 
index ac90a15c7207abf2a0f571d2961952dbf09b5d80..3c8c984af8ac61b2b72e13e976faba83757bfce2 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
 
 include $(TOPDIR)/rules.mk
 
index a538e8fa3866bf2aeb6ec5f7dc632e671f169023..5105b142a0cc903a55c393e4c4c57ba85a9bbf6c 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=wifidog
 PKG_VERSION:=1.1.3_beta2
 PKG_RELEASE:=1
 PKG_NAME:=wifidog
 PKG_VERSION:=1.1.3_beta2
 PKG_RELEASE:=1
-PKG_MD5SUM:=ba1611c7eb959f9c6f93e12b97d70b82
 
 
-PKG_SOURCE_URL:= @SF/$(PKG_NAME)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:= @SF/$(PKG_NAME)
+PKG_MD5SUM:=ba1611c7eb959f9c6f93e12b97d70b82
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -27,10 +27,11 @@ define Package/wifidog
   CATEGORY:=Network
   DEPENDS:=+iptables-mod-extra
   TITLE:=A wireless captive portal solution
   CATEGORY:=Network
   DEPENDS:=+iptables-mod-extra
   TITLE:=A wireless captive portal solution
-  DESCRIPTION:=The Wifidog project is a complete and embeddable captive
-  portal solution for wireless community groups or individuals\\\
-  who wish to open a free Hotspot while still preventing abuse\\\
-  of their Internet connection.\\\
+  DESCRIPTION:=\
+       The Wifidog project is a complete and embeddable captive \\\
+       portal solution for wireless community groups or individuals \\\
+       who wish to open a free Hotspot while still preventing abuse \\\
+       of their Internet connection.
   URL:=http://www.wifidog.org
 endef
 
   URL:=http://www.wifidog.org
 endef
 
@@ -38,29 +39,25 @@ define Package/wifidog/conffiles
 /etc/wifidog.conf
 endef
 
 /etc/wifidog.conf
 endef
 
-define Build/Configure
-       $(call Build/Configure/Default)
-endef
+# uses GNU configure
 
 define Build/Compile
 
 define Build/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR) \
-               $(TARGET_CONFIGURE_OPTS)
-       mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
-               install
+               all install
 endef
        
 define Package/wifidog/install
 endef
        
 define Package/wifidog/install
-       install -m0755 -d $(1)/etc/init.d
-       install -m0755 ./files/$(PKG_NAME).init $(1)/etc/init.d/wifidog
-       install -m0644 ./files/wifidog.conf $(1)/etc/
-       install -m0755 -d $(1)/usr/bin
-       install -m0755 -d $(1)/usr/lib
+       install -d -m0755 $(1)/usr/bin
        install -m0755 $(PKG_BUILD_DIR)/scripts/init.d/wifidog $(1)/usr/bin/wifidog-init
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/wifidog $(1)/usr/bin/
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/wdctl $(1)/usr/bin/
        install -m0755 $(PKG_BUILD_DIR)/scripts/init.d/wifidog $(1)/usr/bin/wifidog-init
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/wifidog $(1)/usr/bin/
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/wdctl $(1)/usr/bin/
+       install -d -m0755 $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libhttpd.so* $(1)/usr/lib/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libhttpd.so* $(1)/usr/lib/
+       install -d -m0755 $(1)/etc
+       install -m0644 ./files/wifidog.conf $(1)/etc/
+       install -d -m0755 $(1)/etc/init.d
+       install -m0755 ./files/$(PKG_NAME).init $(1)/etc/init.d/wifidog
 endef
 
 $(eval $(call BuildPackage,wifidog))
 endef
 
 $(eval $(call BuildPackage,wifidog))
index 8fb54f87106e8289f932e35b4cf1e95fec28c5a4..5614e49440494f0acb79ce553950a8f71792ca08 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=wknock
 PKG_VERSION:=1
 PKG_RELEASE:=1
 PKG_NAME:=wknock
 PKG_VERSION:=1
 PKG_RELEASE:=1
-PKG_MD5SUM:=6b7a1f3cbb0af88da02e5d30cefd8e7f
 
 
-PKG_SOURCE_URL:=http://blackhat.com/presentations/bh-europe-05/BH_EU_05-Oudot/
 PKG_SOURCE:=$(PKG_NAME).tar.gz
 PKG_SOURCE:=$(PKG_NAME).tar.gz
+PKG_SOURCE_URL:=http://blackhat.com/presentations/bh-europe-05/BH_EU_05-Oudot/
+PKG_MD5SUM:=6b7a1f3cbb0af88da02e5d30cefd8e7f
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
index 785f1abdf09356abbf2ca2362ae23c443704818b..b3fec0c120912cacbadf2cf09bd8fcef66674721 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # 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
 
 
 include $(TOPDIR)/rules.mk
 
index 89b58643581336941f44617fee5594e95da00f5c..fa45a11bc78cd7ad9652f55befeae257ecea598e 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=wrt-radauth
 PKG_VERSION:=1.0
 PKG_RELEASE:=1
 PKG_NAME:=wrt-radauth
 PKG_VERSION:=1.0
 PKG_RELEASE:=1
-PKG_MD5SUM:=f941e3139175dc6b87f6c89ba8848a07
 
 
-PKG_SOURCE_URL:=http://www.zerfleddert.de/wrt54g/
 PKG_SOURCE:=$(PKG_NAME).tar.gz
 PKG_SOURCE:=$(PKG_NAME).tar.gz
+PKG_SOURCE_URL:=http://www.zerfleddert.de/wrt54g/
+PKG_MD5SUM:=f941e3139175dc6b87f6c89ba8848a07
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
@@ -26,16 +26,18 @@ define Package/wrt-radauth
   CATEGORY:=Network
   DEPENDS:=kmod-brcm-wl +nvram
   TITLE:=A Radius MAC authenticator for Broadcom based access points
   CATEGORY:=Network
   DEPENDS:=kmod-brcm-wl +nvram
   TITLE:=A Radius MAC authenticator for Broadcom based access points
-  DESCRIPTION:=This software watches the stations associating to a broadcom based\\\
-  AccessPoint (e.g. Linksys WRT54G) and sends an authentication request\\\
-  to the radius-server specified in nvram.\\\
+  DESCRIPTION:=\
+       This software watches the stations associating to a broadcom based \\\
+       AccessPoint (e.g. Linksys WRT54G) and sends an authentication request \\\
+       to the radius-server specified in nvram.
   URL:=http://www.zerfleddert.de/wrt54g/
 endef
   
 define Build/Compile
   URL:=http://www.zerfleddert.de/wrt54g/
 endef
   
 define Build/Compile
-$(call Build/Compile/Default,CC="$(TARGET_CC)" \
-               CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib")
+       $(call Build/Compile/Default, \
+               CFLAGS="\$$$$(EXTRA_CFLAGS)" \
+               LDFLAGS="\$$$$(EXTRA_LDFLAGS)" \
+       )
 endef
 
 define Package/wrt-radauth/install     
 endef
 
 define Package/wrt-radauth/install     
index c0b980ec6ab95e3230c8c5a972af040a3403e99b..0aa28bcb44ffc03bf67414c549eeed8b7e708016 100644 (file)
@@ -20,6 +20,8 @@ PKG_CAT:=zcat
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
+PKG_BUILDDEP:=madwifi
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/xsupplicant
 include $(INCLUDE_DIR)/package.mk
 
 define Package/xsupplicant
@@ -54,7 +56,7 @@ endef
 
 define Build/Compile   
        $(MAKE) -C $(PKG_BUILD_DIR) \
 
 define Build/Compile   
        $(MAKE) -C $(PKG_BUILD_DIR) \
-               DESTDIR=$(PKG_INSTALL_DIR) \
+               DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
 endef
 
                all install
 endef
 
index 92cc5aed8a8fdf46b9c4479d83e1b5795a5a655a..5a151bb2921237828d2103be71782bdb07afd95e 100644 (file)
@@ -4,40 +4,40 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # 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
 
 PKG_NAME:=yafc
 PKG_VERSION:=1.1.1
 PKG_RELEASE:=1
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=yafc
 PKG_VERSION:=1.1.1
 PKG_RELEASE:=1
-PKG_MD5SUM:=832d074183a36ee15b47553ed5962fce
 
 
-PKG_SOURCE_URL:=@SF/$(PKG_NAME)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=@SF/$(PKG_NAME)
+PKG_MD5SUM:=832d074183a36ee15b47553ed5962fce
 PKG_CAT:=bzcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 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
 
 define Package/yafc
   SECTION:=net
   CATEGORY:=Network
 
 include $(INCLUDE_DIR)/package.mk
 
 define Package/yafc
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+libpcap
+  DEPENDS:=+libncurses +libreadline
   TITLE:=Yafc is yet another ftp client.
   TITLE:=Yafc is yet another ftp client.
-  DESCRIPTION:=console-based FTP client
-  URL:=http://yacf.sourceforge.net
+  URL:=http://yacf.sourceforge.net/
 endef
 
 endef
 
-define Build/Configure
-$(call Build/Configure/Default,--includedir=$(PKG_BUILD_DIR)/)
+# uses GNU configure
+
+define Build/Compile
+       $(MAKE) -C $(PKG_BUILD_DIR)
 endef
 
 define Package/yafc/install
 endef
 
 define Package/yafc/install
-       install -m0755 -d $(1)/usr/sbin
-       $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
+       install -d -m0755 $(1)/usr/sbin
+       $(CP) $(PKG_BUILD_DIR)/src/yafc $(1)/usr/sbin/
 endef
 
 $(eval $(call BuildPackage,yafc))
 endef
 
 $(eval $(call BuildPackage,yafc))
index 401aad038374586b59d00ebb2d941a0dba1eb9bf..379e22c18d90824da4e765225bc75d1e1afe253c 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -10,11 +11,11 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=madplay
 PKG_VERSION:=0.15.2b
 PKG_RELEASE:=1
 PKG_NAME:=madplay
 PKG_VERSION:=0.15.2b
 PKG_RELEASE:=1
-PKG_MD5SUM:=6814b47ceaa99880c754c5195aa1aac1
 
 
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/mad \
        ftp://ftp.mars.org/pub/mpeg/
 PKG_SOURCE_URL:=@SF/mad \
        ftp://ftp.mars.org/pub/mpeg/
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_MD5SUM:=6814b47ceaa99880c754c5195aa1aac1
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -27,10 +28,11 @@ define Package/madplay
   CATEGORY:=Sound
   DEPENDS:=+libid3tag +libmad
   TITLE:=MPEG audio player in fixed point
   CATEGORY:=Sound
   DEPENDS:=+libid3tag +libmad
   TITLE:=MPEG audio player in fixed point
-  DESCRIPTION:=MAD is an MPEG audio decoder. It currently only supports the MPEG 1\\\
-standard, but fully implements all three audio layers (Layer I, Layer II,\\\
-and Layer III, the latter often colloquially known as MP3.).  There is also\\\
-full support for ID3 tags.\\\
+  DESCRIPTION:=\
+       MAD is an MPEG audio decoder. It currently only supports the MPEG 1 \\\
+       standard, but fully implements all three audio layers (Layer I, Layer II, \\\
+       and Layer III, the latter often colloquially known as MP3.).  There is also \\\
+       full support for ID3 tags.
   URL:=http://sourceforge.net/projects/mad
 endef
 
   URL:=http://sourceforge.net/projects/mad
 endef
 
@@ -38,29 +40,27 @@ define Build/Configure
        $(call Build/Configure/Default, \
                --enable-shared \
                --disable-static \
        $(call Build/Configure/Default, \
                --enable-shared \
                --disable-static \
-               --with-gnu-ld \
-               --disable-rpath \
                --disable-debugging \
                --disable-profiling \
                --disable-experimental \
                --without-libiconv-prefix \
                --without-libintl-prefix \
                --without-alsa \
                --disable-debugging \
                --disable-profiling \
                --disable-experimental \
                --without-libiconv-prefix \
                --without-libintl-prefix \
                --without-alsa \
-               --without-esd,LIBS="-lz" \
+               --without-esd \
+               , \
+               LIBS="-lz" \
        )
 endef
 
 define Build/Compile
        )
 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/madplay/install 
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
 endef
 
 define Package/madplay/install 
-       install -m0755 -d $(1)/usr/bin
-       install -m0755 $(PKG_INSTALL_DIR)/usr/bin/madplay $(1)/usr/bin/
+       install -d -m0755 $(1)/usr/bin
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/madplay $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,madplay))
 endef
 
 $(eval $(call BuildPackage,madplay))
index 23ad6f313bda038002b9140d02c88934ff8178a7..0fdbfffdf2b1e5fe60dae24155b0d12c3afa69e4 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=mt-daapd
 PKG_VERSION:=0.2.4
 PKG_RELEASE:=1
 PKG_NAME:=mt-daapd
 PKG_VERSION:=0.2.4
 PKG_RELEASE:=1
-PKG_MD5SUM:=2e1cdbe6b94ef153e915806f80a28dca
 
 
-PKG_SOURCE_URL:=@SF/mt-daapd
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/mt-daapd
+PKG_MD5SUM:=2e1cdbe6b94ef153e915806f80a28dca
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -27,7 +27,8 @@ define Package/mt-daapd
   CATEGORY:=Sound
   DEPENDS:=+libgdbm +libhowl +libid3tag
   TITLE:=A multi-threaded DAAP (Digital Audio Access Protocol) daemon
   CATEGORY:=Sound
   DEPENDS:=+libgdbm +libhowl +libid3tag
   TITLE:=A multi-threaded DAAP (Digital Audio Access Protocol) daemon
-  DESCRIPTION:=mt-daapd is a program which acts as an iTunes (DAAP) server for Linux.
+  DESCRIPTION:=\
+       mt-daapd is a program which acts as an iTunes (DAAP) server for Linux.
   URL:=http://www.mt-daapd.org
 endef
 
   URL:=http://www.mt-daapd.org
 endef
 
@@ -38,8 +39,6 @@ endef
 
 define Build/Configure
        $(call Build/Configure/Default, \
 
 define Build/Configure
        $(call Build/Configure/Default, \
-               --enable-shared \
-               --disable-static \
                --enable-mdns \
                --enable-howl \
                --with-id3tag="$(STAGING_DIR)/usr" \
                --enable-mdns \
                --enable-howl \
                --with-id3tag="$(STAGING_DIR)/usr" \
@@ -52,23 +51,21 @@ define Build/Configure
 endef
 
 define Build/Compile   
 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/mt-daapd/install        
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
 endef
 
 define Package/mt-daapd/install        
-       install -m0755 -d $(1)/etc
+       install -d -m0755 $(1)/etc
        install -m0644 $(PKG_BUILD_DIR)/contrib/mt-daapd.conf $(1)/etc/
        install -m0644 $(PKG_BUILD_DIR)/contrib/mt-daapd.playlist $(1)/etc/
        install -m0644 $(PKG_BUILD_DIR)/contrib/mt-daapd.conf $(1)/etc/
        install -m0644 $(PKG_BUILD_DIR)/contrib/mt-daapd.playlist $(1)/etc/
-       install -m0755 -d $(1)/etc/init.d
-       install -m0755 ./files/mt-daapd.init $(1)/etc/init.d/mt-daapd
-       install -m0755 -d $(1)/usr/share
+       install -d -m0755 $(1)/usr/share
        $(CP) $(PKG_INSTALL_DIR)/usr/share/mt-daapd $(1)/usr/share/
        $(CP) $(PKG_INSTALL_DIR)/usr/share/mt-daapd $(1)/usr/share/
-       install -m0755 -d $(1)/usr/sbin
+       install -d -m0755 $(1)/usr/sbin
        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/mt-daapd $(1)/usr/sbin/
        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/mt-daapd $(1)/usr/sbin/
+       install -d -m0755 $(1)/etc/init.d
+       install -m0755 ./files/mt-daapd.init $(1)/etc/init.d/mt-daapd
 endef
 
 $(eval $(call BuildPackage,mt-daapd))
 endef
 
 $(eval $(call BuildPackage,mt-daapd))
index 7a8add663dfc2125fcab6e28248bb7fc0d6b7b47..65736d0e58e2c7286036af3aed480d9d46acb1cd 100644 (file)
@@ -33,7 +33,6 @@ endef
 define Build/Configure
        $(call Build/Configure/Default, \
                --disable-rpath \
 define Build/Configure
        $(call Build/Configure/Default, \
                --disable-rpath \
-               --with-gnu-ld \
        )
 endef
 
        )
 endef
 
index 0d7bbf62df522a28673e65206ffb8175910bf62e..9cd1edf21cedbe31f94cff5c645f3711cad0180b 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -10,43 +11,47 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=bc
 PKG_VERSION:=1.06
 PKG_RELEASE:=1
 PKG_NAME:=bc
 PKG_VERSION:=1.06
 PKG_RELEASE:=1
-PKG_MD5SUM:=d44b5dddebd8a7a7309aea6c36fda117
 
 
-PKG_SOURCE_URL:=@GNU/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@GNU/
+PKG_MD5SUM:=d44b5dddebd8a7a7309aea6c36fda117
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
 
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/bc
+define Package/bc/Default
   SECTION:=utils
   CATEGORY:=Utilities
   SECTION:=utils
   CATEGORY:=Utilities
-  MENU:=1
-  TITLE:=Arbitrary precision calculator language
-  DESCRIPTION:=bc is a language that supports arbitrary precision numbers with interactive execution of statements.
   URL:=http://www.gnu.org/software/bc/
 endef
 
   URL:=http://www.gnu.org/software/bc/
 endef
 
+define Package/bc
+  $(call Package/bc/Default)
+  TITLE:=Arbitrary precision calculator language
+  DESCRIPTION:=\
+       bc is a language that supports arbitrary precision numbers with interactive \\\
+       execution of statements.
+endef
+
 define Package/dc
 define Package/dc
-  SECTION:=utils
-  CATEGORY:=Utilities
+  $(call Package/bc/Default)
   DEPENDS:=bc
   DEPENDS:=bc
-  TITLE:=Arbitrary precision calculator
-  DESCRIPTION:=dc is a reverse-polish desk calculator which supports unlimited precision arithmetic.
-  URL:=http://www.gnu.org/software/bc/
+  TITLE:=Arbitrary precision reverse-polish calculator
+  DESCRIPTION:=\
+       dc is a reverse-polish desk calculator which supports unlimited precision \\\
+       arithmetic.
 endef
 
 define Package/bc/install
 endef
 
 define Package/bc/install
-       install -m0755 -d $(1)/usr/bin
-       $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME) $(1)/usr/bin/$(PKG_NAME)
+       install -d -m0755 $(1)/usr/bin
+       install -m0755 $(PKG_BUILD_DIR)/bc/bc $(1)/usr/bin/
 endef
 
 define Package/dc/install
 endef
 
 define Package/dc/install
-       install -m0755 -d $(1)/usr/bin
-       $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME) $(1)/usr/bin/$(PKG_NAME)
+       install -d -m0755 $(1)/usr/bin
+       install -m0755 $(PKG_BUILD_DIR)/dc/dc $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,bc))
 endef
 
 $(eval $(call BuildPackage,bc))
index 9cc4c3a95e508883696b7806d5de32b06c6fbfd6..713c1451ed488a54768cad347afc9d18fd96cbdf 100644 (file)
@@ -20,8 +20,8 @@ define Package/cifsmount
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=CIFS mounting helper utility
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=CIFS mounting helper utility
-  DESCRIPTION:=Helper utility for mounting remote CIFS shares.\\\
-    An user space helper for mounting remote CIFS shares
+  DESCRIPTION:=\
+       An user space helper utility for mounting remote CIFS shares.
 endef
 
 define Build/Prepare
 endef
 
 define Build/Prepare
index 71d0ce6a53c6d0513919c924d552156d84cd4a9e..5a91077fe0722bd3f0d7c4feb022510dacca2ca0 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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:=collectd
 PKG_VERSION:=3.5.1
 PKG_RELEASE:=1
 PKG_NAME:=collectd
 PKG_VERSION:=3.5.1
 PKG_RELEASE:=1
-PKG_MD5SUM:=46a4b81e46d3bb58faab1d603649d737
 
 
-PKG_SOURCE_URL:=http://verplant.org/collectd/files
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://verplant.org/collectd/files
+PKG_MD5SUM:=46a4b81e46d3bb58faab1d603649d737
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -25,13 +26,11 @@ define Package/collectd
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=Lightweight system statistics collection daemon
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=Lightweight system statistics collection daemon
-  DESCRIPTION:=Lightweight system statistics collection daemon
   URL:=http://verplant.org/collectd/
 endef
 
 define Build/Compile
   URL:=http://verplant.org/collectd/
 endef
 
 define Build/Compile
-       $(call Build/Configure/Default,--enable-shared \
-               --disable-static \
+       $(call Build/Configure/Default, \
                --disable-debug \
                --enable-cpu \
                --enable-load \
                --disable-debug \
                --enable-cpu \
                --enable-load \
@@ -52,22 +51,18 @@ define Build/Compile
 endef
 
 define Build/Compile
 endef
 
 define Build/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR)
-       mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
-               install
+               all install
 endef
 
 define Package/collectd/install
 endef
 
 define Package/collectd/install
-       install -d -m0755 $(1)/etc/init.d
        install -d -m0755 $(1)/usr/sbin
        install -d -m0755 $(1)/usr/sbin
-       install -d -m0755 $(1)/usr/lib/collectd
-       install -d -m0755 $(1)/var/lib/collectd
-       install -d -m0755 $(1)/var/run
-       install -m0755 ./files/collectd.init $(1)/etc/init.d/collectd
        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/collectd $(1)/usr/sbin/
        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/collectd $(1)/usr/sbin/
+       install -d -m0755 $(1)/usr/lib/collectd
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/collectd/*.so $(1)/usr/lib/collectd/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/collectd/*.so $(1)/usr/lib/collectd/
+       install -d -m0755 $(1)/etc/init.d
+       install -m0755 ./files/collectd.init $(1)/etc/init.d/collectd
 endef
 
 $(eval $(call BuildPackage,collectd))
 endef
 
 $(eval $(call BuildPackage,collectd))
index abd9a31e5f794bbf60f091d52c24e4f1a49a9cb5..b5401a63720dc03d523fbeb04df56b5c7e77cd06 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -10,12 +11,12 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=deco
 PKG_VERSION:=39
 PKG_RELEASE:=1
 PKG_NAME:=deco
 PKG_VERSION:=39
 PKG_RELEASE:=1
-PKG_MD5SUM:=f77f60e8be0cae1f814cba1ef61bf4d0
 
 
-PKG_SOURCE_URL:=@SF/deco
 PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tgz
 PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tgz
-
+PKG_SOURCE_URL:=@SF/deco
+PKG_MD5SUM:=f77f60e8be0cae1f814cba1ef61bf4d0
 PKG_CAT:=zcat
 PKG_CAT:=zcat
+
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/package.mk
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/package.mk
@@ -25,8 +26,9 @@ define Package/deco
   CATEGORY:=Utilities
   DEPENDS:=+libncurses
   TITLE:=Text-based, full featured file manager
   CATEGORY:=Utilities
   DEPENDS:=+libncurses
   TITLE:=Text-based, full featured file manager
-  DESCRIPTION:=A clone of Norton Commander for Unix. Text-based, full featured\\\
-       file manager.\\\
+  DESCRIPTION:=\
+       A clone of Norton Commander for Unix. Text-based, full featured \\\
+       file manager.
   URL:=http://deco.sourceforge.net/
 endef
   
   URL:=http://deco.sourceforge.net/
 endef
   
@@ -35,11 +37,11 @@ define Build/Compile
 endef
 
 define Package/deco/install
 endef
 
 define Package/deco/install
-       install -m0755 -d $(1)/usr/bin
-       install -m0755 $(PKG_BUILD_DIR)/deco $(1)/usr/bin/deco
-       install -m0755 -d $(1)/usr/lib/deco
-       install -m0644 $(PKG_BUILD_DIR)/profile $(1)/usr/lib/deco/profile
+       install -d -m0755 $(1)/usr/bin
+       install -m0755 $(PKG_BUILD_DIR)/deco $(1)/usr/bin/
+       install -d -m0755 $(1)/usr/lib/deco
        install -m0644 $(PKG_BUILD_DIR)/menu $(1)/usr/lib/deco/menu
        install -m0644 $(PKG_BUILD_DIR)/menu $(1)/usr/lib/deco/menu
+       install -m0644 $(PKG_BUILD_DIR)/profile $(1)/usr/lib/deco/profile
 endef
 
 $(eval $(call BuildPackage,deco))
 endef
 
 $(eval $(call BuildPackage,deco))
index 46dd99067a93bacc06c61b476d5c01b8ae2c2256..0f2adaf50b32997dd44c378b20ca609568ba7183 100644 (file)
@@ -12,12 +12,12 @@ PKG_NAME:=dosfstools
 PKG_VERSION:=2.11
 PKG_RELEASE:=1
 
 PKG_VERSION:=2.11
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_MD5SUM:=407d405ade410f7597d364ab5dc8c9f6
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).src.tar.gz
 PKG_SOURCE_URL:=ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).src.tar.gz
 PKG_SOURCE_URL:=ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/
+PKG_MD5SUM:=407d405ade410f7597d364ab5dc8c9f6
 PKG_CAT:=zcat
 
 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
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
@@ -26,8 +26,8 @@ define Package/dosfstools
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=MS-DOS FAT filesystems utilities
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=MS-DOS FAT filesystems utilities
-  DESCRIPTION:=MS-DOS FAT filesystems utilities.\\\
-    Utilities to create and check MS-DOS FAT filesystems.
+  DESCRIPTION:=\
+       Utilities to create and check MS-DOS FAT filesystems.
   URL:=ftp://ftp.uni-erlangen.de:/pub/Linux/LOCAL/dosfstools/
 endef
 
   URL:=ftp://ftp.uni-erlangen.de:/pub/Linux/LOCAL/dosfstools/
 endef
 
@@ -35,21 +35,26 @@ define Build/Configure
 endef
 
 define Build/Compile
 endef
 
 define Build/Compile
-       rm -rf $(PKG_INSTALL_DIR)
-       mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
                OPTFLAGS="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64" \
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
                OPTFLAGS="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64" \
-               PREFIX="$(PKG_INSTALL_DIR)" \
-               all install
+               PREFIX="/usr" \
+               SBINDIR="/usr/sbin" \
+               all
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               $(TARGET_CONFIGURE_OPTS) \
+               OPTFLAGS="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64" \
+               PREFIX="$(PKG_INSTALL_DIR)/usr" \
+               SBINDIR="$(PKG_INSTALL_DIR)/usr/sbin" \
+               install
 endef
 
 define Package/dosfstools/install
 endef
 
 define Package/dosfstools/install
-       install -d -m0755 $(1)/sbin
-       $(CP) $(PKG_INSTALL_DIR)/sbin/dosfsck $(1)/sbin/
-       $(CP) $(PKG_INSTALL_DIR)/sbin/fsck.{msdos,vfat} $(1)/sbin/
-       $(CP) $(PKG_INSTALL_DIR)/sbin/mkdosfs $(1)/sbin/
-       $(CP) $(PKG_INSTALL_DIR)/sbin/mkfs.{msdos,vfat} $(1)/sbin/
+       install -d -m0755 $(1)/usr/sbin
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/dosfsck $(1)/usr/sbin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/fsck.{msdos,vfat} $(1)/usr/sbin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/mkdosfs $(1)/usr/sbin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/mkfs.{msdos,vfat} $(1)/usr/sbin/
 endef
 
 $(eval $(call BuildPackage,dosfstools))
 endef
 
 $(eval $(call BuildPackage,dosfstools))
index e9894bda6fa64ad97edb2dcf4bd59f53bebe904f..8422a24f15e2e601a2b6e148528259bc5fed37bd 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
index 048fc3e5c376739f0fe32d5837080ab1093c4965..e740090e72e89a8e99eaac20662d8ed0ac109d43 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=fetchmail
 PKG_VERSION:=6.2.5
 PKG_RELEASE:=1
 PKG_NAME:=fetchmail
 PKG_VERSION:=6.2.5
 PKG_RELEASE:=1
-PKG_MD5SUM:=9956b30139edaa4f5f77c4d0dbd80225
 
 
-PKG_SOURCE_URL:=http://www.catb.org/~esr/fetchmail/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://www.catb.org/~esr/fetchmail/
+PKG_MD5SUM:=9956b30139edaa4f5f77c4d0dbd80225
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -26,7 +26,8 @@ define Package/fetchmail
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=Remote mail retriever
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=Remote mail retriever
-  DESCRIPTION:=Retrieves remote mail via POP/IMAP\\\
+  DESCRIPTION:=\
+       Retrieves remote mail via POP/IMAP.\\\
        Very useful in conjunction with mutt.
   URL:=http://www.catb.org/~esr/fetchmail/
 endef
        Very useful in conjunction with mutt.
   URL:=http://www.catb.org/~esr/fetchmail/
 endef
@@ -34,22 +35,21 @@ endef
 define Build/Configure
        $(call Build/Configure/Default, \
                --enable-fallback=procmail \
 define Build/Configure
        $(call Build/Configure/Default, \
                --enable-fallback=procmail \
-               --without-hesiod, \
+               --without-hesiod \
+               , \
                ac_cv_path_procmail=/usr/sbin/procmail \
        )
 endef
 
 define Build/Compile
                ac_cv_path_procmail=/usr/sbin/procmail \
        )
 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/fetchmail/install
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
 endef
 
 define Package/fetchmail/install
-       mkdir -p $(1)/usr/bin
-       $(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
+       install -d -m0755 $(1)/usr/bin
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/fetchmail $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,fetchmail))
 endef
 
 $(eval $(call BuildPackage,fetchmail))
index b451d7950e668f918e4df349d10b99cb25ee1276..8003d52392b525960873502ebc8741f4d65c3dc3 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -10,12 +11,14 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=heyu
 PKG_VERSION:=2.0beta.5
 PKG_RELEASE:=1
 PKG_NAME:=heyu
 PKG_VERSION:=2.0beta.5
 PKG_RELEASE:=1
-PKG_MD5SUM:=8289d5ca5b972333a72bc0fc3e640c13
-PKG_SOURCE_URL:=http://heyu.tanj.com/download/
+
 PKG_SOURCE:=heyu-$(PKG_VERSION).tgz
 PKG_SOURCE:=heyu-$(PKG_VERSION).tgz
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_URL:=http://heyu.tanj.com/download/
+PKG_MD5SUM:=8289d5ca5b972333a72bc0fc3e640c13
 PKG_CAT:=zcat
 
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/heyu
 include $(INCLUDE_DIR)/package.mk
 
 define Package/heyu
@@ -23,7 +26,6 @@ define Package/heyu
   CATEGORY:=Utilities
   DEPENDS:=+setserial
   TITLE:=X10 home automation control using a CM11A
   CATEGORY:=Utilities
   DEPENDS:=+setserial
   TITLE:=X10 home automation control using a CM11A
-  DESCRIPTION:=10 home automation control using the CM11A serial device.
   URL:=http://heyu.tanj.com/heyu2/
 endef
 
   URL:=http://heyu.tanj.com/heyu2/
 endef
 
@@ -32,14 +34,16 @@ define Package/heyu/conffiles
 endef
 
 define Build/Compile
 endef
 
 define Build/Compile
-  $(call Build/Compile/Default, CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -DHASTZ")
+       $(call Build/Compile/Default, \
+               CFLAGS="$(TARGET_CFLAGS) \$$$$(DFLAGS)" \
+       )
 endef
 
 define Package/heyu/install    
 endef
 
 define Package/heyu/install    
+       install -d -m0755 $(1)/usr/bin
+       install -m0755 $(PKG_BUILD_DIR)/heyu $(1)/usr/bin/
        install -d -m0755 $(1)/etc/$(PKG_NAME)
        install -m0644 ./files/x10.conf $(1)/etc/$(PKG_NAME)/x10.conf
        install -d -m0755 $(1)/etc/$(PKG_NAME)
        install -m0644 ./files/x10.conf $(1)/etc/$(PKG_NAME)/x10.conf
-       install -d -m0755 $(1)/usr/bin
-       install -m0644 $(PKG_BUILD_DIR)/heyu $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,heyu))
 endef
 
 $(eval $(call BuildPackage,heyu))
index 77a45b7c29879fde718e6a1a365577a736db6937..3e7ce415c61bea2728389ce2fb35411af66973ad 100644 (file)
@@ -4,20 +4,21 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # 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
 
 PKG_NAME:=lilo
 PKG_VERSION:=22.7.3
 PKG_RELEASE:=1
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lilo
 PKG_VERSION:=22.7.3
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).src.tar.gz
 PKG_SOURCE_URL:=ftp://metalab.unc.edu/pub/Linux/system/boot/lilo/
 PKG_MD5SUM:=
 PKG_CAT:=zcat
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).src.tar.gz
 PKG_SOURCE_URL:=ftp://metalab.unc.edu/pub/Linux/system/boot/lilo/
 PKG_MD5SUM:=
 PKG_CAT:=zcat
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/lilo
 include $(INCLUDE_DIR)/package.mk
 
 define Package/lilo
index 4548f2961ba53b1a8bcda14108499dce77665bdd..091e18302fdde5109b59b0c1c1d20f4daee1c260 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -10,15 +11,16 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=logrotate
 PKG_VERSION:=3.7.1
 PKG_RELEASE:=1
 PKG_NAME:=logrotate
 PKG_VERSION:=3.7.1
 PKG_RELEASE:=1
-PKG_MD5SUM:=552639142e163745f6bcd4f1f3816d8a
 
 
+PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
 PKG_SOURCE_URL:= \
        http://ftp.de.debian.org/debian/pool/main/l/logrotate \
        http://ftp.debian.org/debian/pool/main/l/logrotate \
        http://ftp.fr.debian.org/debian/pool/main/l/logrotate \
        http://ftp.us.debian.org/debian/pool/main/l/logrotate
 PKG_SOURCE_URL:= \
        http://ftp.de.debian.org/debian/pool/main/l/logrotate \
        http://ftp.debian.org/debian/pool/main/l/logrotate \
        http://ftp.fr.debian.org/debian/pool/main/l/logrotate \
        http://ftp.us.debian.org/debian/pool/main/l/logrotate
-PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
+PKG_MD5SUM:=552639142e163745f6bcd4f1f3816d8a
 PKG_CAT:=zcat
 PKG_CAT:=zcat
+
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
@@ -29,10 +31,11 @@ define Package/logrotate
   CATEGORY:=Utilities
   DEPENDS:=+libpopt
   TITLE:=rotates, compresses, and mails system logs
   CATEGORY:=Utilities
   DEPENDS:=+libpopt
   TITLE:=rotates, compresses, and mails system logs
-  DESCRIPTION:=logrotate  is  designed to ease administration of systems that generate\\\
-large numbers of log files.  It allows auto-matic rotation, compression,\\\
-removal, and mailing of log files. Each  log  file  may  be  handled\\\
-daily,  weekly,monthly, or when it grows too large.\\\
+  DESCRIPTION:=\
+       logrotate is designed to ease administration of systems that generate \\\
+       large numbers of log files. It allows auto-matic rotation, compression, \\\
+       removal and mailing of log files. Each log file may be handled daily, \\\
+       weekly, monthly or when it grows too large.
   URL:=http://packages.debian.org/unstable/admin/logrotate
 endef
 
   URL:=http://packages.debian.org/unstable/admin/logrotate
 endef
 
@@ -41,18 +44,19 @@ define Package/logrotate/conffiles
 endef
 
 define Build/Compile
 endef
 
 define Build/Compile
-  $(call Build/Compile/Default, \
-       CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
-       LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
-       logrotate \
-  )
+       $(call Build/Compile/Default, \
+               RPM_OPT_FLAGS="\$$$$(EXTRA_CFLAGS)" \
+               LDFLAGS="\$$$$(EXTRA_LDFLAGS)" \
+               logrotate \
+       )
 endef
 
 define Package/logrotate/install       
 endef
 
 define Package/logrotate/install       
-       mkdir -p $(1)/usr/sbin
-       $(CP) ${PKG_BUILD_DIR}/logrotate $(1)/usr/sbin
-       mkdir -p $(1)/etc/logrotate.d
-       $(CP) ./files/logrotate.conf $(1)/etc
+       install -d -m0755 $(1)/usr/sbin
+       $(CP) ${PKG_BUILD_DIR}/logrotate $(1)/usr/sbin/
+       install -d -m0755 $(1)/etc
+       $(CP) ./files/logrotate.conf $(1)/etc/
+       install -d -m0755 $(1)/etc/logrotate.d
 endef
 
 $(eval $(call BuildPackage,logrotate))
 endef
 
 $(eval $(call BuildPackage,logrotate))
index 1892bc173ad03483d0394525aa9e773507cb60ec..8fff61888f15d3407f575a98de86125c4e4c3ebf 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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:=lrzsz
 PKG_VERSION:=0.12.20
 PKG_RELEASE:=1
 PKG_NAME:=lrzsz
 PKG_VERSION:=0.12.20
 PKG_RELEASE:=1
-PKG_MD5SUM:=b5ce6a74abc9b9eb2af94dffdfd372a4
 
 
-PKG_SOURCE_URL:=http://www.ohse.de/uwe/releases/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://www.ohse.de/uwe/releases/
+PKG_MD5SUM:=b5ce6a74abc9b9eb2af94dffdfd372a4
 PKG_CAT:=zcat
 PKG_CAT:=zcat
+
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
@@ -24,23 +26,18 @@ define Package/lrzsz
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=X,Y and Z-modem protocols
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=X,Y and Z-modem protocols
-  DESCRIPTION:=Transfer files in your login sessions.\\\
-Very leightweight and straight forward.\\\
-You just need a terminal client that can do\\\
-either X, Y or Z-modem file transfers.\\\
+  DESCRIPTION:=\
+       Transfer files in your login sessions.\\\
+       Very leightweight and straight forward.\\\
+       You just need a terminal client that can do \\\
+       either X, Y or Z-modem file transfers.
   URL:=http://www.ohse.de/uwe/software/lrzsz.html
 endef
 
   URL:=http://www.ohse.de/uwe/software/lrzsz.html
 endef
 
-define Build/Configure
-$(call Build/Configure/Default,--without-libiconv-prefix \
---without-libintl-prefix)
-endef
+# uses GNU configure
 
 define Build/Compile   
 
 define Build/Compile   
-       rm -rf $(PKG_INSTALL_DIR)
-       mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
        $(MAKE) -C $(PKG_BUILD_DIR) \
-               $(TARGET_CONFIGURE_OPTS) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
 endef
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
 endef
index 8522248018c49a002b0d41888bd22587a351a6d6..79290343110c14ff360febe37058e469340e0bf5 100644 (file)
@@ -1,3 +1,4 @@
+#
 # Copyright (C) 2006 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # 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:=macchanger
 PKG_VERSION:=1.5.0
 PKG_RELEASE:=1
 PKG_NAME:=macchanger
 PKG_VERSION:=1.5.0
 PKG_RELEASE:=1
-PKG_MD5SUM:=79b7cdaeca3d8ebafa764c4b0dd03ab7
-PKG_SOURCE_URL:=@GNU/macchanger
+
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_URL:=@GNU/macchanger
+PKG_MD5SUM:=79b7cdaeca3d8ebafa764c4b0dd03ab7
 PKG_CAT:=zcat
 
 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
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
@@ -24,18 +26,23 @@ define Package/macchanger
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=utility for viewing/manipulating the MAC address
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=utility for viewing/manipulating the MAC address
-  DESCRIPTION:=This is a GNU/Linux utility for viewing/manipulating the MAC address\\\
-of network interfaces.
+  DESCRIPTION:=\
+       This is a GNU/Linux utility for viewing/manipulating the MAC address \\\
+       of network interfaces.
   URL:=http://www.alobbs.com/macchanger
 endef
 
 define Build/Compile   
   URL:=http://www.alobbs.com/macchanger
 endef
 
 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/macchanger/install      
 endef
 
 define Package/macchanger/install      
-       mkdir -p $(1)
-       $(CP) $(PKG_INSTALL_DIR)/* $(1)/
+       install -d -m0755 $(1)/usr/bin
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/macchanger $(1)/usr/bin/
+       install -d -m0755 $(1)/usr/share
+       $(CP) $(PKG_INSTALL_DIR)/usr/share/macchanger $(1)/usr/share/
 endef
 
 $(eval $(call BuildPackage,macchanger))
 endef
 
 $(eval $(call BuildPackage,macchanger))
index f618428e071f208707e92cdbc87ef10e04dd8b54..6227828d1d4a178232b4ac7c42f20b34957aa7b0 100644 (file)
@@ -4,17 +4,17 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id: Makefile 4644 2006-08-23 22:05:05Z nbd $
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=minicom
 PKG_VERSION:=2.2-rc2
 PKG_RELEASE:=1
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=minicom
 PKG_VERSION:=2.2-rc2
 PKG_RELEASE:=1
-PKG_MD5SUM:=c64c9ef958e91c00ca1cf2a7bc0db1f3
 
 
-PKG_SOURCE_URL:=http://alioth.debian.org/download.php/1721/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://alioth.debian.org/download.php/1721/
+PKG_MD5SUM:=c64c9ef958e91c00ca1cf2a7bc0db1f3
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -25,18 +25,14 @@ define Package/minicom
   SECTION:=utils
   CATEGORY:=Utilities
   DEPENDS:=+libncurses
   SECTION:=utils
   CATEGORY:=Utilities
   DEPENDS:=+libncurses
-  TITLE:=Terminal emulation
-  DESCRIPTION:=Terminal emulation program for the serial port
+  TITLE:=Terminal emulation program
   URL:=http://alioth.debian.org/projects/minicom/
 endef
 
   URL:=http://alioth.debian.org/projects/minicom/
 endef
 
-define Build/Configure
-       $(call Build/Configure/Default)
-endef
+# uses GNU configure
 
 define Build/Compile
 
 define Build/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR) \
-               CC="$(TARGET_CC)"
+       $(MAKE) -C $(PKG_BUILD_DIR)
 endef
 
 define Package/minicom/install
 endef
 
 define Package/minicom/install
index 87c0b87de8fbc5d8d93f286899eff49e9365609f..19f6c6626e216a6fc063409b88fd5d8146e7659d 100644 (file)
@@ -25,8 +25,7 @@ define Package/mutt
   SECTION:=utils
   CATEGORY:=Utilities
   DEPENDS:=+libopenssl +libncurses
   SECTION:=utils
   CATEGORY:=Utilities
   DEPENDS:=+libopenssl +libncurses
-  TITLE:=console mail client
-  DESCRIPTION:=Mail client for the text console
+  TITLE:=Console mail client
   URL:=http://www.mutt.org
 endef
 
   URL:=http://www.mutt.org
 endef
 
@@ -40,9 +39,13 @@ define Build/Configure
        )
 endef
 
        )
 endef
 
+define Build/Compile
+       $(MAKE) -C $(PKG_BUILD_DIR)
+endef
+
 define Package/mutt/install
 define Package/mutt/install
-       mkdir -p $(1)/usr/bin
-       $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
+       install -d -m0755 $(1)/usr/bin
+       $(CP) $(PKG_BUILD_DIR)/mutt $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,mutt))
 endef
 
 $(eval $(call BuildPackage,mutt))
index fd678c504afad9fb298f553ba9a8c42cbad88165..9c18600c0ffbf33ac07669d47d64b62bd739c907 100644 (file)
@@ -11,12 +11,13 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=nano
 PKG_VERSION:=1.3.8
 PKG_RELEASE:=1
 PKG_NAME:=nano
 PKG_VERSION:=1.3.8
 PKG_RELEASE:=1
-PKG_MD5SUM:=20633397bf5d462255f37dfcc7cad4e7
 
 
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.ewtoo.org/~astyanax/nano/dist/v1.3 \
        http://www.nano-editor.org/dist/v1.3
 PKG_SOURCE_URL:=http://www.ewtoo.org/~astyanax/nano/dist/v1.3 \
        http://www.nano-editor.org/dist/v1.3
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_MD5SUM:=20633397bf5d462255f37dfcc7cad4e7
 PKG_CAT:=zcat
 PKG_CAT:=zcat
+
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
@@ -27,24 +28,24 @@ define Package/nano
   CATEGORY:=Utilities
   DEPENDS:=+libncurses
   TITLE:=An enhanced clone of the Pico text editor
   CATEGORY:=Utilities
   DEPENDS:=+libncurses
   TITLE:=An enhanced clone of the Pico text editor
-  DESCRIPTION:=GNU nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone of the Pico text editor..
+  DESCRIPTION:=\
+       GNU nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone \\\
+       of the Pico text editor..
   URL:=http://www.nano-editor.org/
 endef
 
 define Build/Configure
   URL:=http://www.nano-editor.org/
 endef
 
 define Build/Configure
-$(call Build/Configure/Default,--enable-shared \
-                        --disable-static \
-                        --with-gnu-ld \
-                        --disable-rpath \
-                        --enable-tiny \
-                        --disable-glibtest \
-                        --disable-utf8 \
-                        --without-slang,ac_cv_header_regex_h=no)
+       $(call Build/Configure/Default, \
+               --enable-tiny \
+               --disable-glibtest \
+               --disable-utf8 \
+               --without-slang \
+               , \
+               ac_cv_header_regex_h=no \
+       )
 endef
 
 define Build/Compile   
 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
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
index 724f2b0a2e307b431508728d72788e0e3e8aa95d..8e561be0c373f0494c6b097ded56bd5f2e54ec42 100644 (file)
@@ -12,13 +12,13 @@ PKG_NAME:=pciutils
 PKG_VERSION:=2.2.1
 PKG_RELEASE:=1
 
 PKG_VERSION:=2.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://www.kernel.org/pub/software/utils/pciutils/ \
        ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
 PKG_MD5SUM:=c18e2a5f04e9abae5a42439de294f086
 PKG_CAT:=zcat
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.kernel.org/pub/software/utils/pciutils/ \
        ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
 PKG_MD5SUM:=c18e2a5f04e9abae5a42439de294f086
 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
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(INCLUDE_DIR)/package.mk
@@ -27,9 +27,9 @@ define Package/pciutils
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=Linux PCI Utilities
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=Linux PCI Utilities
-  DESCRIPTION:=Linux PCI Utilities.\\\
-    This package contains various utilities for inspecting and setting of \\\
-    devices connected to the PCI bus.
+  DESCRIPTION:=\
+       This package contains various utilities for inspecting and setting of \\\
+       devices connected to the PCI bus.
   URL:=http://www.kernel.org/pub/software/utils/pciutils/
 endef
 
   URL:=http://www.kernel.org/pub/software/utils/pciutils/
 endef
 
@@ -37,7 +37,11 @@ define Build/Configure
 endef
 
 define Build/Compile
 endef
 
 define Build/Compile
-  $(call Build/Compile/Default, CFLAGS="$(TARGET_CFLAGS)" IDSDIR="/usr/share" HOST=$(GNU_TARGET_NAME))
+       $(call Build/Compile/Default, \
+               CFLAGS="$(TARGET_CFLAGS)" \
+               IDSDIR="/usr/share" \
+               HOST="$(GNU_TARGET_NAME)" \
+       )
 endef
 
 define Package/pciutils/install
 endef
 
 define Package/pciutils/install
index 35019340dac2ff5f9aa328712622409d3775a74e..0d84aa6f06ab28e5298d61353215f5c21294a4ff 100644 (file)
@@ -19,8 +19,6 @@ define Package/pipacs
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=UNIX socket accounting/wiewer program
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=UNIX socket accounting/wiewer program
-  DESCRIPTION:=An UNIX socket accounting/wiewer program.\\\
-       This is version 2.
 endef
 
 define Build/Prepare   
 endef
 
 define Build/Prepare   
@@ -30,14 +28,14 @@ endef
 
 define Build/Compile   
        $(MAKE) -C $(PKG_BUILD_DIR) \
 
 define Build/Compile   
        $(MAKE) -C $(PKG_BUILD_DIR) \
-           $(TARGET_CONFIGURE_OPTS) \
-           CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include" \
-           all
+               $(TARGET_CONFIGURE_OPTS) \
+               CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include" \
+               all
 endef
 
 define Package/pipacs/install  
 endef
 
 define Package/pipacs/install  
-       mkdir -p $(1)/usr/bin
-       install -m0755 $(PKG_BUILD_DIR)/pipacs $(1)/usr/bin
+       install -d -m0755 $(1)/usr/bin
+       install -m0755 $(PKG_BUILD_DIR)/pipacs $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,pipacs))
 endef
 
 $(eval $(call BuildPackage,pipacs))
index ac232a99ee9fd494d3d082595c1f952bd4a8a5d5..10ba10011508de6cf10e7b348f97266454983bca 100644 (file)
@@ -24,10 +24,11 @@ include $(INCLUDE_DIR)/package.mk
 define Package/procmail
   SECTION:=utils
   CATEGORY:=Utilities
 define Package/procmail
   SECTION:=utils
   CATEGORY:=Utilities
-  TITLE:=mail processing tool
-  DESCRIPTION:=Procmail is able to process and classify incoming mail into\\\
+  TITLE:=Mail processing tool
+  DESCRIPTION:=\
+       Procmail is able to process and classify incoming mail into \\\
        different mail boxes.\\\
        different mail boxes.\\\
-       Very useful in conjunction with mutt.\\\
+       Very useful in conjunction with mutt.
   URL:=http://www.procmail.org
 endef
 
   URL:=http://www.procmail.org
 endef
 
@@ -37,7 +38,7 @@ define Build/Compile
 endef
 
 define Package/procmail/install
 endef
 
 define Package/procmail/install
-       mkdir -p $(1)/usr/bin
+       install -d -m0755 $(1)/usr/bin
        $(CP) $(PKG_BUILD_DIR)/src/procmail $(1)/usr/bin/ 
        $(CP) $(PKG_BUILD_DIR)/src/formail $(1)/usr/bin/
 endef
        $(CP) $(PKG_BUILD_DIR)/src/procmail $(1)/usr/bin/ 
        $(CP) $(PKG_BUILD_DIR)/src/formail $(1)/usr/bin/
 endef
index 519d84d2c523058c929251a33e91cd9bc15df0f0..ca581ea95b6ae7a4fc8da645a5930cb6203fcfca 100644 (file)
@@ -11,46 +11,46 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=rrdcollect
 PKG_VERSION:=0.2.3
 PKG_RELEASE:=1
 PKG_NAME:=rrdcollect
 PKG_VERSION:=0.2.3
 PKG_RELEASE:=1
-PKG_MD5SUM:=5e4305c612bc3cccbaf802c275c81a11
 
 
-PKG_SOURCE_URL:=@SF/rrdcollect
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/rrdcollect
+PKG_MD5SUM:=5e4305c612bc3cccbaf802c275c81a11
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-ifneq ($(BR2_PACKAGE_LIBRRD),)
-RRDTOOL_LIBS:=-lart_lgpl_2 -lfreetype -lpng
-endif
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/rrdcollect
   SECTION:=utils
   CATEGORY:=Utilities
 include $(INCLUDE_DIR)/package.mk
 
 define Package/rrdcollect
   SECTION:=utils
   CATEGORY:=Utilities
+  DESCRIPTION:=\
+       RRDcollect is a daemon which polls ceratin files in /proc/ \\\
+       directory, gathering data and storing it inside RRDtool's \\\
+       database files.  Being written in C should be both fast \\\
+       and resources-friendly.  Supports both scanf(3)-style \\\
+       pattern matches and perl compatible regular expressions.
+  URL:=http://rrdcollect.sourceforge.net/
+endef
+
+define Package/rrdcollect
+  $(call Package/rrdcollect/Default)
   DEPENDS:=+librrd1
   TITLE:=Round-Robin Database (RRD) collecting daemon
   DEPENDS:=+librrd1
   TITLE:=Round-Robin Database (RRD) collecting daemon
-  DESCRIPTION:=RRDcollect is a daemon which polls ceratin files in /proc/\\\
-       directory, gathering data and storing it inside RRDtool's\\\
-       database files.  Being written in C should be both fast\\\
-       and resources-friendly.  Supports both scanf(3)-style\\\
-       pattern matches and perl compatible regular expressions.\\\
-  URL:=http://rrdcollect.sourceforge.net/
+  DESCRIPTION+=\\\
+       \\\
+       This package contains the RRD collecting daemon.
   MENU:=1
 endef
 
 define Package/rrdcollect-example
   MENU:=1
 endef
 
 define Package/rrdcollect-example
-  SECTION:=utils
-  CATEGORY:=Utilities
+  $(call Package/rrdcollect/Default)
   DEPENDS:=rrdcollect
   TITLE:=Example setup for RRD collecting daemon above
   DEPENDS:=rrdcollect
   TITLE:=Example setup for RRD collecting daemon above
-  DESCRIPTION:=RRDcollect is a daemon which polls ceratin files in /proc/\\\
-        directory, gathering data and storing it inside RRDtool's\\\
-        database files.  Being written in C should be both fast\\\
-        and resources-friendly.  Supports both scanf(3)-style\\\
-        pattern matches and perl compatible regular expressions.\\\
-  URL:=http://rrdcollect.sourceforge.net/
+  DESCRIPTION+=\\\
+       \\\
+       This package contains examples for the RRD collecting daemon.
 endef
 
 define Package/rrdcollect-example/conffiles
 endef
 
 define Package/rrdcollect-example/conffiles
@@ -68,18 +68,14 @@ define Build/Configure
                --without-rrdtool \
                --with-librrd \
                --without-libpcre \
                --without-rrdtool \
                --with-librrd \
                --without-libpcre \
-               --without-libpcap, \
+               --without-libpcap \
+               , \
                CFLAGS="$(TARGET_CFLAGS) -DSOCKET_COMM" \
                CFLAGS="$(TARGET_CFLAGS) -DSOCKET_COMM" \
-               CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
-               LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
-               LIBS="$(RRDTOOL_LIBS) -lz" \
-               PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
+               LIBS="-lz" \
        )
 endef
 
 define Build/Compile   
        )
 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
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
index da2099e72d8814901fc12a7020fb3a3708a85322..e1597f88ebf05c369249949de0d3c716b31645f3 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=sane-backends
 PKG_VERSION:=1.0.17
 PKG_RELEASE:=1
 PKG_NAME:=sane-backends
 PKG_VERSION:=1.0.17
 PKG_RELEASE:=1
-PKG_MD5SUM:=b51c10da8a81a04e1bae88c9e6556df2
 
 
-PKG_SOURCE_URL:=ftp://ftp.sane-project.org/pub/sane/$(PKG_NAME)-$(PKG_VERSION)/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=ftp://ftp.sane-project.org/pub/sane/$(PKG_NAME)-$(PKG_VERSION)/
+PKG_MD5SUM:=b51c10da8a81a04e1bae88c9e6556df2
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -26,7 +26,8 @@ define Package/sane-backends
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=Scanner Access Now Easy (backends)
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=Scanner Access Now Easy (backends)
-  DESCRIPTION:=SANE (Scanner Access Now Easy) is a universal scanner interface.
+  DESCRIPTION:=\
+       SANE (Scanner Access Now Easy) is a universal scanner interface.
   URL:=http://www.sane-project.org
 endef
 
   URL:=http://www.sane-project.org
 endef
 
@@ -35,20 +36,18 @@ define Package/sane-backends/conffiles
 endef
 
 define Build/Configure
 endef
 
 define Build/Configure
-$(call Build/Configure/Default,--enable-shared \
-                       --disable-static \
-                       --disable-ipv6 \
-                       --disable-translations \
-                       --without-gphoto2 \
-                       --disable-debug)
+       $(call Build/Configure/Default, \
+               --disable-ipv6 \
+               --disable-translations \
+               --without-gphoto2 \
+               --disable-debug \
+       )
 endef
 
 define Build/Compile   
 endef
 
 define Build/Compile   
-       $(MAKE) -C $(PKG_BUILD_DIR)
-       mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
-               install
+               all install
 endef
 
 define Package/sane-backends/install   
 endef
 
 define Package/sane-backends/install   
index 7b2fd72d8c0ecec117136df739d78c94fe5f6e4e..12d90293a34a76299bc812d088832da8473d57e3 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=setpwc
 PKG_VERSION:=1.0
 PKG_RELEASE:=1
 PKG_NAME:=setpwc
 PKG_VERSION:=1.0
 PKG_RELEASE:=1
-PKG_MD5SUM:=a125d76f630c4aab940df5912f161965
 
 
-PKG_SOURCE_URL:=http://www.vanheusden.com/setpwc/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
+PKG_SOURCE_URL:=http://www.vanheusden.com/setpwc/
+PKG_MD5SUM:=a125d76f630c4aab940df5912f161965
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -26,7 +26,6 @@ define Package/setpwc
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=Philips (and compatibles) WebCams (PWC) control utility
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=Philips (and compatibles) WebCams (PWC) control utility
-  DESCRIPTION:=Philips (and compatibles) WebCams (PWC) control utility.
   URL:=http://www.vanheusden.com/setpwc/
 endef
 
   URL:=http://www.vanheusden.com/setpwc/
 endef
 
index c85fa1134d61db807249a2dca4f82dd8b2804984..62cc4ca15280446385534c92af19a49150319a88 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=strace
 PKG_VERSION:=4.5.11
 PKG_RELEASE:=1
 PKG_NAME:=strace
 PKG_VERSION:=4.5.11
 PKG_RELEASE:=1
-PKG_MD5SUM:=28335e15c83456a3db055a0a0efcb4fe
 
 
-PKG_SOURCE_URL:=@SF/strace
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=@SF/strace
+PKG_MD5SUM:=28335e15c83456a3db055a0a0efcb4fe
 PKG_CAT:=bzcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_CAT:=bzcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -25,15 +25,14 @@ define Package/strace
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=System call tracer
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=System call tracer
-  DESCRIPTION:=A useful diagnostic, instructional, and debugging tool. \\\
-    Allows you to track what system calls a program makes while it is \\\
-    running.
+  DESCRIPTION:=\
+       A useful diagnostic, instructional, and debugging tool. \\\
+       Allows you to track what system calls a program makes while it is \\\
+       running.
   URL:=http://strace.sourceforge.net/
 endef
 
   URL:=http://strace.sourceforge.net/
 endef
 
-define Build/Configure
-       $(call Build/Configure/Default)
-endef
+# uses GNU configure
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
@@ -41,7 +40,7 @@ define Build/Compile
 endef
 
 define Package/strace/install
 endef
 
 define Package/strace/install
-       install -m0755 -d $(1)/usr/sbin
+       install -d -m0755 $(1)/usr/sbin
        install -m0755 $(PKG_BUILD_DIR)/strace $(1)/usr/sbin/
 endef
 
        install -m0755 $(PKG_BUILD_DIR)/strace $(1)/usr/sbin/
 endef
 
index 0b3f2d95a5d49ea1fed294f2d234d873234646bd..81c60532dec825fdf0c7ba3b40a3fcce0ab23f99 100644 (file)
@@ -30,12 +30,7 @@ define Package/usbutils
   URL:=http://linux-usb.sourceforge.net/
 endef
 
   URL:=http://linux-usb.sourceforge.net/
 endef
 
-define Build/Configure
-       $(call Build/Configure/Default, \
-               --enable-shared \
-               --enable-static \
-       )
-endef
+# uses GNU configure
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
index df3a8778f1c8f43419199662242f8cca7d692c98..aee09ffc043f4673c0826245b5916413b603ed26 100644 (file)
@@ -14,7 +14,7 @@ PKG_RELEASE:=1
 
 PKG_SOURCE_URL:=ftp://ftp.vim.org/pub/vim/unix/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
 
 PKG_SOURCE_URL:=ftp://ftp.vim.org/pub/vim/unix/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
-PKG_MD5SUM:=
+PKG_MD5SUM:=89ab05bb5cd39eeb9e259503436c11ed
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -26,27 +26,26 @@ define Package/vim
   CATEGORY:=Utilities
   DEPENDS:=+libncurses
   TITLE:=VI Improved
   CATEGORY:=Utilities
   DEPENDS:=+libncurses
   TITLE:=VI Improved
-  DESCRIPTION:=An improved version of VI.
-  URL:=http://www.vim.org
+  URL:=http://www.vim.org/
 endef
 
 define Build/Configure
        $(call Build/Configure/Default, \
 endef
 
 define Build/Configure
        $(call Build/Configure/Default, \
-                       --enable-min-features \
-                       --disable-gui \
-                       --without-x \
-                       --disable-multibyte \
-                       --disable-cscope \
-                       --disable-gpm \
-                       --with-tlib=ncurses \
+               --enable-min-features \
+               --disable-gui \
+               --without-x \
+               --disable-multibyte \
+               --disable-cscope \
+               --disable-gpm \
+               --with-tlib=ncurses \
        )
 endef
 
 define Package/vim/install     
        )
 endef
 
 define Package/vim/install     
-       mkdir -p $(1)/usr/bin
-       mkdir -p $(1)/usr/share/vim
-       $(CP) ./files/vimrc $(1)/usr/share/vim
+       install -d -m0755 $(1)/usr/bin
        $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
        $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
+       install -d -m0755 $(1)/usr/share/vim
+       $(CP) ./files/vimrc $(1)/usr/share/vim/
 endef
 
 $(eval $(call BuildPackage,vim))
 endef
 
 $(eval $(call BuildPackage,vim))
index 25ced23d35b67cf5d2dca3390cfaf32da175538c..967219bfd17d78c5aa1063a11b5ef2bfdd379b6e 100644 (file)
@@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=wx200d
 PKG_VERSION:=1.3
 PKG_RELEASE:=1
 PKG_NAME:=wx200d
 PKG_VERSION:=1.3
 PKG_RELEASE:=1
-PKG_MD5SUM:=0f90c099dddcdd46ac568d707822ec4c
 
 
-PKG_SOURCE_URL:=@SF/wx200d
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/wx200d
+PKG_MD5SUM:=0f90c099dddcdd46ac568d707822ec4c
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -27,31 +27,32 @@ define Package/wx200d
   CATEGORY:=Utilities
   DEPENDS:=+libpq
   TITLE:=weather station data collector
   CATEGORY:=Utilities
   DEPENDS:=+libpq
   TITLE:=weather station data collector
-  DESCRIPTION:=wx200d is a weather station data collector and server daemon\\\
-  for the WX200, WM918, WMR918 and WMR968 weather station\\\
-  hardware.\\\
+  DESCRIPTION:=\
+       wx200d is a weather station data collector and server daemon \\\
+       for the WX200, WM918, WMR918 and WMR968 weather station \\\
+       hardware.
   URL:=http://wx200d.sourceforge.net/
 endef
 
   URL:=http://wx200d.sourceforge.net/
 endef
 
-define Build/Configure
-$(call Build/Configure/Default,--without-libiconv-prefix \
-                       --without-libintl-prefix)
-endef
+# uses GNU configure
 
 define Build/Compile
 
 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/wx200d/install  
        install -d -m0755 $(1)/usr/bin
 endef
 
 define Package/wx200d/install  
        install -d -m0755 $(1)/usr/bin
-       $(CP) $(PKG_INSTALL_DIR)/usr/bin/wx200 \
+       $(CP)   $(PKG_INSTALL_DIR)/usr/bin/wx200 \
                $(PKG_INSTALL_DIR)/usr/bin/wxstdout \
                $(PKG_INSTALL_DIR)/usr/bin/wxfilter \
                $(PKG_INSTALL_DIR)/usr/bin/wxstdout \
                $(PKG_INSTALL_DIR)/usr/bin/wxfilter \
-               $(PKG_INSTALL_DIR)/usr/bin/wxdebug $(1)/usr/bin/
+               $(PKG_INSTALL_DIR)/usr/bin/wxdebug \
+               $(1)/usr/bin/
        install -d -m0755 $(1)/usr/sbin/
        install -d -m0755 $(1)/usr/sbin/
-       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/wx200d \
-               $(PKG_INSTALL_DIR)/usr/sbin/wxread $(1)/usr/sbin/
+       $(CP)   $(PKG_INSTALL_DIR)/usr/sbin/wx200d \
+               $(PKG_INSTALL_DIR)/usr/sbin/wxread \
+               $(1)/usr/sbin/
 endef
 
 $(eval $(call BuildPackage,wx200d))
 endef
 
 $(eval $(call BuildPackage,wx200d))