pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/admesh
Module Name: pkgsrc
Committed By: kikadf
Date: Sat Oct 4 17:15:36 UTC 2025
Modified Files:
pkgsrc/math/admesh: Makefile PLIST distinfo
Added Files:
pkgsrc/math/admesh/patches: patch-src_portable__endian.h
Log Message:
math/admesh: update to 0.98.5
0.98.5 Latest
Fixed heap buffer overflow CVE-2018-25033
Avoid a compiler warning
Check the neighbor_index in stl_check_normal_vector (#60)
Include portable_endian.h in dist
0.98.4
Fix big-endian binary stl reading #26
Initialized extra values when loading ASCII STL #32
0.98.3
0.98.2
Add subdir-objects option for Autotools
Reverse all facets when volume is negative only when fixall_flag is set
Also pre-zero backwards_edges in stl_initialize()
Fix bug that causes random binary STL files not to be read correctly on Windows
0.98.1
Bugfix release
Initialize the error value to zero in the right moment
modified autogen.sh to work with os x 10.9
0.98.0
Since 0.97.x:
Generate nicer ChangeLog
Include generated doc in doc as well
Export more functions for simarrange compatibility
Do not include block.stl in doc, but include COPYING
On Mac, use -dead_strip linker flag instead of --gc-sections --as-needed
stl_repair()
Provide stl_get_error function
Indent cleanup
Error reporting and no exiting
Publish Windows pre-compiled binaries
0.97.5
More Slic3r compatibility
0.97.4
Minor change for Slic3r compatibility
Formal changes for better C++ compatibility
0.97.3
Compatibility with Slic3r
Fix with large coordinates
0.97.2
Remove backward incompatible fix
0.97.1
The shared library is now properly exported
0.97.0
This release fixes a lot of minor bugs in the original 0.95 and brings some minor improvements.
Version 0.9.6 was skipped on purpose, to have a higher version number than things already merged to this.
Provide a shared library
Ship with manpage full of useful information
Fix translate and merge commands
Get rid of compiler warnings
Add missing imports
Update GNU GPL information
Attached tarball includes ready to compile and ship sources.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/math/admesh/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/admesh/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/admesh/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/math/admesh/patches/patch-src_portable__endian.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/admesh/Makefile
diff -u pkgsrc/math/admesh/Makefile:1.12 pkgsrc/math/admesh/Makefile:1.13
--- pkgsrc/math/admesh/Makefile:1.12 Tue Sep 11 23:04:16 2012
+++ pkgsrc/math/admesh/Makefile Sat Oct 4 17:15:36 2025
@@ -1,24 +1,38 @@
-# $NetBSD: Makefile,v 1.12 2012/09/11 23:04:16 asau Exp $
+# $NetBSD: Makefile,v 1.13 2025/10/04 17:15:36 kikadf Exp $
-DISTNAME= admesh-0.95
+DISTNAME= admesh-0.98.5
CATEGORIES= math
-MASTER_SITES= http://www.varlog.com/products/admesh/files/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=admesh/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.varlog.com/index.html
+HOMEPAGE= https://admesh.readthedocs.io/en/latest/
COMMENT= Program for processing triangulated solid meshes
+LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
-CONFIGURE_HAS_MANDIR= no
INSTALLATION_DIRS= bin
+INSTALLATION_DIRS+= lib
+INSTALLATION_DIRS+= share/doc/admesh
+INSTALLATION_DIRS+= share/examples/admesh
+USE_TOOLS+= autoheader automake autoreconf
+USE_LANGUAGES= c
+
+pre-configure:
+ cd ${WRKSRC} && \
+ ${SED} -i.bak -e '/git/d' \
+ -e '/fortag/d' Makefile.am && \
+ ${SH} ./autogen.sh
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/admesh ${DESTDIR}${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/admesh
- cd ${WRKSRC} && ${INSTALL_DATA} README ADMESH.DOC \
- ${DESTDIR}${PREFIX}/share/doc/admesh/
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/admesh
+ ${INSTALL_PROGRAM} ${WRKSRC}/.libs/admesh ${DESTDIR}${PREFIX}/bin
+.for lib in libadmesh.so libadmesh.so.1 libadmesh.so.1.0
+ ${INSTALL_LIB} ${WRKSRC}/.libs/${lib} ${DESTDIR}${PREFIX}/lib
+.endfor
+ cd ${WRKSRC} && ${INSTALL_DATA} README.md admesh-doc.txt \
+ ${DESTDIR}${PREFIX}/share/doc/admesh
${INSTALL_DATA} ${WRKSRC}/block.stl \
${DESTDIR}${PREFIX}/share/examples/admesh
+
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/admesh/PLIST
diff -u pkgsrc/math/admesh/PLIST:1.2 pkgsrc/math/admesh/PLIST:1.3
--- pkgsrc/math/admesh/PLIST:1.2 Sun Jun 14 18:05:41 2009
+++ pkgsrc/math/admesh/PLIST Sat Oct 4 17:15:36 2025
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:05:41 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2025/10/04 17:15:36 kikadf Exp $
bin/admesh
-share/doc/admesh/ADMESH.DOC
-share/doc/admesh/README
+lib/libadmesh.so
+lib/libadmesh.so.1
+lib/libadmesh.so.1.0
+share/doc/admesh/README.md
+share/doc/admesh/admesh-doc.txt
share/examples/admesh/block.stl
Index: pkgsrc/math/admesh/distinfo
diff -u pkgsrc/math/admesh/distinfo:1.6 pkgsrc/math/admesh/distinfo:1.7
--- pkgsrc/math/admesh/distinfo:1.6 Tue Oct 26 10:55:35 2021
+++ pkgsrc/math/admesh/distinfo Sat Oct 4 17:15:36 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:55:35 nia Exp $
+$NetBSD: distinfo,v 1.7 2025/10/04 17:15:36 kikadf Exp $
-BLAKE2s (admesh-0.95.tar.gz) = 58046d3577466fe8c73ce7f0056f066e93190e4d2faf0da42796fafd6bba1ecb
-SHA512 (admesh-0.95.tar.gz) = 6e8f0d3b0acb3c1d92d2ce8d12f3f3d5fcb81439b1484be6f2d7f51328ad6ab3a83244dcede60a24dc9df64a8f56830fda463a350ed9a6bc86bf3b09fab90624
-Size (admesh-0.95.tar.gz) = 51340 bytes
+BLAKE2s (admesh-0.98.5.tar.gz) = c9f30eb0dc7284a4d2dab74ecd46c3dccdcfa88b4bb969551afb170d4de818d3
+SHA512 (admesh-0.98.5.tar.gz) = 3ee049e2194365798ca42ec29efa85fbec5651b8876385ab79a81301054be7ce1194b3083a5efe202db63884be8a709ea4c1b9a9247a941283aaa525ee2cc03b
+Size (admesh-0.98.5.tar.gz) = 41122 bytes
+SHA1 (patch-src_portable__endian.h) = 603cc2afac5a0def66f65a5b2cb2de0d880d75e0
Added files:
Index: pkgsrc/math/admesh/patches/patch-src_portable__endian.h
diff -u /dev/null pkgsrc/math/admesh/patches/patch-src_portable__endian.h:1.1
--- /dev/null Sat Oct 4 17:15:36 2025
+++ pkgsrc/math/admesh/patches/patch-src_portable__endian.h Sat Oct 4 17:15:36 2025
@@ -0,0 +1,33 @@
+$NetBSD: patch-src_portable__endian.h,v 1.1 2025/10/04 17:15:36 kikadf Exp $
+
+* Fix build, Net-, Free- and DragonFly BSD provide be16toh, le16toh,
+ etc, so there's no need for that definitions
+ https://github.com/admesh/admesh/commit/7c6ffaf9bd87aa86212ce9b131ae5282729a9702
+
+--- src/portable_endian.h.orig 2025-10-04 15:37:51.064690701 +0000
++++ src/portable_endian.h
+@@ -46,23 +46,10 @@
+ # define __LITTLE_ENDIAN LITTLE_ENDIAN
+ # define __PDP_ENDIAN PDP_ENDIAN
+
+-#elif defined(__OpenBSD__)
++#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
+
+ # include <sys/endian.h>
+
+-#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
+-
+-# include <sys/endian.h>
+-
+-# define be16toh(x) betoh16(x)
+-# define le16toh(x) letoh16(x)
+-
+-# define be32toh(x) betoh32(x)
+-# define le32toh(x) letoh32(x)
+-
+-# define be64toh(x) betoh64(x)
+-# define le64toh(x) letoh64(x)
+-
+ #elif defined(__WINDOWS__)
+
+ /* # include <winsock2.h> */
Home |
Main Index |
Thread Index |
Old Index