ufw

ufw packaging error

Bug #231770 reported by LTSmash
This bug report is a duplicate of:  Bug #231771: ufw packaging error. Edit Remove
2
Affects Status Importance Assigned to Milestone
ufw
New
Undecided
Unassigned

Bug Description

Hi,

I was trying to port ufw to Arch Linux, so I first made a package for the needed init-scripts which worked fine, however when you make a package in ArchLinux you have to make all the steps for installing as if you were gonna install it into another directory instead of the default one, (in this case ./pkg from where you run the packaging script), in resume you MUST INSTALL ANY PACKAGE INTO A DIR, THEN WHEN YOU INSTALL WITH THE PACKAGE MANAGER IT GOES TO THE "DEFAULT" PATH.

i.e. You install python to /home/user/PKGBUILDS/python/pkg, then the "makepkg" script compresses this to a ".pkg.tar.gz" file, then the package manager copies the contect of the "pkg" folder to the root.

Somehow, ufw just won't work because even it's copied to another folder, it keeps asking for itself in the pkg folder.

Here's more info on this bug:

http://bbs.archlinux.org/viewtopic.php?pid=368907#p368907

I don't know python, but I guess that the setup.py script makes some change to the ufw script so that it looks for itself where you chose the --root parameter. If that's right, then portability would be easy to be done simply by changing some of the code.

Thanks in advance.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.