📄 rn_complete.patch
字号:
--- ptxdist-testing/config/Config.in.old 2003-10-23 13:56:41.000000000 -0700+++ ptxdist-testing/config/Config.in 2003-10-23 13:56:05.000000000 -0700@@ -744,6 +744,19 @@ source "rules/pcmcia-cs.in" ##############################################################################+comment "Libraries --- "+##############################################################################+# ----------------------------------------------------------------------------++menu "rn "++config RN+ bool+ prompt "Add rn scalable networking library (see http://www.kegel.com/rn)"++endmenu++############################################################################## comment "Network Tools --- " ############################################################################## --- /dev/null 2002-09-13 15:08:32.000000000 -0700+++ ptxdist-testing/rules/rn.make 2003-10-22 16:41:58.000000000 -0700@@ -0,0 +1,138 @@+# -*-makefile-*-+# $Id: template,v 1.1.1.2 2003/10/09 17:02:19 bet-frogger Exp $+#+# Copyright (C) 2003 by Ixia Corporation, by Milan Bobde+# +# See CREDITS for details about who has contributed to this project.+#+# For further information about the PTXdist project and license conditions+# see the README file.+#++#+# We provide this package+#+ifdef PTXCONF_RN+PACKAGES += rn+endif++#+# Paths and names+#+RN_VERSION = 0.2+RN = rn-$(RN_VERSION)+RN_SUFFIX = tar.gz+RN_URL = www.kegel.com/rn/rn-0.2.tar.gz+RN_SOURCE = $(SRCDIR)/$(RN).$(RN_SUFFIX)+RN_DIR = $(BUILDDIR)/$(RN)++# ----------------------------------------------------------------------------+# Get+# ----------------------------------------------------------------------------++rn_get: $(STATEDIR)/rn.get++rn_get_deps = $(RN_SOURCE)++$(STATEDIR)/rn.get: $(rn_get_deps)+ @$(call targetinfo, $@)+ @$(call get_patches, $(RN))+ touch $@++$(RN_SOURCE):+ @$(call targetinfo, $@)+ @$(call get, $(RN_URL))++# ----------------------------------------------------------------------------+# Extract+# ----------------------------------------------------------------------------++rn_extract: $(STATEDIR)/rn.extract++rn_extract_deps = $(STATEDIR)/rn.get++$(STATEDIR)/rn.extract: $(rn_extract_deps)+ @$(call targetinfo, $@)+ @$(call clean, $(RN_DIR))+ @$(call extract, $(RN_SOURCE))+ @$(call patchin, $(RN))+ touch $@++# ----------------------------------------------------------------------------+# Prepare+# ----------------------------------------------------------------------------++rn_prepare: $(STATEDIR)/rn.prepare++#+# dependencies+#+rn_prepare_deps = \+ $(STATEDIR)/rn.extract \+ $(STATEDIR)/virtual-xchain.install++RN_AUTOCONF = --prefix=/usr+RN_AUTOCONF += --build=$(GNU_HOST)+RN_AUTOCONF += --host=$(PTXCONF_GNU_TARGET)++RN_PATH = PATH=$(CROSS_PATH)+RN_ENV = $(CROSS_ENV)+#RN_ENV +=++$(STATEDIR)/rn.prepare: $(rn_prepare_deps)+ @$(call targetinfo, $@)+ cd $(RN_DIR) && \+ $(RN_PATH) $(RN_ENV) \+ sh configure $(RN_AUTOCONF)+ @$(call clean, $(RN_DIR)/config.cache)+ touch $@++# ----------------------------------------------------------------------------+# Compile+# ----------------------------------------------------------------------------++RN_MAKEARGS = PREFIX=$(PTXCONF_PREFIX)/$(PTXCONF_GNU_TARGET)+RN_MAKEARGS += CC=$(PTXCONF_GNU_TARGET)-gcc++rn_compile: $(STATEDIR)/rn.compile++rn_compile_deps = $(STATEDIR)/rn.prepare++$(STATEDIR)/rn.compile: $(rn_compile_deps)+ @$(call targetinfo, $@)+ $(RN_PATH) make $(RN_MAKEARGS) -C $(RN_DIR)+ touch $@++# ----------------------------------------------------------------------------+# Install+# ----------------------------------------------------------------------------++rn_install: $(STATEDIR)/rn.install++$(STATEDIR)/rn.install: $(STATEDIR)/rn.compile+ @$(call targetinfo, $@)+ $(RN_PATH) make $(RN_MAKEARGS) -C $(RN_DIR) install+ touch $@++# ----------------------------------------------------------------------------+# Target-Install+# ----------------------------------------------------------------------------++rn_targetinstall: $(STATEDIR)/rn.targetinstall++rn_targetinstall_deps = $(STATEDIR)/rn.compile+rn_targetinstall_deps += $(STATEDIR)/rn.install++$(STATEDIR)/rn.targetinstall: $(rn_targetinstall_deps)+ @$(call targetinfo, $@)+ touch $@++# ----------------------------------------------------------------------------+# Clean+# ----------------------------------------------------------------------------++rn_clean:+ rm -rf $(STATEDIR)/rn.*+ rm -rf $(RN_DIR)++# vim: syntax=make--- /dev/null 2002-09-13 15:08:32.000000000 -0700+++ ptxdist-testing/patches-local/rn-0.2/generic/rn.patch 2003-10-23 10:34:47.000000000 -0700@@ -0,0 +1,3804 @@+--- /dev/null 2002-09-13 15:08:32.000000000 -0700++++ rn-0.2new/configure 2003-10-23 10:34:36.000000000 -0700+@@ -0,0 +1,3525 @@++#! /bin/sh++# Guess values for system-dependent variables and create Makefiles.++# Generated by GNU Autoconf 2.53.++#++# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002++# Free Software Foundation, Inc.++# This configure script is free software; the Free Software Foundation++# gives unlimited permission to copy, distribute and modify it.++++if expr a : '\(a\)' >/dev/null 2>&1; then++ as_expr=expr++else++ as_expr=false++fi++++++## --------------------- ##++## M4sh Initialization. ##++## --------------------- ##++++# Be Bourne compatible++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then++ emulate sh++ NULLCMD=:++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then++ set -o posix++fi++++# NLS nuisances.++# Support unset when possible.++if (FOO=FOO; unset FOO) >/dev/null 2>&1; then++ as_unset=unset++else++ as_unset=false++fi++++(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&++ { $as_unset LANG || test "${LANG+set}" != set; } ||++ { LANG=C; export LANG; }++(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&++ { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||++ { LC_ALL=C; export LC_ALL; }++(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&++ { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||++ { LC_TIME=C; export LC_TIME; }++(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&++ { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||++ { LC_CTYPE=C; export LC_CTYPE; }++(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&++ { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||++ { LANGUAGE=C; export LANGUAGE; }++(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&++ { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||++ { LC_COLLATE=C; export LC_COLLATE; }++(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&++ { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||++ { LC_NUMERIC=C; export LC_NUMERIC; }++(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&++ { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||++ { LC_MESSAGES=C; export LC_MESSAGES; }++++++# Name of the executable.++as_me=`(basename "$0") 2>/dev/null ||++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \++ X"$0" : 'X\(//\)$' \| \++ X"$0" : 'X\(/\)$' \| \++ . : '\(.\)' 2>/dev/null ||++echo X/"$0" |++ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }++ /^X\/\(\/\/\)$/{ s//\1/; q; }++ /^X\/\(\/\).*/{ s//\1/; q; }++ s/.*/./; q'`++++# PATH needs CR, and LINENO needs CR and PATH.++# Avoid depending upon Character Ranges.++as_cr_letters='abcdefghijklmnopqrstuvwxyz'++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'++as_cr_Letters=$as_cr_letters$as_cr_LETTERS++as_cr_digits='0123456789'++as_cr_alnum=$as_cr_Letters$as_cr_digits++++# The user is always right.++if test "${PATH_SEPARATOR+set}" != set; then++ echo "#! /bin/sh" >conftest.sh++ echo "exit 0" >>conftest.sh++ chmod +x conftest.sh++ if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then++ PATH_SEPARATOR=';'++ else++ PATH_SEPARATOR=:++ fi++ rm -f conftest.sh++fi++++++ as_lineno_1=$LINENO++ as_lineno_2=$LINENO++ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`++ test "x$as_lineno_1" != "x$as_lineno_2" &&++ test "x$as_lineno_3" = "x$as_lineno_2" || {++ # Find who we are. Look in the path if we contain no path at all++ # relative or not.++ case $0 in++ *[\\/]* ) as_myself=$0 ;;++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR++for as_dir in $PATH++do++ IFS=$as_save_IFS++ test -z "$as_dir" && as_dir=.++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break++done++++ ;;++ esac++ # We did not find ourselves, most probably we were run as `sh COMMAND'++ # in which case we are not to be found in the path.++ if test "x$as_myself" = x; then++ as_myself=$0++ fi++ if test ! -f "$as_myself"; then++ { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2++ { (exit 1); exit 1; }; }++ fi++ case $CONFIG_SHELL in++ '')++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH++do++ IFS=$as_save_IFS++ test -z "$as_dir" && as_dir=.++ for as_base in sh bash ksh sh5; do++ case $as_dir in++ /*)++ if ("$as_dir/$as_base" -c '++ as_lineno_1=$LINENO++ as_lineno_2=$LINENO++ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`++ test "x$as_lineno_1" != "x$as_lineno_2" &&++ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then++ CONFIG_SHELL=$as_dir/$as_base++ export CONFIG_SHELL++ exec "$CONFIG_SHELL" "$0" ${1+"$@"}++ fi;;++ esac++ done++done++;;++ esac++++ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO++ # uniformly replaced by the line number. The first 'sed' inserts a++ # line-number line before each line; the second 'sed' does the real++ # work. The second script uses 'N' to pair each line-number line++ # with the numbered line, and appends trailing '-' during++ # substitution so that $LINENO is not a special case at line end.++ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the++ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)++ sed '=' <$as_myself |++ sed '++ N++ s,$,-,++ : loop++ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,++ t loop++ s,-$,,++ s,^['$as_cr_digits']*\n,,++ ' >$as_me.lineno &&++ chmod +x $as_me.lineno ||++ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2++ { (exit 1); exit 1; }; }++++ # Don't try to exec as it changes $[0], causing all sort of problems++ # (the dirname of $[0] is not the place where we might find the++ # original and so on. Autoconf is especially sensible to this).++ . ./$as_me.lineno++ # Exit status is that of the last command.++ exit++}++++++case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in++ *c*,-n*) ECHO_N= ECHO_C='++' ECHO_T=' ' ;;++ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;++ *) ECHO_N= ECHO_C='\c' ECHO_T= ;;++esac++++if expr a : '\(a\)' >/dev/null 2>&1; then++ as_expr=expr++else++ as_expr=false++fi++++rm -f conf$$ conf$$.exe conf$$.file++echo >conf$$.file++if ln -s conf$$.file conf$$ 2>/dev/null; then++ # We could just check for DJGPP; but this test a) works b) is more generic++ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).++ if test -f conf$$.exe; then++ # Don't use ln at all; we don't have any links++ as_ln_s='cp -p'++ else++ as_ln_s='ln -s'++ fi++elif ln conf$$.file conf$$ 2>/dev/null; then++ as_ln_s=ln++else++ as_ln_s='cp -p'++fi++rm -f conf$$ conf$$.exe conf$$.file++++as_executable_p="test -f"++++# Sed expression to map a string onto a valid CPP name.++as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"++++# Sed expression to map a string onto a valid variable name.++as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"++++++# IFS++# We need space, tab and new line, in precisely that order.++as_nl='++'++IFS=" $as_nl"++++# CDPATH.++$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }++++++# Name of the host.++# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,++# so uname gets run too.++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`++++exec 6>&1++
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -