From: Tim Yardley Date: Sun, 4 Mar 2007 04:19:46 +0000 (+0000) Subject: huge propset, fixes eol-style on everything and sets keywords and copyright on all... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=560d66b59f4d7c6259eff2630f71f30054a1cac3 huge propset, fixes eol-style on everything and sets keywords and copyright on all Makefiles SVN-Revision: 6500 --- diff --git a/ipv6/dibbler/Makefile b/ipv6/dibbler/Makefile index b139e7e80f..00e55a9ab9 100644 --- a/ipv6/dibbler/Makefile +++ b/ipv6/dibbler/Makefile @@ -1,105 +1,105 @@ -# -# 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:=dibbler -PKG_VERSION:=0.5.0 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz -PKG_SOURCE_URL:=http://klub.com.pl/dhcpv6/dibbler -PKG_MD5SUM:=26a0e37512be7641a2deb0dc5b00e582 -PKG_CAT:=zcat - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) - -include $(INCLUDE_DIR)/package.mk - -define Package/dibbler/Default - SECTION:=ipv6 - CATEGORY:=IPv6 - DEPENDS:=+uclibcxx - TITLE:=Dibbler, a portable DHCPv6 implementation - URL:=http://klub.com.pl/dhcpv6/ -endef - -define Package/dibbler-client - $(call Package/dibbler/Default) - TITLE+= (client) -endef - -define Package/dibbler-relay - $(call Package/dibbler/Default) - TITLE+= (relay) -endef - -define Package/dibbler-server - $(call Package/dibbler/Default) - TITLE+= (server) -endef - -define Build/Configure - (cd $(PKG_BUILD_DIR)/poslib; \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS)" \ - CPPFLAGS="$(EXTRA_CPPFLAGS)" \ - LDFLAGS="$(EXTRA_LDFLAGS)" \ - ./configure \ - --target=$(GNU_TARGET_NAME) \ - --host=$(GNU_TARGET_NAME) \ - --build=$(GNU_HOST_NAME) \ - --program-prefix="" \ - --program-suffix="" \ - --prefix=/usr \ - --exec-prefix=/usr \ - --bindir=/usr/bin \ - --datadir=/usr/share \ - --includedir=/usr/include \ - --infodir=/usr/share/info \ - --libdir=/usr/lib \ - --libexecdir=/usr/lib \ - --localstatedir=/var \ - --mandir=/usr/share/man \ - --sbindir=/usr/sbin \ - --sysconfdir=/etc \ - $(DISABLE_NLS) \ - $(DISABLE_LARGEFILE) \ - ); -endef - -CXX_LIBS:= -nodefaultlibs -Wl,-Bdynamic,-luClibc++,-Bstatic,-lstdc++,-Bdynamic,-lm,-lc,-lgcc -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - PORT_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) -fno-builtin -fno-rtti" \ - PORT_LDFLAGS="$(EXTRA_LDFLAGS)" \ - DEBUGINFO= \ - CLNT_LIBS="$(CXX_LIBS)" \ - SRV_LIBS="$(CXX_LIBS)" \ - server client relay -endef - -define Package/dibbler-client/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-client $(1)/usr/sbin/ -endef - -define Package/dibbler-relay/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-relay $(1)/usr/sbin/ -endef - -define Package/dibbler-server/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-server $(1)/usr/sbin/ -endef - -$(eval $(call BuildPackage,dibbler-client)) -$(eval $(call BuildPackage,dibbler-relay)) -$(eval $(call BuildPackage,dibbler-server)) +# +# 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:=dibbler +PKG_VERSION:=0.5.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz +PKG_SOURCE_URL:=http://klub.com.pl/dhcpv6/dibbler +PKG_MD5SUM:=26a0e37512be7641a2deb0dc5b00e582 +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/dibbler/Default + SECTION:=ipv6 + CATEGORY:=IPv6 + DEPENDS:=+uclibcxx + TITLE:=Dibbler, a portable DHCPv6 implementation + URL:=http://klub.com.pl/dhcpv6/ +endef + +define Package/dibbler-client + $(call Package/dibbler/Default) + TITLE+= (client) +endef + +define Package/dibbler-relay + $(call Package/dibbler/Default) + TITLE+= (relay) +endef + +define Package/dibbler-server + $(call Package/dibbler/Default) + TITLE+= (server) +endef + +define Build/Configure + (cd $(PKG_BUILD_DIR)/poslib; \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + CPPFLAGS="$(EXTRA_CPPFLAGS)" \ + LDFLAGS="$(EXTRA_LDFLAGS)" \ + ./configure \ + --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ + --program-prefix="" \ + --program-suffix="" \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --infodir=/usr/share/info \ + --libdir=/usr/lib \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --mandir=/usr/share/man \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + $(DISABLE_NLS) \ + $(DISABLE_LARGEFILE) \ + ); +endef + +CXX_LIBS:= -nodefaultlibs -Wl,-Bdynamic,-luClibc++,-Bstatic,-lstdc++,-Bdynamic,-lm,-lc,-lgcc +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + $(TARGET_CONFIGURE_OPTS) \ + PORT_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) -fno-builtin -fno-rtti" \ + PORT_LDFLAGS="$(EXTRA_LDFLAGS)" \ + DEBUGINFO= \ + CLNT_LIBS="$(CXX_LIBS)" \ + SRV_LIBS="$(CXX_LIBS)" \ + server client relay +endef + +define Package/dibbler-client/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-client $(1)/usr/sbin/ +endef + +define Package/dibbler-relay/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-relay $(1)/usr/sbin/ +endef + +define Package/dibbler-server/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-server $(1)/usr/sbin/ +endef + +$(eval $(call BuildPackage,dibbler-client)) +$(eval $(call BuildPackage,dibbler-relay)) +$(eval $(call BuildPackage,dibbler-server)) diff --git a/ipv6/ptrtd/Makefile b/ipv6/ptrtd/Makefile index b7cdd0e0c7..b03fb6c50a 100644 --- a/ipv6/ptrtd/Makefile +++ b/ipv6/ptrtd/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/ipv6/totd/Makefile b/ipv6/totd/Makefile index 8848b04084..d9b2444cae 100644 --- a/ipv6/totd/Makefile +++ b/ipv6/totd/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: Makefile 5329 2006-10-28 22:43:08Z nico $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/libs/libpam/Makefile b/libs/libpam/Makefile index aea8b4b855..524068be19 100644 --- a/libs/libpam/Makefile +++ b/libs/libpam/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/libs/librsync/Makefile b/libs/librsync/Makefile index 234943be29..59c8f9200f 100644 --- a/libs/librsync/Makefile +++ b/libs/librsync/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: Makefile 5329 2006-10-28 22:43:08Z nico $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/libs/libsigc++/Makefile b/libs/libsigc++/Makefile index c1e0f03f2b..b06e5ad9d5 100644 --- a/libs/libsigc++/Makefile +++ b/libs/libsigc++/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/libs/zaptel/Makefile b/libs/zaptel/Makefile index 2f64aad857..73cf7df5d5 100644 --- a/libs/zaptel/Makefile +++ b/libs/zaptel/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/multimedia/peercast/files/peercast.ini b/multimedia/peercast/files/peercast.ini index b48d3f9f7a..f703c6ed1f 100644 --- a/multimedia/peercast/files/peercast.ini +++ b/multimedia/peercast/files/peercast.ini @@ -1,81 +1,81 @@ - -[Server] -serverPort = 7144 -autoServe = Yes -forceIP = -isRoot = No -maxBitrateOut = 0 -maxRelays = 1 -maxDirect = 0 -maxRelaysPerChannel = 0 -firewallTimeout = 30 -forceNormal = No -rootMsg = -authType = cookie -cookiesExpire = session -htmlPath = html/en -minPGNUIncoming = 10 -maxPGNUIncoming = 20 -maxServIn = 50 -chanLog = -networkID = 00000000000000000000000000000000 - -[Broadcast] -broadcastMsgInterval = 10 -broadcastMsg = -icyMetaInterval = 8192 -broadcastID = 898145B5C0427118B595AF7D9E110000 -hostUpdateInterval = 180 -maxControlConnections = 3 -rootHost = yp.peercast.org - -[Client] -refreshHTML = 5 -relayBroadcast = 30 -minBroadcastTTL = 1 -maxBroadcastTTL = 7 -pushTries = 5 -pushTimeout = 60 -maxPushHops = 8 -autoQuery = 0 -queryTTL = 7 - -[Privacy] -password = hackme -maxUptime = 0 - -[Filter] -ip = 255.255.255.255 -private = No -ban = No -network = Yes -direct = Yes -[End] - -[Notify] -PeerCast = Yes -Broadcasters = Yes -TrackInfo = Yes -[End] - -[Server1] -allowHTML = Yes -allowBroadcast = Yes -allowNetwork = Yes -allowDirect = Yes -[End] - -[Server2] -allowHTML = No -allowBroadcast = Yes -allowNetwork = No -allowDirect = No -[End] - -[Debug] -logDebug = No -logErrors = No -logNetwork = No -logChannel = No -pauseLog = No -idleSleepTime = 10 + +[Server] +serverPort = 7144 +autoServe = Yes +forceIP = +isRoot = No +maxBitrateOut = 0 +maxRelays = 1 +maxDirect = 0 +maxRelaysPerChannel = 0 +firewallTimeout = 30 +forceNormal = No +rootMsg = +authType = cookie +cookiesExpire = session +htmlPath = html/en +minPGNUIncoming = 10 +maxPGNUIncoming = 20 +maxServIn = 50 +chanLog = +networkID = 00000000000000000000000000000000 + +[Broadcast] +broadcastMsgInterval = 10 +broadcastMsg = +icyMetaInterval = 8192 +broadcastID = 898145B5C0427118B595AF7D9E110000 +hostUpdateInterval = 180 +maxControlConnections = 3 +rootHost = yp.peercast.org + +[Client] +refreshHTML = 5 +relayBroadcast = 30 +minBroadcastTTL = 1 +maxBroadcastTTL = 7 +pushTries = 5 +pushTimeout = 60 +maxPushHops = 8 +autoQuery = 0 +queryTTL = 7 + +[Privacy] +password = hackme +maxUptime = 0 + +[Filter] +ip = 255.255.255.255 +private = No +ban = No +network = Yes +direct = Yes +[End] + +[Notify] +PeerCast = Yes +Broadcasters = Yes +TrackInfo = Yes +[End] + +[Server1] +allowHTML = Yes +allowBroadcast = Yes +allowNetwork = Yes +allowDirect = Yes +[End] + +[Server2] +allowHTML = No +allowBroadcast = Yes +allowNetwork = No +allowDirect = No +[End] + +[Debug] +logDebug = No +logErrors = No +logNetwork = No +logChannel = No +pauseLog = No +idleSleepTime = 10 diff --git a/net/icmptx/Makefile b/net/icmptx/Makefile index 38c68cd3d0..3420fe9ced 100644 --- a/net/icmptx/Makefile +++ b/net/icmptx/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/net/iodine/Makefile b/net/iodine/Makefile index 9b69b70e00..46f33cfd76 100644 --- a/net/iodine/Makefile +++ b/net/iodine/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/net/lft/Makefile b/net/lft/Makefile index 2ec032460d..79baa5ba46 100644 --- a/net/lft/Makefile +++ b/net/lft/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/net/netpipe/Makefile b/net/netpipe/Makefile index 903f6068af..21ce522a16 100644 --- a/net/netpipe/Makefile +++ b/net/netpipe/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/net/nstx/Makefile b/net/nstx/Makefile index 9d027a89b6..369181eef8 100644 --- a/net/nstx/Makefile +++ b/net/nstx/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/net/ntpd/Makefile b/net/ntpd/Makefile index 3ca2d7446e..181ad0e123 100644 --- a/net/ntpd/Makefile +++ b/net/ntpd/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/net/opendchub/Makefile b/net/opendchub/Makefile index 776f91f4ac..014bc1b627 100644 --- a/net/opendchub/Makefile +++ b/net/opendchub/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/net/stunnel/Makefile b/net/stunnel/Makefile index 3a3e28ad35..204ee71e55 100644 --- a/net/stunnel/Makefile +++ b/net/stunnel/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile 1146 2005-06-05 13:32:28Z nbd $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/net/tftp-hpa/Makefile b/net/tftp-hpa/Makefile index e74f19b155..733332916c 100644 --- a/net/tftp-hpa/Makefile +++ b/net/tftp-hpa/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: Makefile 5348 2006-10-30 13:51:50Z nico $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/sound/mpc/Makefile b/sound/mpc/Makefile index 9fa213a16d..3cca30b2ae 100644 --- a/sound/mpc/Makefile +++ b/sound/mpc/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/sound/sox/Makefile b/sound/sox/Makefile index 2ebca469eb..057f32c535 100644 --- a/sound/sox/Makefile +++ b/sound/sox/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: Makefile 5329 2006-10-28 22:43:08Z nico $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/utils/pipacs/src/parser.h b/utils/pipacs/src/parser.h index aac609acb9..aedaeafc2e 100644 --- a/utils/pipacs/src/parser.h +++ b/utils/pipacs/src/parser.h @@ -1,60 +1,60 @@ -#define LINUX 1 -#ifdef LINUX -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#define BYTE unsigned char -#define DWORD unsigned long -#define BOOL char -#define TRUE 1 -#define FALSE 0 -#define WSADATA int -#define SOCKET int -#define SOCKADDR struct sockaddr -#define SOCKADDR_IN struct sockaddr_in -typedef struct _WSABUF { - unsigned long len; - unsigned char *buf; -} WSABUF; -#define SIO_RCVALL 0 -#define SIO_RCVALL_IGMPMCAST 0 -#define SIO_RCVALL_MCAST 0 -#define ETH_P_ALL 0x0003 -#else // WINDOWS - -#include -#include - -#endif - -#ifndef _RCVALL_H_ -#define _RCVALL_H_ - - -#define MAX_IP_SIZE 65535 -#define MIN_IP_HDR_SIZE 20 - -#define HI_WORD(byte) (((byte) >> 4) & 0x0F) -#define LO_WORD(byte) ((byte) & 0x0F) - -extern char *szProto[]; - - - -void PrintRawBytes (BYTE *ptr, DWORD len); -int DecodeIGMPHeader(WSABUF *wsabuf, DWORD iphdrlen); -int DecodeUDPHeader (WSABUF *wsabuf, DWORD iphdrlen); -int DecodeTCPHeader (WSABUF *wsabuf, DWORD iphdrlenz); -int DecodeIPHeader (WSABUF *wasbuf, unsigned int srcaddr, unsigned short srcport, unsigned long srcnet, - unsigned int destaddr, unsigned short destport, unsigned long destnet, DWORD bytesret, - unsigned short xport, unsigned int xip, unsigned long xnet); - -#endif +#define LINUX 1 +#ifdef LINUX +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#define BYTE unsigned char +#define DWORD unsigned long +#define BOOL char +#define TRUE 1 +#define FALSE 0 +#define WSADATA int +#define SOCKET int +#define SOCKADDR struct sockaddr +#define SOCKADDR_IN struct sockaddr_in +typedef struct _WSABUF { + unsigned long len; + unsigned char *buf; +} WSABUF; +#define SIO_RCVALL 0 +#define SIO_RCVALL_IGMPMCAST 0 +#define SIO_RCVALL_MCAST 0 +#define ETH_P_ALL 0x0003 +#else // WINDOWS + +#include +#include + +#endif + +#ifndef _RCVALL_H_ +#define _RCVALL_H_ + + +#define MAX_IP_SIZE 65535 +#define MIN_IP_HDR_SIZE 20 + +#define HI_WORD(byte) (((byte) >> 4) & 0x0F) +#define LO_WORD(byte) ((byte) & 0x0F) + +extern char *szProto[]; + + + +void PrintRawBytes (BYTE *ptr, DWORD len); +int DecodeIGMPHeader(WSABUF *wsabuf, DWORD iphdrlen); +int DecodeUDPHeader (WSABUF *wsabuf, DWORD iphdrlen); +int DecodeTCPHeader (WSABUF *wsabuf, DWORD iphdrlenz); +int DecodeIPHeader (WSABUF *wasbuf, unsigned int srcaddr, unsigned short srcport, unsigned long srcnet, + unsigned int destaddr, unsigned short destport, unsigned long destnet, DWORD bytesret, + unsigned short xport, unsigned int xip, unsigned long xnet); + +#endif diff --git a/utils/rdiff-backup/Makefile b/utils/rdiff-backup/Makefile index 9d8a83ee7f..93ecff5a1f 100644 --- a/utils/rdiff-backup/Makefile +++ b/utils/rdiff-backup/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/utils/smartmontools/Makefile b/utils/smartmontools/Makefile index e0138345df..f6cdf29a5e 100644 --- a/utils/smartmontools/Makefile +++ b/utils/smartmontools/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: $ +# $Id$ include $(TOPDIR)/rules.mk diff --git a/utils/sysfsutils/Makefile b/utils/sysfsutils/Makefile index 88440a27d0..a921e5dafe 100644 --- a/utils/sysfsutils/Makefile +++ b/utils/sysfsutils/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: $ +# $Id$ include $(TOPDIR)/rules.mk