aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2006-09-28 20:18:56 +0800
committerbarner <barner@FreeBSD.org>2006-09-28 20:18:56 +0800
commit1d17432f57b71148a5c58f619225b1552a052f2e (patch)
tree51665de1e32b6a8f35c392f13c536d42d643e67c
parent2d11360cc955ead5a5098e4a27968380b0ed6875 (diff)
downloadfreebsd-ports-gnome-1d17432f57b71148a5c58f619225b1552a052f2e.tar.gz
freebsd-ports-gnome-1d17432f57b71148a5c58f619225b1552a052f2e.tar.zst
freebsd-ports-gnome-1d17432f57b71148a5c58f619225b1552a052f2e.zip
- Update to 3.6.8 [1]
- Use more sane PORTVERSION numbering (this requires a PORTEPOCH bump to 1, though :( - Use USE_LDCONFIG Submitted by: "Alex Samorukov" <samm@os2.kiev.ua> (maintainer) [1] PR: ports/103440
-rw-r--r--archivers/libunrar/Makefile7
-rw-r--r--archivers/libunrar/distinfo6
-rw-r--r--archivers/libunrar/files/patch-dll.cpp10
3 files changed, 7 insertions, 16 deletions
diff --git a/archivers/libunrar/Makefile b/archivers/libunrar/Makefile
index a65eed1cfedc..89f9396c403a 100644
--- a/archivers/libunrar/Makefile
+++ b/archivers/libunrar/Makefile
@@ -6,14 +6,15 @@
#
PORTNAME= libunrar
-PORTVERSION= 3.60.b6
+PORTVERSION= 3.6.8
+PORTEPOCH= 1
CATEGORIES= archivers
MASTER_SITES= http://files2.rarlab.com/rar/ \
http://files3.rarlab.com/rar/ \
http://files4.rarlab.com/rar/ \
http://files5.rarlab.com/rar/ \
http://files6.rarlab.com/rar/
-DISTNAME= unrarsrc-3.6.6
+DISTNAME= unrarsrc-${PORTVERSION}
MAINTAINER= samm@os2.kiev.ua
COMMENT= Library to work with RAR archivies
@@ -24,7 +25,7 @@ USE_GMAKE= yes
MAKEFILE= makefile.unix
MAKE_ENV+= CXX="${CXX}" LDFLAGS="${LDFLAGS}"
ALL_TARGET= lib
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libunrar.so.3 ${PREFIX}/lib/
diff --git a/archivers/libunrar/distinfo b/archivers/libunrar/distinfo
index 03a295f27bdc..c4b28b9c9991 100644
--- a/archivers/libunrar/distinfo
+++ b/archivers/libunrar/distinfo
@@ -1,3 +1,3 @@
-MD5 (unrarsrc-3.6.6.tar.gz) = 78d05f6a80626fe066fd2438b6fe2059
-SHA256 (unrarsrc-3.6.6.tar.gz) = 246b4e61d29b90a2e3c80c34fe59b789efe8a8d7f58087d2a7ad057313d34975
-SIZE (unrarsrc-3.6.6.tar.gz) = 125044
+MD5 (unrarsrc-3.6.8.tar.gz) = 903363aada5fafa9bd00cac3309e6e45
+SHA256 (unrarsrc-3.6.8.tar.gz) = 3505ebda1f5b265ddea5bec957c0f9e5cc650bc27ca648fd789a3b5f12862191
+SIZE (unrarsrc-3.6.8.tar.gz) = 125045
diff --git a/archivers/libunrar/files/patch-dll.cpp b/archivers/libunrar/files/patch-dll.cpp
index 056271b3e2ab..a09c78f074f9 100644
--- a/archivers/libunrar/files/patch-dll.cpp
+++ b/archivers/libunrar/files/patch-dll.cpp
@@ -1,15 +1,5 @@
diff -ruN unrar.orig/dll.cpp unrar/dll.cpp
+++ dll.cpp
-@@ -59,8 +59,8 @@
- }
- if (!Data->Arc.IsArchive(false))
- {
-- delete Data;
- r->OpenResult=Data->Cmd.DllError!=0 ? Data->Cmd.DllError:ERAR_BAD_ARCHIVE;
-+ delete Data;
- return(NULL);
- }
- r->Flags=Data->Arc.NewMhd.Flags;
@@ -272,7 +272,9 @@
strcpy(Data->Cmd.Command,Operation==RAR_EXTRACT ? "X":"T");
Data->Cmd.Test=Operation!=RAR_EXTRACT;