? patches-no
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/openvpn-auth-ldap/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile 16 Aug 2020 20:37:45 -0000 1.25
+++ Makefile 31 May 2021 14:53:55 -0000
@@ -2,9 +2,10 @@
COMMENT = LDAP authentication plugin for OpenVPN 2.x
-VERSION = 2.0.3
-REVISION = 14
-DISTNAME = auth-ldap-${VERSION}
+VERSION = 2.0.4
+GH_ACCOUNT = threerings
+GH_PROJECT = openvpn-auth-ldap
+GH_TAGNAME = auth-ldap-${VERSION}
PKGNAME = openvpn-${DISTNAME}
CATEGORIES = net security
@@ -18,12 +19,9 @@
MODULES = x11/gnustep
MODGNUSTEP_NEEDS_GUI = No
-MASTER_SITES = ${MASTER_SITE_GOOGLECODE:=openvpn-auth-ldap/}
-
RUN_DEPENDS = net/openvpn
LIB_DEPENDS = databases/openldap
BUILD_DEPENDS = ${RUN_DEPENDS} \
- devel/check \
devel/re2c
SEPARATE_BUILD = Yes
@@ -37,8 +35,7 @@
LDFLAGS += -lc++abi -lpthread
.endif
-CONFIGURE_ARGS = --with-check=${LOCALBASE} \
- --with-openldap=${LOCALBASE} \
+CONFIGURE_ARGS = --with-openldap=${LOCALBASE} \
--with-openvpn=${LOCALBASE}/include/openvpn \
CC="${CC}" \
LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}" \
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/openvpn-auth-ldap/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo 18 Jan 2015 03:14:44 -0000 1.2
+++ distinfo 31 May 2021 14:53:55 -0000
@@ -1,2 +1,2 @@
-SHA256 (auth-ldap-2.0.3.tar.gz) = KyWGELDz/pzgl7Doi0x45ALl8/gUt9MnOSunJXTRtjo=
-SIZE (auth-ldap-2.0.3.tar.gz) = 261832
+SHA256 (openvpn-auth-ldap-auth-ldap-2.0.4.tar.gz) = gfYAzciK2yJY9X3x7S2H8K+pRfZsv4iXrVDnb0JQkWg=
+SIZE (openvpn-auth-ldap-auth-ldap-2.0.4.tar.gz) = 209800
Index: patches/patch-aclocal_m4
===================================================================
RCS file: /cvs/ports/net/openvpn-auth-ldap/patches/patch-aclocal_m4,v
retrieving revision 1.1
diff -u -r1.1 patch-aclocal_m4
--- patches/patch-aclocal_m4 19 Jun 2017 21:02:11 -0000 1.1
+++ patches/patch-aclocal_m4 31 May 2021 14:53:55 -0000
@@ -1,14 +1,14 @@
-$OpenBSD: patch-aclocal_m4,v 1.1 2017/06/19 21:02:11 sebastia Exp $
+$OpenBSD$
Index: aclocal.m4
--- aclocal.m4.orig
+++ aclocal.m4
@@ -1,4 +1,3 @@
--builtin(include,objc.m4)
- builtin(include,pthread.m4)
+-builtin(include,pthread.m4)
builtin(include,platform.m4)
- builtin(include,check.m4)
-@@ -23,7 +22,7 @@ builtin(include,check.m4)
+ builtin(include,framework.m4)
+
+@@ -22,7 +21,7 @@ builtin(include,framework.m4)
# Result is cached.
#
# Defines one of the following preprocessor macros:
@@ -17,7 +17,7 @@
#
# Substitutes the following variables:
# OBJC_RUNTIME OBJC_RUNTIME_FLAGS OBJC_LIBS
-@@ -31,7 +30,7 @@ builtin(include,check.m4)
+@@ -30,7 +29,7 @@ builtin(include,framework.m4)
#------------------------------------------------------------------------
AC_DEFUN([OD_OBJC_RUNTIME],[
AC_REQUIRE([AC_PROG_OBJC])
@@ -26,7 +26,7 @@
if test x"${with_objc_runtime}" != x; then
case "${with_objc_runtime}" in
-@@ -39,8 +38,10 @@ AC_DEFUN([OD_OBJC_RUNTIME],[
+@@ -38,8 +37,10 @@ AC_DEFUN([OD_OBJC_RUNTIME],[
;;
apple)
;;
@@ -38,30 +38,30 @@
;;
esac
fi
-@@ -57,7 +58,7 @@ AC_DEFUN([OD_OBJC_RUNTIME],[
- OLD_OBJCFLAGS="${OBJCFLAGS}"
-
- # Add -lobjc. The following tests will ensure that the library exists and functions with the detected Objective C compiler
-- LIBS="${LIBS} -lobjc"
-+ LIBS="${LIBS} -lobjc2"
+@@ -58,7 +59,7 @@ AC_DEFUN([OD_OBJC_RUNTIME],[
+ # Add -lobjc and -fobjc-exceptions. The following tests will ensure that the library exists and
+ # functions with the detected Objective C compiler
+ OBJCFLAGS="${OBJCFLAGS} -fobjc-exceptions"
+- LIBS="${LIBS} -lobjc -fobjc-exceptions"
++ LIBS="${LIBS} -lobjc2 -fobjc-exceptions"
# Test if pthreads are required to link against
# libobjc - this is the case on FreeBSD.
-@@ -112,11 +113,11 @@ AC_DEFUN([OD_OBJC_RUNTIME],[
+@@ -113,11 +114,11 @@ AC_DEFUN([OD_OBJC_RUNTIME],[
AC_MSG_RESULT(${od_cv_objc_req_pthread})
if test x"${od_cv_objc_req_pthread}" = x"no"; then
-- OBJC_LIBS="-lobjc"
-+ OBJC_LIBS="-lobjc2"
- OBJC_PTHREAD_LIBS="${PTHREAD_LIBS}"
- OBJC_PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
+- OBJC_LIBS="${OBJC_LIBS} -lobjc"
++ OBJC_LIBS="${OBJC_LIBS} -lobjc2"
+ OBJC_PTHREAD_LIBS="${PTHREAD_LIBS} -fobjc-exceptions"
+ OBJC_PTHREAD_CFLAGS="${PTHREAD_CFLAGS} -fobjc-exceptions"
elif test x"${od_cv_objc_req_pthread}" = x"yes"; then
-- OBJC_LIBS="-lobjc ${PTHREAD_LIBS}"
-+ OBJC_LIBS="-lobjc2 ${PTHREAD_LIBS}"
- OBJCFLAGS="${OBJCFLAGS} ${PTHREAD_CFLAGS}"
+- OBJC_LIBS="${OBJC_LIBS} -lobjc ${PTHREAD_LIBS} -fobjc-exceptions"
++ OBJC_LIBS="${OBJC_LIBS} -lobjc2 ${PTHREAD_LIBS} -fobjc-exceptions"
+ OBJCFLAGS="${OBJCFLAGS} ${PTHREAD_CFLAGS} -fobjc-exceptions"
fi
-@@ -174,17 +175,61 @@ AC_DEFUN([OD_OBJC_RUNTIME],[
+@@ -184,15 +185,51 @@ AC_DEFUN([OD_OBJC_RUNTIME],[
od_cv_objc_runtime_gnu="no"
fi
@@ -95,24 +95,12 @@
# Apple runtime is prefered
- if test x"${od_cv_objc_runtime_apple}" = x"yes"; then
- OBJC_RUNTIME="APPLE_RUNTIME"
-- OBJC_RUNTIME_FLAGS="-fnext-runtime"
- AC_MSG_NOTICE([Using Apple Objective-C runtime])
- AC_DEFINE([APPLE_RUNTIME], 1, [Define if using the Apple Objective-C runtime and compiler.])
- elif test x"${od_cv_objc_runtime_gnu}" = x"yes"; then
- OBJC_RUNTIME="GNU_RUNTIME"
-- OBJC_RUNTIME_FLAGS="-fgnu-runtime"
- AC_MSG_NOTICE([Using GNU Objective-C runtime])
- AC_DEFINE([GNU_RUNTIME], 1, [Define if using the GNU Objective-C runtime and compiler.])
-+ #if test x"${od_cv_objc_runtime_apple}" = x"yes"; then
-+ # OBJC_RUNTIME="APPLE_RUNTIME"
-+ # OBJC_RUNTIME_FLAGS="-fnext-runtime"
-+ # AC_MSG_NOTICE([Using Apple Objective-C runtime])
-+ # AC_DEFINE([APPLE_RUNTIME], 1, [Define if using the Apple Objective-C runtime and compiler.])
-+ #elif test x"${od_cv_objc_runtime_gnu}" = x"yes"; then
-+ # OBJC_RUNTIME="GNU_RUNTIME"
-+ # OBJC_RUNTIME_FLAGS="-fgnu-runtime"
-+ # AC_MSG_NOTICE([Using GNU Objective-C runtime])
-+ # AC_DEFINE([GNU_RUNTIME], 1, [Define if using the GNU Objective-C runtime and compiler.])
+ if test x"${od_cv_objc_runtime_modern}" = x"yes"; then
+ OBJC_RUNTIME="MODERN_RUNTIME"
+ case "${target_os}" in
Index: patches/patch-platform_m4
===================================================================
RCS file: /cvs/ports/net/openvpn-auth-ldap/patches/patch-platform_m4,v
retrieving revision 1.1
diff -u -r1.1 patch-platform_m4
--- patches/patch-platform_m4 3 Aug 2017 14:46:33 -0000 1.1
+++ patches/patch-platform_m4 31 May 2021 14:53:55 -0000
@@ -1,6 +1,6 @@
$OpenBSD: patch-platform_m4,v 1.1 2017/08/03 14:46:33 jca Exp $
-Don't clobber LDFLAGS.
+Don't clobber LDFLAGS - ensures configure finds libobjc2.
Index: platform.m4
--- platform.m4.orig
Index: patches/patch-src_Makefile_in
===================================================================
RCS file: patches/patch-src_Makefile_in
diff -N patches/patch-src_Makefile_in
--- patches/patch-src_Makefile_in 19 Jun 2017 21:02:11 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-$OpenBSD: patch-src_Makefile_in,v 1.2 2017/06/19 21:02:11 sebastia Exp $
-
-Index: src/Makefile.in
---- src/Makefile.in.orig
-+++ src/Makefile.in
-@@ -64,7 +64,8 @@ install:: $(PLUGIN_FILE)
- $(INSTALL_PLUGIN)
-
- clean::
-- rm -f $(TEST_OBJS) $(PLUGIN_OBJS) $(TEST_LIB) $(GEN_SRCS) testplugin
-+ rm -f $(TEST_OBJS) $(PLUGIN_OBJS) $(PLUGIN_OBJS:.o=.d) $(TEST_LIB) \
-+ $(GEN_SRCS) testplugin
- $(CLEAN_PLUGIN)
-
- distclean:: clean
Index: patches/patch-src_TRLocalPacketFilter_m
===================================================================
RCS file: patches/patch-src_TRLocalPacketFilter_m
diff -N patches/patch-src_TRLocalPacketFilter_m
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_TRLocalPacketFilter_m 31 May 2021 14:53:55 -0000
@@ -0,0 +1,21 @@
+$OpenBSD$
+
+Index: src/TRLocalPacketFilter.m
+--- src/TRLocalPacketFilter.m.orig
++++ src/TRLocalPacketFilter.m
+@@ -33,6 +33,7 @@
+ */
+
+ #import "TRLocalPacketFilter.h"
++#import "TRLog.h"
+
+ #ifdef HAVE_PF
+
+@@ -42,6 +43,7 @@
+ #import <string.h>
+ #import <errno.h>
+ #import <assert.h>
++#import "xmalloc.h"
+
+
+ /* Private Methods */
Index: patches/patch-src_TRObject_h
===================================================================
RCS file: patches/patch-src_TRObject_h
diff -N patches/patch-src_TRObject_h
--- patches/patch-src_TRObject_h 19 Jun 2017 21:02:11 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,43 +0,0 @@
-$OpenBSD: patch-src_TRObject_h,v 1.1 2017/06/19 21:02:11 sebastia Exp $
-
-Index: src/TRObject.h
---- src/TRObject.h.orig
-+++ src/TRObject.h
-@@ -40,20 +40,29 @@
- #endif
-
- #include <stdbool.h>
-+#ifdef MODERN_RUNTIME
-+#import <Foundation/NSObject.h>
-+#else
- #include <objc/Object.h>
-+#endif
-
- #include "auth-ldap.h"
-
- @protocol TRObject
-+#ifndef MODERN_RUNTIME
- /* Reference counting */
- - (id) retain;
- - (void) release;
-
- /* Equality */
- - (BOOL) isEqual: (id) anObject;
-+#endif
- @end
-
-
-+#ifdef MODERN_RUNTIME
-+@interface TRObject : NSObject <TRObject>
-+#else
- @interface TRObject : Object <TRObject> {
- unsigned int _refCount;
- }
-@@ -66,6 +75,7 @@
-
- - (void) dealloc;
-
-+#endif
- @end
-
- #endif /* TROBJECT_H */
Index: patches/patch-src_TRObject_m
===================================================================
RCS file: patches/patch-src_TRObject_m
diff -N patches/patch-src_TRObject_m
--- patches/patch-src_TRObject_m 19 Jun 2017 21:02:11 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$OpenBSD: patch-src_TRObject_m,v 1.1 2017/06/19 21:02:11 sebastia Exp $
-
-Index: src/TRObject.m
---- src/TRObject.m.orig
-+++ src/TRObject.m
-@@ -53,6 +53,7 @@
- * Additionally, we implement brain-dead, non-thread-safe
- * reference counting.
- */
-+#ifndef MODERN_RUNTIME
- @interface Object (AppleAddedAReallyStupidGCCWarning)
- - (void) dealloc;
- @end
-@@ -102,4 +103,7 @@
- [self dealloc];
- }
-
-+#else
-+@implementation TRObject
-+#endif
- @end
Index: patches/patch-src_auth-ldap_m
===================================================================
RCS file: patches/patch-src_auth-ldap_m
diff -N patches/patch-src_auth-ldap_m
--- patches/patch-src_auth-ldap_m 19 Jun 2017 21:02:11 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,47 +0,0 @@
-$OpenBSD: patch-src_auth-ldap_m,v 1.1 2017/06/19 21:02:11 sebastia Exp $
-
-Index: src/auth-ldap.m
---- src/auth-ldap.m.orig
-+++ src/auth-ldap.m
-@@ -48,7 +48,12 @@
- #include <TRPacketFilter.h>
- #include <TRPFAddress.h>
- #include <TRLog.h>
-+#ifdef MODERN_RUNTIME
-+#import <Foundation/NSAutoreleasePool.h>
-
-+static NSAutoreleasePool *pool;
-+#endif
-+
- /* Plugin Context */
- typedef struct ldap_ctx {
- LFAuthLDAPConfig *config;
-@@ -166,7 +171,7 @@ static LFString *createSearchFilter(LFString *template
- const char userFormat[] = "%u";
-
- /* Copy the template */
-- templateString = [[LFString alloc] initWithString: template];
-+ templateString = [(LFString *)[LFString alloc] initWithString: template];
-
- /* Initialize the result */
- result = [[LFString alloc] init];
-@@ -550,6 +555,10 @@ openvpn_plugin_func_v1(openvpn_plugin_handle_t handle,
- TRLDAPEntry *ldapUser = nil;
- int ret = OPENVPN_PLUGIN_FUNC_ERROR;
-
-+#ifdef MODERN_RUNTIME
-+ pool = [[NSAutoreleasePool alloc] init];
-+#endif
-+
- username = get_env("username", envp);
- password = get_env("password", envp);
- remoteAddress = get_env("ifconfig_pool_remote_ip", envp);
-@@ -613,5 +622,8 @@ cleanup:
- [ldapUser release];
- if (ldap)
- [ldap release];
-+#ifdef MODERN_RUNTIME
-+ [pool release];
-+#endif
- return (ret);
- }
Index: patches/patch-tests_Makefile_in
===================================================================
RCS file: /cvs/ports/net/openvpn-auth-ldap/patches/patch-tests_Makefile_in,v
retrieving revision 1.2
diff -u -r1.2 patch-tests_Makefile_in
--- patches/patch-tests_Makefile_in 19 Jun 2017 21:02:11 -0000 1.2
+++ patches/patch-tests_Makefile_in 31 May 2021 14:53:55 -0000
@@ -1,27 +1,19 @@
-$OpenBSD: patch-tests_Makefile_in,v 1.2 2017/06/19 21:02:11 sebastia Exp $
+$OpenBSD$
-Do not test failing tests due to using
-the modern runtime
+uses syntax not in recent obj-c ??
+/usr/obj/ports/openvpn-openvpn-auth-ldap-auth-ldap-2.0.4/openvpn-auth-ldap-auth-ldap-2.0.4/tests/TRLocalPacketFilterTests.m:175: undefined reference to `suite_create'
+/usr/obj/ports/openvpn-openvpn-auth-ldap-auth-ldap-2.0.4/openvpn-auth-ldap-auth-ldap-2.0.4/tests/TRLocalPacketFilterTests.m:177: undefined reference to `tcase_create'
+/usr/obj/ports/openvpn-openvpn-auth-ldap-auth-ldap-2.0.4/openvpn-auth-ldap-auth-ldap-2.0.4/tests/TRLocalPacketFilterTests.m:178: undefined reference to `tcase_add_checked_fixture'
+/usr/obj/ports/openvpn-openvpn-auth-ldap-auth-ldap-2.0.4/openvpn-auth-ldap-auth-ldap-2.0.4/tests/TRLocalPacketFilterTests.m:179: undefined reference to `suite_add_tcase'
Index: tests/Makefile.in
--- tests/Makefile.in.orig
+++ tests/Makefile.in
-@@ -13,9 +13,7 @@ TEST_OBJS= tests.o \
- LFAuthLDAPConfig.o \
- LFLDAPConnection.o \
- TRLDAPEntry.o \
-- TRArray.o \
- TRHash.o \
-- TRObject.o \
- TRPacketFilter.o \
- TRPFAddress.o \
- TRConfigToken.o \
-@@ -26,7 +24,7 @@ TEST_OBJS= tests.o \
- CFLAGS+= @CHECK_CFLAGS@ -DTEST_DATA=\"${srcdir}/data\"
- OBJCFLAGS+= @CHECK_CFLAGS@ -DTEST_DATA=\"${srcdir}/data\"
- LIBS+= -lauth-ldap-testing $(OBJC_LIBS) $(LDAP_LIBS) @CHECK_LIBS@
--LDFLAGS+= -L${top_builddir}src $(LIBS)
-+LDFLAGS+= -L${top_builddir}/src $(LIBS)
-
- # Recompile the tests every time
- all: tests
+@@ -25,7 +25,6 @@ TEST_OBJS= tests.o \
+ TRLDAPEntryTests.o \
+ TRLDAPGroupConfigTests.o \
+ TRLDAPSearchFilterTests.o \
+- TRLocalPacketFilterTests.o \
+ TRObjectTests.o \
+ mockpf.o \
+ TRPFAddressTests.o \
Index: patches/patch-tests_TRHash_m
===================================================================
RCS file: patches/patch-tests_TRHash_m
diff -N patches/patch-tests_TRHash_m
--- patches/patch-tests_TRHash_m 19 Jun 2017 21:02:11 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,101 +0,0 @@
-$OpenBSD: patch-tests_TRHash_m,v 1.1 2017/06/19 21:02:11 sebastia Exp $
-
-Do not test failing tests due to using
-the modern runtime
-
-Index: tests/TRHash.m
---- tests/TRHash.m.orig
-+++ tests/TRHash.m
-@@ -46,82 +46,6 @@ START_TEST(test_initWithCapacity) {
- }
- END_TEST
-
--START_TEST(test_setObjectForKey) {
-- TRHash *hash = [[TRHash alloc] initWithCapacity: 1];
-- LFString *string = [[LFString alloc] initWithCString: "Hello, World"];
-- unsigned int refCount = [string refCount];
--
-- [hash setObject: string forKey: string];
-- /* Verify that the object has been retained twice:
-- * - Once as the value
-- * - Once as the key
-- */
-- fail_unless([string refCount] == refCount + 2);
--
-- /* Release our hash table */
-- [hash release];
--
-- /* Verify that the object has been released */
-- fail_unless([string refCount] == refCount);
--
-- [string release];
--}
--END_TEST
--
--/*
-- * Verifies that replacing a key correctly releases key and associated value
-- */
--START_TEST(test_setObjectForKey_replacement) {
-- TRHash *hash = [[TRHash alloc] initWithCapacity: 1];
-- LFString *key = [[LFString alloc] initWithCString: "Key"];
-- LFString *value1 = [[LFString alloc] initWithCString: "Hello, World"];
-- LFString *value2 = [[LFString alloc] initWithCString: "Goodbye, World"];
-- unsigned int refCount = [key refCount];
--
-- /* Insert value1 */
-- [hash setObject: value1 forKey: key];
-- fail_unless([key refCount] == refCount + 1);
--
-- /* Replace the node */
-- [hash setObject: value2 forKey: key];
-- fail_unless([key refCount] == refCount + 1);
-- fail_unless([value1 refCount] == refCount);
--
-- [hash release];
-- /* Verify that the objects have been released */
-- fail_unless([key refCount] == refCount);
-- fail_unless([value1 refCount] == refCount);
-- fail_unless([value2 refCount] == refCount);
--
-- [key release];
-- [value1 release];
-- [value2 release];
--}
--END_TEST
--
--START_TEST(test_removeObjectForKey) {
-- TRHash *hash = [[TRHash alloc] initWithCapacity: 1];
-- LFString *key = [[LFString alloc] initWithCString: "Key"];
-- LFString *value = [[LFString alloc] initWithCString: "Value"];
-- unsigned int refCount = [key refCount];
--
-- /* Insert */
-- [hash setObject: value forKey: key];
--
-- /* Remove */
-- [hash removeObjectForKey: key];
--
-- /* Validate refCounts */
-- fail_unless([key refCount] == refCount);
-- fail_unless([value refCount] == refCount);
--
-- /* Clean up */
-- [key release];
-- [value release];
-- [hash release];
--}
--END_TEST
--
- START_TEST(test_valueForKey) {
- TRHash *hash = [[TRHash alloc] initWithCapacity: 1];
- LFString *key = [[LFString alloc] initWithCString: "Key"];
-@@ -173,9 +97,6 @@ Suite *TRHash_suite(void) {
- TCase *tc_hash = tcase_create("Hash");
- suite_add_tcase(s, tc_hash);
- tcase_add_test(tc_hash, test_initWithCapacity);
-- tcase_add_test(tc_hash, test_setObjectForKey);
-- tcase_add_test(tc_hash, test_setObjectForKey_replacement);
-- tcase_add_test(tc_hash, test_removeObjectForKey);
- tcase_add_test(tc_hash, test_valueForKey);
- tcase_add_test(tc_hash, test_keyEnumerator);
-
Index: patches/patch-tests_tests_c
===================================================================
RCS file: patches/patch-tests_tests_c
diff -N patches/patch-tests_tests_c
--- patches/patch-tests_tests_c 19 Jun 2017 21:02:11 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-$OpenBSD: patch-tests_tests_c,v 1.1 2017/06/19 21:02:11 sebastia Exp $
-
-Do not test failing tests due to using
-the modern runtime
-
-Index: tests/tests.c
---- tests/tests.c.orig
-+++ tests/tests.c
-@@ -62,8 +62,6 @@ int main(int argc, char *argv[]) {
- srunner_add_suite(sr, LFAuthLDAPConfig_suite());
- srunner_add_suite(sr, LFLDAPConnection_suite());
- srunner_add_suite(sr, TRLDAPEntry_suite());
-- srunner_add_suite(sr, TRObject_suite());
-- srunner_add_suite(sr, TRArray_suite());
- srunner_add_suite(sr, TRHash_suite());
- srunner_add_suite(sr, TRConfigToken_suite());
- srunner_add_suite(sr, TRConfigLexer_suite());
Index: patches/patch-tests_tests_h
===================================================================
RCS file: patches/patch-tests_tests_h
diff -N patches/patch-tests_tests_h
--- patches/patch-tests_tests_h 19 Jun 2017 21:02:11 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-$OpenBSD: patch-tests_tests_h,v 1.1 2017/06/19 21:02:11 sebastia Exp $
-
-Do not test failing tests due to using
-the modern runtime
-
-Index: tests/tests.h
---- tests/tests.h.orig
-+++ tests/tests.h
-@@ -60,8 +60,6 @@ Suite *LFString_suite(void);
- Suite *LFAuthLDAPConfig_suite(void);
- Suite *LFLDAPConnection_suite(void);
- Suite *TRLDAPEntry_suite(void);
--Suite *TRObject_suite(void);
--Suite *TRArray_suite(void);
- Suite *TRHash_suite(void);
- Suite *TRConfigToken_suite(void);
- Suite *TRConfigLexer_suite(void);
Hi,
there's been a new release on github in 2019, after the last one we're
still shipping from 2007.. cf
https://github.com/threerings/openvpn-auth-ldap/releases/tag/auth-ldap-2.0.4
i know nothing to obj-c so i randomly poked thing around until this
built fine. runtime testing welcome, as apparently the "modern runtime"
patches didnt make it upstream anyway. Remove some patches while here,
but dunno if they're needed at runtime.. ccing our objc expert :)
Landry
No comments:
Post a Comment