Skip to content

Commit

Permalink
Update "rpm2pkg" package to version 3.2.1:
Browse files Browse the repository at this point in the history
- Go back to manual installation to avoid problems on unprivileged
  NetBSD installation. This fixes PR pkg/44415 by Hauke Fath.
- Don't install "rpm2pkg.cat8" any more as it is not really useful.
  • Loading branch information
tron committed Jan 19, 2011
1 parent 16caaad commit 302cf1a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
11 changes: 8 additions & 3 deletions pkgtools/rpm2pkg/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.56 2011/01/12 00:26:33 tron Exp $
# $NetBSD: Makefile,v 1.57 2011/01/19 16:23:02 tron Exp $

DISTNAME= rpm2pkg-3.2.0
DISTNAME= rpm2pkg-3.2.1
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
Expand All @@ -25,10 +25,15 @@ WRKSRC= ${WRKDIR}

.include "../../mk/compiler.mk"

INSTALLATION_DIRS= ${PKGMANDIR}/man8 ${PKGMANDIR}/cat8 sbin
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin

.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rpm2pkg ${DESTDIR}${PREFIX}/sbin
${INSTALL_MAN} ${FILESDIR}/rpm2pkg.8 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8

.include "../../mk/bsd.pkg.mk"
3 changes: 1 addition & 2 deletions pkgtools/rpm2pkg/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@comment $NetBSD: PLIST,v 1.2 2011/01/12 00:26:33 tron Exp $
@comment $NetBSD: PLIST,v 1.3 2011/01/19 16:23:02 tron Exp $
sbin/rpm2pkg
man/cat8/rpm2pkg.0
man/man8/rpm2pkg.8
6 changes: 2 additions & 4 deletions pkgtools/rpm2pkg/files/Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# $NetBSD: Makefile,v 1.2 2011/01/19 11:49:18 tron Exp $
# $NetBSD: Makefile,v 1.3 2011/01/19 16:23:02 tron Exp $

PROG= rpm2pkg
SRCS= fileio.c package-list.c parse-rpm.c rpm2pkg.c
SRCS+= fileio-bzlib.c fileio-lzma.c fileio-plain.c fileio-zlib.c
MAN= rpm2pkg.8
MAN=

BINDIR= ${PREFIX}/sbin
LDADD= -lbz2 -llzma -lz
WARNS= 4

NEED_OWN_INSTALL_TARGET= yes

#CFLAGS+= -g
#LDFLAGS+= -g

Expand Down

0 comments on commit 302cf1a

Please sign in to comment.