summaryrefslogtreecommitdiff
path: root/pkgtools/rpm2pkg/files/rpm2pkg.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-08Update "rpm2pkg" package to version 3.1.5:tron1-8/+3
- 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.
2010-09-07Update "rpm2pkg" to version 3.1.4:tron1-55/+16
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.
2010-09-05Update "rpm2pkg" package to version 3.1.3:tron1-31/+55
- 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.
2010-09-05Update "rpm2pkg" package to version 3.1.2 (*sigh*):tron1-5/+8
Fix bug in last change which broke extracting RPMs via "lzcat" (which is now also used for uncompressed RPMs).
2010-09-05Update "rpm2pkg" package to version 3.1.1:tron1-3/+17
- Fix start of "lzcat" if "LZCAT" is not defined as a full pathname. - Handle short reads on the pipe to "lzcat".
2010-09-04Update "rpm2pkg" package to version 3.1:tron1-70/+160
- 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.
2010-06-15Update "rpm2pkg" package to version 3.0.2. Changes since 3.0.1:tron1-3/+3
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.
2010-06-14Update "rpm2pkg" to version 3.0.1. Changes since 3.0:tron1-8/+10
- 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.
2010-06-13Update "rpm2pkg" to version 3.0. Changes since version 2.3:tron1-68/+123
- 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.
2009-06-14Drop @dirrm related logic. Bump version.joerg1-10/+1
2009-04-23Update "rpm2pkg" package to version 2.2. Changes since version 2.1.1:tron1-10/+8
- 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".
2006-01-21Update "rpm2pkg" package to version 2.1.1. Changes since 2.1:tron1-3/+3
- 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.
2004-05-27Update "rpm2pkg" package to version 2.1:tron1-23/+52
- 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.
2004-02-18Update "rpm2pkg" package to version 2.0. Changes since version 1.3:tron1-640/+820
- 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
2002-12-09Add proper handling for hardlinks. This fixes e.g. the zero byte localetron1-6/+23
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.
2001-03-20Added a -s flag to strip leading directories in file paths. Requested bymanu1-4/+35
the Netscape package for PowerPC, and probably others.
2001-01-25Import new "rpm2pkg" package:tron1-0/+708
Convert RPM archives to NetBSD packages