mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
Update to 1.23.1
Unbreak fetch (project moved to Github) Take maintainership for now PR: 214277 (based on) Submitted by: Niclas <zappe_1337@hotmail.com> MFH: 2017Q1 (blanket)
This commit is contained in:
parent
3c92fae2de
commit
fdc8cc2956
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431712
4 changed files with 51 additions and 24 deletions
|
@ -2,37 +2,41 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= rar2fs
|
||||
PORTVERSION= 1.15.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.23.1
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= GOOGLE_CODE:rar2fs http://www.rarlab.com/rar/:unrarsrc
|
||||
PKGNAMEPREFIX= fusefs-
|
||||
DISTFILES= rar2fs-1.15.1.tar.gz:rar2fs unrarsrc-4.2.4.tar.gz:unrarsrc
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= jhale@FreeBSD.org
|
||||
COMMENT= Mount rar archives as filesystem
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BROKEN= Unfetchable (google code has gone away)
|
||||
LIB_DEPENDS= libunrar.so.5:${LIBUNRAR_PORT}
|
||||
BUILD_DEPENDS= ${NONEXISTENT}:${LIBUNRAR_PORT}:patch
|
||||
|
||||
LIB_DEPENDS= libunrar.so:archivers/libunrar4
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= hasse69
|
||||
|
||||
USES= autoreconf execinfo gmake fuse
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-fuse-lib=${LOCALBASE}/lib \
|
||||
--with-fuse=${LOCALBASE}/include/fuse \
|
||||
--with-unrar=${WRKDIR}/unrar \
|
||||
--with-unrar-lib=${LOCALBASE}/lib
|
||||
--with-fuse=${LOCALBASE}/include/fuse \
|
||||
--with-unrar=`${MAKE} -C ${PORTSDIR}/${LIBUNRAR_PORT} -VWRKSRC` \
|
||||
--with-unrar-lib=${LOCALBASE}/lib
|
||||
CONFIGURE_ENV= LIBUNRAR_PKG=${LIBUNRAR_PKG}
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} man/man1/rar2fs.1.gz
|
||||
USES= execinfo fuse gmake
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
bin/mkr2i \
|
||||
man/man1/rar2fs.1.gz
|
||||
|
||||
LIBUNRAR_PORT= archivers/libunrar5
|
||||
LIBUNRAR_PKG= ${LIBUNRAR_PORT:S|archivers/||}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/-lstdc++/-lexecinfo/' -e '/_LINK =/s/CC/CXX/' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/rar2fs.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
@${REINPLACE_CMD} -e 's|-lstdc++||g' -e '/rar2fs_LINK =/s|CC|CXX|' \
|
||||
${WRKSRC}/Makefile.am
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
SHA256 (rar2fs-1.15.1.tar.gz) = 1ae1df5b8eda3d954740010e931e16342957a8b6cd41676a017fc9bbcd900973
|
||||
SIZE (rar2fs-1.15.1.tar.gz) = 205577
|
||||
SHA256 (unrarsrc-4.2.4.tar.gz) = 9432bf798e5f7123f3060f37b75b7c07f36f0091305f46473dcae9154f8cd686
|
||||
SIZE (unrarsrc-4.2.4.tar.gz) = 164641
|
||||
TIMESTAMP = 1483210781
|
||||
SHA256 (hasse69-rar2fs-v1.23.1_GH0.tar.gz) = 2dab03c8c58379b0ddda798ca909ac48bf0445b2400eee706c91c3efe28caf4c
|
||||
SIZE (hasse69-rar2fs-v1.23.1_GH0.tar.gz) = 126375
|
||||
|
|
24
sysutils/fusefs-rar2fs/files/patch-configure.ac
Normal file
24
sysutils/fusefs-rar2fs/files/patch-configure.ac
Normal file
|
@ -0,0 +1,24 @@
|
|||
--- configure.ac.orig 2017-01-05 12:03:06 UTC
|
||||
+++ configure.ac
|
||||
@@ -434,6 +434,21 @@ if test x"$UNRAR_LIBS" != x; then
|
||||
fi
|
||||
########################################################
|
||||
|
||||
+########################################################
|
||||
+# Check if we need to set -DOPENSSL_AES
|
||||
+if test x"$UNRAR_LIBS" != x; then
|
||||
+ AC_CHECK_TOOL(PKG_STATIC,pkg-static)
|
||||
+ AC_MSG_CHECKING([if unrar library needs -DOPENSSL_AES])
|
||||
+ openssl_aes=`$PKG_STATIC query '%Ok %Ov' $LIBUNRAR_PKG | grep '^OPENSSL_AES' | cut -f 2 -d ' '`
|
||||
+ if test x"$openssl_aes" != x"on"; then
|
||||
+ AC_MSG_RESULT([no])
|
||||
+ else
|
||||
+ AC_MSG_RESULT([yes])
|
||||
+ UNRAR_CXXFLAGS="$UNRAR_CXXFLAGS -DOPENSSL_AES"
|
||||
+ fi
|
||||
+fi
|
||||
+########################################################
|
||||
+
|
||||
AM_ICONV
|
||||
|
||||
AC_MSG_CHECKING(for commit hash in git repo)
|
|
@ -6,4 +6,4 @@ Both compressed and non-compressed archives/volumes are supported but
|
|||
full media seek support (aka. indexing) is only available for
|
||||
non-compressed plaintext archives.
|
||||
|
||||
WWW: http://code.google.com/p/rar2fs/
|
||||
WWW: http://hasse69.github.io/rar2fs/
|
||||
|
|
Loading…
Add table
Reference in a new issue