mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

135 lines
5.5 KiB

  1. diff -dur net-snmp-5.1/aclocal.m4 net-snmp-5.1-p/aclocal.m4
  2. --- net-snmp-5.1/aclocal.m4 2003-02-13 17:01:23.000000000 +0100
  3. +++ net-snmp-5.1-p/aclocal.m4 2004-11-04 19:36:53.223558384 +0100
  4. @@ -39,7 +39,7 @@
  5. dnl
  6. AC_DEFUN([AC_PROMPT_USER],
  7. [
  8. -MSG_CHECK=`echo "$2" | tail -1`
  9. +MSG_CHECK=`echo "$2" | tail -n1`
  10. AC_CACHE_CHECK($MSG_CHECK, ac_cv_user_prompt_$1,
  11. [echo "" >&AC_FD_MSG
  12. AC_PROMPT_USER_NO_DEFINE($1,[$2],$3)
  13. @@ -3545,7 +3545,7 @@
  14. lt_cv_file_magic_cmd='/usr/bin/file -L'
  15. case "$host_os" in
  16. rhapsody* | darwin1.[[012]])
  17. - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
  18. + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n1`
  19. ;;
  20. *) # Darwin 1.3 on
  21. lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
  22. diff -dur net-snmp-5.1/configure net-snmp-5.1-p/configure
  23. --- net-snmp-5.1/configure 2003-11-14 03:56:34.000000000 +0100
  24. +++ net-snmp-5.1-p/configure 2004-11-04 19:36:41.327366880 +0100
  25. @@ -4106,7 +4106,7 @@
  26. lt_cv_file_magic_cmd='/usr/bin/file -L'
  27. case "$host_os" in
  28. rhapsody* | darwin1.[012])
  29. - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
  30. + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -n1`
  31. ;;
  32. *) # Darwin 1.3 on
  33. lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
  34. @@ -25980,7 +25980,7 @@
  35. ME=`$WHOAMI`
  36. if test -f /etc/resolv.conf; then
  37. - LOC=`cat /etc/resolv.conf | grep '^domain' | tail -1 | awk '{print $NF}'`
  38. + LOC=`cat /etc/resolv.conf | grep '^domain' | tail -n1 | awk '{print $NF}'`
  39. else
  40. LOC="@no.where"
  41. fi
  42. @@ -26006,7 +26006,7 @@
  43. Providing the --with-default-snmp-version=\"x\" parameter to ./configure
  44. will avoid this prompt.
  45. -Default version of SNMP to use" | tail -1`
  46. +Default version of SNMP to use" | tail -n1`
  47. echo "$as_me:$LINENO: checking $MSG_CHECK" >&5
  48. echo $ECHO_N "checking $MSG_CHECK... $ECHO_C" >&6
  49. if test "${ac_cv_user_prompt_DEFAULT_SNMP_VERSION+set}" = set; then
  50. @@ -26087,7 +26087,7 @@
  51. Providing the --with-sys-contact=\"contact\" parameter to ./configure
  52. will avoid this prompt.
  53. -System Contact Information" | tail -1`
  54. +System Contact Information" | tail -n1`
  55. echo "$as_me:$LINENO: checking $MSG_CHECK" >&5
  56. echo $ECHO_N "checking $MSG_CHECK... $ECHO_C" >&6
  57. if test "${ac_cv_user_prompt_SYS_CONTACT+set}" = set; then
  58. @@ -26151,7 +26151,7 @@
  59. Providing the --with-sys-location=\"location\" parameter to ./configure
  60. will avoid this prompt.
  61. -System Location" | tail -1`
  62. +System Location" | tail -n1`
  63. echo "$as_me:$LINENO: checking $MSG_CHECK" >&5
  64. echo $ECHO_N "checking $MSG_CHECK... $ECHO_C" >&6
  65. if test "${ac_cv_user_prompt_SYS_LOC+set}" = set; then
  66. @@ -26221,7 +26221,7 @@
  67. Providing the --with-logfile=\"path\" parameter to ./configure
  68. will avoid this prompt.
  69. -Location to write logfile" | tail -1`
  70. +Location to write logfile" | tail -n1`
  71. echo "$as_me:$LINENO: checking $MSG_CHECK" >&5
  72. echo $ECHO_N "checking $MSG_CHECK... $ECHO_C" >&6
  73. if test "${ac_cv_user_prompt_LOGFILE+set}" = set; then
  74. @@ -26298,7 +26298,7 @@
  75. Providing the --with-persistent-directory=\"path\" parameter to
  76. ./configure will avoid this prompt.
  77. -Location to write persistent information" | tail -1`
  78. +Location to write persistent information" | tail -n1`
  79. echo "$as_me:$LINENO: checking $MSG_CHECK" >&5
  80. echo $ECHO_N "checking $MSG_CHECK... $ECHO_C" >&6
  81. if test "${ac_cv_user_prompt_PERSISTENT_DIRECTORY+set}" = set; then
  82. diff -dur net-snmp-5.1/configure.in net-snmp-5.1-p/configure.in
  83. --- net-snmp-5.1/configure.in 2003-11-06 03:11:41.000000000 +0100
  84. +++ net-snmp-5.1-p/configure.in 2004-11-04 19:36:11.392917608 +0100
  85. @@ -2663,7 +2663,7 @@
  86. ME=`$WHOAMI`
  87. if test -f /etc/resolv.conf; then
  88. - LOC=`cat /etc/resolv.conf | grep '^domain' | tail -1 | awk '{print $NF}'`
  89. + LOC=`cat /etc/resolv.conf | grep '^domain' | tail -n1 | awk '{print $NF}'`
  90. else
  91. LOC="@no.where"
  92. fi
  93. diff -dur net-snmp-5.1/dist/net-snmp-solaris-build/DEVENV net-snmp-5.1-p/dist/net-snmp-solaris-build/DEVENV
  94. --- net-snmp-5.1/dist/net-snmp-solaris-build/DEVENV 2003-03-01 05:02:18.000000000 +0100
  95. +++ net-snmp-5.1-p/dist/net-snmp-solaris-build/DEVENV 2004-11-04 19:36:03.998041800 +0100
  96. @@ -48,7 +48,7 @@
  97. umask 022
  98. -user=`ps -f | tail -1 | awk '{print $1}' | sed -e 's, ,,g'`
  99. +user=`ps -f | tail -n1 | awk '{print $1}' | sed -e 's, ,,g'`
  100. [ "$user" = "root" ] && p="#" || p="$"
  101. PS1="`basename $TOP`@"'$HOSTNAME:${PWD##$TOP}$p '; export PS1
  102. diff -dur net-snmp-5.1/dist/net-snmp-solaris-build/elfdepend.sh net-snmp-5.1-p/dist/net-snmp-solaris-build/elfdepend.sh
  103. --- net-snmp-5.1/dist/net-snmp-solaris-build/elfdepend.sh 2003-03-01 05:02:18.000000000 +0100
  104. +++ net-snmp-5.1-p/dist/net-snmp-solaris-build/elfdepend.sh 2004-11-04 19:35:22.221392816 +0100
  105. @@ -56,7 +56,7 @@
  106. done | sort -u | while read libpath other
  107. do
  108. [ "$libpath" = "#" ] && echo "$libpath $other" && continue # error message
  109. - set -- `grep "^$libpath[ =]" /var/sadm/install/contents | head -1`
  110. + set -- `grep "^$libpath[ =]" /var/sadm/install/contents | head -n1`
  111. path=$1; type=$2
  112. case $type in
  113. f) # file
  114. diff -dur net-snmp-5.1/local/snmp-ucd.sh net-snmp-5.1-p/local/snmp-ucd.sh
  115. --- net-snmp-5.1/local/snmp-ucd.sh 2002-04-20 09:30:13.000000000 +0200
  116. +++ net-snmp-5.1-p/local/snmp-ucd.sh 2004-11-04 19:35:15.864359232 +0100
  117. @@ -106,7 +106,7 @@
  118. # Try looking for a /var/run file.
  119. #
  120. [ -f /var/run/$1.pid ] && {
  121. - pid=`head -1 /var/run/$1.pid`
  122. + pid=`head -n1 /var/run/$1.pid`
  123. [ -n "$pid" ] && {
  124. echo $pid