I have a custom rpm given to me by a vendor that has dependencies that are pulled when installed. I need to install this package on a closed network system, so I cannot access the internet to gather the dependencies. I can however access a intermediate server that can access the internet but will not allow traffic from the closed network though.
Is it possible to create a local network repository the closed network can access to install this package? I have already created a repo in my local directory using:
createrepo .
I have also tried to get a list of the dependencies using:
rpm -qpR *package*
How would I go about pulling the rpms or other installation data from the dependencies list into the local repo?