Skip to content

Update python-iptables to work on modern distros - #1

Merged
ldx merged 5 commits into
ldx:masterfrom
clalancette:master
Aug 12, 2011
Merged

ldx merged 5 commits into
ldx:masterfrom
clalancette:master

Conversation

@clalancette

Copy link
Copy Markdown

The 5 commits here work together to make python-iptables more dynamic in finding libraries, make it work on both 32-bit and 64-bit distros, and do a bit of work to clean it up for inclusion in a distribution package. I've verified that these patches work on Fedora-14 and Fedora-16, both 32-bit and 64-bit.

If you like these patches, I would request that you merge them into your repository and do a tag/release of the code so that I can change the Fedora package over to using your repository directly. Thanks.

Chris Lalancette added 5 commits July 11, 2011 14:16
Signed-off-by: Chris Lalancette <clalance@redhat.com>
Signed-off-by: Chris Lalancette <clalance@redhat.com>
First, look for the xtables, iptc, and c libraries in the
standard locations so we don't have hard-coded versions.
Second, because we switched to an extension, the libxtwrapper
code is probably in different places on different architectures
(/usr/lib/python2.7 in i386, /usr/lib64/python2.7 in x86_64).
Therefore, use the python arch sitelib to locate the library.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
Signed-off-by: Chris Lalancette <clalance@redhat.com>
Signed-off-by: Chris Lalancette <clalance@redhat.com>
ldx pushed a commit that referenced this pull request Aug 12, 2011
Update python-iptables to work on modern distros
@ldx
ldx merged commit 44eccce into ldx:master Aug 12, 2011
ldx pushed a commit that referenced this pull request Jan 29, 2012
Update python-iptables to work on modern distros
pepoluan added a commit to pepoluan/python-iptables that referenced this pull request Dec 15, 2016
So create_target()'s' goto parameter did not get passed to Target()... fixed.
a-martynovich pushed a commit to GreatFruitOmsk/python-iptables that referenced this pull request May 6, 2019
Simplifies CSR generation and certificate validation (Closes ldx#1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

⌂ Proxy