add alpha to supported archs in net-snmp-config Resolves: #246825

This commit is contained in:
Jan Šafránek 2007-07-31 08:34:02 +00:00
parent 30ac586db5
commit 3e20f39f89
3 changed files with 10 additions and 3 deletions

View File

@ -11,7 +11,7 @@
# this particular shell script calls arch specific script to avoid # this particular shell script calls arch specific script to avoid
# multilib conflicts # multilib conflicts
# Supported arches ix86 ia64 ppc ppc64 s390 s390x x86_64 # Supported arches ix86 ia64 ppc ppc64 s390 s390x x86_64 alpha
arch=`arch` arch=`arch`
echo $arch | grep -q i.86 echo $arch | grep -q i.86
@ -43,5 +43,9 @@ if [ "$arch" = "x86_64" ] ; then
net-snmp-config-x86_64 $* net-snmp-config-x86_64 $*
exit 0 exit 0
fi fi
if [ "$arch" = "alpha" ] ; then
net-snmp-config-alpha $*
exit 0
fi
echo "Cannot determine architecture" echo "Cannot determine architecture"

View File

@ -23,6 +23,8 @@
#include "net-snmp-config-s390.h" #include "net-snmp-config-s390.h"
#elif defined(__x86_64__) #elif defined(__x86_64__)
#include "net-snmp-config-x86_64.h" #include "net-snmp-config-x86_64.h"
#elif defined(__alpha__)
#include "net-snmp-config-alpha.h"
#else #else
#error "net-snmp-devel package does not work on your architecture" #error "net-snmp-devel package does not work on your architecture"
#endif #endif

View File

@ -377,10 +377,11 @@ rm -rf ${RPM_BUILD_ROOT}
%changelog %changelog
* Mon Jul 30 2007 Safranek <jsafranek@redhat.com> 5.4-16 * Mon Jul 30 2007 Safranek <jsafranek@redhat.com> 5.4-16
- lm_sensors now supported on ppc64 (#249255) - supported lm_sensors on ppc64 (#249255)
- snmpconf generates config files with proper selinux context - snmpconf generates config files with proper selinux context
(#247462) (#247462)
- fixed leak in udp transport (#247771) - fix leak in udp transport (#247771)
- add alpha to supported archs in net-snmp-config (#246825)
* Thu Jun 28 2007 Jan Safranek <jsafranek@redhat.com> 5.4-15 * Thu Jun 28 2007 Jan Safranek <jsafranek@redhat.com> 5.4-15
- fix default snmptrapd.conf - fix default snmptrapd.conf