Locked History Actions

attachment:kamikaze_7.09-for-alix-0xff-01.patch of AlixBoards

Attachment 'kamikaze_7.09-for-alix-0xff-01.patch'

Download

   1 diff -Nur kamikaze_7.09-orig/.config kamikaze_7.09-x86-alix/.config
   2 --- kamikaze_7.09-orig/.config	1970-01-01 01:00:00.000000000 +0100
   3 +++ kamikaze_7.09-x86-alix/.config	2008-06-08 23:56:56.000000000 +0200
   4 @@ -0,0 +1,996 @@
   5 +#
   6 +# Automatically generated make config: don't edit
   7 +# OpenWrt version: 7.09 (Kamikaze)
   8 +# Sun Jun  8 23:49:53 2008
   9 +#
  10 +CONFIG_HAVE_DOT_CONFIG=y
  11 +# CONFIG_LINUX_2_6_AMCC is not set
  12 +# CONFIG_LINUX_2_6_AU1000 is not set
  13 +# CONFIG_LINUX_2_6_ATHEROS is not set
  14 +# CONFIG_LINUX_2_6_AVR32 is not set
  15 +# CONFIG_LINUX_2_4_BRCM is not set
  16 +# CONFIG_LINUX_2_6_BRCM47XX is not set
  17 +# CONFIG_LINUX_2_6_IXP4XX is not set
  18 +# CONFIG_LINUX_2_6_MAGICBOX is not set
  19 +# CONFIG_LINUX_2_6_RB532 is not set
  20 +CONFIG_LINUX_2_6_X86=y
  21 +# CONFIG_LINUX_2_6_ARM is not set
  22 +# CONFIG_LINUX_2_6_CRIS is not set
  23 +# CONFIG_LINUX_2_6_M68K is not set
  24 +# CONFIG_LINUX_2_6_SH3 is not set
  25 +# CONFIG_LINUX_2_6_SH3EB is not set
  26 +# CONFIG_LINUX_2_6_SH4 is not set
  27 +# CONFIG_LINUX_2_6_SH4EB is not set
  28 +# CONFIG_LINUX_2_6_SPARC is not set
  29 +# CONFIG_LINUX_2_6_AMCC_Default is not set
  30 +# CONFIG_LINUX_2_6_AU1000_Atheros is not set
  31 +# CONFIG_LINUX_2_6_AU1000_Broadcom is not set
  32 +# CONFIG_LINUX_2_6_AU1000_Intel is not set
  33 +# CONFIG_LINUX_2_6_ATHEROS_Default is not set
  34 +# CONFIG_LINUX_2_6_AVR32_Default is not set
  35 +# CONFIG_LINUX_2_4_BRCM_Broadcom is not set
  36 +# CONFIG_LINUX_2_4_BRCM_BroadcomMimo is not set
  37 +# CONFIG_LINUX_2_4_BRCM_Atheros is not set
  38 +# CONFIG_LINUX_2_4_BRCM_None is not set
  39 +# CONFIG_LINUX_2_4_BRCM_WL500G is not set
  40 +# CONFIG_LINUX_2_4_BRCM_WL500GD is not set
  41 +# CONFIG_LINUX_2_4_BRCM_WL500GP is not set
  42 +# CONFIG_LINUX_2_4_BRCM_WL700GE is not set
  43 +# CONFIG_LINUX_2_4_BRCM_WLHDD is not set
  44 +# CONFIG_LINUX_2_4_BRCM_WRT54G3G is not set
  45 +# CONFIG_LINUX_2_6_BRCM47XX_Atheros is not set
  46 +# CONFIG_LINUX_2_6_BRCM47XX_None is not set
  47 +# CONFIG_LINUX_2_6_BRCM47XX_WGT634U is not set
  48 +# CONFIG_LINUX_2_6_BRCM47XX_WRTSL54GS is not set
  49 +# CONFIG_LINUX_2_6_IXP4XX_Default is not set
  50 +# CONFIG_LINUX_2_6_IXP4XX_NSLU2 is not set
  51 +# CONFIG_LINUX_2_6_IXP4XX_NAS100d is not set
  52 +# CONFIG_LINUX_2_6_IXP4XX_DSMG600RevA is not set
  53 +# CONFIG_LINUX_2_6_MAGICBOX_Default is not set
  54 +# CONFIG_LINUX_2_6_RB532_Default is not set
  55 +# CONFIG_LINUX_2_6_X86_Generic is not set
  56 +CONFIG_LINUX_2_6_X86_Alix=y
  57 +# CONFIG_LINUX_2_6_X86_Soekris is not set
  58 +CONFIG_LINUX_2_6=y
  59 +CONFIG_PCI_SUPPORT=y
  60 +CONFIG_PCMCIA_SUPPORT=y
  61 +CONFIG_USB_SUPPORT=y
  62 +CONFIG_ATM_SUPPORT=y
  63 +CONFIG_VIDEO_SUPPORT=y
  64 +CONFIG_USES_SQUASHFS=y
  65 +CONFIG_USES_JFFS2=y
  66 +CONFIG_USES_EXT2=y
  67 +CONFIG_i386=y
  68 +CONFIG_ARCH="i386"
  69 +
  70 +#
  71 +# Target Images
  72 +#
  73 +# CONFIG_TARGET_ROOTFS_INITRAMFS is not set
  74 +CONFIG_TARGET_ROOTFS_JFFS2=y
  75 +CONFIG_TARGET_ROOTFS_SQUASHFS=y
  76 +# CONFIG_TARGET_ROOTFS_TGZ is not set
  77 +CONFIG_TARGET_ROOTFS_EXT2FS=y
  78 +
  79 +#
  80 +# Image Options
  81 +#
  82 +CONFIG_X86_GRUB_IMAGES=y
  83 +# CONFIG_X86_GRUB_IMAGES_PAD is not set
  84 +CONFIG_X86_GRUB_BAUDRATE=38400
  85 +CONFIG_X86_GRUB_KERNELPART=8
  86 +CONFIG_X86_GRUB_ROOTPART="/dev/hda2"
  87 +CONFIG_X86_GRUB_BOOTOPTS=""
  88 +CONFIG_TARGET_ROOTFS_FSPART=55
  89 +CONFIG_TARGET_ROOTFS_MAXINODE=1500
  90 +# CONFIG_ALL is not set
  91 +# CONFIG_DEVEL is not set
  92 +# CONFIG_BROKEN is not set
  93 +CONFIG_AUTOREBUILD=y
  94 +# CONFIG_TAR_VERBOSITY is not set
  95 +CONFIG_JLEVEL=1
  96 +# CONFIG_CCACHE is not set
  97 +CONFIG_SOURCE_FEEDS="https://svn.openwrt.org/openwrt/packages/"
  98 +CONFIG_SOURCE_FEEDS_REV=""
  99 +# CONFIG_NATIVE_TOOLCHAIN is not set
 100 +CONFIG_BINUTILS_VERSION="2.17"
 101 +CONFIG_EXTRA_GCC_CONFIG_OPTIONS=""
 102 +CONFIG_INSTALL_LIBSTDCPP=y
 103 +# CONFIG_GDB is not set
 104 +CONFIG_LARGEFILE=y
 105 +# CONFIG_C99_MATH is not set
 106 +CONFIG_TARGET_OPTIMIZATION="-O2 -pipe -march=i486 -funit-at-a-time"
 107 +CONFIG_GCC_VERSION="4.1.2"
 108 +# CONFIG_IB is not set
 109 +# CONFIG_SDK is not set
 110 +# CONFIG_UCI_PRECONFIG is not set
 111 +CONFIG_UCI_PRECONFIG_network_lan_proto="static"
 112 +CONFIG_UCI_PRECONFIG_network_lan_ipaddr="192.168.1.1"
 113 +CONFIG_UCI_PRECONFIG_network_lan_netmask="255.255.255.0"
 114 +CONFIG_UCI_PRECONFIG_network_lan_gateway=""
 115 +CONFIG_UCI_PRECONFIG_network_lan_dns=""
 116 +
 117 +#
 118 +# Base system
 119 +#
 120 +CONFIG_DEFAULT_base-files=y
 121 +CONFIG_DEFAULT_libgcc=y
 122 +CONFIG_DEFAULT_uclibc=y
 123 +CONFIG_DEFAULT_bridge=y
 124 +CONFIG_DEFAULT_busybox=y
 125 +CONFIG_DEFAULT_dnsmasq=y
 126 +CONFIG_DEFAULT_dropbear=y
 127 +CONFIG_DEFAULT_iptables=y
 128 +CONFIG_DEFAULT_mtd=y
 129 +CONFIG_PACKAGE_base-files=y
 130 +# CONFIG_PACKAGE_br2684ctl is not set
 131 +CONFIG_PACKAGE_bridge=y
 132 +CONFIG_PACKAGE_busybox=y
 133 +# CONFIG_BUSYBOX_CONFIG_FEATURE_DEVFS is not set
 134 +# CONFIG_BUSYBOX_CONFIG_FEATURE_2_4_MODULES is not set
 135 +CONFIG_BUSYBOX_CONFIG_FEATURE_2_6_MODULES=y
 136 +
 137 +#
 138 +# Configuration
 139 +#
 140 +CONFIG_BUSYBOX_CONFIG_HAVE_DOT_CONFIG=y
 141 +
 142 +#
 143 +# Busybox Settings
 144 +#
 145 +
 146 +#
 147 +# General Configuration
 148 +#
 149 +# CONFIG_BUSYBOX_CONFIG_NITPICK is not set
 150 +# CONFIG_BUSYBOX_CONFIG_DESKTOP is not set
 151 +CONFIG_BUSYBOX_CONFIG_SHOW_USAGE=y
 152 +CONFIG_BUSYBOX_CONFIG_FEATURE_VERBOSE_USAGE=y
 153 +CONFIG_BUSYBOX_CONFIG_FEATURE_COMPRESS_USAGE=y
 154 +# CONFIG_BUSYBOX_CONFIG_FEATURE_INSTALLER is not set
 155 +# CONFIG_BUSYBOX_CONFIG_LOCALE_SUPPORT is not set
 156 +CONFIG_BUSYBOX_CONFIG_GETOPT_LONG=y
 157 +CONFIG_BUSYBOX_CONFIG_FEATURE_DEVPTS=y
 158 +CONFIG_BUSYBOX_CONFIG_FEATURE_SUID=y
 159 +CONFIG_BUSYBOX_CONFIG_FEATURE_SYSLOG=y
 160 +# CONFIG_BUSYBOX_CONFIG_FEATURE_SUID_CONFIG is not set
 161 +CONFIG_BUSYBOX_CONFIG_FEATURE_HAVE_RPC=y
 162 +# CONFIG_BUSYBOX_CONFIG_SELINUX is not set
 163 +CONFIG_BUSYBOX_CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
 164 +
 165 +#
 166 +# Build Options
 167 +#
 168 +# CONFIG_BUSYBOX_CONFIG_STATIC is not set
 169 +# CONFIG_BUSYBOX_CONFIG_BUILD_LIBBUSYBOX is not set
 170 +CONFIG_BUSYBOX_CONFIG_LFS=y
 171 +# CONFIG_BUSYBOX_CONFIG_BUILD_AT_ONCE is not set
 172 +
 173 +#
 174 +# Debugging Options
 175 +#
 176 +# CONFIG_BUSYBOX_CONFIG_DEBUG is not set
 177 +CONFIG_BUSYBOX_CONFIG_INCLUDE_SUSv2=y
 178 +
 179 +#
 180 +# Installation Options
 181 +#
 182 +# CONFIG_BUSYBOX_CONFIG_INSTALL_NO_USR is not set
 183 +CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_SYMLINKS=y
 184 +# CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_HARDLINKS is not set
 185 +# CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_DONT is not set
 186 +CONFIG_BUSYBOX_CONFIG_PREFIX="./_install"
 187 +
 188 +#
 189 +# Busybox Library Tuning
 190 +#
 191 +CONFIG_BUSYBOX_CONFIG_PASSWORD_MINLEN=6
 192 +CONFIG_BUSYBOX_CONFIG_MD5_SIZE_VS_SPEED=2
 193 +
 194 +#
 195 +# Applets
 196 +#
 197 +
 198 +#
 199 +# Archival Utilities
 200 +#
 201 +# CONFIG_BUSYBOX_CONFIG_AR is not set
 202 +CONFIG_BUSYBOX_CONFIG_BUNZIP2=y
 203 +# CONFIG_BUSYBOX_CONFIG_CPIO is not set
 204 +# CONFIG_BUSYBOX_CONFIG_DPKG is not set
 205 +# CONFIG_BUSYBOX_CONFIG_DPKG_DEB is not set
 206 +CONFIG_BUSYBOX_CONFIG_GUNZIP=y
 207 +CONFIG_BUSYBOX_CONFIG_FEATURE_GUNZIP_UNCOMPRESS=y
 208 +CONFIG_BUSYBOX_CONFIG_GZIP=y
 209 +CONFIG_BUSYBOX_CONFIG_IPKG=y
 210 +# CONFIG_BUSYBOX_CONFIG_RPM2CPIO is not set
 211 +# CONFIG_BUSYBOX_CONFIG_RPM is not set
 212 +CONFIG_BUSYBOX_CONFIG_TAR=y
 213 +CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_CREATE=y
 214 +CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_BZIP2=y
 215 +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_LZMA is not set
 216 +CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_FROM=y
 217 +CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_GZIP=y
 218 +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_COMPRESS is not set
 219 +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set
 220 +CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
 221 +# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
 222 +# CONFIG_BUSYBOX_CONFIG_UNCOMPRESS is not set
 223 +# CONFIG_BUSYBOX_CONFIG_UNLZMA is not set
 224 +# CONFIG_BUSYBOX_CONFIG_UNZIP is not set
 225 +
 226 +#
 227 +# Common options for cpio and tar
 228 +#
 229 +# CONFIG_BUSYBOX_CONFIG_FEATURE_UNARCHIVE_TAPE is not set
 230 +
 231 +#
 232 +# Coreutils
 233 +#
 234 +CONFIG_BUSYBOX_CONFIG_BASENAME=y
 235 +# CONFIG_BUSYBOX_CONFIG_CAL is not set
 236 +CONFIG_BUSYBOX_CONFIG_CAT=y
 237 +# CONFIG_BUSYBOX_CONFIG_CATV is not set
 238 +CONFIG_BUSYBOX_CONFIG_CHGRP=y
 239 +CONFIG_BUSYBOX_CONFIG_CHMOD=y
 240 +CONFIG_BUSYBOX_CONFIG_CHOWN=y
 241 +CONFIG_BUSYBOX_CONFIG_CHROOT=y
 242 +# CONFIG_BUSYBOX_CONFIG_CKSUM is not set
 243 +# CONFIG_BUSYBOX_CONFIG_CMP is not set
 244 +# CONFIG_BUSYBOX_CONFIG_COMM is not set
 245 +CONFIG_BUSYBOX_CONFIG_CP=y
 246 +CONFIG_BUSYBOX_CONFIG_CUT=y
 247 +CONFIG_BUSYBOX_CONFIG_DATE=y
 248 +CONFIG_BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT=y
 249 +CONFIG_BUSYBOX_CONFIG_DD=y
 250 +CONFIG_BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
 251 +# CONFIG_BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS is not set
 252 +CONFIG_BUSYBOX_CONFIG_DF=y
 253 +# CONFIG_BUSYBOX_CONFIG_DIFF is not set
 254 +CONFIG_BUSYBOX_CONFIG_DIRNAME=y
 255 +# CONFIG_BUSYBOX_CONFIG_DOS2UNIX is not set
 256 +CONFIG_BUSYBOX_CONFIG_DU=y
 257 +CONFIG_BUSYBOX_CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y
 258 +CONFIG_BUSYBOX_CONFIG_ECHO=y
 259 +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_ECHO=y
 260 +CONFIG_BUSYBOX_CONFIG_ENV=y
 261 +# CONFIG_BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS is not set
 262 +CONFIG_BUSYBOX_CONFIG_EXPR=y
 263 +# CONFIG_BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64 is not set
 264 +CONFIG_BUSYBOX_CONFIG_FALSE=y
 265 +# CONFIG_BUSYBOX_CONFIG_FOLD is not set
 266 +CONFIG_BUSYBOX_CONFIG_HEAD=y
 267 +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_HEAD=y
 268 +CONFIG_BUSYBOX_CONFIG_HOSTID=y
 269 +CONFIG_BUSYBOX_CONFIG_ID=y
 270 +# CONFIG_BUSYBOX_CONFIG_INSTALL is not set
 271 +CONFIG_BUSYBOX_CONFIG_LENGTH=y
 272 +CONFIG_BUSYBOX_CONFIG_LN=y
 273 +# CONFIG_BUSYBOX_CONFIG_LOGNAME is not set
 274 +CONFIG_BUSYBOX_CONFIG_LS=y
 275 +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_FILETYPES=y
 276 +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_FOLLOWLINKS=y
 277 +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_RECURSIVE=y
 278 +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_SORTFILES=y
 279 +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_TIMESTAMPS=y
 280 +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_USERNAME=y
 281 +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_COLOR=y
 282 +CONFIG_BUSYBOX_CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y
 283 +CONFIG_BUSYBOX_CONFIG_MD5SUM=y
 284 +CONFIG_BUSYBOX_CONFIG_MKDIR=y
 285 +# CONFIG_BUSYBOX_CONFIG_FEATURE_MKDIR_LONG_OPTIONS is not set
 286 +CONFIG_BUSYBOX_CONFIG_MKFIFO=y
 287 +CONFIG_BUSYBOX_CONFIG_MKNOD=y
 288 +CONFIG_BUSYBOX_CONFIG_MV=y
 289 +# CONFIG_BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS is not set
 290 +# CONFIG_BUSYBOX_CONFIG_NICE is not set
 291 +# CONFIG_BUSYBOX_CONFIG_NOHUP is not set
 292 +# CONFIG_BUSYBOX_CONFIG_OD is not set
 293 +# CONFIG_BUSYBOX_CONFIG_PRINTENV is not set
 294 +CONFIG_BUSYBOX_CONFIG_PRINTF=y
 295 +CONFIG_BUSYBOX_CONFIG_PWD=y
 296 +# CONFIG_BUSYBOX_CONFIG_REALPATH is not set
 297 +CONFIG_BUSYBOX_CONFIG_RM=y
 298 +CONFIG_BUSYBOX_CONFIG_RMDIR=y
 299 +CONFIG_BUSYBOX_CONFIG_SEQ=y
 300 +# CONFIG_BUSYBOX_CONFIG_SHA1SUM is not set
 301 +CONFIG_BUSYBOX_CONFIG_SLEEP=y
 302 +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP=y
 303 +CONFIG_BUSYBOX_CONFIG_SORT=y
 304 +# CONFIG_BUSYBOX_CONFIG_FEATURE_SORT_BIG is not set
 305 +# CONFIG_BUSYBOX_CONFIG_STAT is not set
 306 +# CONFIG_BUSYBOX_CONFIG_STTY is not set
 307 +# CONFIG_BUSYBOX_CONFIG_SUM is not set
 308 +CONFIG_BUSYBOX_CONFIG_SYNC=y
 309 +CONFIG_BUSYBOX_CONFIG_TAIL=y
 310 +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_TAIL=y
 311 +CONFIG_BUSYBOX_CONFIG_TEE=y
 312 +CONFIG_BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO=y
 313 +CONFIG_BUSYBOX_CONFIG_TEST=y
 314 +# CONFIG_BUSYBOX_CONFIG_FEATURE_TEST_64 is not set
 315 +CONFIG_BUSYBOX_CONFIG_TOUCH=y
 316 +CONFIG_BUSYBOX_CONFIG_TR=y
 317 +# CONFIG_BUSYBOX_CONFIG_FEATURE_TR_CLASSES is not set
 318 +# CONFIG_BUSYBOX_CONFIG_FEATURE_TR_EQUIV is not set
 319 +CONFIG_BUSYBOX_CONFIG_TRUE=y
 320 +# CONFIG_BUSYBOX_CONFIG_TTY is not set
 321 +CONFIG_BUSYBOX_CONFIG_UNAME=y
 322 +CONFIG_BUSYBOX_CONFIG_UNIQ=y
 323 +# CONFIG_BUSYBOX_CONFIG_USLEEP is not set
 324 +# CONFIG_BUSYBOX_CONFIG_UUDECODE is not set
 325 +# CONFIG_BUSYBOX_CONFIG_UUENCODE is not set
 326 +# CONFIG_BUSYBOX_CONFIG_WATCH is not set
 327 +CONFIG_BUSYBOX_CONFIG_WC=y
 328 +# CONFIG_BUSYBOX_CONFIG_FEATURE_WC_LARGE is not set
 329 +# CONFIG_BUSYBOX_CONFIG_WHO is not set
 330 +# CONFIG_BUSYBOX_CONFIG_WHOAMI is not set
 331 +CONFIG_BUSYBOX_CONFIG_YES=y
 332 +
 333 +#
 334 +# Common options for cp and mv
 335 +#
 336 +CONFIG_BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS=y
 337 +
 338 +#
 339 +# Common options for ls, more and telnet
 340 +#
 341 +CONFIG_BUSYBOX_CONFIG_FEATURE_AUTOWIDTH=y
 342 +
 343 +#
 344 +# Common options for df, du, ls
 345 +#
 346 +CONFIG_BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE=y
 347 +
 348 +#
 349 +# Common options for md5sum, sha1sum
 350 +#
 351 +CONFIG_BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y
 352 +
 353 +#
 354 +# Console Utilities
 355 +#
 356 +# CONFIG_BUSYBOX_CONFIG_CHVT is not set
 357 +CONFIG_BUSYBOX_CONFIG_CLEAR=y
 358 +# CONFIG_BUSYBOX_CONFIG_DEALLOCVT is not set
 359 +# CONFIG_BUSYBOX_CONFIG_DUMPKMAP is not set
 360 +# CONFIG_BUSYBOX_CONFIG_LOADFONT is not set
 361 +# CONFIG_BUSYBOX_CONFIG_LOADKMAP is not set
 362 +# CONFIG_BUSYBOX_CONFIG_OPENVT is not set
 363 +CONFIG_BUSYBOX_CONFIG_RESET=y
 364 +# CONFIG_BUSYBOX_CONFIG_RESIZE is not set
 365 +# CONFIG_BUSYBOX_CONFIG_SETCONSOLE is not set
 366 +# CONFIG_BUSYBOX_CONFIG_SETKEYCODES is not set
 367 +# CONFIG_BUSYBOX_CONFIG_SETLOGCONS is not set
 368 +
 369 +#
 370 +# Debian Utilities
 371 +#
 372 +CONFIG_BUSYBOX_CONFIG_MKTEMP=y
 373 +# CONFIG_BUSYBOX_CONFIG_PIPE_PROGRESS is not set
 374 +# CONFIG_BUSYBOX_CONFIG_READLINK is not set
 375 +# CONFIG_BUSYBOX_CONFIG_RUN_PARTS is not set
 376 +# CONFIG_BUSYBOX_CONFIG_START_STOP_DAEMON is not set
 377 +CONFIG_BUSYBOX_CONFIG_WHICH=y
 378 +
 379 +#
 380 +# Editors
 381 +#
 382 +CONFIG_BUSYBOX_CONFIG_AWK=y
 383 +CONFIG_BUSYBOX_CONFIG_AWX=y
 384 +CONFIG_BUSYBOX_CONFIG_FEATURE_AWK_MATH=y
 385 +# CONFIG_BUSYBOX_CONFIG_ED is not set
 386 +# CONFIG_BUSYBOX_CONFIG_PATCH is not set
 387 +CONFIG_BUSYBOX_CONFIG_SED=y
 388 +CONFIG_BUSYBOX_CONFIG_VI=y
 389 +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_COLON=y
 390 +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_YANKMARK=y
 391 +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SEARCH=y
 392 +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_USE_SIGNALS=y
 393 +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_DOT_CMD=y
 394 +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_READONLY=y
 395 +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SETOPTS=y
 396 +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SET=y
 397 +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_WIN_RESIZE=y
 398 +CONFIG_BUSYBOX_CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
 399 +CONFIG_BUSYBOX_CONFIG_FEATURE_ALLOW_EXEC=y
 400 +
 401 +#
 402 +# Finding Utilities
 403 +#
 404 +CONFIG_BUSYBOX_CONFIG_FIND=y
 405 +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PRINT0=y
 406 +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_MTIME is not set
 407 +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_MMIN is not set
 408 +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PERM=y
 409 +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_TYPE=y
 410 +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_XDEV=y
 411 +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_NEWER is not set
 412 +# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_INUM is not set
 413 +CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_EXEC=y
 414 +CONFIG_BUSYBOX_CONFIG_GREP=y
 415 +CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_EGREP_ALIAS=y
 416 +CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS=y
 417 +CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT=y
 418 +CONFIG_BUSYBOX_CONFIG_XARGS=y
 419 +CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION=y
 420 +CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y
 421 +CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y
 422 +CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
 423 +
 424 +#
 425 +# Init Utilities
 426 +#
 427 +CONFIG_BUSYBOX_CONFIG_INIT=y
 428 +# CONFIG_BUSYBOX_CONFIG_DEBUG_INIT is not set
 429 +CONFIG_BUSYBOX_CONFIG_FEATURE_USE_INITTAB=y
 430 +# CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_SCTTY is not set
 431 +# CONFIG_BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET is not set
 432 +# CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS is not set
 433 +# CONFIG_BUSYBOX_CONFIG_FEATURE_INITRD is not set
 434 +CONFIG_BUSYBOX_CONFIG_HALT=y
 435 +CONFIG_BUSYBOX_CONFIG_MESG=y
 436 +
 437 +#
 438 +# Login/Password Management Utilities
 439 +#
 440 +# CONFIG_BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS is not set
 441 +# CONFIG_BUSYBOX_CONFIG_USE_BB_PWD_GRP is not set
 442 +# CONFIG_BUSYBOX_CONFIG_ADDGROUP is not set
 443 +# CONFIG_BUSYBOX_CONFIG_DELGROUP is not set
 444 +# CONFIG_BUSYBOX_CONFIG_ADDUSER is not set
 445 +# CONFIG_BUSYBOX_CONFIG_DELUSER is not set
 446 +# CONFIG_BUSYBOX_CONFIG_GETTY is not set
 447 +# CONFIG_BUSYBOX_CONFIG_LOGIN is not set
 448 +CONFIG_BUSYBOX_CONFIG_PASSWD=y
 449 +CONFIG_BUSYBOX_CONFIG_FEATURE_PASSWD_WEAK_CHECK=y
 450 +# CONFIG_BUSYBOX_CONFIG_SU is not set
 451 +# CONFIG_BUSYBOX_CONFIG_SULOGIN is not set
 452 +# CONFIG_BUSYBOX_CONFIG_VLOCK is not set
 453 +
 454 +#
 455 +# Linux Ext2 FS Progs
 456 +#
 457 +# CONFIG_BUSYBOX_CONFIG_CHATTR is not set
 458 +# CONFIG_BUSYBOX_CONFIG_FSCK is not set
 459 +# CONFIG_BUSYBOX_CONFIG_LSATTR is not set
 460 +
 461 +#
 462 +# Linux Module Utilities
 463 +#
 464 +CONFIG_BUSYBOX_CONFIG_INSMOD=y
 465 +# CONFIG_BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP is not set
 466 +CONFIG_BUSYBOX_CONFIG_RMMOD=y
 467 +CONFIG_BUSYBOX_CONFIG_LSMOD=y
 468 +CONFIG_BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y
 469 +# CONFIG_BUSYBOX_CONFIG_MODPROBE is not set
 470 +
 471 +#
 472 +# Options common to multiple modutils
 473 +#
 474 +CONFIG_BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
 475 +
 476 +#
 477 +# Linux System Utilities
 478 +#
 479 +CONFIG_BUSYBOX_CONFIG_DMESG=y
 480 +CONFIG_BUSYBOX_CONFIG_FEATURE_DMESG_PRETTY=y
 481 +# CONFIG_BUSYBOX_CONFIG_FBSET is not set
 482 +# CONFIG_BUSYBOX_CONFIG_FDFLUSH is not set
 483 +# CONFIG_BUSYBOX_CONFIG_FDFORMAT is not set
 484 +# CONFIG_BUSYBOX_CONFIG_FDISK is not set
 485 +CONFIG_BUSYBOX_CONFIG_FDISK_SUPPORT_LARGE_DISKS=y
 486 +# CONFIG_BUSYBOX_CONFIG_FREERAMDISK is not set
 487 +# CONFIG_BUSYBOX_CONFIG_FSCK_MINIX is not set
 488 +# CONFIG_BUSYBOX_CONFIG_MKFS_MINIX is not set
 489 +# CONFIG_BUSYBOX_CONFIG_GETOPT is not set
 490 +CONFIG_BUSYBOX_CONFIG_HEXDUMP=y
 491 +# CONFIG_BUSYBOX_CONFIG_HWCLOCK is not set
 492 +# CONFIG_BUSYBOX_CONFIG_IPCRM is not set
 493 +# CONFIG_BUSYBOX_CONFIG_IPCS is not set
 494 +# CONFIG_BUSYBOX_CONFIG_LOSETUP is not set
 495 +# CONFIG_BUSYBOX_CONFIG_MDEV is not set
 496 +# CONFIG_BUSYBOX_CONFIG_MKSWAP is not set
 497 +# CONFIG_BUSYBOX_CONFIG_MORE is not set
 498 +CONFIG_BUSYBOX_CONFIG_MOUNT=y
 499 +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_NFS=y
 500 +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_CIFS=y
 501 +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_FLAGS=y
 502 +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_FSTAB=y
 503 +CONFIG_BUSYBOX_CONFIG_PIVOT_ROOT=y
 504 +CONFIG_BUSYBOX_CONFIG_RDATE=y
 505 +# CONFIG_BUSYBOX_CONFIG_READPROFILE is not set
 506 +# CONFIG_BUSYBOX_CONFIG_SETARCH is not set
 507 +# CONFIG_BUSYBOX_CONFIG_SWAPONOFF is not set
 508 +CONFIG_BUSYBOX_CONFIG_SWITCH_ROOT=y
 509 +CONFIG_BUSYBOX_CONFIG_UMOUNT=y
 510 +CONFIG_BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL=y
 511 +
 512 +#
 513 +# Common options for mount/umount
 514 +#
 515 +CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP=y
 516 +# CONFIG_BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT is not set
 517 +
 518 +#
 519 +# Miscellaneous Utilities
 520 +#
 521 +# CONFIG_BUSYBOX_CONFIG_ADJTIMEX is not set
 522 +# CONFIG_BUSYBOX_CONFIG_BBCONFIG is not set
 523 +CONFIG_BUSYBOX_CONFIG_CROND=y
 524 +# CONFIG_BUSYBOX_CONFIG_DEBUG_CROND_OPTION is not set
 525 +# CONFIG_BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
 526 +CONFIG_BUSYBOX_CONFIG_CRONTAB=y
 527 +# CONFIG_BUSYBOX_CONFIG_DC is not set
 528 +# CONFIG_BUSYBOX_CONFIG_DEVFSD is not set
 529 +# CONFIG_BUSYBOX_CONFIG_EJECT is not set
 530 +# CONFIG_BUSYBOX_CONFIG_LAST is not set
 531 +CONFIG_BUSYBOX_CONFIG_LESS=y
 532 +CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_MAXLINES=9999999
 533 +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS is not set
 534 +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_FLAGS is not set
 535 +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_FLAGCS is not set
 536 +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_MARKS is not set
 537 +# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_REGEXP is not set
 538 +# CONFIG_BUSYBOX_CONFIG_HDPARM is not set
 539 +CONFIG_BUSYBOX_CONFIG_LOCK=y
 540 +# CONFIG_BUSYBOX_CONFIG_MAKEDEVS is not set
 541 +# CONFIG_BUSYBOX_CONFIG_MOUNTPOINT is not set
 542 +# CONFIG_BUSYBOX_CONFIG_MT is not set
 543 +# CONFIG_BUSYBOX_CONFIG_NMETER is not set
 544 +# CONFIG_BUSYBOX_CONFIG_RAIDAUTORUN is not set
 545 +# CONFIG_BUSYBOX_CONFIG_RUNLEVEL is not set
 546 +# CONFIG_BUSYBOX_CONFIG_RX is not set
 547 +CONFIG_BUSYBOX_CONFIG_STRINGS=y
 548 +# CONFIG_BUSYBOX_CONFIG_SETSID is not set
 549 +# CONFIG_BUSYBOX_CONFIG_TASKSET is not set
 550 +CONFIG_BUSYBOX_CONFIG_TIME=y
 551 +CONFIG_BUSYBOX_CONFIG_WATCHDOG=y
 552 +
 553 +#
 554 +# Networking Utilities
 555 +#
 556 +CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6=y
 557 +# CONFIG_BUSYBOX_CONFIG_ARP is not set
 558 +CONFIG_BUSYBOX_CONFIG_ARPING=y
 559 +# CONFIG_BUSYBOX_CONFIG_DNSD is not set
 560 +# CONFIG_BUSYBOX_CONFIG_ETHER_WAKE is not set
 561 +# CONFIG_BUSYBOX_CONFIG_FAKEIDENTD is not set
 562 +# CONFIG_BUSYBOX_CONFIG_FTPGET is not set
 563 +# CONFIG_BUSYBOX_CONFIG_FTPPUT is not set
 564 +# CONFIG_BUSYBOX_CONFIG_HOSTNAME is not set
 565 +CONFIG_BUSYBOX_CONFIG_HTTPD=y
 566 +CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP=y
 567 +# CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_SETUID is not set
 568 +CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH=y
 569 +CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5=y
 570 +CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES=y
 571 +CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_CGI=y
 572 +CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR=y
 573 +CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV=y
 574 +CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_ENCODE_URL_STR=y
 575 +CONFIG_BUSYBOX_CONFIG_IFCONFIG=y
 576 +CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_STATUS=y
 577 +# CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_SLIP is not set
 578 +# CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
 579 +CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW=y
 580 +CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y
 581 +# CONFIG_BUSYBOX_CONFIG_IFUPDOWN is not set
 582 +# CONFIG_BUSYBOX_CONFIG_INETD is not set
 583 +# CONFIG_BUSYBOX_CONFIG_IP is not set
 584 +# CONFIG_BUSYBOX_CONFIG_IPCALC is not set
 585 +# CONFIG_BUSYBOX_CONFIG_NAMEIF is not set
 586 +CONFIG_BUSYBOX_CONFIG_NC=y
 587 +CONFIG_BUSYBOX_CONFIG_NETMSG=y
 588 +# CONFIG_BUSYBOX_CONFIG_NC_SERVER is not set
 589 +# CONFIG_BUSYBOX_CONFIG_NC_EXTRA is not set
 590 +CONFIG_BUSYBOX_CONFIG_NETSTAT=y
 591 +CONFIG_BUSYBOX_CONFIG_NSLOOKUP=y
 592 +CONFIG_BUSYBOX_CONFIG_PING=y
 593 +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_PING=y
 594 +CONFIG_BUSYBOX_CONFIG_PING6=y
 595 +CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_PING6=y
 596 +CONFIG_BUSYBOX_CONFIG_ROUTE=y
 597 +CONFIG_BUSYBOX_CONFIG_TELNET=y
 598 +CONFIG_BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE=y
 599 +# CONFIG_BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN is not set
 600 +CONFIG_BUSYBOX_CONFIG_TELNETD=y
 601 +CONFIG_BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE=y
 602 +# CONFIG_BUSYBOX_CONFIG_TFTP is not set
 603 +CONFIG_BUSYBOX_CONFIG_TRACEROUTE=y
 604 +CONFIG_BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE=y
 605 +# CONFIG_BUSYBOX_CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set
 606 +# CONFIG_BUSYBOX_CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set
 607 +# CONFIG_BUSYBOX_CONFIG_APP_UDHCPD is not set
 608 +CONFIG_BUSYBOX_CONFIG_APP_UDHCPC=y
 609 +# CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCP_SYSLOG is not set
 610 +# CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCP_DEBUG is not set
 611 +CONFIG_BUSYBOX_CONFIG_VCONFIG=y
 612 +CONFIG_BUSYBOX_CONFIG_WGET=y
 613 +CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_STATUSBAR=y
 614 +CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION=y
 615 +CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_IP6_LITERAL=y
 616 +CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_LONG_OPTIONS=y
 617 +# CONFIG_BUSYBOX_CONFIG_ZCIP is not set
 618 +
 619 +#
 620 +# Process Utilities
 621 +#
 622 +CONFIG_BUSYBOX_CONFIG_FREE=y
 623 +# CONFIG_BUSYBOX_CONFIG_FUSER is not set
 624 +CONFIG_BUSYBOX_CONFIG_KILL=y
 625 +CONFIG_BUSYBOX_CONFIG_KILLALL=y
 626 +CONFIG_BUSYBOX_CONFIG_KILLALL5=y
 627 +CONFIG_BUSYBOX_CONFIG_PIDOF=y
 628 +# CONFIG_BUSYBOX_CONFIG_FEATURE_PIDOF_SINGLE is not set
 629 +# CONFIG_BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT is not set
 630 +CONFIG_BUSYBOX_CONFIG_PS=y
 631 +CONFIG_BUSYBOX_CONFIG_FEATURE_PS_WIDE=y
 632 +# CONFIG_BUSYBOX_CONFIG_RENICE is not set
 633 +CONFIG_BUSYBOX_CONFIG_BB_SYSCTL=y
 634 +CONFIG_BUSYBOX_CONFIG_TOP=y
 635 +CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
 636 +CONFIG_BUSYBOX_CONFIG_UPTIME=y
 637 +
 638 +#
 639 +# Shells
 640 +#
 641 +CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_ASH=y
 642 +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_HUSH is not set
 643 +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_LASH is not set
 644 +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_MSH is not set
 645 +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_NONE is not set
 646 +CONFIG_BUSYBOX_CONFIG_ASH=y
 647 +
 648 +#
 649 +# Ash Shell Options
 650 +#
 651 +CONFIG_BUSYBOX_CONFIG_ASH_JOB_CONTROL=y
 652 +# CONFIG_BUSYBOX_CONFIG_ASH_READ_NCHARS is not set
 653 +CONFIG_BUSYBOX_CONFIG_ASH_READ_TIMEOUT=y
 654 +CONFIG_BUSYBOX_CONFIG_ASH_ALIAS=y
 655 +CONFIG_BUSYBOX_CONFIG_ASH_MATH_SUPPORT=y
 656 +# CONFIG_BUSYBOX_CONFIG_ASH_MATH_SUPPORT_64 is not set
 657 +CONFIG_BUSYBOX_CONFIG_ASH_GETOPTS=y
 658 +CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_ECHO=y
 659 +CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_TEST=y
 660 +CONFIG_BUSYBOX_CONFIG_ASH_CMDCMD=y
 661 +# CONFIG_BUSYBOX_CONFIG_ASH_MAIL is not set
 662 +CONFIG_BUSYBOX_CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
 663 +# CONFIG_BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT is not set
 664 +# CONFIG_BUSYBOX_CONFIG_ASH_EXPAND_PRMT is not set
 665 +# CONFIG_BUSYBOX_CONFIG_HUSH is not set
 666 +# CONFIG_BUSYBOX_CONFIG_LASH is not set
 667 +# CONFIG_BUSYBOX_CONFIG_MSH is not set
 668 +
 669 +#
 670 +# Bourne Shell Options
 671 +#
 672 +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_EXTRA_QUIET is not set
 673 +# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
 674 +CONFIG_BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING=y
 675 +# CONFIG_BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING_VI is not set
 676 +CONFIG_BUSYBOX_CONFIG_FEATURE_COMMAND_HISTORY=15
 677 +# CONFIG_BUSYBOX_CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set
 678 +CONFIG_BUSYBOX_CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y
 679 +# CONFIG_BUSYBOX_CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set
 680 +CONFIG_BUSYBOX_CONFIG_FEATURE_SH_FANCY_PROMPT=y
 681 +
 682 +#
 683 +# System Logging Utilities
 684 +#
 685 +CONFIG_BUSYBOX_CONFIG_SYSLOGD=y
 686 +CONFIG_BUSYBOX_CONFIG_FEATURE_ROTATE_LOGFILE=y
 687 +CONFIG_BUSYBOX_CONFIG_FEATURE_REMOTE_LOG=y
 688 +CONFIG_BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG=y
 689 +CONFIG_BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
 690 +CONFIG_BUSYBOX_CONFIG_LOGREAD=y
 691 +# CONFIG_BUSYBOX_CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
 692 +CONFIG_BUSYBOX_CONFIG_KLOGD=y
 693 +CONFIG_BUSYBOX_CONFIG_LOGGER=y
 694 +
 695 +#
 696 +# Runit Utilities
 697 +#
 698 +# CONFIG_BUSYBOX_CONFIG_RUNSV is not set
 699 +# CONFIG_BUSYBOX_CONFIG_RUNSVDIR is not set
 700 +# CONFIG_BUSYBOX_CONFIG_SV is not set
 701 +# CONFIG_BUSYBOX_CONFIG_SVLOGD is not set
 702 +# CONFIG_BUSYBOX_CONFIG_CHPST is not set
 703 +# CONFIG_BUSYBOX_CONFIG_SETUIDGID is not set
 704 +# CONFIG_BUSYBOX_CONFIG_ENVUIDGID is not set
 705 +# CONFIG_BUSYBOX_CONFIG_ENVDIR is not set
 706 +# CONFIG_BUSYBOX_CONFIG_SOFTLIMIT is not set
 707 +CONFIG_PACKAGE_dnsmasq=m
 708 +CONFIG_PACKAGE_dropbear=y
 709 +CONFIG_PACKAGE_iptables=y
 710 +# CONFIG_PACKAGE_iptables-mod-conntrack is not set
 711 +# CONFIG_PACKAGE_iptables-mod-extra is not set
 712 +# CONFIG_PACKAGE_iptables-mod-filter is not set
 713 +# CONFIG_PACKAGE_iptables-mod-imq is not set
 714 +# CONFIG_PACKAGE_iptables-mod-ipopt is not set
 715 +# CONFIG_PACKAGE_iptables-mod-iprange is not set
 716 +# CONFIG_PACKAGE_iptables-mod-ipsec is not set
 717 +# CONFIG_PACKAGE_iptables-mod-ipset is not set
 718 +# CONFIG_PACKAGE_iptables-mod-nat is not set
 719 +# CONFIG_PACKAGE_iptables-mod-ulog is not set
 720 +# CONFIG_PACKAGE_iptables-utils is not set
 721 +CONFIG_PACKAGE_libgcc=y
 722 +CONFIG_PACKAGE_libpthread=m
 723 +# CONFIG_PACKAGE_libssp is not set
 724 +CONFIG_PACKAGE_libstdcpp=m
 725 +CONFIG_PACKAGE_mtd=y
 726 +# CONFIG_PACKAGE_qos-scripts is not set
 727 +CONFIG_PACKAGE_uclibc=y
 728 +CONFIG_PACKAGE_wireless-tools=y
 729 +
 730 +#
 731 +# Utilities
 732 +#
 733 +CONFIG_DEFAULT_hotplug2=y
 734 +CONFIG_DEFAULT_udevtrigger=y
 735 +# CONFIG_PACKAGE_cfdisk is not set
 736 +# CONFIG_PACKAGE_comgt is not set
 737 +# CONFIG_PACKAGE_dropbearconvert is not set
 738 +CONFIG_PACKAGE_e2fsprogs=m
 739 +CONFIG_PACKAGE_fdisk=m
 740 +# CONFIG_PACKAGE_fuse-utils is not set
 741 +CONFIG_PACKAGE_hotplug2=y
 742 +# CONFIG_PACKAGE_kexec-tools is not set
 743 +# CONFIG_PACKAGE_losetup is not set
 744 +# CONFIG_PACKAGE_openssl-util is not set
 745 +# CONFIG_PACKAGE_pcmcia-cs is not set
 746 +# CONFIG_PACKAGE_qc-usb-utils is not set
 747 +CONFIG_PACKAGE_resize2fs=m
 748 +# CONFIG_PACKAGE_robocfg is not set
 749 +# CONFIG_PACKAGE_shfs-utils is not set
 750 +# CONFIG_PACKAGE_spca5xx-view is not set
 751 +# CONFIG_PACKAGE_swap-utils is not set
 752 +CONFIG_PACKAGE_tune2fs=m
 753 +# CONFIG_PACKAGE_udev is not set
 754 +CONFIG_PACKAGE_udevtrigger=y
 755 +
 756 +#
 757 +# Libraries
 758 +#
 759 +# CONFIG_PACKAGE_libblkid is not set
 760 +# CONFIG_PACKAGE_libfuse is not set
 761 +CONFIG_PACKAGE_libgmp=m
 762 +# CONFIG_PACKAGE_libjson is not set
 763 +CONFIG_PACKAGE_libncurses=m
 764 +CONFIG_PACKAGE_libopenssl=m
 765 +CONFIG_PACKAGE_libpcap=y
 766 +CONFIG_PACKAGE_libuuid=m
 767 +# CONFIG_PACKAGE_linux-atm is not set
 768 +CONFIG_PACKAGE_zlib=m
 769 +
 770 +#
 771 +# Network
 772 +#
 773 +CONFIG_DEFAULT_ppp=y
 774 +CONFIG_DEFAULT_ppp-mod-pppoe=y
 775 +
 776 +#
 777 +# VPN
 778 +#
 779 +CONFIG_PACKAGE_openvpn=m
 780 +# CONFIG_PACKAGE_openvpn-easy-rsa is not set
 781 +# CONFIG_PACKAGE_arptables is not set
 782 +# CONFIG_PACKAGE_chat is not set
 783 +# CONFIG_PACKAGE_ebtables is not set
 784 +# CONFIG_PACKAGE_genl is not set
 785 +# CONFIG_PACKAGE_hostap-utils is not set
 786 +CONFIG_PACKAGE_hostapd=m
 787 +CONFIG_PACKAGE_hostapd-mini=m
 788 +CONFIG_PACKAGE_hostapd-utils=m
 789 +# CONFIG_PACKAGE_ifenslave is not set
 790 +CONFIG_PACKAGE_ip=y
 791 +CONFIG_PACKAGE_ip6tables=m
 792 +CONFIG_PACKAGE_ipsec-tools=m
 793 +CONFIG_PACKAGE_isakmpd=m
 794 +CONFIG_PACKAGE_keynote=m
 795 +CONFIG_PACKAGE_olsrd=y
 796 +CONFIG_PACKAGE_olsrd-mod-bmf=m
 797 +CONFIG_PACKAGE_olsrd-mod-dot-draw=m
 798 +CONFIG_PACKAGE_olsrd-mod-dyn-gw=m
 799 +CONFIG_PACKAGE_olsrd-mod-httpinfo=y
 800 +CONFIG_PACKAGE_olsrd-mod-nameservice=m
 801 +CONFIG_PACKAGE_olsrd-mod-secure=m
 802 +CONFIG_PACKAGE_olsrd-mod-txtinfo=m
 803 +CONFIG_PACKAGE_ppp=y
 804 +# CONFIG_PACKAGE_ppp-mod-pppoa is not set
 805 +CONFIG_PACKAGE_ppp-mod-pppoe=y
 806 +# CONFIG_PACKAGE_ppp-mod-radius is not set
 807 +# CONFIG_PACKAGE_pppdump is not set
 808 +# CONFIG_PACKAGE_pppstats is not set
 809 +# CONFIG_PACKAGE_pptp is not set
 810 +CONFIG_PACKAGE_tc=m
 811 +CONFIG_PACKAGE_tcpdump=y
 812 +CONFIG_PACKAGE_wpa-supplicant=m
 813 +CONFIG_PACKAGE_wpa-cli=m
 814 +CONFIG_PACKAGE_zd1211-firmware=m
 815 +
 816 +#
 817 +# Kernel modules
 818 +#
 819 +CONFIG_DEFAULT_kmod-ipt-nathelper=y
 820 +CONFIG_DEFAULT_kmod-natsemi=y
 821 +CONFIG_DEFAULT_kmod-via-rhine=y
 822 +CONFIG_DEFAULT_kmod-ne2k-pci=y
 823 +CONFIG_DEFAULT_kmod-leds-alix=y
 824 +
 825 +#
 826 +# Block Devices
 827 +#
 828 +CONFIG_PACKAGE_kmod-ata-piix=m
 829 +CONFIG_PACKAGE_kmod-libata=m
 830 +CONFIG_PACKAGE_kmod-pata-artop=m
 831 +
 832 +#
 833 +# Filesystems
 834 +#
 835 +CONFIG_PACKAGE_kmod-fs-cifs=m
 836 +CONFIG_PACKAGE_kmod-fs-ext2=m
 837 +CONFIG_PACKAGE_kmod-fs-ext3=m
 838 +CONFIG_PACKAGE_kmod-fs-hfsplus=m
 839 +CONFIG_PACKAGE_kmod-fs-isofs=m
 840 +CONFIG_PACKAGE_kmod-fs-minix=m
 841 +CONFIG_PACKAGE_kmod-fs-msdos=m
 842 +CONFIG_PACKAGE_kmod-fs-nfs=m
 843 +CONFIG_PACKAGE_kmod-fs-nfsd=m
 844 +CONFIG_PACKAGE_kmod-fs-udf=m
 845 +CONFIG_PACKAGE_kmod-fs-vfat=m
 846 +CONFIG_PACKAGE_kmod-fs-xfs=m
 847 +# CONFIG_PACKAGE_kmod-fuse is not set
 848 +CONFIG_PACKAGE_kmod-nls-base=m
 849 +CONFIG_PACKAGE_kmod-nls-cp1250=m
 850 +CONFIG_PACKAGE_kmod-nls-cp437=m
 851 +CONFIG_PACKAGE_kmod-nls-cp850=m
 852 +CONFIG_PACKAGE_kmod-nls-iso8859-1=m
 853 +CONFIG_PACKAGE_kmod-nls-iso8859-15=m
 854 +CONFIG_PACKAGE_kmod-nls-iso8859-2=m
 855 +CONFIG_PACKAGE_kmod-nls-koi8r=m
 856 +CONFIG_PACKAGE_kmod-nls-utf8=m
 857 +# CONFIG_PACKAGE_kmod-shfs is not set
 858 +
 859 +#
 860 +# I2C Bus
 861 +#
 862 +CONFIG_PACKAGE_kmod-i2c-core=m
 863 +CONFIG_PACKAGE_kmod-i2c-algos=m
 864 +
 865 +#
 866 +# Netfilter Extensions
 867 +#
 868 +CONFIG_PACKAGE_kmod-arptables=m
 869 +CONFIG_PACKAGE_kmod-ebtables=m
 870 +CONFIG_PACKAGE_kmod-ip6tables=m
 871 +CONFIG_PACKAGE_kmod-ipt-conntrack=m
 872 +CONFIG_PACKAGE_kmod-ipt-extra=m
 873 +CONFIG_PACKAGE_kmod-ipt-filter=m
 874 +CONFIG_PACKAGE_kmod-ipt-imq=m
 875 +CONFIG_PACKAGE_kmod-ipt-ipopt=m
 876 +CONFIG_PACKAGE_kmod-ipt-iprange=m
 877 +CONFIG_PACKAGE_kmod-ipt-ipsec=m
 878 +CONFIG_PACKAGE_kmod-ipt-ipset=m
 879 +CONFIG_PACKAGE_kmod-ipt-nat=m
 880 +CONFIG_PACKAGE_kmod-ipt-nathelper=y
 881 +CONFIG_PACKAGE_kmod-ipt-nathelper-extra=m
 882 +CONFIG_PACKAGE_kmod-ipt-queue=m
 883 +CONFIG_PACKAGE_kmod-ipt-ulog=m
 884 +
 885 +#
 886 +# Network Devices
 887 +#
 888 +CONFIG_PACKAGE_kmod-3c59x=m
 889 +CONFIG_PACKAGE_kmod-8139too=m
 890 +CONFIG_PACKAGE_kmod-e100=m
 891 +CONFIG_PACKAGE_kmod-e1000=m
 892 +CONFIG_PACKAGE_kmod-natsemi=m
 893 +CONFIG_PACKAGE_kmod-ne2k-pci=m
 894 +CONFIG_PACKAGE_kmod-r8169=m
 895 +CONFIG_PACKAGE_kmod-sis900=m
 896 +CONFIG_PACKAGE_kmod-via-rhine=y
 897 +
 898 +#
 899 +# Network Support
 900 +#
 901 +CONFIG_PACKAGE_kmod-atm=m
 902 +CONFIG_PACKAGE_kmod-atmtcp=m
 903 +CONFIG_PACKAGE_kmod-ax25=m
 904 +CONFIG_PACKAGE_kmod-bonding=m
 905 +CONFIG_PACKAGE_kmod-gre=m
 906 +CONFIG_PACKAGE_kmod-ipsec=m
 907 +CONFIG_PACKAGE_kmod-ipsec4=m
 908 +CONFIG_PACKAGE_kmod-ipsec6=m
 909 +CONFIG_PACKAGE_kmod-iptunnel4=m
 910 +CONFIG_PACKAGE_kmod-ipv6=m
 911 +CONFIG_PACKAGE_kmod-mp-alg=m
 912 +CONFIG_PACKAGE_kmod-ppp=y
 913 +CONFIG_PACKAGE_kmod-mppe=m
 914 +CONFIG_PACKAGE_kmod-pppoa=m
 915 +CONFIG_PACKAGE_kmod-pppoe=y
 916 +CONFIG_PACKAGE_kmod-sched=m
 917 +CONFIG_PACKAGE_kmod-tun=m
 918 +
 919 +#
 920 +# Other modules
 921 +#
 922 +CONFIG_PACKAGE_kmod-bluetooth=m
 923 +CONFIG_PACKAGE_kmod-capi=m
 924 +CONFIG_PACKAGE_kmod-crypto=m
 925 +# CONFIG_PACKAGE_kmod-gspca is not set
 926 +CONFIG_PACKAGE_kmod-hwmon=m
 927 +CONFIG_PACKAGE_kmod-hwmon-pc87360=m
 928 +CONFIG_PACKAGE_kmod-ide-aec62xx=m
 929 +CONFIG_PACKAGE_kmod-ide-core=m
 930 +CONFIG_PACKAGE_kmod-ide-pdc202xx=m
 931 +CONFIG_PACKAGE_kmod-input-core=m
 932 +CONFIG_PACKAGE_kmod-input-evdev=m
 933 +CONFIG_PACKAGE_kmod-leds-alix=y
 934 +CONFIG_PACKAGE_kmod-loop=m
 935 +CONFIG_PACKAGE_kmod-lp=m
 936 +CONFIG_PACKAGE_kmod-nbd=m
 937 +CONFIG_PACKAGE_kmod-pcmcia-core=m
 938 +CONFIG_PACKAGE_kmod-pcmcia-serial=m
 939 +CONFIG_PACKAGE_kmod-scsi-core=m
 940 +CONFIG_PACKAGE_kmod-softdog=m
 941 +CONFIG_PACKAGE_kmod-sound-core=m
 942 +CONFIG_PACKAGE_kmod-videodev=m
 943 +# CONFIG_PACKAGE_kmod-spca5xx-le is not set
 944 +
 945 +#
 946 +# USB Support
 947 +#
 948 +CONFIG_PACKAGE_kmod-usb-core=m
 949 +CONFIG_PACKAGE_kmod-cpia2=m
 950 +CONFIG_PACKAGE_kmod-ueagle-atm=m
 951 +CONFIG_PACKAGE_kmod-usb-acm=m
 952 +CONFIG_PACKAGE_kmod-usb-atm=m
 953 +CONFIG_PACKAGE_kmod-usb-audio=m
 954 +CONFIG_PACKAGE_kmod-usb-hid=m
 955 +CONFIG_PACKAGE_kmod-usb-net=m
 956 +CONFIG_PACKAGE_kmod-usb-net-asix=m
 957 +CONFIG_PACKAGE_kmod-usb-net-kaweth=m
 958 +CONFIG_PACKAGE_kmod-usb-net-pegasus=m
 959 +CONFIG_PACKAGE_kmod-usb-ohci=m
 960 +CONFIG_PACKAGE_kmod-usb-printer=m
 961 +CONFIG_PACKAGE_kmod-usb-pwc=m
 962 +# CONFIG_PACKAGE_kmod-usb-qc is not set
 963 +CONFIG_PACKAGE_kmod-usb-serial=m
 964 +CONFIG_PACKAGE_kmod-usb-serial-airprime=m
 965 +CONFIG_PACKAGE_kmod-usb-serial-belkin=m
 966 +CONFIG_PACKAGE_kmod-usb-serial-ftdi=m
 967 +CONFIG_PACKAGE_kmod-usb-serial-mct=m
 968 +CONFIG_PACKAGE_kmod-usb-serial-option=m
 969 +CONFIG_PACKAGE_kmod-usb-serial-pl2303=m
 970 +CONFIG_PACKAGE_kmod-usb-serial-sierrawireless=m
 971 +CONFIG_PACKAGE_kmod-usb-serial-visor=m
 972 +CONFIG_PACKAGE_kmod-usb-speedtouch=m
 973 +CONFIG_PACKAGE_kmod-usb-storage=m
 974 +CONFIG_PACKAGE_kmod-usb-uhci=m
 975 +CONFIG_PACKAGE_kmod-usb-yealink=m
 976 +CONFIG_PACKAGE_kmod-usb2=m
 977 +
 978 +#
 979 +# Wireless Drivers
 980 +#
 981 +CONFIG_PACKAGE_kmod-acx=m
 982 +CONFIG_PACKAGE_kmod-hostap=m
 983 +CONFIG_PACKAGE_kmod-hostap-pci=m
 984 +CONFIG_PACKAGE_kmod-hostap-plx=m
 985 +CONFIG_PACKAGE_kmod-ieee80211=m
 986 +CONFIG_PACKAGE_kmod-ieee80211-softmac=m
 987 +CONFIG_PACKAGE_kmod-mac80211=m
 988 +CONFIG_PACKAGE_kmod-madwifi=y
 989 +CONFIG_PACKAGE_kmod-net-airo=m
 990 +CONFIG_PACKAGE_kmod-net-bcm43xx=m
 991 +CONFIG_PACKAGE_kmod-net-hermes=m
 992 +CONFIG_PACKAGE_kmod-net-hermes-pci=m
 993 +CONFIG_PACKAGE_kmod-net-hermes-plx=m
 994 +CONFIG_PACKAGE_kmod-net-ipw2100=m
 995 +CONFIG_PACKAGE_kmod-net-ipw2200=m
 996 +CONFIG_PACKAGE_kmod-net-prism54=m
 997 +CONFIG_PACKAGE_kmod-net-zd1211rw=m
 998 +CONFIG_PACKAGE_kmod-rt2500=m
 999 +CONFIG_PACKAGE_kmod-rt61=m
1000 +CONFIG_PACKAGE_kmod-zd1211=m
1001 diff -Nur kamikaze_7.09-orig/package/kernel/modules/other.mk kamikaze_7.09-x86-alix/package/kernel/modules/other.mk
1002 --- kamikaze_7.09-orig/package/kernel/modules/other.mk	2007-09-22 15:50:44.000000000 +0200
1003 +++ kamikaze_7.09-x86-alix/package/kernel/modules/other.mk	2008-06-08 22:38:36.000000000 +0200
1004 @@ -297,6 +297,20 @@
1005  endef
1006  $(eval $(call KernelPackage,videodev))
1007  
1008 +
1009 +define KernelPackage/leds-alix
1010 +  TITLE:=PCengines ALIX LED support
1011 +  DESCRIPTION:=Kernel module for PCengines ALIX LEDs
1012 +  DEPENDS:=@LINUX_2_6_X86_Alix
1013 +  SUBMENU:=$(EMENU)
1014 +  KCONFIG:=$(CONFIG_LEDS_ALIX)
1015 +  FILES:=$(LINUX_DIR)/drivers/leds/leds-alix.$(LINUX_KMOD_SUFFIX)
1016 +  AUTOLOAD:=$(call AutoLoad,50,leds-alix)
1017 +endef
1018 +$(eval $(call KernelPackage,leds-alix))
1019 +
1020 +
1021 +
1022  define KernelPackage/leds-net48xx
1023    TITLE:=Soekris Net48xx LED support
1024    DESCRIPTION:=Kernel module for Soekris Net48xx LEDs
1025 diff -Nur kamikaze_7.09-orig/package/olsrd/files/olsr.config kamikaze_7.09-x86-alix/package/olsrd/files/olsr.config
1026 --- kamikaze_7.09-orig/package/olsrd/files/olsr.config	1970-01-01 01:00:00.000000000 +0100
1027 +++ kamikaze_7.09-x86-alix/package/olsrd/files/olsr.config	2008-06-07 04:27:32.000000000 +0200
1028 @@ -0,0 +1,40 @@
1029 +config "olsr" "general"
1030 +	option DebugLevel	'0'
1031 +	option IpVersion	'4'
1032 +	option AllowNoInt	'yes'
1033 +	option Pollrate	'0.025'
1034 +	option TcRedundancy	'2'
1035 +	option MprCoverage	'7'
1036 +	option LinkQualityFishEye	'1'
1037 +	option LinkQualityWinSize	'100'
1038 +	option LinkQualityDijkstraLimit	'0 9.0'
1039 +	option LinkQualityLevel	'2'
1040 +	option UseHysteresis	'no'
1041 +
1042 +config "LoadPlugin" "arprefresh"
1043 +	option Library	'olsrd_arprefresh.so.0.1'
1044 +
1045 +config "LoadPlugin" "dyn_gw_plain"
1046 +	option Library	'olsrd_dyn_gw_plain.so.0.4'
1047 +
1048 +config "LoadPlugin" "nameservice"
1049 +	option Library	'olsrd_nameservice.so.0.3'
1050 +	option name	'sven-ola-gs'
1051 +	option hosts_file	'/var/etc/hosts'
1052 +	option suffix	'.olsr'
1053 +	option latlon_infile	'/var/run/latlon.txt'
1054 +
1055 +config "LoadPlugin" "txtinfo"
1056 +	option Library	'olsrd_txtinfo.so.0.1'
1057 +	option Accept	'127.0.0.1'
1058 +
1059 +config "Interface"
1060 +	option Interface	"wlan"
1061 +	option HelloInterval	'6.0'
1062 +	option HelloValidityTime	'108.0'
1063 +	option TcInterval	'4.0'
1064 +	option TcValidityTime	'324.0'
1065 +	option MidInterval	'18.0'
1066 +	option MidValidityTime	'324.0'
1067 +	option HnaInterval	'18.0'
1068 +	option HnaValidityTime	'108.0'
1069 diff -Nur kamikaze_7.09-orig/package/olsrd/files/olsrd.init kamikaze_7.09-x86-alix/package/olsrd/files/olsrd.init
1070 --- kamikaze_7.09-orig/package/olsrd/files/olsrd.init	1970-01-01 01:00:00.000000000 +0100
1071 +++ kamikaze_7.09-x86-alix/package/olsrd/files/olsrd.init	2008-06-07 04:27:32.000000000 +0200
1072 @@ -0,0 +1,333 @@
1073 +#!/bin/sh /etc/rc.common
1074 +START=50
1075 +
1076 +BIN=olsrd
1077 +CONF_F=/var/etc/olsrd.conf
1078 +USE_CONF_F=
1079 +DEFAULT=/etc/default/olsrd
1080 +RUN_D=/var/run
1081 +PID_F=$RUN_D/$BIN.pid
1082 +
1083 +format_olsr_option() {
1084 +	local str="$*"
1085 +	echo -n "$str" | tr -d '\n\r\t\v '
1086 +}
1087 +
1088 +format_olsr_value() {
1089 +	local str="$*"
1090 +	echo -n "$str" | tr -d '\n\r\v'
1091 +}
1092 +
1093 +format_olsr_param() {
1094 +	local str="$*"
1095 +	echo -n "$str" | tr -d '\n\r\v"'
1096 +}
1097 +
1098 +format_uci_varname() {
1099 +	local str="$*"
1100 +	echo -n "$str" | sed -e 's/[^a-zA-Z0-9_]//g'
1101 +}
1102 +
1103 +foreach_olsr() {
1104 +	local cfg="$1"
1105 +	local option
1106 +	local value
1107 +
1108 +	for option in $CONFIG_OPTIONS
1109 +	do
1110 +		config_get value "$cfg" "$option"
1111 +		option=$(format_olsr_option "$option")
1112 +		value=$(format_olsr_value "$value")
1113 +
1114 +		if [ -n "$value" -a "$option" != "ConfigFile" ]; then
1115 +			echo "$option $value" >> "$CONF_F"
1116 +		fi
1117 +	done
1118 +	echo >> "$CONF_F"
1119 +}
1120 +
1121 +foreach_Hna4() {
1122 +	local cfg="$1"
1123 +	local netaddr
1124 +	local netmask
1125 +
1126 +	config_get netaddr "$cfg" NetAddr
1127 +	config_get netmask "$cfg" NetMask
1128 +	netaddr=$(format_olsr_option "$netaddr")
1129 +	netmask=$(format_olsr_option "$netmask")
1130 +
1131 +	if [ -n "$netaddr" -a -n "$netmask" ]; then
1132 +		if [ "$HNA4_COUNT" -le 0 ]; then
1133 +			echo "Hna4" >> "$CONF_F"
1134 +			echo "{" >> "$CONF_F"
1135 +		fi
1136 +
1137 +		echo "	$netaddr $netmask" >> "$CONF_F"
1138 +		HNA4_COUNT=$((HNA4_COUNT + 1))
1139 +	fi
1140 +}
1141 +
1142 +write_Hna4() {
1143 +	if [ "$HNA4_COUNT" -gt 0 ]; then
1144 +		echo "}" >> "$CONF_F"
1145 +		echo >> "$CONF_F"
1146 +	fi
1147 +}
1148 +
1149 +foreach_Hna6() {
1150 +	local cfg="$1"
1151 +	local netaddr
1152 +	local netmask
1153 +
1154 +	config_get netaddr "$cfg" NetAddr
1155 +	config_get prefix "$cfg" Prefix
1156 +	netaddr=$(format_olsr_option "$netaddr")
1157 +	prefix=$(format_olsr_option "$prefix")
1158 +
1159 +	if [ -n "$netaddr" -a -n "$prefix" ]; then
1160 +		if [ "$HNA6_COUNT" -le 0 ]; then
1161 +			echo "Hna6" >> "$CONF_F"
1162 +			echo "{" >> "$CONF_F"
1163 +		fi
1164 +
1165 +		echo "	$netaddr $prefix" >> "$CONF_F"
1166 +		HNA6_COUNT=$((HNA6_COUNT + 1))
1167 +	fi
1168 +}
1169 +
1170 +write_Hna6() {
1171 +	if [ "$HNA6_COUNT" -gt 0 ]; then
1172 +		echo "}" >> "$CONF_F"
1173 +		echo >> "$CONF_F"
1174 +	fi
1175 +}
1176 +
1177 +foreach_IpcConnect() {
1178 +	local cfg="$1"
1179 +	local option
1180 +	local value
1181 +	local c
1182 +
1183 +	echo "IpcConnect" >> "$CONF_F"
1184 +	echo -n "{" >> "$CONF_F"
1185 +
1186 +	for option in $CONFIG_OPTIONS
1187 +	do
1188 +		config_get value "$cfg" "$option"
1189 +		option=$(format_olsr_option "$option")
1190 +		value=$(format_olsr_value "$value")
1191 +
1192 +		if [ -n "$value" ]; then
1193 +			if [ "$option" = "Host" ]; then
1194 +				for item in $value
1195 +				do
1196 +					echo >> "$CONF_F"
1197 +					echo -n "	$option $item" >> "$CONF_F"
1198 +				done
1199 +			elif [ "$option" = "Net" ]; then
1200 +				c=0
1201 +				for item in $value
1202 +				do
1203 +					if [ $((c % 2)) -eq 0 ]; then
1204 +						echo >> "$CONF_F"
1205 +						echo -n "	$option $item" >> "$CONF_F"
1206 +					else
1207 +						echo -n " $item" >> "$CONF_F"
1208 +					fi
1209 +					c=$((c + 1))
1210 +				done
1211 +			else
1212 +				echo >> "$CONF_F"
1213 +				echo -n "	$option $value" >> "$CONF_F"
1214 +			fi
1215 +		fi
1216 +	done
1217 +
1218 +	echo >> "$CONF_F"
1219 +	echo "}" >> "$CONF_F"
1220 +	echo >> "$CONF_F"
1221 +}
1222 +
1223 +foreach_LoadPlugin() {
1224 +	local cfg="$1"
1225 +	local library
1226 +	local option
1227 +	local value
1228 +	local is_ip_addr
1229 +	local item
1230 +	local c
1231 +
1232 +	config_get library "$cfg" Library
1233 +	library=$(format_olsr_param "$library")
1234 +
1235 +	if [ -n "$library" ]; then
1236 +		echo "LoadPlugin \"$library\"" >> "$CONF_F"
1237 +		echo -n "{" >> "$CONF_F"
1238 +
1239 +		for option in $CONFIG_OPTIONS
1240 +		do
1241 +			config_get value "$cfg" "$option"
1242 +			option=$(format_olsr_param "$option")
1243 +			value=$(format_olsr_param "$value")
1244 +
1245 +			if [ -n "$value" ]; then
1246 +				option=$(echo "$option" | sed -e y/[_]/[-]/)
1247 +
1248 +				is_ip_addr=$(echo "$option" | sed -e 's/[^-]//g')
1249 +				if [ "$is_ip_addr" = "---" ]; then
1250 +					option=$(echo "$option" | sed -e y/[-]/[.]/)
1251 +				fi
1252 +
1253 +				if [ "$option" = "Ping" -o "$option" = "redistribute" -o "$option" = "Host" -o "$option" = "NonOlsrIf" -o "$option" = "name" -o "$is_ip_addr" = "---" ]; then
1254 +					for item in $value
1255 +					do
1256 +						echo >> "$CONF_F"
1257 +						echo -n "	PlParam \"$option\" \"$item\"" >> "$CONF_F"
1258 +					done
1259 +				elif [ "$option" = "Net" -o "$option" = "HNA" ]; then
1260 +					c=0
1261 +					for item in $value
1262 +					do
1263 +						if [ $((c % 2)) -eq 0 ]; then
1264 +							echo >> "$CONF_F"
1265 +							echo -n "	PlParam \"$option\" \"$item" >> "$CONF_F"
1266 +						else
1267 +							echo -n " $item\"" >> "$CONF_F"
1268 +						fi
1269 +						c=$((c + 1))
1270 +					done
1271 +				elif [ "$option" != "Library" ]; then
1272 +					echo >> "$CONF_F"
1273 +					echo -n "	PlParam \"$option\" \"$value\"" >> "$CONF_F"
1274 +				fi
1275 +			fi
1276 +		done
1277 +
1278 +		echo >> "$CONF_F"
1279 +		echo "}" >> "$CONF_F"
1280 +		echo >> "$CONF_F"
1281 +	fi
1282 +}
1283 +
1284 +foreach_Interface() {
1285 +	local cfg="$1"
1286 +	local interfaces
1287 +	local interface
1288 +	local ifname
1289 +	local option
1290 +	local value
1291 +	local item
1292 +	local c
1293 +
1294 +	config_get interfaces "$cfg" Interface
1295 +
1296 +	if [ -n "$interfaces" ]; then
1297 +		echo -n "Interface" >> "$CONF_F"
1298 +
1299 +		for interface in $interfaces
1300 +		do
1301 +			interface=$(format_uci_varname "$interface")
1302 +			config_get ifnames "$interface" ifname
1303 +			for ifname in $ifnames
1304 +			do
1305 +				ifname=$(format_olsr_param "$ifname")
1306 +				echo -n " \"$ifname\"" >> "$CONF_F"
1307 +			done
1308 +		done
1309 +
1310 +		echo >> "$CONF_F"
1311 +		echo -n "{" >> "$CONF_F"
1312 +
1313 +		for option in $CONFIG_OPTIONS
1314 +		do
1315 +			config_get value "$cfg" "$option"
1316 +			option=$(format_olsr_option "$option")
1317 +			value=$(format_olsr_value "$value")
1318 +
1319 +			if [ -n "$value" ]; then
1320 +				if [ "$option" = "LinkQualityMult" ]; then
1321 +					c=0
1322 +					for item in $value
1323 +					do
1324 +						if [ $((c % 2)) -eq 0 ]; then
1325 +							echo >> "$CONF_F"
1326 +							echo -n "	$option $item" >> "$CONF_F"
1327 +						else
1328 +							echo -n " $item" >> "$CONF_F"
1329 +						fi
1330 +						c=$((c + 1))
1331 +					done
1332 +				elif [ "$option" != "Interface" ]; then
1333 +					echo >> "$CONF_F"
1334 +					echo -n "	$option $value" >> "$CONF_F"
1335 +				fi
1336 +			fi
1337 +		done
1338 +
1339 +		echo >> "$CONF_F"
1340 +		echo "}" >> "$CONF_F"
1341 +	fi
1342 +}
1343 +
1344 +write_config() {
1345 +	include /lib/network
1346 +	scan_interfaces
1347 +	config_load /var/state/network
1348 +
1349 +	config_cb() {
1350 +		local cfgtype="$1"
1351 +		local name="$2"
1352 +		CONFIG_TYPE="$cfgtype"
1353 +	}
1354 +
1355 +	option_cb() {
1356 +		local varname="$1"
1357 +		local value="$2"
1358 +
1359 +		if [ "$CONFIG_TYPE" = "OLSR" -a "$varname" = "ConfigFile" ]; then
1360 +			USE_CONF_F="$value"
1361 +		fi
1362 +
1363 +		if ! echo "$CONFIG_OPTIONS" | grep " $varname " > /dev/null; then
1364 +			CONFIG_OPTIONS="$CONFIG_OPTIONS $varname "
1365 +		fi
1366 +	}
1367 +
1368 +	CONFIG_OPTIONS=""
1369 +	config_load olsr
1370 +
1371 +	if [ -n "$USE_CONF_F" ]; then
1372 +		return 0
1373 +	else
1374 +		USE_CONF_F="$CONF_F"
1375 +	fi
1376 +
1377 +	mkdir -p $(dirname "$CONF_F")
1378 +	> "$CONF_F"
1379 +	config_foreach foreach_olsr olsr
1380 +	HNA4_COUNT=0
1381 +	config_foreach foreach_Hna4 Hna4
1382 +	write_Hna4
1383 +	HNA6_COUNT=0
1384 +	config_foreach foreach_Hna6 Hna6
1385 +	write_Hna6
1386 +	config_foreach foreach_IpcConnect IpcConnect
1387 +	config_foreach foreach_LoadPlugin LoadPlugin
1388 +	config_foreach foreach_Interface Interface
1389 +}
1390 +
1391 +start() {
1392 +	[ -z "$USE_CONF_F" ] && write_config
1393 +
1394 +	[ -f $DEFAULT ] && . $DEFAULT
1395 +	$BIN -f "$USE_CONF_F" -nofork $OPTIONS &
1396 +
1397 +	# write pid file (but strip out own pid ($$))
1398 +	mkdir -p $RUN_D
1399 +	PID=`pidof $BIN`
1400 +	echo ${PID%$$} > $PID_F
1401 +}
1402 +
1403 +stop() {
1404 +	killall olsrd
1405 +}
1406 diff -Nur kamikaze_7.09-orig/package/olsrd/files/olsrd_secure_key kamikaze_7.09-x86-alix/package/olsrd/files/olsrd_secure_key
1407 --- kamikaze_7.09-orig/package/olsrd/files/olsrd_secure_key	1970-01-01 01:00:00.000000000 +0100
1408 +++ kamikaze_7.09-x86-alix/package/olsrd/files/olsrd_secure_key	2008-06-07 04:27:32.000000000 +0200
1409 @@ -0,0 +1 @@
1410 +1234567890123456
1411 \ Kein Zeilenumbruch am Dateiende.
1412 diff -Nur kamikaze_7.09-orig/package/olsrd/files/.svn/all-wcprops kamikaze_7.09-x86-alix/package/olsrd/files/.svn/all-wcprops
1413 --- kamikaze_7.09-orig/package/olsrd/files/.svn/all-wcprops	1970-01-01 01:00:00.000000000 +0100
1414 +++ kamikaze_7.09-x86-alix/package/olsrd/files/.svn/all-wcprops	2008-06-07 04:27:32.000000000 +0200
1415 @@ -0,0 +1,23 @@
1416 +K 25
1417 +svn:wc:ra_dav:version-url
1418 +V 47
1419 +/openwrt/!svn/ver/9603/packages/net/olsrd/files
1420 +END
1421 +olsrd_secure_key
1422 +K 25
1423 +svn:wc:ra_dav:version-url
1424 +V 64
1425 +/openwrt/!svn/ver/4251/packages/net/olsrd/files/olsrd_secure_key
1426 +END
1427 +olsr.config
1428 +K 25
1429 +svn:wc:ra_dav:version-url
1430 +V 59
1431 +/openwrt/!svn/ver/9603/packages/net/olsrd/files/olsr.config
1432 +END
1433 +olsrd.init
1434 +K 25
1435 +svn:wc:ra_dav:version-url
1436 +V 58
1437 +/openwrt/!svn/ver/9431/packages/net/olsrd/files/olsrd.init
1438 +END
1439 diff -Nur kamikaze_7.09-orig/package/olsrd/files/.svn/entries kamikaze_7.09-x86-alix/package/olsrd/files/.svn/entries
1440 --- kamikaze_7.09-orig/package/olsrd/files/.svn/entries	1970-01-01 01:00:00.000000000 +0100
1441 +++ kamikaze_7.09-x86-alix/package/olsrd/files/.svn/entries	2008-06-07 04:27:32.000000000 +0200
1442 @@ -0,0 +1,66 @@
1443 +8
1444 +
1445 +dir
1446 +11385
1447 +https://svn.openwrt.org/openwrt/packages/net/olsrd/files
1448 +https://svn.openwrt.org/openwrt
1449 +
1450 +
1451 +
1452 +2007-11-28T01:49:40.832019Z
1453 +9603
1454 +nbd
1455 +
1456 +
1457 +svn:special svn:externals svn:needs-lock
1458 +
1459 +
1460 +
1461 +
1462 +
1463 +
1464 +
1465 +
1466 +
1467 +
1468 +
1469 +3c298f89-4303-0410-b956-a3cf2f4a3e73
1470 +
1471 +olsrd_secure_key
1472 +file
1473 +
1474 +
1475 +
1476 +
1477 +2008-06-07T02:27:32.000000Z
1478 +abeac07d3c28c1bef9e730002c753ed4
1479 +2005-05-18T14:53:00.000000Z
1480 +936
1481 +nico
1482 +has-props
1483 +
1484 +olsr.config
1485 +file
1486 +
1487 +
1488 +
1489 +
1490 +2008-06-07T02:27:32.000000Z
1491 +8eefb96aa6c1c32e2536f241bbc50010
1492 +2007-11-28T01:49:40.832019Z
1493 +9603
1494 +nbd
1495 +
1496 +olsrd.init
1497 +file
1498 +
1499 +
1500 +
1501 +
1502 +2008-06-07T02:27:32.000000Z
1503 +079a3a7079fe36e2e874b24510ff883a
1504 +2007-10-24T17:25:48.588856Z
1505 +9431
1506 +nbd
1507 +has-props
1508 +
1509 diff -Nur kamikaze_7.09-orig/package/olsrd/files/.svn/format kamikaze_7.09-x86-alix/package/olsrd/files/.svn/format
1510 --- kamikaze_7.09-orig/package/olsrd/files/.svn/format	1970-01-01 01:00:00.000000000 +0100
1511 +++ kamikaze_7.09-x86-alix/package/olsrd/files/.svn/format	2008-06-07 04:27:32.000000000 +0200
1512 @@ -0,0 +1 @@
1513 +8
1514 diff -Nur kamikaze_7.09-orig/package/olsrd/files/.svn/prop-base/olsrd.init.svn-base kamikaze_7.09-x86-alix/package/olsrd/files/.svn/prop-base/olsrd.init.svn-base
1515 --- kamikaze_7.09-orig/package/olsrd/files/.svn/prop-base/olsrd.init.svn-base	1970-01-01 01:00:00.000000000 +0100
1516 +++ kamikaze_7.09-x86-alix/package/olsrd/files/.svn/prop-base/olsrd.init.svn-base	2008-06-07 04:27:32.000000000 +0200
1517 @@ -0,0 +1,9 @@
1518 +K 13
1519 +svn:eol-style
1520 +V 6
1521 +native
1522 +K 12
1523 +svn:keywords
1524 +V 23
1525 +Author Date Id Revision
1526 +END
1527 diff -Nur kamikaze_7.09-orig/package/olsrd/files/.svn/prop-base/olsrd_secure_key.svn-base kamikaze_7.09-x86-alix/package/olsrd/files/.svn/prop-base/olsrd_secure_key.svn-base
1528 --- kamikaze_7.09-orig/package/olsrd/files/.svn/prop-base/olsrd_secure_key.svn-base	1970-01-01 01:00:00.000000000 +0100
1529 +++ kamikaze_7.09-x86-alix/package/olsrd/files/.svn/prop-base/olsrd_secure_key.svn-base	2008-06-07 04:27:32.000000000 +0200
1530 @@ -0,0 +1,9 @@
1531 +K 13
1532 +svn:eol-style
1533 +V 6
1534 +native
1535 +K 12
1536 +svn:keywords
1537 +V 23
1538 +Author Date Id Revision
1539 +END
1540 diff -Nur kamikaze_7.09-orig/package/olsrd/files/.svn/text-base/olsr.config.svn-base kamikaze_7.09-x86-alix/package/olsrd/files/.svn/text-base/olsr.config.svn-base
1541 --- kamikaze_7.09-orig/package/olsrd/files/.svn/text-base/olsr.config.svn-base	1970-01-01 01:00:00.000000000 +0100
1542 +++ kamikaze_7.09-x86-alix/package/olsrd/files/.svn/text-base/olsr.config.svn-base	2008-06-07 04:27:32.000000000 +0200
1543 @@ -0,0 +1,40 @@
1544 +config "olsr" "general"
1545 +	option DebugLevel	'0'
1546 +	option IpVersion	'4'
1547 +	option AllowNoInt	'yes'
1548 +	option Pollrate	'0.025'
1549 +	option TcRedundancy	'2'
1550 +	option MprCoverage	'7'
1551 +	option LinkQualityFishEye	'1'
1552 +	option LinkQualityWinSize	'100'
1553 +	option LinkQualityDijkstraLimit	'0 9.0'
1554 +	option LinkQualityLevel	'2'
1555 +	option UseHysteresis	'no'
1556 +
1557 +config "LoadPlugin" "arprefresh"
1558 +	option Library	'olsrd_arprefresh.so.0.1'
1559 +
1560 +config "LoadPlugin" "dyn_gw_plain"
1561 +	option Library	'olsrd_dyn_gw_plain.so.0.4'
1562 +
1563 +config "LoadPlugin" "nameservice"
1564 +	option Library	'olsrd_nameservice.so.0.3'
1565 +	option name	'sven-ola-gs'
1566 +	option hosts_file	'/var/etc/hosts'
1567 +	option suffix	'.olsr'
1568 +	option latlon_infile	'/var/run/latlon.txt'
1569 +
1570 +config "LoadPlugin" "txtinfo"
1571 +	option Library	'olsrd_txtinfo.so.0.1'
1572 +	option Accept	'127.0.0.1'
1573 +
1574 +config "Interface"
1575 +	option Interface	"wlan"
1576 +	option HelloInterval	'6.0'
1577 +	option HelloValidityTime	'108.0'
1578 +	option TcInterval	'4.0'
1579 +	option TcValidityTime	'324.0'
1580 +	option MidInterval	'18.0'
1581 +	option MidValidityTime	'324.0'
1582 +	option HnaInterval	'18.0'
1583 +	option HnaValidityTime	'108.0'
1584 diff -Nur kamikaze_7.09-orig/package/olsrd/files/.svn/text-base/olsrd.init.svn-base kamikaze_7.09-x86-alix/package/olsrd/files/.svn/text-base/olsrd.init.svn-base
1585 --- kamikaze_7.09-orig/package/olsrd/files/.svn/text-base/olsrd.init.svn-base	1970-01-01 01:00:00.000000000 +0100
1586 +++ kamikaze_7.09-x86-alix/package/olsrd/files/.svn/text-base/olsrd.init.svn-base	2008-06-07 04:27:32.000000000 +0200
1587 @@ -0,0 +1,333 @@
1588 +#!/bin/sh /etc/rc.common
1589 +START=50
1590 +
1591 +BIN=olsrd
1592 +CONF_F=/var/etc/olsrd.conf
1593 +USE_CONF_F=
1594 +DEFAULT=/etc/default/olsrd
1595 +RUN_D=/var/run
1596 +PID_F=$RUN_D/$BIN.pid
1597 +
1598 +format_olsr_option() {
1599 +	local str="$*"
1600 +	echo -n "$str" | tr -d '\n\r\t\v '
1601 +}
1602 +
1603 +format_olsr_value() {
1604 +	local str="$*"
1605 +	echo -n "$str" | tr -d '\n\r\v'
1606 +}
1607 +
1608 +format_olsr_param() {
1609 +	local str="$*"
1610 +	echo -n "$str" | tr -d '\n\r\v"'
1611 +}
1612 +
1613 +format_uci_varname() {
1614 +	local str="$*"
1615 +	echo -n "$str" | sed -e 's/[^a-zA-Z0-9_]//g'
1616 +}
1617 +
1618 +foreach_olsr() {
1619 +	local cfg="$1"
1620 +	local option
1621 +	local value
1622 +
1623 +	for option in $CONFIG_OPTIONS
1624 +	do
1625 +		config_get value "$cfg" "$option"
1626 +		option=$(format_olsr_option "$option")
1627 +		value=$(format_olsr_value "$value")
1628 +
1629 +		if [ -n "$value" -a "$option" != "ConfigFile" ]; then
1630 +			echo "$option $value" >> "$CONF_F"
1631 +		fi
1632 +	done
1633 +	echo >> "$CONF_F"
1634 +}
1635 +
1636 +foreach_Hna4() {
1637 +	local cfg="$1"
1638 +	local netaddr
1639 +	local netmask
1640 +
1641 +	config_get netaddr "$cfg" NetAddr
1642 +	config_get netmask "$cfg" NetMask
1643 +	netaddr=$(format_olsr_option "$netaddr")
1644 +	netmask=$(format_olsr_option "$netmask")
1645 +
1646 +	if [ -n "$netaddr" -a -n "$netmask" ]; then
1647 +		if [ "$HNA4_COUNT" -le 0 ]; then
1648 +			echo "Hna4" >> "$CONF_F"
1649 +			echo "{" >> "$CONF_F"
1650 +		fi
1651 +
1652 +		echo "	$netaddr $netmask" >> "$CONF_F"
1653 +		HNA4_COUNT=$((HNA4_COUNT + 1))
1654 +	fi
1655 +}
1656 +
1657 +write_Hna4() {
1658 +	if [ "$HNA4_COUNT" -gt 0 ]; then
1659 +		echo "}" >> "$CONF_F"
1660 +		echo >> "$CONF_F"
1661 +	fi
1662 +}
1663 +
1664 +foreach_Hna6() {
1665 +	local cfg="$1"
1666 +	local netaddr
1667 +	local netmask
1668 +
1669 +	config_get netaddr "$cfg" NetAddr
1670 +	config_get prefix "$cfg" Prefix
1671 +	netaddr=$(format_olsr_option "$netaddr")
1672 +	prefix=$(format_olsr_option "$prefix")
1673 +
1674 +	if [ -n "$netaddr" -a -n "$prefix" ]; then
1675 +		if [ "$HNA6_COUNT" -le 0 ]; then
1676 +			echo "Hna6" >> "$CONF_F"
1677 +			echo "{" >> "$CONF_F"
1678 +		fi
1679 +
1680 +		echo "	$netaddr $prefix" >> "$CONF_F"
1681 +		HNA6_COUNT=$((HNA6_COUNT + 1))
1682 +	fi
1683 +}
1684 +
1685 +write_Hna6() {
1686 +	if [ "$HNA6_COUNT" -gt 0 ]; then
1687 +		echo "}" >> "$CONF_F"
1688 +		echo >> "$CONF_F"
1689 +	fi
1690 +}
1691 +
1692 +foreach_IpcConnect() {
1693 +	local cfg="$1"
1694 +	local option
1695 +	local value
1696 +	local c
1697 +
1698 +	echo "IpcConnect" >> "$CONF_F"
1699 +	echo -n "{" >> "$CONF_F"
1700 +
1701 +	for option in $CONFIG_OPTIONS
1702 +	do
1703 +		config_get value "$cfg" "$option"
1704 +		option=$(format_olsr_option "$option")
1705 +		value=$(format_olsr_value "$value")
1706 +
1707 +		if [ -n "$value" ]; then
1708 +			if [ "$option" = "Host" ]; then
1709 +				for item in $value
1710 +				do
1711 +					echo >> "$CONF_F"
1712 +					echo -n "	$option $item" >> "$CONF_F"
1713 +				done
1714 +			elif [ "$option" = "Net" ]; then
1715 +				c=0
1716 +				for item in $value
1717 +				do
1718 +					if [ $((c % 2)) -eq 0 ]; then
1719 +						echo >> "$CONF_F"
1720 +						echo -n "	$option $item" >> "$CONF_F"
1721 +					else
1722 +						echo -n " $item" >> "$CONF_F"
1723 +					fi
1724 +					c=$((c + 1))
1725 +				done
1726 +			else
1727 +				echo >> "$CONF_F"
1728 +				echo -n "	$option $value" >> "$CONF_F"
1729 +			fi
1730 +		fi
1731 +	done
1732 +
1733 +	echo >> "$CONF_F"
1734 +	echo "}" >> "$CONF_F"
1735 +	echo >> "$CONF_F"
1736 +}
1737 +
1738 +foreach_LoadPlugin() {
1739 +	local cfg="$1"
1740 +	local library
1741 +	local option
1742 +	local value
1743 +	local is_ip_addr
1744 +	local item
1745 +	local c
1746 +
1747 +	config_get library "$cfg" Library
1748 +	library=$(format_olsr_param "$library")
1749 +
1750 +	if [ -n "$library" ]; then
1751 +		echo "LoadPlugin \"$library\"" >> "$CONF_F"
1752 +		echo -n "{" >> "$CONF_F"
1753 +
1754 +		for option in $CONFIG_OPTIONS
1755 +		do
1756 +			config_get value "$cfg" "$option"
1757 +			option=$(format_olsr_param "$option")
1758 +			value=$(format_olsr_param "$value")
1759 +
1760 +			if [ -n "$value" ]; then
1761 +				option=$(echo "$option" | sed -e y/[_]/[-]/)
1762 +
1763 +				is_ip_addr=$(echo "$option" | sed -e 's/[^-]//g')
1764 +				if [ "$is_ip_addr" = "---" ]; then
1765 +					option=$(echo "$option" | sed -e y/[-]/[.]/)
1766 +				fi
1767 +
1768 +				if [ "$option" = "Ping" -o "$option" = "redistribute" -o "$option" = "Host" -o "$option" = "NonOlsrIf" -o "$option" = "name" -o "$is_ip_addr" = "---" ]; then
1769 +					for item in $value
1770 +					do
1771 +						echo >> "$CONF_F"
1772 +						echo -n "	PlParam \"$option\" \"$item\"" >> "$CONF_F"
1773 +					done
1774 +				elif [ "$option" = "Net" -o "$option" = "HNA" ]; then
1775 +					c=0
1776 +					for item in $value
1777 +					do
1778 +						if [ $((c % 2)) -eq 0 ]; then
1779 +							echo >> "$CONF_F"
1780 +							echo -n "	PlParam \"$option\" \"$item" >> "$CONF_F"
1781 +						else
1782 +							echo -n " $item\"" >> "$CONF_F"
1783 +						fi
1784 +						c=$((c + 1))
1785 +					done
1786 +				elif [ "$option" != "Library" ]; then
1787 +					echo >> "$CONF_F"
1788 +					echo -n "	PlParam \"$option\" \"$value\"" >> "$CONF_F"
1789 +				fi
1790 +			fi
1791 +		done
1792 +
1793 +		echo >> "$CONF_F"
1794 +		echo "}" >> "$CONF_F"
1795 +		echo >> "$CONF_F"
1796 +	fi
1797 +}
1798 +
1799 +foreach_Interface() {
1800 +	local cfg="$1"
1801 +	local interfaces
1802 +	local interface
1803 +	local ifname
1804 +	local option
1805 +	local value
1806 +	local item
1807 +	local c
1808 +
1809 +	config_get interfaces "$cfg" Interface
1810 +
1811 +	if [ -n "$interfaces" ]; then
1812 +		echo -n "Interface" >> "$CONF_F"
1813 +
1814 +		for interface in $interfaces
1815 +		do
1816 +			interface=$(format_uci_varname "$interface")
1817 +			config_get ifnames "$interface" ifname
1818 +			for ifname in $ifnames
1819 +			do
1820 +				ifname=$(format_olsr_param "$ifname")
1821 +				echo -n " \"$ifname\"" >> "$CONF_F"
1822 +			done
1823 +		done
1824 +
1825 +		echo >> "$CONF_F"
1826 +		echo -n "{" >> "$CONF_F"
1827 +
1828 +		for option in $CONFIG_OPTIONS
1829 +		do
1830 +			config_get value "$cfg" "$option"
1831 +			option=$(format_olsr_option "$option")
1832 +			value=$(format_olsr_value "$value")
1833 +
1834 +			if [ -n "$value" ]; then
1835 +				if [ "$option" = "LinkQualityMult" ]; then
1836 +					c=0
1837 +					for item in $value
1838 +					do
1839 +						if [ $((c % 2)) -eq 0 ]; then
1840 +							echo >> "$CONF_F"
1841 +							echo -n "	$option $item" >> "$CONF_F"
1842 +						else
1843 +							echo -n " $item" >> "$CONF_F"
1844 +						fi
1845 +						c=$((c + 1))
1846 +					done
1847 +				elif [ "$option" != "Interface" ]; then
1848 +					echo >> "$CONF_F"
1849 +					echo -n "	$option $value" >> "$CONF_F"
1850 +				fi
1851 +			fi
1852 +		done
1853 +
1854 +		echo >> "$CONF_F"
1855 +		echo "}" >> "$CONF_F"
1856 +	fi
1857 +}
1858 +
1859 +write_config() {
1860 +	include /lib/network
1861 +	scan_interfaces
1862 +	config_load /var/state/network
1863 +
1864 +	config_cb() {
1865 +		local cfgtype="$1"
1866 +		local name="$2"
1867 +		CONFIG_TYPE="$cfgtype"
1868 +	}
1869 +
1870 +	option_cb() {
1871 +		local varname="$1"
1872 +		local value="$2"
1873 +
1874 +		if [ "$CONFIG_TYPE" = "OLSR" -a "$varname" = "ConfigFile" ]; then
1875 +			USE_CONF_F="$value"
1876 +		fi
1877 +
1878 +		if ! echo "$CONFIG_OPTIONS" | grep " $varname " > /dev/null; then
1879 +			CONFIG_OPTIONS="$CONFIG_OPTIONS $varname "
1880 +		fi
1881 +	}
1882 +
1883 +	CONFIG_OPTIONS=""
1884 +	config_load olsr
1885 +
1886 +	if [ -n "$USE_CONF_F" ]; then
1887 +		return 0
1888 +	else
1889 +		USE_CONF_F="$CONF_F"
1890 +	fi
1891 +
1892 +	mkdir -p $(dirname "$CONF_F")
1893 +	> "$CONF_F"
1894 +	config_foreach foreach_olsr olsr
1895 +	HNA4_COUNT=0
1896 +	config_foreach foreach_Hna4 Hna4
1897 +	write_Hna4
1898 +	HNA6_COUNT=0
1899 +	config_foreach foreach_Hna6 Hna6
1900 +	write_Hna6
1901 +	config_foreach foreach_IpcConnect IpcConnect
1902 +	config_foreach foreach_LoadPlugin LoadPlugin
1903 +	config_foreach foreach_Interface Interface
1904 +}
1905 +
1906 +start() {
1907 +	[ -z "$USE_CONF_F" ] && write_config
1908 +
1909 +	[ -f $DEFAULT ] && . $DEFAULT
1910 +	$BIN -f "$USE_CONF_F" -nofork $OPTIONS &
1911 +
1912 +	# write pid file (but strip out own pid ($$))
1913 +	mkdir -p $RUN_D
1914 +	PID=`pidof $BIN`
1915 +	echo ${PID%$$} > $PID_F
1916 +}
1917 +
1918 +stop() {
1919 +	killall olsrd
1920 +}
1921 diff -Nur kamikaze_7.09-orig/package/olsrd/files/.svn/text-base/olsrd_secure_key.svn-base kamikaze_7.09-x86-alix/package/olsrd/files/.svn/text-base/olsrd_secure_key.svn-base
1922 --- kamikaze_7.09-orig/package/olsrd/files/.svn/text-base/olsrd_secure_key.svn-base	1970-01-01 01:00:00.000000000 +0100
1923 +++ kamikaze_7.09-x86-alix/package/olsrd/files/.svn/text-base/olsrd_secure_key.svn-base	2008-06-07 04:27:32.000000000 +0200
1924 @@ -0,0 +1 @@
1925 +1234567890123456
1926 \ Kein Zeilenumbruch am Dateiende.
1927 diff -Nur kamikaze_7.09-orig/package/olsrd/Makefile kamikaze_7.09-x86-alix/package/olsrd/Makefile
1928 --- kamikaze_7.09-orig/package/olsrd/Makefile	1970-01-01 01:00:00.000000000 +0100
1929 +++ kamikaze_7.09-x86-alix/package/olsrd/Makefile	2008-06-07 18:34:57.000000000 +0200
1930 @@ -0,0 +1,163 @@
1931 +# 
1932 +# Copyright (C) 2007 OpenWrt.org
1933 +#
1934 +# This is free software, licensed under the GNU General Public License v2.
1935 +# See /LICENSE for more information.
1936 +#
1937 +# $Id: Makefile 11266 2008-05-25 16:30:46Z blogic $
1938 +
1939 +include $(TOPDIR)/rules.mk
1940 +
1941 +PKG_NAME:=olsrd
1942 +PKG_VERSION:=0.5.6-rc4
1943 +PKG_RELEASE:=1
1944 +
1945 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/
1946 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
1947 +PKG_SOURCE_URL:=http://www.olsr.org/releases/0.5
1948 +PKG_MD5SUM:=c7187a3a11e61ca9a2b5881ab7c92ea5
1949 +
1950 +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
1951 +
1952 +include $(INCLUDE_DIR)/package.mk
1953 +
1954 +define Package/olsrd/template
1955 +  SECTION:=net
1956 +  CATEGORY:=Network
1957 +  TITLE:=OLSR (Optimized Link State Routing) daemon
1958 +  URL:=http://www.olsr.org/
1959 +  MENU:=1
1960 +endef
1961 +
1962 +define Package/olsrd
1963 +  $(call Package/olsrd/template)
1964 +  MENU:=1
1965 +endef
1966 +
1967 +define Package/olsrd/conffiles
1968 +/etc/olsrd.conf
1969 +endef
1970 +
1971 +define Package/olsrd-mod-dot-draw
1972 +  $(call Package/olsrd/template)
1973 +  DEPENDS:=olsrd
1974 +  TITLE:=Dot topology information plugin
1975 +endef
1976 +
1977 +define Package/olsrd-mod-bmf
1978 +  $(call Package/olsrd/template)
1979 +  DEPENDS:=olsrd +libpthread +kmod-tun
1980 +  TITLE:=Basic multicast forwarding plugin
1981 +endef
1982 +
1983 +define Package/olsrd-mod-dyn-gw
1984 +  $(call Package/olsrd/template)
1985 +  DEPENDS:=olsrd +libpthread
1986 +  TITLE:=Dynamic internet gateway plugin
1987 +endef
1988 +
1989 +define Package/olsrd-mod-httpinfo
1990 +  $(call Package/olsrd/template)
1991 +  DEPENDS:=olsrd
1992 +  TITLE:=Small informative web server plugin
1993 +endef
1994 +
1995 +define Package/olsrd-mod-nameservice
1996 +  $(call Package/olsrd/template)
1997 +  DEPENDS:=olsrd
1998 +  TITLE:=Lightweight hostname resolver plugin
1999 +endef
2000 +
2001 +define Package/olsrd-mod-secure
2002 +  $(call Package/olsrd/template)
2003 +  DEPENDS:=olsrd
2004 +  TITLE:=Message signing plugin to secure routing domain
2005 +endef
2006 +
2007 +define Package/olsrd-mod-txtinfo
2008 +  $(call Package/olsrd/template)
2009 +  DEPENDS:=olsrd
2010 +  TITLE:=Small informative web server plugin
2011 +endef
2012 +
2013 +define Package/olsrd-mod-secure/conffiles
2014 +/etc/olsrd.d/olsrd_secure_key
2015 +endef
2016 +
2017 +define Build/Configure
2018 +endef
2019 +
2020 +define Build/Compile
2021 +	rm -rf $(PKG_INSTALL_DIR)
2022 +	mkdir -p $(PKG_INSTALL_DIR)
2023 +	$(MAKE) -C "$(PKG_BUILD_DIR)" \
2024 +		$(TARGET_CONFIGURE_OPTS) \
2025 +		NODEBUG=1 \
2026 +		CFLAGS="$(TARGET_CFLAGS)" \
2027 +		OS="linux" \
2028 +		INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \
2029 +		LIBDIR="$(PKG_INSTALL_DIR)/usr/lib" \
2030 +		SBINDIR="$(PKG_INSTALL_DIR)/usr/sbin/" \
2031 +		ETCDIR="$(PKG_INSTALL_DIR)/etc" \
2032 +		MANDIR="$(PKG_INSTALL_DIR)/usr/share/man" \
2033 +		STRIP="true" \
2034 +		INSTALL_LIB="true" \
2035 +		SUBDIRS="bmf dot_draw dyn_gw httpinfo nameservice secure txtinfo" \
2036 +		all libs install install_libs
2037 +endef
2038 +
2039 +define Package/olsrd/install
2040 +	$(INSTALL_DIR) $(1)/etc/config
2041 +	$(INSTALL_DATA) ./files/olsr.config $(1)/etc/config/olsr
2042 +	$(INSTALL_DATA) $(PKG_BUILD_DIR)/src/cfgparser/olsrd.conf.example $(1)/etc/olsrd.conf
2043 +	$(INSTALL_DIR) $(1)/usr/sbin
2044 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/olsrd $(1)/usr/sbin/
2045 +	$(INSTALL_DIR) $(1)/etc/init.d
2046 +	$(INSTALL_BIN) ./files/olsrd.init $(1)/etc/init.d/olsrd
2047 +endef
2048 +
2049 +define Package/olsrd-mod-dot-draw/install
2050 +	$(INSTALL_DIR) $(1)/usr/lib
2051 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/dot_draw/olsrd_dot_draw.so.* $(1)/usr/lib/
2052 +endef
2053 +
2054 +define Package/olsrd-mod-bmf/install
2055 +	$(INSTALL_DIR) $(1)/usr/lib
2056 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/bmf/olsrd_bmf.so.* $(1)/usr/lib/
2057 +endef
2058 +
2059 +define Package/olsrd-mod-dyn-gw/install
2060 +	$(INSTALL_DIR) $(1)/usr/lib
2061 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/dyn_gw/olsrd_dyn_gw.so.* $(1)/usr/lib/
2062 +endef
2063 +
2064 +define Package/olsrd-mod-httpinfo/install
2065 +	$(INSTALL_DIR) $(1)/usr/lib
2066 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/httpinfo/olsrd_httpinfo.so.* $(1)/usr/lib/
2067 +endef
2068 +
2069 +define Package/olsrd-mod-nameservice/install
2070 +	$(INSTALL_DIR) $(1)/usr/lib
2071 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/nameservice/olsrd_nameservice.so.* $(1)/usr/lib/
2072 +endef
2073 +
2074 +define Package/olsrd-mod-secure/install
2075 +	$(INSTALL_DIR) $(1)/etc/olsrd.d
2076 +	$(CP) ./files/olsrd_secure_key $(1)/etc/olsrd.d/
2077 +	$(INSTALL_DIR) $(1)/usr/lib
2078 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/secure/olsrd_secure.so.* $(1)/usr/lib/
2079 +endef
2080 +
2081 +define Package/olsrd-mod-txtinfo/install
2082 +	$(INSTALL_DIR) $(1)/usr/lib
2083 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/txtinfo/olsrd_txtinfo.so.* $(1)/usr/lib/
2084 +endef
2085 +
2086 +$(eval $(call BuildPackage,olsrd))
2087 +$(eval $(call BuildPackage,olsrd-mod-dot-draw))
2088 +$(eval $(call BuildPackage,olsrd-mod-bmf))
2089 +$(eval $(call BuildPackage,olsrd-mod-dyn-gw))
2090 +$(eval $(call BuildPackage,olsrd-mod-httpinfo))
2091 +$(eval $(call BuildPackage,olsrd-mod-nameservice))
2092 +$(eval $(call BuildPackage,olsrd-mod-secure))
2093 +$(eval $(call BuildPackage,olsrd-mod-txtinfo))
2094 diff -Nur kamikaze_7.09-orig/package/olsrd/patches/100-debug_level.patch kamikaze_7.09-x86-alix/package/olsrd/patches/100-debug_level.patch
2095 --- kamikaze_7.09-orig/package/olsrd/patches/100-debug_level.patch	1970-01-01 01:00:00.000000000 +0100
2096 +++ kamikaze_7.09-x86-alix/package/olsrd/patches/100-debug_level.patch	2008-06-07 04:27:32.000000000 +0200
2097 @@ -0,0 +1,11 @@
2098 +--- olsrd-0.4.10/files/olsrd.conf.default.rfc	2005-06-04 17:34:05.000000000 +0200
2099 ++++ olsrd-0.4.10.new/files/olsrd.conf.default.rfc	2006-05-21 21:44:55.000000000 +0200
2100 +@@ -9,7 +9,7 @@
2101 + # Debug level(0-9)
2102 + # If set to 0 the daemon runs in the background
2103 + 
2104 +-DebugLevel	1
2105 ++DebugLevel	0
2106 + 
2107 + # IP version to use (4 or 6)
2108 + 
2109 diff -Nur kamikaze_7.09-orig/package/olsrd/patches/110-build_fix.patch kamikaze_7.09-x86-alix/package/olsrd/patches/110-build_fix.patch
2110 --- kamikaze_7.09-orig/package/olsrd/patches/110-build_fix.patch	1970-01-01 01:00:00.000000000 +0100
2111 +++ kamikaze_7.09-x86-alix/package/olsrd/patches/110-build_fix.patch	2008-06-07 04:27:32.000000000 +0200
2112 @@ -0,0 +1,13 @@
2113 +Index: olsrd-0.5.4/Makefile
2114 +===================================================================
2115 +--- olsrd-0.5.4.orig/Makefile	2007-11-03 11:33:37.075400513 +0100
2116 ++++ olsrd-0.5.4/Makefile	2007-11-03 11:33:47.171975883 +0100
2117 +@@ -71,8 +71,6 @@
2118 + $(CFGOBJS):
2119 + 		$(MAKECMD) -C $(CFGDIR)
2120 + 
2121 +-# generate it always
2122 +-.PHONY: src/builddata.c
2123 + src/builddata.c:
2124 + 	@$(RM) "$@"
2125 + 	@echo "#include \"defs.h\"" >> "$@" 
2126 diff -Nur kamikaze_7.09-orig/package/olsrd/patches/120-dyn_gw_interval.patch kamikaze_7.09-x86-alix/package/olsrd/patches/120-dyn_gw_interval.patch
2127 --- kamikaze_7.09-orig/package/olsrd/patches/120-dyn_gw_interval.patch	1970-01-01 01:00:00.000000000 +0100
2128 +++ kamikaze_7.09-x86-alix/package/olsrd/patches/120-dyn_gw_interval.patch	2008-06-07 04:27:32.000000000 +0200
2129 @@ -0,0 +1,20 @@
2130 +--- olsrd-0.5.4/lib/dyn_gw/src/olsrd_dyn_gw-orig.c      2007-10-31 15:14:47.000000000 +0100
2131 ++++ olsrd-0.5.4/lib/dyn_gw/src/olsrd_dyn_gw.c   2007-10-31 15:15:17.000000000 +0100
2132 +@@ -92,7 +92,7 @@
2133 +
2134 +
2135 + /* set default interval, in case none is given in the config file */
2136 +-static int check_interval = 5;
2137 ++static double check_interval = 5;
2138 +
2139 + /* list to store the Ping IP addresses given in the config file */
2140 + struct ping_list {
2141 +@@ -307,7 +307,7 @@
2142 +     struct hna_list *li;
2143 +     struct timespec remainder_spec;
2144 +     /* the time to wait in "Interval" sec (see connfig), default=5sec */
2145 +-    struct timespec sleeptime_spec  = { check_interval, 0L };
2146 ++    struct timespec sleeptime_spec  = { (int) check_interval, 0L };
2147 +
2148 +     for(li = the_hna_list; li; li = li->next){
2149 +       /* check for gw in table entry and if Ping IPs are given also do pings */
2150 diff -Nur kamikaze_7.09-orig/package/olsrd/patches/.svn/all-wcprops kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/all-wcprops
2151 --- kamikaze_7.09-orig/package/olsrd/patches/.svn/all-wcprops	1970-01-01 01:00:00.000000000 +0100
2152 +++ kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/all-wcprops	2008-06-07 04:27:32.000000000 +0200
2153 @@ -0,0 +1,23 @@
2154 +K 25
2155 +svn:wc:ra_dav:version-url
2156 +V 50
2157 +/openwrt/!svn/ver/10371/packages/net/olsrd/patches
2158 +END
2159 +110-build_fix.patch
2160 +K 25
2161 +svn:wc:ra_dav:version-url
2162 +V 69
2163 +/openwrt/!svn/ver/9486/packages/net/olsrd/patches/110-build_fix.patch
2164 +END
2165 +100-debug_level.patch
2166 +K 25
2167 +svn:wc:ra_dav:version-url
2168 +V 71
2169 +/openwrt/!svn/ver/6500/packages/net/olsrd/patches/100-debug_level.patch
2170 +END
2171 +120-dyn_gw_interval.patch
2172 +K 25
2173 +svn:wc:ra_dav:version-url
2174 +V 76
2175 +/openwrt/!svn/ver/10371/packages/net/olsrd/patches/120-dyn_gw_interval.patch
2176 +END
2177 diff -Nur kamikaze_7.09-orig/package/olsrd/patches/.svn/entries kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/entries
2178 --- kamikaze_7.09-orig/package/olsrd/patches/.svn/entries	1970-01-01 01:00:00.000000000 +0100
2179 +++ kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/entries	2008-06-07 04:27:32.000000000 +0200
2180 @@ -0,0 +1,65 @@
2181 +8
2182 +
2183 +dir
2184 +11385
2185 +https://svn.openwrt.org/openwrt/packages/net/olsrd/patches
2186 +https://svn.openwrt.org/openwrt
2187 +
2188 +
2189 +
2190 +2008-02-03T10:51:09.758109Z
2191 +10371
2192 +florian
2193 +
2194 +
2195 +svn:special svn:externals svn:needs-lock
2196 +
2197 +
2198 +
2199 +
2200 +
2201 +
2202 +
2203 +
2204 +
2205 +
2206 +
2207 +3c298f89-4303-0410-b956-a3cf2f4a3e73
2208 +
2209 +110-build_fix.patch
2210 +file
2211 +
2212 +
2213 +
2214 +
2215 +2008-06-07T02:27:32.000000Z
2216 +e85c5f219055b031fa7ced464bd971f1
2217 +2007-11-03T10:34:44.907810Z
2218 +9486
2219 +nbd
2220 +
2221 +100-debug_level.patch
2222 +file
2223 +
2224 +
2225 +
2226 +
2227 +2008-06-07T02:27:32.000000Z
2228 +7c85f7298ad18331db8701d8b8a909ee
2229 +2007-03-04T04:19:46.934987Z
2230 +6500
2231 +pavlov
2232 +has-props
2233 +
2234 +120-dyn_gw_interval.patch
2235 +file
2236 +
2237 +
2238 +
2239 +
2240 +2008-06-07T02:27:32.000000Z
2241 +d8026b849407bfde29b146711da612a4
2242 +2008-02-03T10:51:09.758109Z
2243 +10371
2244 +florian
2245 +
2246 diff -Nur kamikaze_7.09-orig/package/olsrd/patches/.svn/format kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/format
2247 --- kamikaze_7.09-orig/package/olsrd/patches/.svn/format	1970-01-01 01:00:00.000000000 +0100
2248 +++ kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/format	2008-06-07 04:27:32.000000000 +0200
2249 @@ -0,0 +1 @@
2250 +8
2251 diff -Nur kamikaze_7.09-orig/package/olsrd/patches/.svn/prop-base/100-debug_level.patch.svn-base kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/prop-base/100-debug_level.patch.svn-base
2252 --- kamikaze_7.09-orig/package/olsrd/patches/.svn/prop-base/100-debug_level.patch.svn-base	1970-01-01 01:00:00.000000000 +0100
2253 +++ kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/prop-base/100-debug_level.patch.svn-base	2008-06-07 04:27:32.000000000 +0200
2254 @@ -0,0 +1,5 @@
2255 +K 13
2256 +svn:eol-style
2257 +V 6
2258 +native
2259 +END
2260 diff -Nur kamikaze_7.09-orig/package/olsrd/patches/.svn/text-base/100-debug_level.patch.svn-base kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/text-base/100-debug_level.patch.svn-base
2261 --- kamikaze_7.09-orig/package/olsrd/patches/.svn/text-base/100-debug_level.patch.svn-base	1970-01-01 01:00:00.000000000 +0100
2262 +++ kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/text-base/100-debug_level.patch.svn-base	2008-06-07 04:27:32.000000000 +0200
2263 @@ -0,0 +1,11 @@
2264 +--- olsrd-0.4.10/files/olsrd.conf.default.rfc	2005-06-04 17:34:05.000000000 +0200
2265 ++++ olsrd-0.4.10.new/files/olsrd.conf.default.rfc	2006-05-21 21:44:55.000000000 +0200
2266 +@@ -9,7 +9,7 @@
2267 + # Debug level(0-9)
2268 + # If set to 0 the daemon runs in the background
2269 + 
2270 +-DebugLevel	1
2271 ++DebugLevel	0
2272 + 
2273 + # IP version to use (4 or 6)
2274 + 
2275 diff -Nur kamikaze_7.09-orig/package/olsrd/patches/.svn/text-base/110-build_fix.patch.svn-base kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/text-base/110-build_fix.patch.svn-base
2276 --- kamikaze_7.09-orig/package/olsrd/patches/.svn/text-base/110-build_fix.patch.svn-base	1970-01-01 01:00:00.000000000 +0100
2277 +++ kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/text-base/110-build_fix.patch.svn-base	2008-06-07 04:27:32.000000000 +0200
2278 @@ -0,0 +1,13 @@
2279 +Index: olsrd-0.5.4/Makefile
2280 +===================================================================
2281 +--- olsrd-0.5.4.orig/Makefile	2007-11-03 11:33:37.075400513 +0100
2282 ++++ olsrd-0.5.4/Makefile	2007-11-03 11:33:47.171975883 +0100
2283 +@@ -71,8 +71,6 @@
2284 + $(CFGOBJS):
2285 + 		$(MAKECMD) -C $(CFGDIR)
2286 + 
2287 +-# generate it always
2288 +-.PHONY: src/builddata.c
2289 + src/builddata.c:
2290 + 	@$(RM) "$@"
2291 + 	@echo "#include \"defs.h\"" >> "$@" 
2292 diff -Nur kamikaze_7.09-orig/package/olsrd/patches/.svn/text-base/120-dyn_gw_interval.patch.svn-base kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/text-base/120-dyn_gw_interval.patch.svn-base
2293 --- kamikaze_7.09-orig/package/olsrd/patches/.svn/text-base/120-dyn_gw_interval.patch.svn-base	1970-01-01 01:00:00.000000000 +0100
2294 +++ kamikaze_7.09-x86-alix/package/olsrd/patches/.svn/text-base/120-dyn_gw_interval.patch.svn-base	2008-06-07 04:27:32.000000000 +0200
2295 @@ -0,0 +1,20 @@
2296 +--- olsrd-0.5.4/lib/dyn_gw/src/olsrd_dyn_gw-orig.c      2007-10-31 15:14:47.000000000 +0100
2297 ++++ olsrd-0.5.4/lib/dyn_gw/src/olsrd_dyn_gw.c   2007-10-31 15:15:17.000000000 +0100
2298 +@@ -92,7 +92,7 @@
2299 +
2300 +
2301 + /* set default interval, in case none is given in the config file */
2302 +-static int check_interval = 5;
2303 ++static double check_interval = 5;
2304 +
2305 + /* list to store the Ping IP addresses given in the config file */
2306 + struct ping_list {
2307 +@@ -307,7 +307,7 @@
2308 +     struct hna_list *li;
2309 +     struct timespec remainder_spec;
2310 +     /* the time to wait in "Interval" sec (see connfig), default=5sec */
2311 +-    struct timespec sleeptime_spec  = { check_interval, 0L };
2312 ++    struct timespec sleeptime_spec  = { (int) check_interval, 0L };
2313 +
2314 +     for(li = the_hna_list; li; li = li->next){
2315 +       /* check for gw in table entry and if Ping IPs are given also do pings */
2316 diff -Nur kamikaze_7.09-orig/package/olsrd/.svn/all-wcprops kamikaze_7.09-x86-alix/package/olsrd/.svn/all-wcprops
2317 --- kamikaze_7.09-orig/package/olsrd/.svn/all-wcprops	1970-01-01 01:00:00.000000000 +0100
2318 +++ kamikaze_7.09-x86-alix/package/olsrd/.svn/all-wcprops	2008-06-07 04:27:32.000000000 +0200
2319 @@ -0,0 +1,11 @@
2320 +K 25
2321 +svn:wc:ra_dav:version-url
2322 +V 42
2323 +/openwrt/!svn/ver/11266/packages/net/olsrd
2324 +END
2325 +Makefile
2326 +K 25
2327 +svn:wc:ra_dav:version-url
2328 +V 51
2329 +/openwrt/!svn/ver/11266/packages/net/olsrd/Makefile
2330 +END
2331 diff -Nur kamikaze_7.09-orig/package/olsrd/.svn/entries kamikaze_7.09-x86-alix/package/olsrd/.svn/entries
2332 --- kamikaze_7.09-orig/package/olsrd/.svn/entries	1970-01-01 01:00:00.000000000 +0100
2333 +++ kamikaze_7.09-x86-alix/package/olsrd/.svn/entries	2008-06-07 18:34:57.000000000 +0200
2334 @@ -0,0 +1,47 @@
2335 +8
2336 +
2337 +dir
2338 +11385
2339 +https://svn.openwrt.org/openwrt/packages/net/olsrd
2340 +https://svn.openwrt.org/openwrt
2341 +
2342 +
2343 +
2344 +2008-05-25T16:30:46.647654Z
2345 +11266
2346 +blogic
2347 +
2348 +
2349 +svn:special svn:externals svn:needs-lock
2350 +
2351 +
2352 +
2353 +
2354 +
2355 +
2356 +
2357 +
2358 +
2359 +
2360 +
2361 +3c298f89-4303-0410-b956-a3cf2f4a3e73
2362 +
2363 +files
2364 +dir
2365 +
2366 +patches
2367 +dir
2368 +
2369 +Makefile
2370 +file
2371 +
2372 +
2373 +
2374 +
2375 +2008-06-07T16:34:57.000000Z
2376 +4236d2927a29d0c423f1b2f96d95adfa
2377 +2008-05-25T16:30:46.647654Z
2378 +11266
2379 +blogic
2380 +has-props
2381 +
2382 diff -Nur kamikaze_7.09-orig/package/olsrd/.svn/format kamikaze_7.09-x86-alix/package/olsrd/.svn/format
2383 --- kamikaze_7.09-orig/package/olsrd/.svn/format	1970-01-01 01:00:00.000000000 +0100
2384 +++ kamikaze_7.09-x86-alix/package/olsrd/.svn/format	2008-06-07 04:27:32.000000000 +0200
2385 @@ -0,0 +1 @@
2386 +8
2387 diff -Nur kamikaze_7.09-orig/package/olsrd/.svn/prop-base/Makefile.svn-base kamikaze_7.09-x86-alix/package/olsrd/.svn/prop-base/Makefile.svn-base
2388 --- kamikaze_7.09-orig/package/olsrd/.svn/prop-base/Makefile.svn-base	1970-01-01 01:00:00.000000000 +0100
2389 +++ kamikaze_7.09-x86-alix/package/olsrd/.svn/prop-base/Makefile.svn-base	2008-06-07 04:27:32.000000000 +0200
2390 @@ -0,0 +1,17 @@
2391 +K 9
2392 +copyright
2393 +V 30
2394 +Copyright (C) 2006 OpenWrt.org
2395 +K 7
2396 +licence
2397 +V 5
2398 +GPLv2
2399 +K 13
2400 +svn:eol-style
2401 +V 6
2402 +native
2403 +K 12
2404 +svn:keywords
2405 +V 23
2406 +Author Date Id Revision
2407 +END
2408 diff -Nur kamikaze_7.09-orig/package/olsrd/.svn/text-base/Makefile.svn-base kamikaze_7.09-x86-alix/package/olsrd/.svn/text-base/Makefile.svn-base
2409 --- kamikaze_7.09-orig/package/olsrd/.svn/text-base/Makefile.svn-base	1970-01-01 01:00:00.000000000 +0100
2410 +++ kamikaze_7.09-x86-alix/package/olsrd/.svn/text-base/Makefile.svn-base	2008-06-07 04:27:32.000000000 +0200
2411 @@ -0,0 +1,163 @@
2412 +# 
2413 +# Copyright (C) 2007 OpenWrt.org
2414 +#
2415 +# This is free software, licensed under the GNU General Public License v2.
2416 +# See /LICENSE for more information.
2417 +#
2418 +# $Id$
2419 +
2420 +include $(TOPDIR)/rules.mk
2421 +
2422 +PKG_NAME:=olsrd
2423 +PKG_VERSION:=0.5.6-rc4
2424 +PKG_RELEASE:=1
2425 +
2426 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/
2427 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
2428 +PKG_SOURCE_URL:=http://www.olsr.org/releases/0.5
2429 +PKG_MD5SUM:=c7187a3a11e61ca9a2b5881ab7c92ea5
2430 +
2431 +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
2432 +
2433 +include $(INCLUDE_DIR)/package.mk
2434 +
2435 +define Package/olsrd/template
2436 +  SECTION:=net
2437 +  CATEGORY:=Network
2438 +  TITLE:=OLSR (Optimized Link State Routing) daemon
2439 +  URL:=http://www.olsr.org/
2440 +  MENU:=1
2441 +endef
2442 +
2443 +define Package/olsrd
2444 +  $(call Package/olsrd/template)
2445 +  MENU:=1
2446 +endef
2447 +
2448 +define Package/olsrd/conffiles
2449 +/etc/olsrd.conf
2450 +endef
2451 +
2452 +define Package/olsrd-mod-dot-draw
2453 +  $(call Package/olsrd/template)
2454 +  DEPENDS:=olsrd
2455 +  TITLE:=Dot topology information plugin
2456 +endef
2457 +
2458 +define Package/olsrd-mod-bmf
2459 +  $(call Package/olsrd/template)
2460 +  DEPENDS:=olsrd +libpthread +kmod-tun
2461 +  TITLE:=Basic multicast forwarding plugin
2462 +endef
2463 +
2464 +define Package/olsrd-mod-dyn-gw
2465 +  $(call Package/olsrd/template)
2466 +  DEPENDS:=olsrd +libpthread
2467 +  TITLE:=Dynamic internet gateway plugin
2468 +endef
2469 +
2470 +define Package/olsrd-mod-httpinfo
2471 +  $(call Package/olsrd/template)
2472 +  DEPENDS:=olsrd
2473 +  TITLE:=Small informative web server plugin
2474 +endef
2475 +
2476 +define Package/olsrd-mod-nameservice
2477 +  $(call Package/olsrd/template)
2478 +  DEPENDS:=olsrd
2479 +  TITLE:=Lightweight hostname resolver plugin
2480 +endef
2481 +
2482 +define Package/olsrd-mod-secure
2483 +  $(call Package/olsrd/template)
2484 +  DEPENDS:=olsrd
2485 +  TITLE:=Message signing plugin to secure routing domain
2486 +endef
2487 +
2488 +define Package/olsrd-mod-txtinfo
2489 +  $(call Package/olsrd/template)
2490 +  DEPENDS:=olsrd
2491 +  TITLE:=Small informative web server plugin
2492 +endef
2493 +
2494 +define Package/olsrd-mod-secure/conffiles
2495 +/etc/olsrd.d/olsrd_secure_key
2496 +endef
2497 +
2498 +define Build/Configure
2499 +endef
2500 +
2501 +define Build/Compile
2502 +	rm -rf $(PKG_INSTALL_DIR)
2503 +	mkdir -p $(PKG_INSTALL_DIR)
2504 +	$(MAKE) -C "$(PKG_BUILD_DIR)" \
2505 +		$(TARGET_CONFIGURE_OPTS) \
2506 +		NODEBUG=1 \
2507 +		CFLAGS="$(TARGET_CFLAGS)" \
2508 +		OS="linux" \
2509 +		INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \
2510 +		LIBDIR="$(PKG_INSTALL_DIR)/usr/lib" \
2511 +		SBINDIR="$(PKG_INSTALL_DIR)/usr/sbin/" \
2512 +		ETCDIR="$(PKG_INSTALL_DIR)/etc" \
2513 +		MANDIR="$(PKG_INSTALL_DIR)/usr/share/man" \
2514 +		STRIP="true" \
2515 +		INSTALL_LIB="true" \
2516 +		SUBDIRS="bmf dot_draw dyn_gw httpinfo nameservice secure txtinfo" \
2517 +		all libs install install_libs
2518 +endef
2519 +
2520 +define Package/olsrd/install
2521 +	$(INSTALL_DIR) $(1)/etc/config
2522 +	$(INSTALL_DATA) ./files/olsr.config $(1)/etc/config/olsr
2523 +	$(INSTALL_DATA) $(PKG_BUILD_DIR)/src/cfgparser/olsrd.conf.example $(1)/etc/olsrd.conf
2524 +	$(INSTALL_DIR) $(1)/usr/sbin
2525 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/olsrd $(1)/usr/sbin/
2526 +	$(INSTALL_DIR) $(1)/etc/init.d
2527 +	$(INSTALL_BIN) ./files/olsrd.init $(1)/etc/init.d/olsrd
2528 +endef
2529 +
2530 +define Package/olsrd-mod-dot-draw/install
2531 +	$(INSTALL_DIR) $(1)/usr/lib
2532 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/dot_draw/olsrd_dot_draw.so.* $(1)/usr/lib/
2533 +endef
2534 +
2535 +define Package/olsrd-mod-bmf/install
2536 +	$(INSTALL_DIR) $(1)/usr/lib
2537 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/bmf/olsrd_bmf.so.* $(1)/usr/lib/
2538 +endef
2539 +
2540 +define Package/olsrd-mod-dyn-gw/install
2541 +	$(INSTALL_DIR) $(1)/usr/lib
2542 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/dyn_gw/olsrd_dyn_gw.so.* $(1)/usr/lib/
2543 +endef
2544 +
2545 +define Package/olsrd-mod-httpinfo/install
2546 +	$(INSTALL_DIR) $(1)/usr/lib
2547 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/httpinfo/olsrd_httpinfo.so.* $(1)/usr/lib/
2548 +endef
2549 +
2550 +define Package/olsrd-mod-nameservice/install
2551 +	$(INSTALL_DIR) $(1)/usr/lib
2552 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/nameservice/olsrd_nameservice.so.* $(1)/usr/lib/
2553 +endef
2554 +
2555 +define Package/olsrd-mod-secure/install
2556 +	$(INSTALL_DIR) $(1)/etc/olsrd.d
2557 +	$(CP) ./files/olsrd_secure_key $(1)/etc/olsrd.d/
2558 +	$(INSTALL_DIR) $(1)/usr/lib
2559 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/secure/olsrd_secure.so.* $(1)/usr/lib/
2560 +endef
2561 +
2562 +define Package/olsrd-mod-txtinfo/install
2563 +	$(INSTALL_DIR) $(1)/usr/lib
2564 +	$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/txtinfo/olsrd_txtinfo.so.* $(1)/usr/lib/
2565 +endef
2566 +
2567 +$(eval $(call BuildPackage,olsrd))
2568 +$(eval $(call BuildPackage,olsrd-mod-dot-draw))
2569 +$(eval $(call BuildPackage,olsrd-mod-bmf))
2570 +$(eval $(call BuildPackage,olsrd-mod-dyn-gw))
2571 +$(eval $(call BuildPackage,olsrd-mod-httpinfo))
2572 +$(eval $(call BuildPackage,olsrd-mod-nameservice))
2573 +$(eval $(call BuildPackage,olsrd-mod-secure))
2574 +$(eval $(call BuildPackage,olsrd-mod-txtinfo))
2575 diff -Nur kamikaze_7.09-orig/package/openvpn/files/openvpn.default kamikaze_7.09-x86-alix/package/openvpn/files/openvpn.default
2576 --- kamikaze_7.09-orig/package/openvpn/files/openvpn.default	1970-01-01 01:00:00.000000000 +0100
2577 +++ kamikaze_7.09-x86-alix/package/openvpn/files/openvpn.default	2008-06-07 18:38:08.000000000 +0200
2578 @@ -0,0 +1,2 @@
2579 +CONFIG="/etc/openvpn/server.conf"
2580 +OPTIONS="--config $CONFIG"
2581 diff -Nur kamikaze_7.09-orig/package/openvpn/files/openvpn.init kamikaze_7.09-x86-alix/package/openvpn/files/openvpn.init
2582 --- kamikaze_7.09-orig/package/openvpn/files/openvpn.init	1970-01-01 01:00:00.000000000 +0100
2583 +++ kamikaze_7.09-x86-alix/package/openvpn/files/openvpn.init	2008-06-07 18:38:08.000000000 +0200
2584 @@ -0,0 +1,18 @@
2585 +#!/bin/sh /etc/rc.common
2586 +# Copyright (C) 2007 OpenWrt.org
2587 +
2588 +START=70
2589 +BIN=openvpn
2590 +DEFAULT=/etc/default/$BIN
2591 +RUN_D=/var/run
2592 +PID_F=$RUN_D/$BIN.pid
2593 +
2594 +start() {
2595 +	[ -f $DEFAULT ] && . $DEFAULT
2596 +	mkdir -p $RUN_D
2597 +	$BIN --writepid $RUN_D/$BIN.pid --daemon $OPTIONS
2598 +}
2599 +
2600 +stop() {
2601 +	[ -f $PID_F ] && kill $(cat $PID_F)
2602 +}
2603 diff -Nur kamikaze_7.09-orig/package/openvpn/files/.svn/all-wcprops kamikaze_7.09-x86-alix/package/openvpn/files/.svn/all-wcprops
2604 --- kamikaze_7.09-orig/package/openvpn/files/.svn/all-wcprops	1970-01-01 01:00:00.000000000 +0100
2605 +++ kamikaze_7.09-x86-alix/package/openvpn/files/.svn/all-wcprops	2008-06-07 18:38:08.000000000 +0200
2606 @@ -0,0 +1,17 @@
2607 +K 25
2608 +svn:wc:ra_dav:version-url
2609 +V 49
2610 +/openwrt/!svn/ver/8576/packages/net/openvpn/files
2611 +END
2612 +openvpn.init
2613 +K 25
2614 +svn:wc:ra_dav:version-url
2615 +V 62
2616 +/openwrt/!svn/ver/8576/packages/net/openvpn/files/openvpn.init
2617 +END
2618 +openvpn.default
2619 +K 25
2620 +svn:wc:ra_dav:version-url
2621 +V 65
2622 +/openwrt/!svn/ver/8576/packages/net/openvpn/files/openvpn.default
2623 +END
2624 diff -Nur kamikaze_7.09-orig/package/openvpn/files/.svn/entries kamikaze_7.09-x86-alix/package/openvpn/files/.svn/entries
2625 --- kamikaze_7.09-orig/package/openvpn/files/.svn/entries	1970-01-01 01:00:00.000000000 +0100
2626 +++ kamikaze_7.09-x86-alix/package/openvpn/files/.svn/entries	2008-06-07 18:38:08.000000000 +0200
2627 @@ -0,0 +1,52 @@
2628 +8
2629 +
2630 +dir
2631 +11396
2632 +https://svn.openwrt.org/openwrt/packages/net/openvpn/files
2633 +https://svn.openwrt.org/openwrt
2634 +
2635 +
2636 +
2637 +2007-09-02T19:36:06.877864Z
2638 +8576
2639 +florian
2640 +
2641 +
2642 +svn:special svn:externals svn:needs-lock
2643 +
2644 +
2645 +
2646 +
2647 +
2648 +
2649 +
2650 +
2651 +
2652 +
2653 +
2654 +3c298f89-4303-0410-b956-a3cf2f4a3e73
2655 +
2656 +openvpn.init
2657 +file
2658 +
2659 +
2660 +
2661 +
2662 +2008-06-07T16:38:08.000000Z
2663 +06c667e15972e2dd963f8831022bcb00
2664 +2007-09-02T19:36:06.877864Z
2665 +8576
2666 +florian
2667 +
2668 +openvpn.default
2669 +file
2670 +
2671 +
2672 +
2673 +
2674 +2008-06-07T16:38:08.000000Z
2675 +727e145ac361504bafc601b2da1d9061
2676 +2007-09-02T19:36:06.877864Z
2677 +8576
2678 +florian
2679 +
2680 diff -Nur kamikaze_7.09-orig/package/openvpn/files/.svn/format kamikaze_7.09-x86-alix/package/openvpn/files/.svn/format
2681 --- kamikaze_7.09-orig/package/openvpn/files/.svn/format	1970-01-01 01:00:00.000000000 +0100
2682 +++ kamikaze_7.09-x86-alix/package/openvpn/files/.svn/format	2008-06-07 18:38:08.000000000 +0200
2683 @@ -0,0 +1 @@
2684 +8
2685 diff -Nur kamikaze_7.09-orig/package/openvpn/files/.svn/text-base/openvpn.default.svn-base kamikaze_7.09-x86-alix/package/openvpn/files/.svn/text-base/openvpn.default.svn-base
2686 --- kamikaze_7.09-orig/package/openvpn/files/.svn/text-base/openvpn.default.svn-base	1970-01-01 01:00:00.000000000 +0100
2687 +++ kamikaze_7.09-x86-alix/package/openvpn/files/.svn/text-base/openvpn.default.svn-base	2008-06-07 18:38:08.000000000 +0200
2688 @@ -0,0 +1,2 @@
2689 +CONFIG="/etc/openvpn/server.conf"
2690 +OPTIONS="--config $CONFIG"
2691 diff -Nur kamikaze_7.09-orig/package/openvpn/files/.svn/text-base/openvpn.init.svn-base kamikaze_7.09-x86-alix/package/openvpn/files/.svn/text-base/openvpn.init.svn-base
2692 --- kamikaze_7.09-orig/package/openvpn/files/.svn/text-base/openvpn.init.svn-base	1970-01-01 01:00:00.000000000 +0100
2693 +++ kamikaze_7.09-x86-alix/package/openvpn/files/.svn/text-base/openvpn.init.svn-base	2008-06-07 18:38:08.000000000 +0200
2694 @@ -0,0 +1,18 @@
2695 +#!/bin/sh /etc/rc.common
2696 +# Copyright (C) 2007 OpenWrt.org
2697 +
2698 +START=70
2699 +BIN=openvpn
2700 +DEFAULT=/etc/default/$BIN
2701 +RUN_D=/var/run
2702 +PID_F=$RUN_D/$BIN.pid
2703 +
2704 +start() {
2705 +	[ -f $DEFAULT ] && . $DEFAULT
2706 +	mkdir -p $RUN_D
2707 +	$BIN --writepid $RUN_D/$BIN.pid --daemon $OPTIONS
2708 +}
2709 +
2710 +stop() {
2711 +	[ -f $PID_F ] && kill $(cat $PID_F)
2712 +}
2713 diff -Nur kamikaze_7.09-orig/package/openvpn/Makefile kamikaze_7.09-x86-alix/package/openvpn/Makefile
2714 --- kamikaze_7.09-orig/package/openvpn/Makefile	1970-01-01 01:00:00.000000000 +0100
2715 +++ kamikaze_7.09-x86-alix/package/openvpn/Makefile	2008-06-07 18:47:54.000000000 +0200
2716 @@ -0,0 +1,79 @@
2717 +#
2718 +# Copyright (C) 2006 OpenWrt.org
2719 +#
2720 +# This is free software, licensed under the GNU General Public License v2.
2721 +# See /LICENSE for more information.
2722 +#
2723 +# $Id: Makefile 9974 2007-12-28 13:31:04Z nix $
2724 +
2725 +include $(TOPDIR)/rules.mk
2726 +
2727 +PKG_NAME:=openvpn
2728 +PKG_VERSION:=2.0.9
2729 +PKG_RELEASE:=2
2730 +
2731 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
2732 +PKG_SOURCE_URL:=http://openvpn.net/release @SF/openvpn
2733 +PKG_MD5SUM:=60745008b90b7dbe25fe8337c550fec6
2734 +
2735 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
2736 +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
2737 +
2738 +include $(INCLUDE_DIR)/package.mk
2739 +
2740 +define Package/openvpn
2741 +  SECTION:=net
2742 +  CATEGORY:=Network
2743 +  DEPENDS:=+kmod-tun +libopenssl
2744 +  TITLE:=Open source VPN solution using SSL
2745 +  URL:=http://openvpn.net
2746 +  SUBMENU:=VPN
2747 +endef
2748 +
2749 +define Package/openvpn/description
2750 +	 Open source VPN solution using SSL
2751 +endef
2752 +
2753 +define Package/openvpn-easy-rsa
2754 +  $(call Package/openvpn)
2755 +  DEPENDS:=openvpn +openssl-util
2756 +  TITLE:=Simple shell scripts to manage a Certificate Authority
2757 +endef
2758 +
2759 +define Build/Configure
2760 +	$(call Build/Configure/Default, \
2761 +		--disable-pthread \
2762 +		--disable-debug \
2763 +		--disable-plugins \
2764 +		--enable-management \
2765 +		--disable-socks \
2766 +                --disable-lzo \
2767 +		--enable-password-save \
2768 +	)
2769 +endef
2770 +
2771 +define Build/Compile	
2772 +	$(MAKE) -C $(PKG_BUILD_DIR) \
2773 +		DESTDIR="$(PKG_INSTALL_DIR)" \
2774 +		all install
2775 +endef
2776 +
2777 +define Package/openvpn/install	
2778 +	$(INSTALL_DIR) $(1)/usr/sbin
2779 +	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/openvpn $(1)/usr/sbin/
2780 +	$(INSTALL_DIR) $(1)/etc/init.d/
2781 +	$(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
2782 +	$(INSTALL_DIR) $(1)/etc/default
2783 +	$(INSTALL_BIN) files/$(PKG_NAME).default $(1)/etc/default/$(PKG_NAME)
2784 +endef
2785 +
2786 +define Package/openvpn-easy-rsa/install	
2787 +	$(INSTALL_DIR) $(1)/usr/sbin
2788 +	$(CP) $(PKG_BUILD_DIR)/easy-rsa/2.0/{build-*,clean-all,inherit-inter,list-crl,pkitool,revoke-full,sign-req,whichopensslcnf} $(1)/usr/sbin/
2789 +	$(INSTALL_DIR) $(1)/etc/easy-rsa
2790 +	install -m 0644 $(PKG_BUILD_DIR)/easy-rsa/2.0/openssl.cnf $(1)/etc/easy-rsa/openssl.cnf
2791 +	install -m 0644 $(PKG_BUILD_DIR)/easy-rsa/2.0/vars $(1)/etc/easy-rsa/vars
2792 +endef
2793 +
2794 +$(eval $(call BuildPackage,openvpn))
2795 +$(eval $(call BuildPackage,openvpn-easy-rsa))
2796 diff -Nur kamikaze_7.09-orig/package/openvpn/patches/001-easy_rsa.patch kamikaze_7.09-x86-alix/package/openvpn/patches/001-easy_rsa.patch
2797 --- kamikaze_7.09-orig/package/openvpn/patches/001-easy_rsa.patch	1970-01-01 01:00:00.000000000 +0100
2798 +++ kamikaze_7.09-x86-alix/package/openvpn/patches/001-easy_rsa.patch	2008-06-07 18:38:08.000000000 +0200
2799 @@ -0,0 +1,249 @@
2800 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-ca openvpn-2.0.7/easy-rsa/2.0/build-ca
2801 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-ca	2005-11-02 19:42:38.000000000 +0100
2802 ++++ openvpn-2.0.7/easy-rsa/2.0/build-ca	2006-05-09 17:47:40.000000000 +0200
2803 +@@ -1,4 +1,4 @@
2804 +-#!/bin/bash
2805 ++#!/bin/sh
2806 + 
2807 + #
2808 + # Build a root certificate
2809 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-dh openvpn-2.0.7/easy-rsa/2.0/build-dh
2810 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-dh	2005-11-02 19:42:39.000000000 +0100
2811 ++++ openvpn-2.0.7/easy-rsa/2.0/build-dh	2006-05-09 17:47:40.000000000 +0200
2812 +@@ -1,4 +1,6 @@
2813 +-#!/bin/bash
2814 ++#!/bin/sh
2815 ++
2816 ++. /etc/easy-rsa/vars
2817 + 
2818 + # Build Diffie-Hellman parameters for the server side
2819 + # of an SSL/TLS connection.
2820 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-inter openvpn-2.0.7/easy-rsa/2.0/build-inter
2821 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-inter	2005-11-02 19:42:39.000000000 +0100
2822 ++++ openvpn-2.0.7/easy-rsa/2.0/build-inter	2006-05-09 17:47:40.000000000 +0200
2823 +@@ -1,4 +1,4 @@
2824 +-#!/bin/bash
2825 ++#!/bin/sh
2826 + 
2827 + # Make an intermediate CA certificate/private key pair using a locally generated
2828 + # root certificate.
2829 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-key openvpn-2.0.7/easy-rsa/2.0/build-key
2830 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-key	2005-11-02 19:42:39.000000000 +0100
2831 ++++ openvpn-2.0.7/easy-rsa/2.0/build-key	2006-05-09 17:47:40.000000000 +0200
2832 +@@ -1,4 +1,4 @@
2833 +-#!/bin/bash
2834 ++#!/bin/sh
2835 + 
2836 + # Make a certificate/private key pair using a locally generated
2837 + # root certificate.
2838 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-key-pass openvpn-2.0.7/easy-rsa/2.0/build-key-pass
2839 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-key-pass	2005-11-02 19:42:39.000000000 +0100
2840 ++++ openvpn-2.0.7/easy-rsa/2.0/build-key-pass	2006-05-09 17:47:40.000000000 +0200
2841 +@@ -1,4 +1,4 @@
2842 +-#!/bin/bash
2843 ++#!/bin/sh
2844 + 
2845 + # Similar to build-key, but protect the private key
2846 + # with a password.
2847 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-key-pkcs12 openvpn-2.0.7/easy-rsa/2.0/build-key-pkcs12
2848 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-key-pkcs12	2005-11-02 19:42:39.000000000 +0100
2849 ++++ openvpn-2.0.7/easy-rsa/2.0/build-key-pkcs12	2006-05-09 17:47:40.000000000 +0200
2850 +@@ -1,4 +1,4 @@
2851 +-#!/bin/bash
2852 ++#!/bin/sh
2853 + 
2854 + # Make a certificate/private key pair using a locally generated
2855 + # root certificate and convert it to a PKCS #12 file including the
2856 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-key-server openvpn-2.0.7/easy-rsa/2.0/build-key-server
2857 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-key-server	2005-11-02 19:42:39.000000000 +0100
2858 ++++ openvpn-2.0.7/easy-rsa/2.0/build-key-server	2006-05-09 17:47:40.000000000 +0200
2859 +@@ -1,4 +1,4 @@
2860 +-#!/bin/bash
2861 ++#!/bin/sh
2862 + 
2863 + # Make a certificate/private key pair using a locally generated
2864 + # root certificate.
2865 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-req openvpn-2.0.7/easy-rsa/2.0/build-req
2866 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-req	2005-11-02 19:42:38.000000000 +0100
2867 ++++ openvpn-2.0.7/easy-rsa/2.0/build-req	2006-05-09 17:47:40.000000000 +0200
2868 +@@ -1,4 +1,4 @@
2869 +-#!/bin/bash
2870 ++#!/bin/sh
2871 + 
2872 + # Build a certificate signing request and private key.  Use this
2873 + # when your root certificate and key is not available locally.
2874 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-req-pass openvpn-2.0.7/easy-rsa/2.0/build-req-pass
2875 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-req-pass	2005-11-02 19:42:39.000000000 +0100
2876 ++++ openvpn-2.0.7/easy-rsa/2.0/build-req-pass	2006-05-09 17:47:40.000000000 +0200
2877 +@@ -1,4 +1,4 @@
2878 +-#!/bin/bash
2879 ++#!/bin/sh
2880 + 
2881 + # Like build-req, but protect your private key
2882 + # with a password.
2883 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/clean-all openvpn-2.0.7/easy-rsa/2.0/clean-all
2884 +--- openvpn-2.0.7.orig/easy-rsa/2.0/clean-all	2005-11-02 19:42:39.000000000 +0100
2885 ++++ openvpn-2.0.7/easy-rsa/2.0/clean-all	2006-05-09 17:47:40.000000000 +0200
2886 +@@ -1,4 +1,6 @@
2887 +-#!/bin/bash
2888 ++#!/bin/sh
2889 ++
2890 ++. /etc/easy-rsa/vars
2891 + 
2892 + # Initialize the $KEY_DIR directory.
2893 + # Note that this script does a
2894 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/inherit-inter openvpn-2.0.7/easy-rsa/2.0/inherit-inter
2895 +--- openvpn-2.0.7.orig/easy-rsa/2.0/inherit-inter	2005-11-02 19:42:38.000000000 +0100
2896 ++++ openvpn-2.0.7/easy-rsa/2.0/inherit-inter	2006-05-09 17:47:40.000000000 +0200
2897 +@@ -1,4 +1,6 @@
2898 +-#!/bin/bash
2899 ++#!/bin/sh
2900 ++
2901 ++. /etc/easy-rsa/vars
2902 + 
2903 + # Build a new PKI which is rooted on an intermediate certificate generated
2904 + # by ./build-inter or ./pkitool --inter from a parent PKI.  The new PKI should
2905 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/list-crl openvpn-2.0.7/easy-rsa/2.0/list-crl
2906 +--- openvpn-2.0.7.orig/easy-rsa/2.0/list-crl	2005-11-02 19:42:39.000000000 +0100
2907 ++++ openvpn-2.0.7/easy-rsa/2.0/list-crl	2006-05-09 17:47:40.000000000 +0200
2908 +@@ -1,4 +1,6 @@
2909 +-#!/bin/bash
2910 ++#!/bin/sh
2911 ++
2912 ++. /etc/easy-rsa/vars
2913 + 
2914 + # list revoked certificates
2915 + 
2916 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/pkitool openvpn-2.0.7/easy-rsa/2.0/pkitool
2917 +--- openvpn-2.0.7.orig/easy-rsa/2.0/pkitool	2005-11-02 19:42:38.000000000 +0100
2918 ++++ openvpn-2.0.7/easy-rsa/2.0/pkitool	2006-05-09 17:47:40.000000000 +0200
2919 +@@ -1,5 +1,7 @@
2920 + #!/bin/sh
2921 + 
2922 ++. /etc/easy-rsa/vars
2923 ++
2924 + #  OpenVPN -- An application to securely tunnel IP networks
2925 + #             over a single TCP/UDP port, with support for SSL/TLS-based
2926 + #             session authentication and key exchange,
2927 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/revoke-full openvpn-2.0.7/easy-rsa/2.0/revoke-full
2928 +--- openvpn-2.0.7.orig/easy-rsa/2.0/revoke-full	2005-11-02 19:42:39.000000000 +0100
2929 ++++ openvpn-2.0.7/easy-rsa/2.0/revoke-full	2006-05-09 17:47:40.000000000 +0200
2930 +@@ -1,4 +1,6 @@
2931 +-#!/bin/bash
2932 ++#!/bin/sh
2933 ++
2934 ++. /etc/easy-rsa/vars
2935 + 
2936 + # revoke a certificate, regenerate CRL,
2937 + # and verify revocation
2938 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/sign-req openvpn-2.0.7/easy-rsa/2.0/sign-req
2939 +--- openvpn-2.0.7.orig/easy-rsa/2.0/sign-req	2005-11-02 19:42:39.000000000 +0100
2940 ++++ openvpn-2.0.7/easy-rsa/2.0/sign-req	2006-05-09 17:47:40.000000000 +0200
2941 +@@ -1,4 +1,4 @@
2942 +-#!/bin/bash
2943 ++#!/bin/sh
2944 + 
2945 + # Sign a certificate signing request (a .csr file)
2946 + # with a local root certificate and key.
2947 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/vars openvpn-2.0.7/easy-rsa/2.0/vars
2948 +--- openvpn-2.0.7.orig/easy-rsa/2.0/vars	2005-11-02 19:42:39.000000000 +0100
2949 ++++ openvpn-2.0.7/easy-rsa/2.0/vars	2006-05-09 17:47:40.000000000 +0200
2950 +@@ -12,7 +12,7 @@
2951 + # This variable should point to
2952 + # the top level of the easy-rsa
2953 + # tree.
2954 +-export EASY_RSA="`pwd`"
2955 ++export EASY_RSA="/etc/easy-rsa"
2956 + 
2957 + #
2958 + # This variable should point to
2959 +@@ -26,7 +26,7 @@
2960 + # This variable should point to
2961 + # the openssl.cnf file included
2962 + # with easy-rsa.
2963 +-export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA`
2964 ++export KEY_CONFIG=`/usr/sbin/whichopensslcnf $EASY_RSA`
2965 + 
2966 + # Edit this variable to point to
2967 + # your soon-to-be-created key
2968 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-ca openvpn-2.0.9/easy-rsa/2.0/build-ca
2969 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-ca	2007-06-18 01:20:36.000000000 +0200
2970 ++++ openvpn-2.0.9/easy-rsa/2.0/build-ca	2007-06-18 01:21:07.000000000 +0200
2971 +@@ -5,4 +5,4 @@
2972 + #
2973 + 
2974 + export EASY_RSA="${EASY_RSA:-.}"
2975 +-"$EASY_RSA/pkitool" --interact --initca $*
2976 ++"/usr/sbin/pkitool" --interact --initca $*
2977 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-inter openvpn-2.0.9/easy-rsa/2.0/build-inter
2978 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-inter	2007-06-18 01:20:36.000000000 +0200
2979 ++++ openvpn-2.0.9/easy-rsa/2.0/build-inter	2007-06-18 01:21:19.000000000 +0200
2980 +@@ -4,4 +4,4 @@
2981 + # root certificate.
2982 + 
2983 + export EASY_RSA="${EASY_RSA:-.}"
2984 +-"$EASY_RSA/pkitool" --interact --inter $*
2985 ++"/usr/sbin/pkitool" --interact --inter $*
2986 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-key openvpn-2.0.9/easy-rsa/2.0/build-key
2987 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-key	2007-06-18 01:20:36.000000000 +0200
2988 ++++ openvpn-2.0.9/easy-rsa/2.0/build-key	2007-06-18 01:21:32.000000000 +0200
2989 +@@ -4,4 +4,4 @@
2990 + # root certificate.
2991 + 
2992 + export EASY_RSA="${EASY_RSA:-.}"
2993 +-"$EASY_RSA/pkitool" --interact $*
2994 ++"/usr/sbin/pkitool" --interact $*
2995 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-key-pass openvpn-2.0.9/easy-rsa/2.0/build-key-pass
2996 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-key-pass	2007-06-18 01:20:36.000000000 +0200
2997 ++++ openvpn-2.0.9/easy-rsa/2.0/build-key-pass	2007-06-18 01:21:45.000000000 +0200
2998 +@@ -4,4 +4,4 @@
2999 + # with a password.
3000 + 
3001 + export EASY_RSA="${EASY_RSA:-.}"
3002 +-"$EASY_RSA/pkitool" --interact --pass $*
3003 ++"/usr/sbin/pkitool" --interact --pass $*
3004 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-key-pkcs12 openvpn-2.0.9/easy-rsa/2.0/build-key-pkcs12
3005 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-key-pkcs12	2007-06-18 01:20:36.000000000 +0200
3006 ++++ openvpn-2.0.9/easy-rsa/2.0/build-key-pkcs12	2007-06-18 01:21:57.000000000 +0200
3007 +@@ -5,4 +5,4 @@
3008 + # the CA certificate as well.
3009 + 
3010 + export EASY_RSA="${EASY_RSA:-.}"
3011 +-"$EASY_RSA/pkitool" --interact --pkcs12 $*
3012 ++"/usr/sbin/pkitool" --interact --pkcs12 $*
3013 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-key-server openvpn-2.0.9/easy-rsa/2.0/build-key-server
3014 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-key-server	2007-06-18 01:20:36.000000000 +0200
3015 ++++ openvpn-2.0.9/easy-rsa/2.0/build-key-server	2007-06-18 01:22:09.000000000 +0200
3016 +@@ -7,4 +7,4 @@
3017 + # extension in the openssl.cnf file.
3018 + 
3019 + export EASY_RSA="${EASY_RSA:-.}"
3020 +-"$EASY_RSA/pkitool" --interact --server $*
3021 ++"/usr/sbin/pkitool" --interact --server $*
3022 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-req openvpn-2.0.9/easy-rsa/2.0/build-req
3023 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-req	2007-06-18 01:20:36.000000000 +0200
3024 ++++ openvpn-2.0.9/easy-rsa/2.0/build-req	2007-06-18 01:22:27.000000000 +0200
3025 +@@ -4,4 +4,4 @@
3026 + # when your root certificate and key is not available locally.
3027 + 
3028 + export EASY_RSA="${EASY_RSA:-.}"
3029 +-"$EASY_RSA/pkitool" --interact --csr $*
3030 ++"/usr/sbin/pkitool" --interact --csr $*
3031 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-req-pass openvpn-2.0.9/easy-rsa/2.0/build-req-pass
3032 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-req-pass	2007-06-18 01:20:36.000000000 +0200
3033 ++++ openvpn-2.0.9/easy-rsa/2.0/build-req-pass	2007-06-18 01:22:38.000000000 +0200
3034 +@@ -4,4 +4,4 @@
3035 + # with a password.
3036 + 
3037 + export EASY_RSA="${EASY_RSA:-.}"
3038 +-"$EASY_RSA/pkitool" --interact --csr --pass $*
3039 ++"/usr/sbin/pkitool" --interact --csr --pass $*
3040 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/sign-req openvpn-2.0.9/easy-rsa/2.0/sign-req
3041 +--- openvpn-2.0.9.orig/easy-rsa/2.0/sign-req	2007-06-18 01:20:36.000000000 +0200
3042 ++++ openvpn-2.0.9/easy-rsa/2.0/sign-req	2007-06-18 01:22:53.000000000 +0200
3043 +@@ -4,4 +4,4 @@
3044 + # with a local root certificate and key.
3045 + 
3046 + export EASY_RSA="${EASY_RSA:-.}"
3047 +-"$EASY_RSA/pkitool" --interact --sign $*
3048 ++"/usr/sbin/pkitool" --interact --sign $*
3049 diff -Nur kamikaze_7.09-orig/package/openvpn/patches/.svn/all-wcprops kamikaze_7.09-x86-alix/package/openvpn/patches/.svn/all-wcprops
3050 --- kamikaze_7.09-orig/package/openvpn/patches/.svn/all-wcprops	1970-01-01 01:00:00.000000000 +0100
3051 +++ kamikaze_7.09-x86-alix/package/openvpn/patches/.svn/all-wcprops	2008-06-07 18:38:08.000000000 +0200
3052 @@ -0,0 +1,11 @@
3053 +K 25
3054 +svn:wc:ra_dav:version-url
3055 +V 51
3056 +/openwrt/!svn/ver/7657/packages/net/openvpn/patches
3057 +END
3058 +001-easy_rsa.patch
3059 +K 25
3060 +svn:wc:ra_dav:version-url
3061 +V 70
3062 +/openwrt/!svn/ver/7657/packages/net/openvpn/patches/001-easy_rsa.patch
3063 +END
3064 diff -Nur kamikaze_7.09-orig/package/openvpn/patches/.svn/entries kamikaze_7.09-x86-alix/package/openvpn/patches/.svn/entries
3065 --- kamikaze_7.09-orig/package/openvpn/patches/.svn/entries	1970-01-01 01:00:00.000000000 +0100
3066 +++ kamikaze_7.09-x86-alix/package/openvpn/patches/.svn/entries	2008-06-07 18:38:08.000000000 +0200
3067 @@ -0,0 +1,41 @@
3068 +8
3069 +
3070 +dir
3071 +11396
3072 +https://svn.openwrt.org/openwrt/packages/net/openvpn/patches
3073 +https://svn.openwrt.org/openwrt
3074 +
3075 +
3076 +
3077 +2007-06-17T23:25:05.723760Z
3078 +7657
3079 +blogic
3080 +
3081 +
3082 +svn:special svn:externals svn:needs-lock
3083 +
3084 +
3085 +
3086 +
3087 +
3088 +
3089 +
3090 +
3091 +
3092 +
3093 +
3094 +3c298f89-4303-0410-b956-a3cf2f4a3e73
3095 +
3096 +001-easy_rsa.patch
3097 +file
3098 +
3099 +
3100 +
3101 +
3102 +2008-06-07T16:38:08.000000Z
3103 +ed0fa753fc27ed5ec737cc150f247e8e
3104 +2007-06-17T23:25:05.723760Z
3105 +7657
3106 +blogic
3107 +has-props
3108 +
3109 diff -Nur kamikaze_7.09-orig/package/openvpn/patches/.svn/format kamikaze_7.09-x86-alix/package/openvpn/patches/.svn/format
3110 --- kamikaze_7.09-orig/package/openvpn/patches/.svn/format	1970-01-01 01:00:00.000000000 +0100
3111 +++ kamikaze_7.09-x86-alix/package/openvpn/patches/.svn/format	2008-06-07 18:38:08.000000000 +0200
3112 @@ -0,0 +1 @@
3113 +8
3114 diff -Nur kamikaze_7.09-orig/package/openvpn/patches/.svn/prop-base/001-easy_rsa.patch.svn-base kamikaze_7.09-x86-alix/package/openvpn/patches/.svn/prop-base/001-easy_rsa.patch.svn-base
3115 --- kamikaze_7.09-orig/package/openvpn/patches/.svn/prop-base/001-easy_rsa.patch.svn-base	1970-01-01 01:00:00.000000000 +0100
3116 +++ kamikaze_7.09-x86-alix/package/openvpn/patches/.svn/prop-base/001-easy_rsa.patch.svn-base	2008-06-07 18:38:08.000000000 +0200
3117 @@ -0,0 +1,5 @@
3118 +K 13
3119 +svn:eol-style
3120 +V 6
3121 +native
3122 +END
3123 diff -Nur kamikaze_7.09-orig/package/openvpn/patches/.svn/text-base/001-easy_rsa.patch.svn-base kamikaze_7.09-x86-alix/package/openvpn/patches/.svn/text-base/001-easy_rsa.patch.svn-base
3124 --- kamikaze_7.09-orig/package/openvpn/patches/.svn/text-base/001-easy_rsa.patch.svn-base	1970-01-01 01:00:00.000000000 +0100
3125 +++ kamikaze_7.09-x86-alix/package/openvpn/patches/.svn/text-base/001-easy_rsa.patch.svn-base	2008-06-07 18:38:08.000000000 +0200
3126 @@ -0,0 +1,249 @@
3127 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-ca openvpn-2.0.7/easy-rsa/2.0/build-ca
3128 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-ca	2005-11-02 19:42:38.000000000 +0100
3129 ++++ openvpn-2.0.7/easy-rsa/2.0/build-ca	2006-05-09 17:47:40.000000000 +0200
3130 +@@ -1,4 +1,4 @@
3131 +-#!/bin/bash
3132 ++#!/bin/sh
3133 + 
3134 + #
3135 + # Build a root certificate
3136 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-dh openvpn-2.0.7/easy-rsa/2.0/build-dh
3137 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-dh	2005-11-02 19:42:39.000000000 +0100
3138 ++++ openvpn-2.0.7/easy-rsa/2.0/build-dh	2006-05-09 17:47:40.000000000 +0200
3139 +@@ -1,4 +1,6 @@
3140 +-#!/bin/bash
3141 ++#!/bin/sh
3142 ++
3143 ++. /etc/easy-rsa/vars
3144 + 
3145 + # Build Diffie-Hellman parameters for the server side
3146 + # of an SSL/TLS connection.
3147 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-inter openvpn-2.0.7/easy-rsa/2.0/build-inter
3148 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-inter	2005-11-02 19:42:39.000000000 +0100
3149 ++++ openvpn-2.0.7/easy-rsa/2.0/build-inter	2006-05-09 17:47:40.000000000 +0200
3150 +@@ -1,4 +1,4 @@
3151 +-#!/bin/bash
3152 ++#!/bin/sh
3153 + 
3154 + # Make an intermediate CA certificate/private key pair using a locally generated
3155 + # root certificate.
3156 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-key openvpn-2.0.7/easy-rsa/2.0/build-key
3157 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-key	2005-11-02 19:42:39.000000000 +0100
3158 ++++ openvpn-2.0.7/easy-rsa/2.0/build-key	2006-05-09 17:47:40.000000000 +0200
3159 +@@ -1,4 +1,4 @@
3160 +-#!/bin/bash
3161 ++#!/bin/sh
3162 + 
3163 + # Make a certificate/private key pair using a locally generated
3164 + # root certificate.
3165 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-key-pass openvpn-2.0.7/easy-rsa/2.0/build-key-pass
3166 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-key-pass	2005-11-02 19:42:39.000000000 +0100
3167 ++++ openvpn-2.0.7/easy-rsa/2.0/build-key-pass	2006-05-09 17:47:40.000000000 +0200
3168 +@@ -1,4 +1,4 @@
3169 +-#!/bin/bash
3170 ++#!/bin/sh
3171 + 
3172 + # Similar to build-key, but protect the private key
3173 + # with a password.
3174 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-key-pkcs12 openvpn-2.0.7/easy-rsa/2.0/build-key-pkcs12
3175 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-key-pkcs12	2005-11-02 19:42:39.000000000 +0100
3176 ++++ openvpn-2.0.7/easy-rsa/2.0/build-key-pkcs12	2006-05-09 17:47:40.000000000 +0200
3177 +@@ -1,4 +1,4 @@
3178 +-#!/bin/bash
3179 ++#!/bin/sh
3180 + 
3181 + # Make a certificate/private key pair using a locally generated
3182 + # root certificate and convert it to a PKCS #12 file including the
3183 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-key-server openvpn-2.0.7/easy-rsa/2.0/build-key-server
3184 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-key-server	2005-11-02 19:42:39.000000000 +0100
3185 ++++ openvpn-2.0.7/easy-rsa/2.0/build-key-server	2006-05-09 17:47:40.000000000 +0200
3186 +@@ -1,4 +1,4 @@
3187 +-#!/bin/bash
3188 ++#!/bin/sh
3189 + 
3190 + # Make a certificate/private key pair using a locally generated
3191 + # root certificate.
3192 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-req openvpn-2.0.7/easy-rsa/2.0/build-req
3193 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-req	2005-11-02 19:42:38.000000000 +0100
3194 ++++ openvpn-2.0.7/easy-rsa/2.0/build-req	2006-05-09 17:47:40.000000000 +0200
3195 +@@ -1,4 +1,4 @@
3196 +-#!/bin/bash
3197 ++#!/bin/sh
3198 + 
3199 + # Build a certificate signing request and private key.  Use this
3200 + # when your root certificate and key is not available locally.
3201 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/build-req-pass openvpn-2.0.7/easy-rsa/2.0/build-req-pass
3202 +--- openvpn-2.0.7.orig/easy-rsa/2.0/build-req-pass	2005-11-02 19:42:39.000000000 +0100
3203 ++++ openvpn-2.0.7/easy-rsa/2.0/build-req-pass	2006-05-09 17:47:40.000000000 +0200
3204 +@@ -1,4 +1,4 @@
3205 +-#!/bin/bash
3206 ++#!/bin/sh
3207 + 
3208 + # Like build-req, but protect your private key
3209 + # with a password.
3210 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/clean-all openvpn-2.0.7/easy-rsa/2.0/clean-all
3211 +--- openvpn-2.0.7.orig/easy-rsa/2.0/clean-all	2005-11-02 19:42:39.000000000 +0100
3212 ++++ openvpn-2.0.7/easy-rsa/2.0/clean-all	2006-05-09 17:47:40.000000000 +0200
3213 +@@ -1,4 +1,6 @@
3214 +-#!/bin/bash
3215 ++#!/bin/sh
3216 ++
3217 ++. /etc/easy-rsa/vars
3218 + 
3219 + # Initialize the $KEY_DIR directory.
3220 + # Note that this script does a
3221 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/inherit-inter openvpn-2.0.7/easy-rsa/2.0/inherit-inter
3222 +--- openvpn-2.0.7.orig/easy-rsa/2.0/inherit-inter	2005-11-02 19:42:38.000000000 +0100
3223 ++++ openvpn-2.0.7/easy-rsa/2.0/inherit-inter	2006-05-09 17:47:40.000000000 +0200
3224 +@@ -1,4 +1,6 @@
3225 +-#!/bin/bash
3226 ++#!/bin/sh
3227 ++
3228 ++. /etc/easy-rsa/vars
3229 + 
3230 + # Build a new PKI which is rooted on an intermediate certificate generated
3231 + # by ./build-inter or ./pkitool --inter from a parent PKI.  The new PKI should
3232 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/list-crl openvpn-2.0.7/easy-rsa/2.0/list-crl
3233 +--- openvpn-2.0.7.orig/easy-rsa/2.0/list-crl	2005-11-02 19:42:39.000000000 +0100
3234 ++++ openvpn-2.0.7/easy-rsa/2.0/list-crl	2006-05-09 17:47:40.000000000 +0200
3235 +@@ -1,4 +1,6 @@
3236 +-#!/bin/bash
3237 ++#!/bin/sh
3238 ++
3239 ++. /etc/easy-rsa/vars
3240 + 
3241 + # list revoked certificates
3242 + 
3243 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/pkitool openvpn-2.0.7/easy-rsa/2.0/pkitool
3244 +--- openvpn-2.0.7.orig/easy-rsa/2.0/pkitool	2005-11-02 19:42:38.000000000 +0100
3245 ++++ openvpn-2.0.7/easy-rsa/2.0/pkitool	2006-05-09 17:47:40.000000000 +0200
3246 +@@ -1,5 +1,7 @@
3247 + #!/bin/sh
3248 + 
3249 ++. /etc/easy-rsa/vars
3250 ++
3251 + #  OpenVPN -- An application to securely tunnel IP networks
3252 + #             over a single TCP/UDP port, with support for SSL/TLS-based
3253 + #             session authentication and key exchange,
3254 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/revoke-full openvpn-2.0.7/easy-rsa/2.0/revoke-full
3255 +--- openvpn-2.0.7.orig/easy-rsa/2.0/revoke-full	2005-11-02 19:42:39.000000000 +0100
3256 ++++ openvpn-2.0.7/easy-rsa/2.0/revoke-full	2006-05-09 17:47:40.000000000 +0200
3257 +@@ -1,4 +1,6 @@
3258 +-#!/bin/bash
3259 ++#!/bin/sh
3260 ++
3261 ++. /etc/easy-rsa/vars
3262 + 
3263 + # revoke a certificate, regenerate CRL,
3264 + # and verify revocation
3265 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/sign-req openvpn-2.0.7/easy-rsa/2.0/sign-req
3266 +--- openvpn-2.0.7.orig/easy-rsa/2.0/sign-req	2005-11-02 19:42:39.000000000 +0100
3267 ++++ openvpn-2.0.7/easy-rsa/2.0/sign-req	2006-05-09 17:47:40.000000000 +0200
3268 +@@ -1,4 +1,4 @@
3269 +-#!/bin/bash
3270 ++#!/bin/sh
3271 + 
3272 + # Sign a certificate signing request (a .csr file)
3273 + # with a local root certificate and key.
3274 +diff -ur openvpn-2.0.7.orig/easy-rsa/2.0/vars openvpn-2.0.7/easy-rsa/2.0/vars
3275 +--- openvpn-2.0.7.orig/easy-rsa/2.0/vars	2005-11-02 19:42:39.000000000 +0100
3276 ++++ openvpn-2.0.7/easy-rsa/2.0/vars	2006-05-09 17:47:40.000000000 +0200
3277 +@@ -12,7 +12,7 @@
3278 + # This variable should point to
3279 + # the top level of the easy-rsa
3280 + # tree.
3281 +-export EASY_RSA="`pwd`"
3282 ++export EASY_RSA="/etc/easy-rsa"
3283 + 
3284 + #
3285 + # This variable should point to
3286 +@@ -26,7 +26,7 @@
3287 + # This variable should point to
3288 + # the openssl.cnf file included
3289 + # with easy-rsa.
3290 +-export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA`
3291 ++export KEY_CONFIG=`/usr/sbin/whichopensslcnf $EASY_RSA`
3292 + 
3293 + # Edit this variable to point to
3294 + # your soon-to-be-created key
3295 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-ca openvpn-2.0.9/easy-rsa/2.0/build-ca
3296 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-ca	2007-06-18 01:20:36.000000000 +0200
3297 ++++ openvpn-2.0.9/easy-rsa/2.0/build-ca	2007-06-18 01:21:07.000000000 +0200
3298 +@@ -5,4 +5,4 @@
3299 + #
3300 + 
3301 + export EASY_RSA="${EASY_RSA:-.}"
3302 +-"$EASY_RSA/pkitool" --interact --initca $*
3303 ++"/usr/sbin/pkitool" --interact --initca $*
3304 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-inter openvpn-2.0.9/easy-rsa/2.0/build-inter
3305 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-inter	2007-06-18 01:20:36.000000000 +0200
3306 ++++ openvpn-2.0.9/easy-rsa/2.0/build-inter	2007-06-18 01:21:19.000000000 +0200
3307 +@@ -4,4 +4,4 @@
3308 + # root certificate.
3309 + 
3310 + export EASY_RSA="${EASY_RSA:-.}"
3311 +-"$EASY_RSA/pkitool" --interact --inter $*
3312 ++"/usr/sbin/pkitool" --interact --inter $*
3313 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-key openvpn-2.0.9/easy-rsa/2.0/build-key
3314 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-key	2007-06-18 01:20:36.000000000 +0200
3315 ++++ openvpn-2.0.9/easy-rsa/2.0/build-key	2007-06-18 01:21:32.000000000 +0200
3316 +@@ -4,4 +4,4 @@
3317 + # root certificate.
3318 + 
3319 + export EASY_RSA="${EASY_RSA:-.}"
3320 +-"$EASY_RSA/pkitool" --interact $*
3321 ++"/usr/sbin/pkitool" --interact $*
3322 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-key-pass openvpn-2.0.9/easy-rsa/2.0/build-key-pass
3323 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-key-pass	2007-06-18 01:20:36.000000000 +0200
3324 ++++ openvpn-2.0.9/easy-rsa/2.0/build-key-pass	2007-06-18 01:21:45.000000000 +0200
3325 +@@ -4,4 +4,4 @@
3326 + # with a password.
3327 + 
3328 + export EASY_RSA="${EASY_RSA:-.}"
3329 +-"$EASY_RSA/pkitool" --interact --pass $*
3330 ++"/usr/sbin/pkitool" --interact --pass $*
3331 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-key-pkcs12 openvpn-2.0.9/easy-rsa/2.0/build-key-pkcs12
3332 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-key-pkcs12	2007-06-18 01:20:36.000000000 +0200
3333 ++++ openvpn-2.0.9/easy-rsa/2.0/build-key-pkcs12	2007-06-18 01:21:57.000000000 +0200
3334 +@@ -5,4 +5,4 @@
3335 + # the CA certificate as well.
3336 + 
3337 + export EASY_RSA="${EASY_RSA:-.}"
3338 +-"$EASY_RSA/pkitool" --interact --pkcs12 $*
3339 ++"/usr/sbin/pkitool" --interact --pkcs12 $*
3340 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-key-server openvpn-2.0.9/easy-rsa/2.0/build-key-server
3341 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-key-server	2007-06-18 01:20:36.000000000 +0200
3342 ++++ openvpn-2.0.9/easy-rsa/2.0/build-key-server	2007-06-18 01:22:09.000000000 +0200
3343 +@@ -7,4 +7,4 @@
3344 + # extension in the openssl.cnf file.
3345 + 
3346 + export EASY_RSA="${EASY_RSA:-.}"
3347 +-"$EASY_RSA/pkitool" --interact --server $*
3348 ++"/usr/sbin/pkitool" --interact --server $*
3349 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-req openvpn-2.0.9/easy-rsa/2.0/build-req
3350 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-req	2007-06-18 01:20:36.000000000 +0200
3351 ++++ openvpn-2.0.9/easy-rsa/2.0/build-req	2007-06-18 01:22:27.000000000 +0200
3352 +@@ -4,4 +4,4 @@
3353 + # when your root certificate and key is not available locally.
3354 + 
3355 + export EASY_RSA="${EASY_RSA:-.}"
3356 +-"$EASY_RSA/pkitool" --interact --csr $*
3357 ++"/usr/sbin/pkitool" --interact --csr $*
3358 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/build-req-pass openvpn-2.0.9/easy-rsa/2.0/build-req-pass
3359 +--- openvpn-2.0.9.orig/easy-rsa/2.0/build-req-pass	2007-06-18 01:20:36.000000000 +0200
3360 ++++ openvpn-2.0.9/easy-rsa/2.0/build-req-pass	2007-06-18 01:22:38.000000000 +0200
3361 +@@ -4,4 +4,4 @@
3362 + # with a password.
3363 + 
3364 + export EASY_RSA="${EASY_RSA:-.}"
3365 +-"$EASY_RSA/pkitool" --interact --csr --pass $*
3366 ++"/usr/sbin/pkitool" --interact --csr --pass $*
3367 +diff -urN openvpn-2.0.9.orig/easy-rsa/2.0/sign-req openvpn-2.0.9/easy-rsa/2.0/sign-req
3368 +--- openvpn-2.0.9.orig/easy-rsa/2.0/sign-req	2007-06-18 01:20:36.000000000 +0200
3369 ++++ openvpn-2.0.9/easy-rsa/2.0/sign-req	2007-06-18 01:22:53.000000000 +0200
3370 +@@ -4,4 +4,4 @@
3371 + # with a local root certificate and key.
3372 + 
3373 + export EASY_RSA="${EASY_RSA:-.}"
3374 +-"$EASY_RSA/pkitool" --interact --sign $*
3375 ++"/usr/sbin/pkitool" --interact --sign $*
3376 diff -Nur kamikaze_7.09-orig/package/openvpn/.svn/all-wcprops kamikaze_7.09-x86-alix/package/openvpn/.svn/all-wcprops
3377 --- kamikaze_7.09-orig/package/openvpn/.svn/all-wcprops	1970-01-01 01:00:00.000000000 +0100
3378 +++ kamikaze_7.09-x86-alix/package/openvpn/.svn/all-wcprops	2008-06-07 18:38:08.000000000 +0200
3379 @@ -0,0 +1,11 @@
3380 +K 25
3381 +svn:wc:ra_dav:version-url
3382 +V 43
3383 +/openwrt/!svn/ver/9974/packages/net/openvpn
3384 +END
3385 +Makefile
3386 +K 25
3387 +svn:wc:ra_dav:version-url
3388 +V 52
3389 +/openwrt/!svn/ver/9974/packages/net/openvpn/Makefile
3390 +END
3391 diff -Nur kamikaze_7.09-orig/package/openvpn/.svn/entries kamikaze_7.09-x86-alix/package/openvpn/.svn/entries
3392 --- kamikaze_7.09-orig/package/openvpn/.svn/entries	1970-01-01 01:00:00.000000000 +0100
3393 +++ kamikaze_7.09-x86-alix/package/openvpn/.svn/entries	2008-06-07 18:38:08.000000000 +0200
3394 @@ -0,0 +1,47 @@
3395 +8
3396 +
3397 +dir
3398 +11396
3399 +https://svn.openwrt.org/openwrt/packages/net/openvpn
3400 +https://svn.openwrt.org/openwrt
3401 +
3402 +
3403 +
3404 +2007-12-28T13:31:04.124286Z
3405 +9974
3406 +nix
3407 +
3408 +
3409 +svn:special svn:externals svn:needs-lock
3410 +
3411 +
3412 +
3413 +
3414 +
3415 +
3416 +
3417 +
3418 +
3419 +
3420 +
3421 +3c298f89-4303-0410-b956-a3cf2f4a3e73
3422 +
3423 +files
3424 +dir
3425 +
3426 +patches
3427 +dir
3428 +
3429 +Makefile
3430 +file
3431 +
3432 +
3433 +
3434 +
3435 +2008-06-07T16:38:08.000000Z
3436 +fa24af66d22bfe52da00be215e83ecc4
3437 +2007-12-28T13:31:04.124286Z
3438 +9974
3439 +nix
3440 +has-props
3441 +
3442 diff -Nur kamikaze_7.09-orig/package/openvpn/.svn/format kamikaze_7.09-x86-alix/package/openvpn/.svn/format
3443 --- kamikaze_7.09-orig/package/openvpn/.svn/format	1970-01-01 01:00:00.000000000 +0100
3444 +++ kamikaze_7.09-x86-alix/package/openvpn/.svn/format	2008-06-07 18:38:06.000000000 +0200
3445 @@ -0,0 +1 @@
3446 +8
3447 diff -Nur kamikaze_7.09-orig/package/openvpn/.svn/prop-base/Makefile.svn-base kamikaze_7.09-x86-alix/package/openvpn/.svn/prop-base/Makefile.svn-base
3448 --- kamikaze_7.09-orig/package/openvpn/.svn/prop-base/Makefile.svn-base	1970-01-01 01:00:00.000000000 +0100
3449 +++ kamikaze_7.09-x86-alix/package/openvpn/.svn/prop-base/Makefile.svn-base	2008-06-07 18:38:08.000000000 +0200
3450 @@ -0,0 +1,17 @@
3451 +K 9
3452 +copyright
3453 +V 30
3454 +Copyright (C) 2006 OpenWrt.org
3455 +K 7
3456 +licence
3457 +V 5
3458 +GPLv2
3459 +K 13
3460 +svn:eol-style
3461 +V 6
3462 +native
3463 +K 12
3464 +svn:keywords
3465 +V 23
3466 +Author Date Id Revision
3467 +END
3468 diff -Nur kamikaze_7.09-orig/package/openvpn/.svn/text-base/Makefile.svn-base kamikaze_7.09-x86-alix/package/openvpn/.svn/text-base/Makefile.svn-base
3469 --- kamikaze_7.09-orig/package/openvpn/.svn/text-base/Makefile.svn-base	1970-01-01 01:00:00.000000000 +0100
3470 +++ kamikaze_7.09-x86-alix/package/openvpn/.svn/text-base/Makefile.svn-base	2008-06-07 18:38:08.000000000 +0200
3471 @@ -0,0 +1,78 @@
3472 +#
3473 +# Copyright (C) 2006 OpenWrt.org
3474 +#
3475 +# This is free software, licensed under the GNU General Public License v2.
3476 +# See /LICENSE for more information.
3477 +#
3478 +# $Id$
3479 +
3480 +include $(TOPDIR)/rules.mk
3481 +
3482 +PKG_NAME:=openvpn
3483 +PKG_VERSION:=2.0.9
3484 +PKG_RELEASE:=2
3485 +
3486 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
3487 +PKG_SOURCE_URL:=http://openvpn.net/release @SF/openvpn
3488 +PKG_MD5SUM:=60745008b90b7dbe25fe8337c550fec6
3489 +
3490 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
3491 +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
3492 +
3493 +include $(INCLUDE_DIR)/package.mk
3494 +
3495 +define Package/openvpn
3496 +  SECTION:=net
3497 +  CATEGORY:=Network
3498 +  DEPENDS:=+kmod-tun +libopenssl +liblzo
3499 +  TITLE:=Open source VPN solution using SSL
3500 +  URL:=http://openvpn.net
3501 +  SUBMENU:=VPN
3502 +endef
3503 +
3504 +define Package/openvpn/description
3505 +	 Open source VPN solution using SSL
3506 +endef
3507 +
3508 +define Package/openvpn-easy-rsa
3509 +  $(call Package/openvpn)
3510 +  DEPENDS:=openvpn +openssl-util
3511 +  TITLE:=Simple shell scripts to manage a Certificate Authority
3512 +endef
3513 +
3514 +define Build/Configure
3515 +	$(call Build/Configure/Default, \
3516 +		--disable-pthread \
3517 +		--disable-debug \
3518 +		--disable-plugins \
3519 +		--enable-management \
3520 +		--disable-socks \
3521 +		--enable-password-save \
3522 +	)
3523 +endef
3524 +
3525 +define Build/Compile	
3526 +	$(MAKE) -C $(PKG_BUILD_DIR) \
3527 +		DESTDIR="$(PKG_INSTALL_DIR)" \
3528 +		all install
3529 +endef
3530 +
3531 +define Package/openvpn/install	
3532 +	$(INSTALL_DIR) $(1)/usr/sbin
3533 +	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/openvpn $(1)/usr/sbin/
3534 +	$(INSTALL_DIR) $(1)/etc/init.d/
3535 +	$(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
3536 +	$(INSTALL_DIR) $(1)/etc/default
3537 +	$(INSTALL_BIN) files/$(PKG_NAME).default $(1)/etc/default/$(PKG_NAME)
3538 +endef
3539 +
3540 +define Package/openvpn-easy-rsa/install	
3541 +	$(INSTALL_DIR) $(1)/usr/sbin
3542 +	$(CP) $(PKG_BUILD_DIR)/easy-rsa/2.0/{build-*,clean-all,inherit-inter,list-crl,pkitool,revoke-full,sign-req,whichopensslcnf} $(1)/usr/sbin/
3543 +	$(INSTALL_DIR) $(1)/etc/easy-rsa
3544 +	install -m 0644 $(PKG_BUILD_DIR)/easy-rsa/2.0/openssl.cnf $(1)/etc/easy-rsa/openssl.cnf
3545 +	install -m 0644 $(PKG_BUILD_DIR)/easy-rsa/2.0/vars $(1)/etc/easy-rsa/vars
3546 +endef
3547 +
3548 +$(eval $(call BuildPackage,openvpn))
3549 +$(eval $(call BuildPackage,openvpn-easy-rsa))
3550 diff -Nur kamikaze_7.09-orig/package/tcpdump/Makefile kamikaze_7.09-x86-alix/package/tcpdump/Makefile
3551 --- kamikaze_7.09-orig/package/tcpdump/Makefile	1970-01-01 01:00:00.000000000 +0100
3552 +++ kamikaze_7.09-x86-alix/package/tcpdump/Makefile	2008-06-07 04:34:50.000000000 +0200
3553 @@ -0,0 +1,58 @@
3554 +# 
3555 +# Copyright (C) 2007 OpenWrt.org
3556 +#
3557 +# This is free software, licensed under the GNU General Public License v2.
3558 +# See /LICENSE for more information.
3559 +#
3560 +# $Id: Makefile 9695 2007-12-09 18:59:01Z nbd $
3561 +
3562 +include $(TOPDIR)/rules.mk
3563 +
3564 +PKG_NAME:=tcpdump
3565 +PKG_VERSION:=3.9.8
3566 +PKG_RELEASE:=1
3567 +
3568 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
3569 +PKG_SOURCE_URL:=http://www.tcpdump.org/release/ \
3570 +	http://ftp.gwdg.de/pub/misc/tcpdump/ \
3571 +	http://www.at.tcpdump.org/ \
3572 +	http://www.br.tcpdump.org/
3573 +PKG_MD5SUM:=c491a78c52fe73f1f7271aa5d8c6ab2e
3574 +
3575 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
3576 +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
3577 +
3578 +include $(INCLUDE_DIR)/package.mk
3579 +
3580 +define Package/tcpdump
3581 +  SECTION:=net
3582 +  CATEGORY:=Network
3583 +  DEPENDS:=+libpcap
3584 +  TITLE:=Network monitoring and data acquisition tool
3585 +  URL:=http://www.tcpdump.org/
3586 +endef
3587 +
3588 +define Build/Configure
3589 +	$(call Build/Configure/Default, \
3590 +		--enable-ipv6 \
3591 +		--without-crypto \
3592 +		, \
3593 +		BUILD_CC="$(TARGET_CC)" \
3594 +		HOSTCC="$(HOSTCC)" \
3595 +		td_cv_buggygetaddrinfo="no" \
3596 +	)
3597 +endef
3598 +
3599 +define Build/Compile
3600 +	$(MAKE) -C $(PKG_BUILD_DIR) \
3601 +		CCOPT="$(TARGET_CFLAGS)" INCLS="-I. -I$(STAGING_DIR)/usr/include" \
3602 +		DESTDIR="$(PKG_INSTALL_DIR)" \
3603 +		all install
3604 +endef
3605 +
3606 +define Package/tcpdump/install
3607 +	$(INSTALL_DIR) $(1)/usr/sbin
3608 +	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/tcpdump $(1)/usr/sbin/
3609 +endef
3610 +
3611 +$(eval $(call BuildPackage,tcpdump))
3612 diff -Nur kamikaze_7.09-orig/package/tcpdump/patches/001-remove_pcap_debug.patch kamikaze_7.09-x86-alix/package/tcpdump/patches/001-remove_pcap_debug.patch
3613 --- kamikaze_7.09-orig/package/tcpdump/patches/001-remove_pcap_debug.patch	1970-01-01 01:00:00.000000000 +0100
3614 +++ kamikaze_7.09-x86-alix/package/tcpdump/patches/001-remove_pcap_debug.patch	2008-06-07 04:34:50.000000000 +0200
3615 @@ -0,0 +1,24 @@
3616 +diff -urN tcpdump-3.9.4.orig/tcpdump.c tcpdump-3.9.4/tcpdump.c
3617 +--- tcpdump-3.9.4.orig/tcpdump.c	2005-08-23 12:29:41.000000000 +0200
3618 ++++ tcpdump-3.9.4/tcpdump.c	2006-02-05 17:52:37.000000000 +0100
3619 +@@ -762,20 +762,6 @@
3620 + 				error("invalid data link type %s", gndo->ndo_dltname);
3621 + 			break;
3622 + 
3623 +-#if defined(HAVE_PCAP_DEBUG) || defined(HAVE_YYDEBUG)
3624 +-		case 'Y':
3625 +-			{
3626 +-			/* Undocumented flag */
3627 +-#ifdef HAVE_PCAP_DEBUG
3628 +-			extern int pcap_debug;
3629 +-			pcap_debug = 1;
3630 +-#else
3631 +-			extern int yydebug;
3632 +-			yydebug = 1;
3633 +-#endif
3634 +-			}
3635 +-			break;
3636 +-#endif
3637 + 		case 'Z':
3638 + 			if (optarg) {
3639 + 				username = strdup(optarg);
3640 diff -Nur kamikaze_7.09-orig/package/tcpdump/patches/.svn/all-wcprops kamikaze_7.09-x86-alix/package/tcpdump/patches/.svn/all-wcprops
3641 --- kamikaze_7.09-orig/package/tcpdump/patches/.svn/all-wcprops	1970-01-01 01:00:00.000000000 +0100
3642 +++ kamikaze_7.09-x86-alix/package/tcpdump/patches/.svn/all-wcprops	2008-06-07 04:34:50.000000000 +0200
3643 @@ -0,0 +1,11 @@
3644 +K 25
3645 +svn:wc:ra_dav:version-url
3646 +V 51
3647 +/openwrt/!svn/ver/6526/packages/net/tcpdump/patches
3648 +END
3649 +001-remove_pcap_debug.patch
3650 +K 25
3651 +svn:wc:ra_dav:version-url
3652 +V 79
3653 +/openwrt/!svn/ver/6526/packages/net/tcpdump/patches/001-remove_pcap_debug.patch
3654 +END
3655 diff -Nur kamikaze_7.09-orig/package/tcpdump/patches/.svn/entries kamikaze_7.09-x86-alix/package/tcpdump/patches/.svn/entries
3656 --- kamikaze_7.09-orig/package/tcpdump/patches/.svn/entries	1970-01-01 01:00:00.000000000 +0100
3657 +++ kamikaze_7.09-x86-alix/package/tcpdump/patches/.svn/entries	2008-06-07 04:34:50.000000000 +0200
3658 @@ -0,0 +1,41 @@
3659 +8
3660 +
3661 +dir
3662 +11385
3663 +https://svn.openwrt.org/openwrt/packages/net/tcpdump/patches
3664 +https://svn.openwrt.org/openwrt
3665 +
3666 +
3667 +
3668 +2007-03-05T01:34:12.253968Z
3669 +6526
3670 +pavlov
3671 +
3672 +
3673 +svn:special svn:externals svn:needs-lock
3674 +
3675 +
3676 +
3677 +
3678 +
3679 +
3680 +
3681 +
3682 +
3683 +
3684 +
3685 +3c298f89-4303-0410-b956-a3cf2f4a3e73
3686 +
3687 +001-remove_pcap_debug.patch
3688 +file
3689 +
3690 +
3691 +
3692 +
3693 +2008-06-07T02:34:50.000000Z
3694 +027e9860f7f20bd5fbfd9c90fae34e38
3695 +2007-03-05T01:34:12.253968Z
3696 +6526
3697 +pavlov
3698 +has-props
3699 +
3700 diff -Nur kamikaze_7.09-orig/package/tcpdump/patches/.svn/format kamikaze_7.09-x86-alix/package/tcpdump/patches/.svn/format
3701 --- kamikaze_7.09-orig/package/tcpdump/patches/.svn/format	1970-01-01 01:00:00.000000000 +0100
3702 +++ kamikaze_7.09-x86-alix/package/tcpdump/patches/.svn/format	2008-06-07 04:34:50.000000000 +0200
3703 @@ -0,0 +1 @@
3704 +8
3705 diff -Nur kamikaze_7.09-orig/package/tcpdump/patches/.svn/prop-base/001-remove_pcap_debug.patch.svn-base kamikaze_7.09-x86-alix/package/tcpdump/patches/.svn/prop-base/001-remove_pcap_debug.patch.svn-base
3706 --- kamikaze_7.09-orig/package/tcpdump/patches/.svn/prop-base/001-remove_pcap_debug.patch.svn-base	1970-01-01 01:00:00.000000000 +0100
3707 +++ kamikaze_7.09-x86-alix/package/tcpdump/patches/.svn/prop-base/001-remove_pcap_debug.patch.svn-base	2008-06-07 04:34:50.000000000 +0200
3708 @@ -0,0 +1,9 @@
3709 +K 13
3710 +svn:eol-style
3711 +V 6
3712 +native
3713 +K 12
3714 +svn:keywords
3715 +V 23
3716 +Author Date Id Revision
3717 +END
3718 diff -Nur kamikaze_7.09-orig/package/tcpdump/patches/.svn/text-base/001-remove_pcap_debug.patch.svn-base kamikaze_7.09-x86-alix/package/tcpdump/patches/.svn/text-base/001-remove_pcap_debug.patch.svn-base
3719 --- kamikaze_7.09-orig/package/tcpdump/patches/.svn/text-base/001-remove_pcap_debug.patch.svn-base	1970-01-01 01:00:00.000000000 +0100
3720 +++ kamikaze_7.09-x86-alix/package/tcpdump/patches/.svn/text-base/001-remove_pcap_debug.patch.svn-base	2008-06-07 04:34:50.000000000 +0200
3721 @@ -0,0 +1,24 @@
3722 +diff -urN tcpdump-3.9.4.orig/tcpdump.c tcpdump-3.9.4/tcpdump.c
3723 +--- tcpdump-3.9.4.orig/tcpdump.c	2005-08-23 12:29:41.000000000 +0200
3724 ++++ tcpdump-3.9.4/tcpdump.c	2006-02-05 17:52:37.000000000 +0100
3725 +@@ -762,20 +762,6 @@
3726 + 				error("invalid data link type %s", gndo->ndo_dltname);
3727 + 			break;
3728 + 
3729 +-#if defined(HAVE_PCAP_DEBUG) || defined(HAVE_YYDEBUG)
3730 +-		case 'Y':
3731 +-			{
3732 +-			/* Undocumented flag */
3733 +-#ifdef HAVE_PCAP_DEBUG
3734 +-			extern int pcap_debug;
3735 +-			pcap_debug = 1;
3736 +-#else
3737 +-			extern int yydebug;
3738 +-			yydebug = 1;
3739 +-#endif
3740 +-			}
3741 +-			break;
3742 +-#endif
3743 + 		case 'Z':
3744 + 			if (optarg) {
3745 + 				username = strdup(optarg);
3746 diff -Nur kamikaze_7.09-orig/package/tcpdump/.svn/all-wcprops kamikaze_7.09-x86-alix/package/tcpdump/.svn/all-wcprops
3747 --- kamikaze_7.09-orig/package/tcpdump/.svn/all-wcprops	1970-01-01 01:00:00.000000000 +0100
3748 +++ kamikaze_7.09-x86-alix/package/tcpdump/.svn/all-wcprops	2008-06-07 04:34:50.000000000 +0200
3749 @@ -0,0 +1,11 @@
3750 +K 25
3751 +svn:wc:ra_dav:version-url
3752 +V 43
3753 +/openwrt/!svn/ver/9695/packages/net/tcpdump
3754 +END
3755 +Makefile
3756 +K 25
3757 +svn:wc:ra_dav:version-url
3758 +V 52
3759 +/openwrt/!svn/ver/9695/packages/net/tcpdump/Makefile
3760 +END
3761 diff -Nur kamikaze_7.09-orig/package/tcpdump/.svn/entries kamikaze_7.09-x86-alix/package/tcpdump/.svn/entries
3762 --- kamikaze_7.09-orig/package/tcpdump/.svn/entries	1970-01-01 01:00:00.000000000 +0100
3763 +++ kamikaze_7.09-x86-alix/package/tcpdump/.svn/entries	2008-06-07 04:34:50.000000000 +0200
3764 @@ -0,0 +1,44 @@
3765 +8
3766 +
3767 +dir
3768 +11385
3769 +https://svn.openwrt.org/openwrt/packages/net/tcpdump
3770 +https://svn.openwrt.org/openwrt
3771 +
3772 +
3773 +
3774 +2007-12-09T18:59:01.278028Z
3775 +9695
3776 +nbd
3777 +
3778 +
3779 +svn:special svn:externals svn:needs-lock
3780 +
3781 +
3782 +
3783 +
3784 +
3785 +
3786 +
3787 +
3788 +
3789 +
3790 +
3791 +3c298f89-4303-0410-b956-a3cf2f4a3e73
3792 +
3793 +patches
3794 +dir
3795 +
3796 +Makefile
3797 +file
3798 +
3799 +
3800 +
3801 +
3802 +2008-06-07T02:34:50.000000Z
3803 +33a1d8cf1136a3729c1488f937442adf
3804 +2007-12-09T18:59:01.278028Z
3805 +9695
3806 +nbd
3807 +has-props
3808 +
3809 diff -Nur kamikaze_7.09-orig/package/tcpdump/.svn/format kamikaze_7.09-x86-alix/package/tcpdump/.svn/format
3810 --- kamikaze_7.09-orig/package/tcpdump/.svn/format	1970-01-01 01:00:00.000000000 +0100
3811 +++ kamikaze_7.09-x86-alix/package/tcpdump/.svn/format	2008-06-07 04:34:49.000000000 +0200
3812 @@ -0,0 +1 @@
3813 +8
3814 diff -Nur kamikaze_7.09-orig/package/tcpdump/.svn/prop-base/Makefile.svn-base kamikaze_7.09-x86-alix/package/tcpdump/.svn/prop-base/Makefile.svn-base
3815 --- kamikaze_7.09-orig/package/tcpdump/.svn/prop-base/Makefile.svn-base	1970-01-01 01:00:00.000000000 +0100
3816 +++ kamikaze_7.09-x86-alix/package/tcpdump/.svn/prop-base/Makefile.svn-base	2008-06-07 04:34:50.000000000 +0200
3817 @@ -0,0 +1,17 @@
3818 +K 9
3819 +copyright
3820 +V 30
3821 +Copyright (C) 2006 OpenWrt.org
3822 +K 7
3823 +licence
3824 +V 5
3825 +GPLv2
3826 +K 13
3827 +svn:eol-style
3828 +V 6
3829 +native
3830 +K 12
3831 +svn:keywords
3832 +V 23
3833 +Author Date Id Revision
3834 +END
3835 diff -Nur kamikaze_7.09-orig/package/tcpdump/.svn/text-base/Makefile.svn-base kamikaze_7.09-x86-alix/package/tcpdump/.svn/text-base/Makefile.svn-base
3836 --- kamikaze_7.09-orig/package/tcpdump/.svn/text-base/Makefile.svn-base	1970-01-01 01:00:00.000000000 +0100
3837 +++ kamikaze_7.09-x86-alix/package/tcpdump/.svn/text-base/Makefile.svn-base	2008-06-07 04:34:50.000000000 +0200
3838 @@ -0,0 +1,58 @@
3839 +# 
3840 +# Copyright (C) 2007 OpenWrt.org
3841 +#
3842 +# This is free software, licensed under the GNU General Public License v2.
3843 +# See /LICENSE for more information.
3844 +#
3845 +# $Id$
3846 +
3847 +include $(TOPDIR)/rules.mk
3848 +
3849 +PKG_NAME:=tcpdump
3850 +PKG_VERSION:=3.9.8
3851 +PKG_RELEASE:=1
3852 +
3853 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
3854 +PKG_SOURCE_URL:=http://www.tcpdump.org/release/ \
3855 +	http://ftp.gwdg.de/pub/misc/tcpdump/ \
3856 +	http://www.at.tcpdump.org/ \
3857 +	http://www.br.tcpdump.org/
3858 +PKG_MD5SUM:=c491a78c52fe73f1f7271aa5d8c6ab2e
3859 +
3860 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
3861 +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
3862 +
3863 +include $(INCLUDE_DIR)/package.mk
3864 +
3865 +define Package/tcpdump
3866 +  SECTION:=net
3867 +  CATEGORY:=Network
3868 +  DEPENDS:=+libpcap
3869 +  TITLE:=Network monitoring and data acquisition tool
3870 +  URL:=http://www.tcpdump.org/
3871 +endef
3872 +
3873 +define Build/Configure
3874 +	$(call Build/Configure/Default, \
3875 +		--enable-ipv6 \
3876 +		--without-crypto \
3877 +		, \
3878 +		BUILD_CC="$(TARGET_CC)" \
3879 +		HOSTCC="$(HOSTCC)" \
3880 +		td_cv_buggygetaddrinfo="no" \
3881 +	)
3882 +endef
3883 +
3884 +define Build/Compile
3885 +	$(MAKE) -C $(PKG_BUILD_DIR) \
3886 +		CCOPT="$(TARGET_CFLAGS)" INCLS="-I. -I$(STAGING_DIR)/usr/include" \
3887 +		DESTDIR="$(PKG_INSTALL_DIR)" \
3888 +		all install
3889 +endef
3890 +
3891 +define Package/tcpdump/install
3892 +	$(INSTALL_DIR) $(1)/usr/sbin
3893 +	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/tcpdump $(1)/usr/sbin/
3894 +endef
3895 +
3896 +$(eval $(call BuildPackage,tcpdump))
3897 diff -Nur kamikaze_7.09-orig/target/linux/generic-2.6/files/drivers/leds/leds-alix.c kamikaze_7.09-x86-alix/target/linux/generic-2.6/files/drivers/leds/leds-alix.c
3898 --- kamikaze_7.09-orig/target/linux/generic-2.6/files/drivers/leds/leds-alix.c	1970-01-01 01:00:00.000000000 +0100
3899 +++ kamikaze_7.09-x86-alix/target/linux/generic-2.6/files/drivers/leds/leds-alix.c	2008-06-07 13:58:22.000000000 +0200
3900 @@ -0,0 +1,172 @@
3901 +/*
3902 + * LEDs driver for PCEngines ALIX 2/3 series
3903 + *
3904 + * Copyright (C) 2007 Petr Leibman
3905 + *
3906 + * Based on leds-wrap.c
3907 + *
3908 + * This program is free software; you can redistribute it and/or modify
3909 + * it under the terms of the GNU General Public License version 2 as
3910 + * published by the Free Software Foundation.
3911 + */
3912 +
3913 +#include <linux/kernel.h>
3914 +#include <linux/init.h>
3915 +#include <linux/platform_device.h>
3916 +#include <linux/leds.h>
3917 +#include <linux/err.h>
3918 +#include <asm/io.h>
3919 +
3920 +#define DRVNAME "alix-led"
3921 +
3922 +#define ALIX_LED1_PORT		(0x6100)
3923 +#define ALIX_LED1_ON		(1<<22)
3924 +#define ALIX_LED1_OFF		(1<<6)
3925 +
3926 +#define ALIX_LED2_PORT		(0x6180)
3927 +#define ALIX_LED2_ON		(1<<25)
3928 +#define ALIX_LED2_OFF		(1<<9)
3929 +
3930 +#define ALIX_LED3_PORT		(0x6180)
3931 +#define ALIX_LED3_ON		(1<<27)
3932 +#define ALIX_LED3_OFF		(1<<11)
3933 +
3934 +
3935 +static struct platform_device *pdev;
3936 +
3937 +static void alix_led_set_1(struct led_classdev *led_cdev,
3938 +		enum led_brightness value)
3939 +{
3940 +	if (value)
3941 +		outl(ALIX_LED1_ON, ALIX_LED1_PORT);
3942 +	else
3943 +		outl(ALIX_LED1_OFF, ALIX_LED1_PORT);
3944 +}
3945 +
3946 +static void alix_led_set_2(struct led_classdev *led_cdev,
3947 +		enum led_brightness value)
3948 +{
3949 +	if (value)
3950 +		outl(ALIX_LED2_ON, ALIX_LED2_PORT);
3951 +	else
3952 +		outl(ALIX_LED2_OFF, ALIX_LED2_PORT);
3953 +}
3954 +
3955 +static void alix_led_set_3(struct led_classdev *led_cdev,
3956 +		enum led_brightness value)
3957 +{
3958 +	if (value)
3959 +		outl(ALIX_LED3_ON, ALIX_LED3_PORT);
3960 +	else
3961 +		outl(ALIX_LED3_OFF, ALIX_LED3_PORT);
3962 +}
3963 +
3964 +static struct led_classdev alix_led_1 = {
3965 +	.name		= "alix:1",
3966 +	.brightness_set	= alix_led_set_1,
3967 +};
3968 +
3969 +static struct led_classdev alix_led_2 = {
3970 +	.name		= "alix:2",
3971 +	.brightness_set	= alix_led_set_2,
3972 +};
3973 +
3974 +static struct led_classdev alix_led_3 = {
3975 +	.name		= "alix:3",
3976 +	.brightness_set	= alix_led_set_3,
3977 +};
3978 +
3979 +
3980 +#ifdef CONFIG_PM
3981 +static int alix_led_suspend(struct platform_device *dev,
3982 +		pm_message_t state)
3983 +{
3984 +	led_classdev_suspend(&alix_led_1);
3985 +	led_classdev_suspend(&alix_led_2);
3986 +	led_classdev_suspend(&alix_led_3);
3987 +	return 0;
3988 +}
3989 +
3990 +static int alix_led_resume(struct platform_device *dev)
3991 +{
3992 +	led_classdev_resume(&alix_led_1);
3993 +	led_classdev_resume(&alix_led_2);
3994 +	led_classdev_resume(&alix_led_3);
3995 +	return 0;
3996 +}
3997 +#else
3998 +#define alix_led_suspend NULL
3999 +#define alix_led_resume NULL
4000 +#endif
4001 +
4002 +static int alix_led_probe(struct platform_device *pdev)
4003 +{
4004 +	int ret;
4005 +
4006 +	ret = led_classdev_register(&pdev->dev, &alix_led_1);
4007 +	if (ret == 0)
4008 +	{
4009 +		ret = led_classdev_register(&pdev->dev, &alix_led_2);
4010 +		if (ret >= 0)
4011 +		{
4012 +			ret = led_classdev_register(&pdev->dev, &alix_led_3);
4013 +			if (ret < 0)
4014 +				led_classdev_unregister(&alix_led_2);
4015 +		}
4016 +		if (ret < 0)
4017 +			led_classdev_unregister(&alix_led_1);
4018 +	}
4019 +	return ret;
4020 +}
4021 +
4022 +static int alix_led_remove(struct platform_device *pdev)
4023 +{
4024 +	led_classdev_unregister(&alix_led_1);
4025 +	led_classdev_unregister(&alix_led_2);
4026 +	led_classdev_unregister(&alix_led_3);
4027 +	return 0;
4028 +}
4029 +
4030 +static struct platform_driver alix_led_driver = {
4031 +	.probe		= alix_led_probe,
4032 +	.remove		= alix_led_remove,
4033 +	.suspend	= alix_led_suspend,
4034 +	.resume		= alix_led_resume,
4035 +	.driver		= {
4036 +		.name		= DRVNAME,
4037 +		.owner		= THIS_MODULE,
4038 +	},
4039 +};
4040 +
4041 +static int __init alix_led_init(void)
4042 +{
4043 +	int ret;
4044 +
4045 +	ret = platform_driver_register(&alix_led_driver);
4046 +	if (ret < 0)
4047 +		goto out;
4048 +
4049 +	pdev = platform_device_register_simple(DRVNAME, -1, NULL, 0);
4050 +	if (IS_ERR(pdev)) {
4051 +		ret = PTR_ERR(pdev);
4052 +		platform_driver_unregister(&alix_led_driver);
4053 +		goto out;
4054 +	}
4055 +
4056 +out:
4057 +	return ret;
4058 +}
4059 +
4060 +static void __exit alix_led_exit(void)
4061 +{
4062 +	platform_device_unregister(pdev);
4063 +	platform_driver_unregister(&alix_led_driver);
4064 +}
4065 +
4066 +module_init(alix_led_init);
4067 +module_exit(alix_led_exit);
4068 +
4069 +MODULE_AUTHOR("Petr Leibman");
4070 +MODULE_DESCRIPTION("PCEngines ALIX LED driver");
4071 +MODULE_LICENSE("GPL");
4072 +
4073 diff -Nur kamikaze_7.09-orig/target/linux/generic-2.6/patches-2.6.22/401-led-alix.patch kamikaze_7.09-x86-alix/target/linux/generic-2.6/patches-2.6.22/401-led-alix.patch
4074 --- kamikaze_7.09-orig/target/linux/generic-2.6/patches-2.6.22/401-led-alix.patch	1970-01-01 01:00:00.000000000 +0100
4075 +++ kamikaze_7.09-x86-alix/target/linux/generic-2.6/patches-2.6.22/401-led-alix.patch	2008-06-07 13:51:00.000000000 +0200
4076 @@ -0,0 +1,28 @@
4077 +diff -Nur linux-2.6.22.1.orig/drivers/leds/Kconfig linux-2.6.22.1/drivers/leds/Kconfig
4078 +--- linux-2.6.22.1.orig/drivers/leds/Kconfig	2006-10-12 12:43:44.000000000 -0400
4079 ++++ linux-2.6.22.1/drivers/leds/Kconfig	2006-10-31 02:36:22.000000000 -0400
4080 +@@ -83,6 +83,12 @@
4081 + 	help
4082 + 	  This option enables support for the PCEngines WRAP programmable LEDs.
4083 + 
4084 ++config LEDS_ALIX
4085 ++	tristate "LED Support for the ALIX 2/3 boards"
4086 ++	depends on LEDS_CLASS
4087 ++	help
4088 ++	  This option enables support for the three LEDs on the PCEngines ALIX 2/3 boards.
4089 ++
4090 + config LEDS_H1940
4091 + 	tristate "LED Support for iPAQ H1940 device"
4092 + 	depends LEDS_CLASS && ARCH_H1940
4093 +diff -Nur linux-2.6.22.1.orig/drivers/leds/Makefile linux-2.6.22.1/drivers/leds/Makefile
4094 +--- linux-2.6.22.1.orig/drivers/leds/Makefile	2006-10-12 12:43:44.000000000 -0400
4095 ++++ linux-2.6.22.1/drivers/leds/Makefile	2006-10-31 02:36:17.000000000 -0400
4096 +@@ -14,6 +14,7 @@
4097 + obj-$(CONFIG_LEDS_AMS_DELTA)		+= leds-ams-delta.o
4098 + obj-$(CONFIG_LEDS_NET48XX)		+= leds-net48xx.o
4099 + obj-$(CONFIG_LEDS_WRAP)			+= leds-wrap.o
4100 ++obj-$(CONFIG_LEDS_ALIX)			+= leds-alix.o
4101 + obj-$(CONFIG_LEDS_H1940)		+= leds-h1940.o
4102 + obj-$(CONFIG_LEDS_COBALT)		+= leds-cobalt.o
4103 + obj-$(CONFIG_LEDS_GPIO)			+= leds-gpio.o
4104 +
4105 diff -Nur kamikaze_7.09-orig/target/linux/x86-2.6/config/default kamikaze_7.09-x86-alix/target/linux/x86-2.6/config/default
4106 --- kamikaze_7.09-orig/target/linux/x86-2.6/config/default	2007-09-20 10:54:17.000000000 +0200
4107 +++ kamikaze_7.09-x86-alix/target/linux/x86-2.6/config/default	2008-06-07 16:01:08.000000000 +0200
4108 @@ -170,6 +170,7 @@
4109  CONFIG_LEDS_NET48XX=m
4110  # CONFIG_LEDS_TRIGGER_IDE_DISK is not set
4111  # CONFIG_LEDS_WRAP is not set
4112 +CONFIG_LEDS_ALIX=m
4113  # CONFIG_LIBERTAS is not set
4114  # CONFIG_M386 is not set
4115  CONFIG_M486=y
4116 diff -Nur kamikaze_7.09-orig/target/linux/x86-2.6/image/grub/menu.lst kamikaze_7.09-x86-alix/target/linux/x86-2.6/image/grub/menu.lst
4117 --- kamikaze_7.09-orig/target/linux/x86-2.6/image/grub/menu.lst	2007-09-20 10:54:12.000000000 +0200
4118 +++ kamikaze_7.09-x86-alix/target/linux/x86-2.6/image/grub/menu.lst	2008-06-07 14:36:39.000000000 +0200
4119 @@ -1,15 +1,15 @@
4120  serial --unit=0 --speed=@BAUDRATE@ --word=8 --parity=no --stop=1
4121 -terminal --timeout=10 console serial
4122 +terminal --timeout=3 serial
4123  
4124  default 0
4125  timeout 5
4126  
4127  title   OpenWrt
4128  root    (hd0,0)
4129 -kernel  /boot/vmlinuz @CMDLINE@ noinitrd console=tty0 console=ttyS0,@BAUDRATE@n8 reboot=bios
4130 +kernel  /boot/vmlinuz @CMDLINE@ ro noinitrd console=ttyS0,@BAUDRATE@n8 reboot=bios
4131  boot
4132  
4133  title	OpenWrt (failsafe)
4134  root	(hd0,0)
4135 -kernel  /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd console=tty0 console=ttyS0,@BAUDRATE@n8 reboot=bios
4136 +kernel  /boot/vmlinuz failsafe=true @CMDLINE@ ro noinitrd console=ttyS0,@BAUDRATE@n8 reboot=bios
4137  boot
4138 diff -Nur kamikaze_7.09-orig/target/linux/x86-2.6/profiles/Alix.mk kamikaze_7.09-x86-alix/target/linux/x86-2.6/profiles/Alix.mk
4139 --- kamikaze_7.09-orig/target/linux/x86-2.6/profiles/Alix.mk	1970-01-01 01:00:00.000000000 +0100
4140 +++ kamikaze_7.09-x86-alix/target/linux/x86-2.6/profiles/Alix.mk	2008-06-07 14:03:35.000000000 +0200
4141 @@ -0,0 +1,16 @@
4142 +#
4143 +# Copyright (C) 2007 OpenWrt.org
4144 +#
4145 +# This is free software, licensed under the GNU General Public License v2.
4146 +# See /LICENSE for more information.
4147 +#
4148 +
4149 +define Profile/Alix
4150 +  NAME:=PCEngines Alix 2 and 3 boards
4151 +  PACKAGES:=kmod-via-rhine kmod-leds-alix
4152 +endef
4153 +
4154 +define Profile/Alix/Description
4155 +        Package set compatible with the PCEngines ALIX 2 and 3 boards. Contains VIA Rhine III VT6105M and LED support 
4156 +endef
4157 +$(eval $(call Profile,Alix))
4158 

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-06-06 00:03:01, 126.6 KB) [[attachment:kamikaze_7.09-for-alix-0xff-01.patch]]
  • [get | view] (2009-06-06 00:03:01, 1310.0 KB) [[attachment:kamikaze_7.09-for-alix-0xff-02.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.