rpm' and rpm2cpio' have been repocopied from "misc" to "archivers".

This commit is contained in:
David E. O'Brien 2001-03-20 20:28:14 +00:00
parent 56ec8c7cd1
commit 30af7b687e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40120
61 changed files with 37 additions and 546 deletions

View file

@ -30,6 +30,8 @@
SUBDIR += pkzip
SUBDIR += ppunpack
SUBDIR += rar
SUBDIR += rpm
SUBDIR += rpm2cpio
SUBDIR += ruby-zlib
SUBDIR += sectar
SUBDIR += ucl

View file

@ -8,7 +8,7 @@
PORTNAME= rpm
PORTVERSION= 3.0.6
PORTREVISION= 4
CATEGORIES= misc
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/ \
ftp://ftp.mirror.ac.uk/sites/ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/

View file

@ -7,7 +7,7 @@
PORTNAME= rpm2cpio
PORTVERSION= 1.1
CATEGORIES= misc
CATEGORIES= archivers
MASTER_SITES= http://www.iagora.com/~espel/
DISTFILES= ${PORTNAME}

View file

@ -15,7 +15,7 @@ EXTRACT_SUFX= _rpm
MAINTAINER= vns@delta.odessa.ua
RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm2cpio
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
EXTRACT_CMD= rpm2cpio
EXTRACT_BEFORE_ARGS=

View file

@ -17,7 +17,7 @@ EXTRACT_ONLY=
MAINTAINER= keith@FreeBSD.org
RUN_DEPENDS= rpm:${PORTSDIR}/misc/rpm
RUN_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
ONLY_FOR_ARCHS= i386
DIST_SUBDIR= zh-rpm

View file

@ -14,7 +14,7 @@ DISTFILES= gtk+-1.2.6-7CLE.i386.rpm
MAINTAINER= keith@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
RUN_DEPENDS= /compat/linux/CLE-0.9p1:${PORTSDIR}/chinese/cle_base
DIST_SUBDIR= zh-rpm

View file

@ -24,7 +24,7 @@ PATCHFILES=
MAINTAINER= marcel@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
RUN_DEPENDS= \
${PREFIX}/etc/redhat-release:${PORTSDIR}/emulators/linux_base

View file

@ -24,7 +24,7 @@ PATCHFILES=
MAINTAINER= marcel@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
RUN_DEPENDS= \
${PREFIX}/etc/redhat-release:${PORTSDIR}/emulators/linux_base

View file

@ -24,7 +24,7 @@ PATCHFILES=
MAINTAINER= marcel@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
RUN_DEPENDS= \
${PREFIX}/etc/redhat-release:${PORTSDIR}/emulators/linux_base

View file

@ -20,7 +20,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang \
tcl82.1:${PORTSDIR}/lang/tcl82 \
popt.0:${PORTSDIR}/devel/popt
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm \
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm \
python1.5:${PORTSDIR}/lang/python15
USE_GMAKE= yes

View file

@ -17,7 +17,7 @@ PATCHFILES= ${UPDATES}
MAINTAINER= marcel@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
ONLY_FOR_ARCHS= alpha i386
DIST_SUBDIR= rpm

View file

@ -17,7 +17,7 @@ PATCHFILES= ${UPDATES}
MAINTAINER= marcel@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
ONLY_FOR_ARCHS= alpha i386
DIST_SUBDIR= rpm

View file

@ -17,7 +17,7 @@ PATCHFILES= ${UPDATES}
MAINTAINER= marcel@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
ONLY_FOR_ARCHS= alpha i386
DIST_SUBDIR= rpm

View file

@ -17,7 +17,7 @@ PATCHFILES= ${UPDATES}
MAINTAINER= marcel@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
ONLY_FOR_ARCHS= alpha i386
DIST_SUBDIR= rpm

View file

@ -17,7 +17,7 @@ PATCHFILES= ${UPDATES}
MAINTAINER= marcel@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
ONLY_FOR_ARCHS= alpha i386
DIST_SUBDIR= rpm

View file

@ -17,7 +17,7 @@ PATCHFILES= ${UPDATES}
MAINTAINER= marcel@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
ONLY_FOR_ARCHS= alpha i386
DIST_SUBDIR= rpm

View file

@ -17,7 +17,7 @@ PATCHFILES= ${UPDATES}
MAINTAINER= marcel@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
ONLY_FOR_ARCHS= alpha i386
DIST_SUBDIR= rpm

View file

@ -17,7 +17,7 @@ PATCHFILES= ${UPDATES}
MAINTAINER= marcel@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
ONLY_FOR_ARCHS= alpha i386
DIST_SUBDIR= rpm

View file

@ -15,7 +15,7 @@ EXTRACT_SUFX= .rpm
MAINTAINER= obrien@FreeBSD.org
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm2cpio
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
ONLY_FOR_ARCHS= alpha

View file

@ -17,7 +17,7 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm2cpio
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
NO_WRKSUBDIR= yes
USE_IMAKE= yes

View file

@ -18,7 +18,7 @@ PATCHFILES=
MAINTAINER= mastake@msel.t.u-tokyo.ac.jp
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm
RUN_DEPENDS= \
/compat/linux/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base

View file

@ -13,8 +13,7 @@ DISTFILES= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}.i386.rpm
MAINTAINER= sanpei@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm \
rpm2cpio:${PORTSDIR}/misc/rpm2cpio
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm
RUN_DEPENDS= ${LINUX_BASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \
${LINUX_BASE}/usr/lib/libjpeg.so.62.0.0:${PORTSDIR}/graphics/linux-jpeg \
${LINUX_BASE}/usr/lib/libpng.so.2.1.0.3:${PORTSDIR}/graphics/linux-png

View file

@ -14,7 +14,7 @@ EXTRACT_SUFX= .rpm
MAINTAINER= cjh@FreeBSD.org
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm
USE_X_PREFIX= yes

View file

@ -22,7 +22,7 @@ MAINTAINER= obrien@FreeBSD.org
RESTRICTED= "Distribution not allowed"
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
ONLY_FOR_ARCHS= alpha

View file

@ -128,8 +128,6 @@
SUBDIR += quranref
SUBDIR += rfc
SUBDIR += rname
SUBDIR += rpm
SUBDIR += rpm2cpio
SUBDIR += rtfm
SUBDIR += screen
SUBDIR += scriptkit

View file

@ -1,42 +0,0 @@
# New ports collection makefile for: rpm
# Date created: 30 April 1999
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= rpm
PORTVERSION= 3.0.6
PORTREVISION= 5
CATEGORIES= misc
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/ \
ftp://ftp.mirror.ac.uk/sites/ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
MAINTAINER= nakai@FreeBSD.org
LIB_DEPENDS= bz2.1:${PORTSDIR}/archivers/bzip2 \
intl.1:${PORTSDIR}/devel/gettext \
popt.0:${PORTSDIR}/devel/popt
USE_GMAKE= yes
USE_AUTOMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-glob
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
MAN1= gendiff.1
MAN8= rpm.8 rpm2cpio.8
post-patch:
.for file in rpm.c doc/rpm.8 lib/macro.c lib/rpmrc.c
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
.endfor
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/gendiff.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/rpm.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/doc/rpm2cpio.8 ${PREFIX}/man/man8
.include <bsd.port.mk>

View file

@ -1 +0,0 @@
MD5 (rpm-3.0.6.tar.gz) = 71961a796fbb04d2cf22a37337b63da8

View file

@ -1,11 +0,0 @@
--- aclocal.m4.orig Thu Sep 14 04:41:44 2000
+++ aclocal.m4 Wed Oct 4 04:45:55 2000
@@ -738,7 +738,7 @@
[CATOBJEXT=.gmo
DATADIRNAME=share],
[CATOBJEXT=.mo
- DATADIRNAME=lib])
+ DATADIRNAME=share])
INSTOBJEXT=.mo
fi
fi

View file

@ -1,11 +0,0 @@
--- rpm.c.orig Thu Sep 14 02:15:44 2000
+++ rpm.c Thu Oct 5 00:37:37 2000
@@ -313,7 +313,7 @@
_("print the version of rpm being used"));
puts( _(" all modes support the following arguments:"));
printHelpLine(_(" --rcfile <file> "),
- _("use <file> instead of /etc/rpmrc and $HOME/.rpmrc"));
+ _("use <file> instead of %%PREFIX%%/etc/rpmrc and $HOME/.rpmrc"));
printHelpLine( " -v ",
_("be a little more verbose"));
printHelpLine( " -vv ",

View file

@ -1,20 +0,0 @@
--- macros.in.orig Thu Oct 5 13:31:06 2000
+++ macros.in Thu Oct 5 13:31:25 2000
@@ -104,7 +104,7 @@
# will be used if the per-platform macro file does not exist..
#
%_arch @RPMCANONARCH@
-%_vendor @RPMCANONVENDOR@
+%_vendor freebsd
%_os @RPMCANONOS@
%_target_platform %{_target_cpu}-%{_vendor}-%{_target_os}
#
@@ -145,7 +145,7 @@
%_host @host@
%_host_alias @host_alias@
%_host_cpu @host_cpu@
-%_host_vendor @host_vendor@
+%_host_vendor unknown
%_host_os @host_os@
%_target %{_host}
%_target_alias %{_host_alias}

View file

@ -1,49 +0,0 @@
--- doc/rpm.8.orig Wed Aug 30 05:27:18 2000
+++ doc/rpm.8 Wed Oct 4 22:46:12 2000
@@ -86,7 +86,7 @@
.IP "\fB\-\-rcfile \fI<filelist>\fP"
Each of the files in the colon separated \fI<filelist>\fP is read
sequentially by \fBrpm\fP for configuration information.
-The default \fI<filelist>\fP is \fB/usr/lib/rpm/rpmrc:/etc/rpmrc:~/.rpmrc\fP.
+The default \fI<filelist>\fP is \fB%%PREFIX%%/lib/rpm/rpmrc:%%PREFIX%%/etc/rpmrc:~/.rpmrc\fP.
Only the first file in the list must exist, and tildes will be expanded to
the value of \fB$HOME\fP.
.IP "\fB\-\-root \fI<dir>\fP"
@@ -493,17 +493,17 @@
For example, to be able to use PGP to sign packages as the user
\fB"John Doe <jdoe@foo.com>"\fP from the key rings located in
-\fB/etc/rpm/.pgp\fP using the executable \fB/usr/bin/pgp\fP you would include
+\fB%%PREFIX%%/etc/rpm/.pgp\fP using the executable \fB%%PREFIX%%/bin/pgp\fP you would include
.I "\fB%_signature pgp\fP"
-.I "\fB%_pgp_path /etc/rpm/.pgp\fP"
+.I "\fB%_pgp_path %%PREFIX%%/etc/rpm/.pgp\fP"
.I "\fB%_pgp_name John Doe <jdoe@foo.com>\fP"
-.I "\fB%_pgpbin /usr/bin/pgp\fP"
+.I "\fB%_pgpbin %%PREFIX%%/bin/pgp\fP"
-in a macro configuration file. Use \fB/etc/rpm/macros\fP for per-system
+in a macro configuration file. Use \fB%%PREIFX%%/etc/rpm/macros\fP for per-system
configuration and \fB~/.rpmmacros\fP for per-user configuration.
.SH REBUILD DATABASE OPTIONS
@@ -575,11 +575,11 @@
.SH FILES
.nf
-/usr/lib/rpm/rpmrc
-/etc/rpmrc
+%%PREFIX%%/lib/rpm/rpmrc
+%%PREIFX%%/etc/rpmrc
~/.rpmrc
-/usr/lib/rpm/macros
-/etc/rpm/macros
+%%PREFIX%%/lib/rpm/macros
+%%PREFIX%%/etc/rpm/macros
~/.rpmmacros
/var/lib/rpm/conflictsindex.rpm
/var/lib/rpm/fileindex.rpm

View file

@ -1,11 +0,0 @@
--- lib/macro.c.orig Mon Jul 10 00:35:57 2000
+++ lib/macro.c Wed Oct 4 23:04:43 2000
@@ -1608,7 +1608,7 @@
#if defined(EVAL_MACROS)
-char *macrofiles = "/usr/lib/rpm/macros:/etc/rpm/macros:~/.rpmmacros";
+char *macrofiles = "%%PREFIX%%/lib/rpm/macros:%%PREFIX%%/etc/rpm/macros:~/.rpmmacros";
int
main(int argc, char *argv[])

View file

@ -1,20 +0,0 @@
--- lib/rpmrc.c.orig Thu Sep 14 02:29:18 2000
+++ lib/rpmrc.c Wed Oct 4 23:03:36 2000
@@ -13,7 +13,7 @@
#include "misc.h"
-static const char *defrcfiles = LIBRPMRC_FILENAME ":/etc/rpmrc:~/.rpmrc";
+static const char *defrcfiles = LIBRPMRC_FILENAME ":%%PREFIX%%/etc/rpmrc:~/.rpmrc";
struct machCacheEntry {
const char * name;
@@ -858,7 +858,7 @@
/* we are on ncr-sysv4 */
char *prelid = NULL;
FD_t fd;
- fd = Fopen("/etc/.relid", "r.fdio");
+ fd = Fopen("%%PREFIX%%/etc/.relid", "r.fdio");
if (!Ferror(fd)) {
chptr = (char *) xcalloc(1, 256);
if (chptr != NULL) {

View file

@ -1,57 +0,0 @@
--- configure.in.orig Thu Sep 14 04:39:40 2000
+++ configure.in Wed Oct 4 23:13:46 2000
@@ -369,7 +369,7 @@
AC_CHECK_HEADERS(netinet/in_systm.h)
AC_CHECK_HEADERS(machine/types.h)
AC_CHECK_HEADERS(mntent.h sys/mnttab.h sys/systemcfg.h)
-AC_CHECK_HEADERS(sys/mount.h sys/mntctl.h sys/vmount.h)
+AC_CHECK_HEADERS(sys/mount.h sys/mntctl.h sys/param.h sys/vmount.h)
AC_CHECK_HEADERS(bzlib.h libio.h zlib.h)
AC_CHECK_HEADERS(err.h mcheck.h)
@@ -431,6 +431,9 @@
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#include <sys/mount.h> ],
[struct statfs sfs;],
[AC_MSG_RESULT(in sys/mount.h)
@@ -744,7 +747,7 @@
AC_SUBST(ROOT_GROUP)
if test "x$varprefix" = "x"; then
- varprefix=`echo $prefix | sed 's/usr/var/'`
+ varprefix=`echo /var`
test "x$prefix" = xNONE && varprefix=`echo $ac_default_prefix | sed 's/usr/var/'`
fi
AC_SUBST(varprefix)
@@ -872,7 +875,7 @@
RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`"
AC_DEFINE_UNQUOTED(RPMCONFIGDIR, "$RPMCONFIGDIR")
AC_SUBST(RPMCONFIGDIR)
-SYSCONFIGDIR="`echo /etc/rpm`"
+SYSCONFIGDIR="`echo ${usrprefix}/etc/rpm`"
AC_DEFINE_UNQUOTED(SYSCONFIGDIR, "$SYSCONFIGDIR")
AC_SUBST(SYSCONFIGDIR)
LIBRPMRC_FILENAME="${RPMCONFIGDIR}/rpmrc"
@@ -911,7 +914,6 @@
dnl # XXX Propagate -lucb to popt ...
dnl export LIBS INCPATH CONFIG_SITE
-AC_CONFIG_SUBDIRS(popt)
AC_OUTPUT([Doxyfile Makefile rpmrc macros platform rpmpopt scripts/brp-redhat
lib/Makefile build/Makefile tools/Makefile scripts/Makefile
tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile
@@ -919,8 +921,7 @@
doc/Makefile doc/manual/Makefile
doc/ja/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile
python/Makefile perl/Makefile perl/Makefile.PL],
- [echo timestamp > popt/stamp-h.in
- echo timestamp > stamp-h.in])
+ [echo timestamp > stamp-h.in])
dnl touch Makefile.in
dnl sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])

View file

@ -1,26 +0,0 @@
--- Makefile.am.orig Thu Sep 14 02:36:40 2000
+++ Makefile.am Wed Oct 4 06:08:38 2000
@@ -11,19 +11,19 @@
rpm.magic rpmpopt rpm.spec installplatform
# XXX TODO: python perl
-SUBDIRS = intl po popt lib build misc tools scripts tests doc .
+SUBDIRS = intl po lib build misc tools scripts tests .
-INCLUDES = -I$(top_srcdir)/build -I$(top_srcdir)/lib -I$(top_srcdir)/popt \
+INCLUDES = -I$(top_srcdir)/build -I$(top_srcdir)/lib \
@INCPATH@
-myldflags= -L$(top_builddir)/build -L$(top_builddir)/lib -L$(top_builddir)/popt
+myldflags= -L$(top_builddir)/build -L$(top_builddir)/lib
# XXX libtool can/should generate dependent libs.
# XXX solaris2.6 cannot use *.la with --all-static (downrev binutils/egcs?)
myldadd= \
$(top_builddir)/build/.libs/librpmbuild.a \
$(top_builddir)/lib/.libs/librpm.a \
- $(top_builddir)/popt/.libs/libpopt.a \
+ -lpopt \
@INTLLIBS@ @LIBMISC@
LDFLAGS = @LDFLAGS_STATIC@ $(myldflags)

View file

@ -1,11 +0,0 @@
--- build/Makefile.am.orig Wed Jun 14 21:34:28 2000
+++ build/Makefile.am Wed Oct 4 05:02:45 2000
@@ -2,7 +2,7 @@
AUTOMAKE_OPTIONS = 1.4 foreign
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/popt \
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/lib \
@INCPATH@
pkgincdir = $(pkgincludedir)

View file

@ -1,20 +0,0 @@
--- lib/Makefile.am.orig Mon Jul 17 03:49:43 2000
+++ lib/Makefile.am Wed Oct 4 05:32:09 2000
@@ -2,7 +2,7 @@
AUTOMAKE_OPTIONS = 1.4 foreign
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/build -I$(top_srcdir)/popt @INCPATH@
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/build @INCPATH@
pkgincdir = $(pkgincludedir)
pkginc_HEADERS = \
@@ -12,7 +12,7 @@
lookup.h md5.h rpm_malloc.h \
rpmdb.h rpmlead.h signature.h
-mylibpaths= -L$(top_builddir)/lib -L$(top_builddir)/popt
+mylibpaths= -L$(top_builddir)/lib
mylibs= -lrpm -lpopt @INTLLIBS@ @LIBMISC@
lib_LTLIBRARIES = librpm.la

View file

@ -1,24 +0,0 @@
--- tools/Makefile.am.orig Wed Jun 14 21:34:51 2000
+++ tools/Makefile.am Wed Oct 4 05:34:26 2000
@@ -3,18 +3,18 @@
AUTOMAKE_OPTIONS = 1.4 foreign
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/build \
- -I$(top_srcdir)/lib -I$(top_srcdir)/popt \
+ -I$(top_srcdir)/lib \
@INCPATH@ -I$(top_srcdir)/misc
EXTRA_DIST = fstrcmp.c message.c str-list.c rpmchecksig.c
EXTRA_PROGRAMS = rpmgettext rpmputtext rpminject
-myldflags= -L$(top_builddir)/build -L$(top_builddir)/lib -L$(top_builddir)/popt
+myldflags= -L$(top_builddir)/build -L$(top_builddir)/lib
# XXX should libtool generate dependent libs?
myldadd= $(top_builddir)/build/librpmbuild.la \
$(top_builddir)/lib/librpm.la \
- $(top_builddir)/popt/libpopt.la \
+ -lpopt \
@INTLLIBS@ @LIBMISC@
LDFLAGS = $(myldflags)

View file

@ -1,11 +0,0 @@
--- rpm2cpio.c.orig Wed Oct 25 19:26:40 2000
+++ rpm2cpio.c Wed Oct 25 19:26:59 2000
@@ -55,7 +55,7 @@
}
gzdi = Fdopen(fdi, rpmio_flags); /* XXX gzdi == fdi */
- if (gzdi == NULL || Ferror(gzdi)) {
+ if (gzdi == NULL) {
fprintf(stderr, _("cannot re-open payload: %s\n"), Fstrerror(gzdi));
exit(EXIT_FAILURE);
}

View file

@ -1,25 +0,0 @@
--- lib/fs.c.orig Wed Jun 14 21:34:30 2000
+++ lib/fs.c Tue Mar 20 22:24:58 2001
@@ -12,6 +12,11 @@
/*@only@*/ /*@null@*/ static const char ** fsnames = NULL;
static int numFilesystems = 0;
+/* dummy getmntent() for FreeBSD */
+our_mntent *getmntent(FILE *filep) {
+ return NULL;
+}
+
void freeFilesystems(void)
{
if (filesystems) {
@@ -129,8 +134,10 @@
# if GETMNTENT_ONE || GETMNTENT_TWO
mtab = fopen(MOUNTED, "r");
if (!mtab) {
+/*
rpmError(RPMERR_MTAB, _("failed to open %s: %s"), MOUNTED,
strerror(errno));
+*/
return 1;
}
# elif HAVE_GETMNTINFO_R

View file

@ -1,14 +0,0 @@
--- system.h.orig Tue Mar 20 22:24:05 2001
+++ system.h Tue Mar 20 22:24:30 2001
@@ -351,9 +351,9 @@
# elif HAVE_STRUCT_MNTTAB
# include <stdio.h>
# include <mnttab.h>
- struct our_mntent {
+ typedef struct our_mntent {
char * our_mntdir;
- };
+ } our_mntent;
struct our_mntent *getmntent(FILE *filep);
# define our_mntent struct our_mntent
# else

View file

@ -1 +0,0 @@
The Red Hat Package Manager

View file

@ -1,7 +0,0 @@
This is the Red Hat Package Manager.
FYI:
There is also a rpm2cpio converter written in perl. You don't have to
install the whole RPM manager to get the files in an RPM.
WWW: http://www.rpm.org/

View file

@ -1,101 +0,0 @@
bin/gendiff
bin/rpm
bin/rpm2cpio
include/rpm/dbindex.h
include/rpm/header.h
include/rpm/misc.h
include/rpm/rpmbuild.h
include/rpm/rpmio.h
include/rpm/rpmlib.h
include/rpm/rpmmacro.h
include/rpm/rpmspec.h
include/rpm/rpmurl.h
include/rpm/stringbuf.h
lib/librpm.a
lib/librpm.so
lib/librpm.so.0
lib/librpmbuild.a
lib/librpmbuild.so
lib/librpmbuild.so.0
lib/rpm/brp-compress
lib/rpm/brp-redhat
lib/rpm/brp-sparc64-linux
lib/rpm/brp-strip
lib/rpm/brp-strip-comment-note
lib/rpm/check-prereqs
lib/rpm/config.guess
lib/rpm/config.sub
lib/rpm/convertrpmrc.sh
lib/rpm/cpanflute
lib/rpm/find-lang.sh
lib/rpm/find-prov.pl
lib/rpm/find-provides
lib/rpm/find-provides.perl
lib/rpm/find-req.pl
lib/rpm/find-requires
lib/rpm/find-requires.perl
lib/rpm/get_magic.pl
lib/rpm/getpo.sh
lib/rpm/http.req
lib/rpm/macros
lib/rpm/magic.prov
lib/rpm/magic.req
lib/rpm/mkinstalldirs
lib/rpm/perl.prov
lib/rpm/perl.req
lib/rpm/rpmdiff
lib/rpm/rpmdiff.cgi
lib/rpm/rpmgettext
lib/rpm/rpmpopt
lib/rpm/rpmputtext
lib/rpm/rpmrc
lib/rpm/u_pkg.sh
lib/rpm/vpkg-provides.sh
lib/rpm/vpkg-provides2.sh
lib/rpmpopt
lib/rpmrc
share/locale/cs/LC_MESSAGES/rpm.mo
share/locale/de/LC_MESSAGES/rpm.mo
share/locale/fi/LC_MESSAGES/rpm.mo
share/locale/fr/LC_MESSAGES/rpm.mo
share/locale/ja/LC_MESSAGES/rpm.mo
share/locale/pl/LC_MESSAGES/rpm.mo
share/locale/pt_BR/LC_MESSAGES/rpm.mo
share/locale/ru/LC_MESSAGES/rpm.mo
share/locale/sk/LC_MESSAGES/rpm.mo
share/locale/sl/LC_MESSAGES/rpm.mo
share/locale/sr/LC_MESSAGES/rpm.mo
share/locale/sv/LC_MESSAGES/rpm.mo
share/locale/tr/LC_MESSAGES/rpm.mo
@dirrm lib/rpm
@dirrm include/rpm
@unexec rmdir %D/src/redhat/SRPMS 2>/dev/null || true
@unexec rmdir %D/src/redhat/SPECS 2>/dev/null || true
@unexec rmdir %D/src/redhat/SOURCES 2>/dev/null || true
@unexec rmdir %D/src/redhat/RPMS/noarch 2>/dev/null || true
@unexec rmdir %D/src/redhat/RPMS/athlon 2>/dev/null || true
@unexec rmdir %D/src/redhat/RPMS/i686 2>/dev/null || true
@unexec rmdir %D/src/redhat/RPMS/i586 2>/dev/null || true
@unexec rmdir %D/src/redhat/RPMS/i486 2>/dev/null || true
@unexec rmdir %D/src/redhat/RPMS/i386 2>/dev/null || true
@unexec rmdir %D/src/redhat/RPMS 2>/dev/null || true
@unexec rmdir %D/src/redhat/BUILD 2>/dev/null || true
@unexec rmdir %D/src/redhat 2>/dev/null || true
@unexec rmdir %D/src 2>/dev/null || true
@unexec rmdir /var/lib/rpm 2>/dev/null || true
@unexec rmdir /var/lib 2>/dev/null || true
@exec mkdir -p /var/lib
@exec mkdir -p /var/lib/rpm
@exec mkdir -p %D/src
@exec mkdir -p %D/src/redhat
@exec mkdir -p %D/src/redhat/BUILD
@exec mkdir -p %D/src/redhat/RPMS
@exec mkdir -p %D/src/redhat/RPMS/athlon
@exec mkdir -p %D/src/redhat/RPMS/i386
@exec mkdir -p %D/src/redhat/RPMS/i486
@exec mkdir -p %D/src/redhat/RPMS/i586
@exec mkdir -p %D/src/redhat/RPMS/i686
@exec mkdir -p %D/src/redhat/RPMS/noarch
@exec mkdir -p %D/src/redhat/SOURCES
@exec mkdir -p %D/src/redhat/SPECS
@exec mkdir -p %D/src/redhat/SRPMS

View file

@ -1,29 +0,0 @@
# New ports collection makefile for: rpm2cpio
# Date created: Sun Jul 18 21:51:23 MET DST 1999
# Whom: Juergen Lock <nox@jelal.kn-bremen.de>
#
# $FreeBSD$
#
PORTNAME= rpm2cpio
PORTVERSION= 1.1
CATEGORIES= misc
MASTER_SITES= http://www.iagora.com/~espel/
DISTFILES= ${PORTNAME}
MAINTAINER= nox@jelal.kn-bremen.de
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= .
USE_PERL5= yes
do-build:
${PERL5} -i.bak -p -e "if (1 .. 1) {s-^#!/usr/bin/perl-#!${PERL}-;}" ${WRKDIR}/rpm2cpio
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/rpm2cpio ${PREFIX}/bin
.include <bsd.port.mk>

View file

@ -1 +0,0 @@
MD5 (rpm2cpio) = 60e416bc9a91870944a9fc2a6d706478

View file

@ -1 +0,0 @@
Convert .rpm files for extraction with /usr/bin/cpio, needs just perl

View file

@ -1,12 +0,0 @@
Convert .rpm files for extraction with /usr/bin/cpio
Quoting the author:
why does the world need another rpm2cpio? because the existing one
won't build unless you have half a ton of things that aren't really
required for it, since it uses the same library used to extract RPM's.
in particular, it won't build on the HPsUX box i'm on.
(this one needs just perl)
WWW: http://www.iagora.com/~espel/

View file

@ -1 +0,0 @@
bin/rpm2cpio

View file

@ -15,7 +15,7 @@ EXTRACT_SUFX= _rpm
MAINTAINER= vns@delta.odessa.ua
RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm2cpio
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
EXTRACT_CMD= rpm2cpio
EXTRACT_BEFORE_ARGS=

View file

@ -13,8 +13,7 @@ DISTFILES= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}.i386.rpm
MAINTAINER= sanpei@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm \
rpm2cpio:${PORTSDIR}/misc/rpm2cpio
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm
RUN_DEPENDS= ${LINUX_BASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \
${LINUX_BASE}/usr/lib/libjpeg.so.62.0.0:${PORTSDIR}/graphics/linux-jpeg \
${LINUX_BASE}/usr/lib/libpng.so.2.1.0.3:${PORTSDIR}/graphics/linux-png

View file

@ -13,8 +13,7 @@ DISTFILES= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}.i386.rpm
MAINTAINER= sanpei@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm \
rpm2cpio:${PORTSDIR}/misc/rpm2cpio
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm
RUN_DEPENDS= ${LINUX_BASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \
${LINUX_BASE}/usr/lib/libjpeg.so.62.0.0:${PORTSDIR}/graphics/linux-jpeg \
${LINUX_BASE}/usr/lib/libpng.so.2.1.0.3:${PORTSDIR}/graphics/linux-png

View file

@ -17,7 +17,7 @@ EXTRACT_ONLY= ${RPMFILE}
MAINTAINER= taoka@FreeBSD.org
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm2cpio
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
.if defined(SLAVE_PORT)
RUN_DEPENDS= stsmon:${PORTSDIR}/print/bjfiltercom \
pstops:${PORTSDIR}/print/psutils-${PAPERSIZE}

View file

@ -15,7 +15,7 @@ EXTRACT_SUFX= -1.src.rpm
MAINTAINER= ycheng@sinica.edu.tw
BUILD_DEPENDS= ${LOCALBASE}/bin/rpm2cpio:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= ${LOCALBASE}/bin/rpm2cpio:${PORTSDIR}/archivers/rpm
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
USE_GMAKE= yes

View file

@ -13,7 +13,7 @@ MASTER_SITE_SUBDIR= unstable/sources/nautilus
MAINTAINER= sobomax@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
LIB_DEPENDS= medusa.0:${PORTSDIR}/sysutils/medusa \
gtkhtml.8:${PORTSDIR}/www/gtkhtml \
ghttp.1:${PORTSDIR}/www/libghttp \

View file

@ -13,7 +13,7 @@ MASTER_SITE_SUBDIR= unstable/sources/nautilus
MAINTAINER= sobomax@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
LIB_DEPENDS= medusa.0:${PORTSDIR}/sysutils/medusa \
gtkhtml.8:${PORTSDIR}/www/gtkhtml \
ghttp.1:${PORTSDIR}/www/libghttp \

View file

@ -16,7 +16,7 @@ MAINTAINER= demon@FreeBSD.org
# xnc will use the following programs if you have them installed.
#RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip \
# unzip:${PORTSDIR}/archivers/unzip \
# rpm:${PORTSDIR}/misc/rpm \
# rpm:${PORTSDIR}/archivers/rpm \
# rar:${PORTSDIR}/archivers/rar \
# unarj:${PORTSDIR}/archivers/unarj \
# lha:${PORTSDIR}/archivers/lha \

View file

@ -17,7 +17,7 @@ DISTFILES= ${RPM_SET}
MAINTAINER?= ports@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
USE_LINUX_PREFIX= yes
ONLY_FOR_ARCHS= i386 alpha

View file

@ -17,7 +17,7 @@ DISTFILES= ${RPM_SET}
MAINTAINER?= ports@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
USE_LINUX_PREFIX= yes
ONLY_FOR_ARCHS= i386 alpha

View file

@ -17,7 +17,7 @@ DISTFILES= ${RPM_SET}
MAINTAINER?= ports@FreeBSD.org
BUILD_DEPENDS= rpm:${PORTSDIR}/misc/rpm
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
USE_LINUX_PREFIX= yes
ONLY_FOR_ARCHS= i386 alpha

View file

@ -13,7 +13,7 @@ MASTER_SITES= http://ulli.linuxave.net/wmakerconf/
MAINTAINER= dr@domix.de
RUN_DEPENDS= rpm:${PORTSDIR}/misc/rpm \
RUN_DEPENDS= rpm:${PORTSDIR}/archivers/rpm \
bunzip2:${PORTSDIR}/archivers/bzip2
LIB_DEPENDS= PropList.2:${PORTSDIR}/devel/libPropList \
jpeg.9:${PORTSDIR}/graphics/jpeg \