I ran into the same issue few months ago. But the below is very helpful
Easy way out.
I am taking your example of HTTP, but you can apply this to almost all the RPMs that you think exist on the face of the planet.
I used my NIM server to download all rpms. My OS was AIX71 (same as yours)
Go to
AIX Open Source Packages | Main / AIX Open Source Packages (select your OS version) and download
wget, why 'wget' because you will use that to download all the rpms.
Install the wget rpm on your NIM machine or your local machine.
Get dependencies list
From your browser
Go to "
http://www.oss4aix.org/download/rpmdb/deplists/aix71" and make sure you are looking for right package and version you want to get the dependencies for, in your case it should be httpd-2.4.10-1.aix5.1.ppc.deps.
Now you know, what you are looking for, you can proceed with next step.
FROM NIM Server or your actual server where you are installing the Apache web server, do the below (The server should have wget rpm installed prior to doing this).
Downloaded the dependent RPMs list for HTTP
#
wget http://www.oss4aix.org/download/rpmdb/deplists/aix71/httpd-2.4.10-1.aix5.1.ppc.deps --> this will download the list of all dependent RPMs to your local server (I used NIM).
Since you got all the dependent rpm names
You now run
wget -B Index of /download/everything/RPMS -i httpd-2.4.10-1.aix5.1.ppc.depsNote: It will download all the dependent RPMS with compatible versions to httpd-2.4.10-1
After this just run
rpm -ivh <rpm(s)> or write a loop to read and install all rpms from httpd-2.4.10-1.aix5.1.ppc.deps file. However you want to do it.
Its very simple way to download RPM and its dependencies.
I hope this helps.