Age | Commit message (Collapse) | Author | Files | Lines |
|
- Use "@pkgdir" instead of "@exec mkdir ..." to create empty directories.
- Don't add "@dirrm" lines for empty directories as they are now deleted
automatically.
Based on a suggestion by Thomas Klausner in private e-mail.
|
|
Always treat symbolic links like file when generating the package list.
A long time ago "pkg_install" didn't like symbolic links which is why
"rpm2pkg" created "@exec" and "@unexec" lines in the package list.
This does however cause false positive reported by the "CHECK_FILES" check.
This should fix a part of PR pkg/41191.
|
|
- Avoid handling RPMs with uncompress data via "lzcat -f".
- Improve handling of LZMA compression via "lzcat":
- Fail early if the child process fails to start "lzcat".
- Don't try to kill the chld process blindly when we close the parent
end of the pipe. Check first whether it already terminated which
is the normal case.
Handling of RPM files with LZMA compression is now tested.
|
|
Fix bug in last change which broke extracting RPMs via "lzcat" (which is
now also used for uncompressed RPMs).
|
|
- Fix start of "lzcat" if "LZCAT" is not defined as a full pathname.
- Handle short reads on the pipe to "lzcat".
|
|
- Implement a minimal parser for the RPM header section and use it to
skip to the data section instead of searching for BZip2 or GZip
magic headers.
- Add untested support for LZMA compression. It currently uses "lzcat"
from the "xz" package which is what "pkgsrc" itself uses to handle
".lzma" files.
|
|
Avoid problems on 32-bit platforms by gently hinting the compiler how
to do type expansion properly.
This fixes PR pkg/43478 by Greg Oster.
|
|
- Fix detection of BZip2/GZip signature which would have failed if the
signature was located behind a prefix of the signature.
- Increase I/O buffer size so that "rpm2pkg" will usually find the data
section after only one read(2) system call.
|
|
- Don't use the original "rpm" libraries. All we need to do is to identify
a file as an RPM file and afterwards find the BZip2 or GZip compressed
section at the end of the file.
- Use C99's "stdbool.h" instead of home-grown defines.
|
|
|
|
- Switch to 2-clause BSD license.
- Compile with extra warnings (again) if GCC is used as the compiler.
- Fix build warnings reported by "-Wsign-compare".
|
|
- Fixed GCC 4.x build warning (which would have resulted in an error
with future GCC versions).
- Depend on newer version of "rpm" package to fix build under Mac OS X.
|
|
- Improve I/O buffer mangement.
- Don't put "@exec" and "@unexec" in the package list for symbolic links
which point to normal files. This allows the automatic manual
decompression to handle symbolic links to manual pages correctly.
The update fixes PR pkg/25723 by Kouichirou Hiratsuka.
|
|
- added support for RPM archive compress with bzip2 as used by e.g.
SuSE Linux 8.2.
- (hopefully) made portable
- rewrote ugly code for handling "-s" command line option
- converted source to KNF
|
|
files in the "suse_base" package causing error messages like this:
Gdk-WARNING **: locale not supported by C library
Bump version number to 1.3.
|
|
the Netscape package for PowerPC, and probably others.
|
|
Convert RPM archives to NetBSD packages
|