shithub: tlsclient

Download patch

ref: 9151a6a7e52b0890ea89a356f6d2eb8873585860
parent: 74e7f66c51dcc51fe59314c2588a8b5109da4971
author: Jacob Moody <[email protected]>
date: Mon Oct 16 06:01:41 EDT 2023

more to tidy for CI

--- a/.builds/deb.yml
+++ b/.builds/deb.yml
@@ -3,6 +3,8 @@
   - https://git.sr.ht/~moody/tlsclient
 artifacts:
   - tlsclient/linux.tar.gz
+packages:
+  - "libssl-dev"
 tasks:
   - build: | 
       cd tlsclient
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@
 default: tlsclient
 
 tlsclient: cpu.$O $(LIBS)
-	$(CC) -o $@ cpu.$O $(LIBS) `pkg-config $(OPENSSL) --libs` $(LDFLAGS)
+	$(CC) $(LDFLAGS) -o $@ cpu.$O $(LIBS) `pkg-config $(OPENSSL) --libs`
 
 login_-dp9ik: bsd.$O $(LIBS)
 	$(CC) -o $@ bsd.$O $(LIBS)
@@ -48,7 +48,7 @@
 	tar cf - $^ | gzip > $@
 
 tlsclient.obsd:
-	OPENSSL=eopenssl11 LDFLAGS="$(LDFLAGS) -Xlinker --rpath=/usr/local/lib/eopenssl11/" $(MAKE) tlsclient
+	OPENSSL=eopenssl31 LDFLAGS="$(LDFLAGS) -Xlinker --rpath=/usr/local/lib/eopenssl11/" $(MAKE) tlsclient
 	mv tlsclient tlsclient.obsd
 
 obsd.tar.gz: tlsclient.obsd login_-dp9ik tlsclient.1 login_-dp9ik.8