>From earlier last year, when upstream froze their tree to switch to a
new pdfmm based code base with their 1.0.0 release:
https://podofo.sourceforge.net/

Looks like this version fixes some CVEs:
https://sourceforge.net/p/podofo/code/commit_browser

Some symbol removals and size changes as per check_sym, so bump major.

Tidy up the Makefile while here.
No PLIST change.
Builds fine, sysutils/krename still builds against the new version.

I'd leave the switch to github and whatever else could be improved in
this port to when it actually gets the 1.0.0 update.

Feedback? OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/podofo/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile    28 May 2022 06:20:03 -0000      1.17
+++ Makefile    11 Jan 2023 15:02:32 -0000
@@ -1,8 +1,8 @@
 COMMENT=       library and tools to modify and parse PDF documents
 
-DISTNAME=      podofo-0.9.7
+DISTNAME=      podofo-0.9.8
 
-SHARED_LIBS += podofo                    3.0 # 0.9
+SHARED_LIBS += podofo                    4.0 # 0.9.8
 
 CATEGORIES=    textproc
 
@@ -16,8 +16,9 @@ WANTLIB += jpeg m png ssl tiff unistring
 
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=podofo/}
 
-MODULES=       devel/cmake 
+MODULES=       devel/cmake
 
+# C++
 COMPILER =     base-clang ports-gcc
 
 LIB_DEPENDS=   converters/libunistring \
@@ -26,6 +27,9 @@ LIB_DEPENDS=  converters/libunistring \
                graphics/png \
                graphics/tiff
 
+# only for tests
+BUILD_DEPENDS= devel/cppunit
+
 CXXFLAGS =     -I${X11BASE}/include
 MODCMAKE_LDFLAGS =     -L${X11BASE}/lib
 
@@ -36,7 +40,6 @@ CONFIGURE_ARGS+=      -DFREETYPE_INCLUDE_DIR=
 post-extract:
        rm ${WRKSRC}/cmake/modules/FindZLIB.cmake
 
-BUILD_DEPENDS= devel/cppunit
 do-test:
        ${WRKBUILD}/test/unit/podofo-test
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/podofo/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo    7 Apr 2021 14:07:47 -0000       1.4
+++ distinfo    11 Jan 2023 12:07:30 -0000
@@ -1,2 +1,2 @@
-SHA256 (podofo-0.9.7.tar.gz) = fPLnFtqu+JZHxU/80IlASS/UDDhe8EDOdSk5a/rcHrg=
-SIZE (podofo-0.9.7.tar.gz) = 1005247
+SHA256 (podofo-0.9.8.tar.gz) = XeYH4V8ZK4rZBzgwB1nYjeoPXM3OO/AASKDJMrxkUVQ=
+SIZE (podofo-0.9.8.tar.gz) = 1012918

Reply via email to