Public bug reported:

Binary package hint: ufw

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.

I'm using ufw 0.16.2 tarball.

Thanks in advance.

** Affects: ufw (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ufw packaging error
https://bugs.launchpad.net/bugs/231771
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to