[Bug 828] New: connlabel.conf is missing in built package if it exists on the system.

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Sun Jun 9 12:33:21 CEST 2013


https://bugzilla.netfilter.org/show_bug.cgi?id=828

           Summary: connlabel.conf is missing in built package if it
                    exists on the system.
           Product: iptables
           Version: unspecified
          Platform: x86_64
        OS/Version: other
            Status: NEW
          Severity: minor
          Priority: P5
         Component: unknown
        AssignedTo: netfilter-buglog at lists.netfilter.org
        ReportedBy: monster.romster at gmail.com
   Estimated Hours: 0.0


When I build iptables and have DESTDIR set /etc/xtables/connlabel.conf is
always missing from my footprint due to it checking on the system
/etc/xtables/connlabel.conf and not in the DESTDIR path.

Package managers have their own way to deal with merging, replace, or keep
changes to to deal with files in /etc

I beleave this:

 install-data-hook:                                                             
        @mkdir -p -m 755 $(DESTDIR)/etc/xtables/ || :                           
        @test -f /etc/xtables/connlabel.conf || $(INSTALL) -m 644
etc/xtables/connlabel.conf $(DESTDIR)/etc/xtables/connlabel.conf || :  

Should be this

@test -f $(DESTDIR)/etc/xtables/connlabel.conf || $(INSTALL) -m 644
etc/xtables/connlabel.conf $(DESTDIR)/etc/xtables/connlabel.conf || :

pre-pending $(DESTDIR) for the expected behavior.

p.s. on a side note we are at version iptables 1.4.19.1, but this version in
bug tracker does note even go past the 1.3.x branch.

-- 
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the netfilter-buglog mailing list