Skip to content

Commit

Permalink
Fix PR pkg/39247
Browse files Browse the repository at this point in the history
Update to 4.1.1

* Convert to use Linux binary on compat_linux, instead of old BSD binary.

Changelog:
* Add some new options (ch etc.)
* Change option's behavior (-o etc.)
* Bugfixes
  • Loading branch information
ryoon committed Apr 4, 2012
1 parent af09937 commit a4ef742
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 223 deletions.
6 changes: 0 additions & 6 deletions archivers/rar/MESSAGE.linux-i386

This file was deleted.

6 changes: 0 additions & 6 deletions archivers/rar/MESSAGE.netbsd-i386

This file was deleted.

50 changes: 32 additions & 18 deletions archivers/rar/Makefile
Original file line number Diff line number Diff line change
@@ -1,33 +1,47 @@
# $NetBSD: Makefile,v 1.52 2009/05/19 08:59:00 wiz Exp $
# $NetBSD: Makefile,v 1.53 2012/04/04 21:22:18 ryoon Exp $
#

DISTNAME= rar # overridden in Makefile.${EMUL_PLATFORM}
PKGNAME= rar-2.02 # also overridden
PKGREVISION= 1
CATEGORIES= archivers
MASTER_SITES= # empty
DISTNAME= # overridden
PKGNAME= rar-${RAR_VER}
CATEGORIES= archivers
MASTER_SITES= http://www.rarlabs.com/rar/

PKG_DESTDIR_SUPPORT= user-destdir
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://www.rarlabs.com/rar/
COMMENT= RAR file archiver (binary)
LICENSE= rar-license

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.rarsoft.com/
COMMENT= RAR file archiver (binary)
LICENSE= rar-license
RAR_VER= 4.1.1

RESTRICTED= Only unmodified original package can be distributed
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}

EMUL_PLATFORMS= linux-i386 netbsd-i386
EMUL_PLATFORMS= linux-i386 linux-x86_64

PKG_DESTDIR_SUPPORT= user-destdir

MESSAGE_SRC= ${PKGDIR}/MESSAGE.${EMUL_PLATFORM}
NO_BUILD= yes
WRKSRC= ${WRKDIR}/rar
USE_LANGUAGES= # none

.include "../../mk/bsd.prefs.mk"

.if exists(Makefile.${EMUL_PLATFORM})
. include "Makefile.${EMUL_PLATFORM}"
.else
NO_BUILD= yes
do-install: # nothing
.if ${EMUL_PLATFORM} == "linux-i386"
DISTFILES= rarlinux-${RAR_VER}.tar.gz
.elif ${EMUL_PLATFORM} == "linux-x86_64"
DISTFILES= rarlinux-x64-${RAR_VER}.tar.gz
.endif

DOCSDIR= share/doc/rar

INSTALLATION_DIRS= bin etc lib ${DOCSDIR}

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${DESTDIR}${PREFIX}/bin/rar

${INSTALL_LIB} ${WRKSRC}/default.sfx ${DESTDIR}${PREFIX}/lib

${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${DESTDIR}${PREFIX}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*txt ${DESTDIR}${PREFIX}/${DOCSDIR}
.include "../../mk/bsd.pkg.mk"
24 changes: 0 additions & 24 deletions archivers/rar/Makefile.linux-i386

This file was deleted.

55 changes: 0 additions & 55 deletions archivers/rar/Makefile.netbsd-i386

This file was deleted.

2 changes: 1 addition & 1 deletion archivers/rar/PLIST.linux-i386 → archivers/rar/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST.linux-i386,v 1.3 2009/06/14 17:28:17 joerg Exp $
@comment $NetBSD: PLIST,v 1.4 2012/04/04 21:22:19 ryoon Exp $
bin/rar
lib/default.sfx
share/doc/rar/license.txt
Expand Down
10 changes: 0 additions & 10 deletions archivers/rar/PLIST.netbsd-i386

This file was deleted.

14 changes: 7 additions & 7 deletions archivers/rar/distinfo
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.4 2007/08/22 16:43:36 jlam Exp $
$NetBSD: distinfo,v 1.5 2012/04/04 21:22:19 ryoon Exp $

SHA1 (rarbsd.sfx) = bafd5d6e4956ad10898ab19d601fa506d1681b4a
RMD160 (rarbsd.sfx) = 3510af235244162f47d85fb7744468c9b093ffdf
Size (rarbsd.sfx) = 246569 bytes
SHA1 (rarlinux-3.6.0.tar.gz) = 4b43766371fd2f117fb3af5826001a7eab7a0f3b
RMD160 (rarlinux-3.6.0.tar.gz) = c0f6d19738f69deb9fd75589e461a7a0ed430d39
Size (rarlinux-3.6.0.tar.gz) = 752997 bytes
SHA1 (rarlinux-4.1.1.tar.gz) = 4e5c8c7d5b610ce48a97729683688008c310e57e
RMD160 (rarlinux-4.1.1.tar.gz) = a0aa14bc85996ca242ce6a48c7d244b4b171ecb6
Size (rarlinux-4.1.1.tar.gz) = 915307 bytes
SHA1 (rarlinux-x64-4.1.1.tar.gz) = 6ed70fe08e04bc2e381eb43be8905bc70f0582b2
RMD160 (rarlinux-x64-4.1.1.tar.gz) = c81ff0fe9f1d001db61a0b8f92357b0b529b3953
Size (rarlinux-x64-4.1.1.tar.gz) = 952748 bytes
96 changes: 0 additions & 96 deletions archivers/rar/files/check-ksyms.sh

This file was deleted.

0 comments on commit a4ef742

Please sign in to comment.