Do I have any package to check the packages built like zenpkgcheck in zenwalk..??
Can any 1 please help me..??
package check
Re: package check
Just use slkbuild and you won't need a check tool
Re: package check
You do. I just packaged a program (lablgtk) whose developer kept his non-root permissions. SLKBUILD didn't fix it but zen-pkgcheck.pl detected it, so I could fix it manually. xD
Re: package check
Use fakerootShador wrote:You do. I just packaged a program (lablgtk) whose developer kept his non-root permissions. SLKBUILD didn't fix it but zen-pkgcheck.pl detected it, so I could fix it manually. xD
Re: package check
I do:thenktor wrote:Use fakerootShador wrote:You do. I just packaged a program (lablgtk) whose developer kept his non-root permissions. SLKBUILD didn't fix it but zen-pkgcheck.pl detected it, so I could fix it manually. xD
alias build="fakeroot slkbuild -X"
Re: package check
fakeroot has nothing to do with it. If the makefile incorrectly does a chown that it shouldn't do, it will end up with bad ownerships in the package. Except zen-pkgcheck.pl, you can view the ownerships in the slkbuild build log by the way.
-
- Posts: 21
- Joined: 24. Sep 2009, 06:24
Re: package check
Yes slkbuild log helps a lot to identify the ownerships. Still zen-pkgcheck is a good tool for the beginners to learn the packaging and its debugginggapan wrote:fakeroot has nothing to do with it. If the makefile incorrectly does a chown that it shouldn't do, it will end up with bad ownerships in the package. Except zen-pkgcheck.pl, you can view the ownerships in the slkbuild build log by the way.
Re: package check
I usually run zen-pkgcheck directly after the build (another alias ), so that I see such errors early. Additionally I manually more extensively check (the final) package.
Re: package check
BTW: Why does slkbuild not check for such wrong ownerships and ask if it should correct it?