[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/libaxc][upstream] New upstream version 0.3.5

Henry-Nicolas Tourneur (@hntourne) gitlab at salsa.debian.org
Wed Aug 25 10:42:01 BST 2021



Henry-Nicolas Tourneur pushed to branch upstream at Debian On Mobile / libaxc


Commits:
1120928e by Henry-Nicolas Tourneur at 2021-08-25T09:38:41+00:00
New upstream version 0.3.5
- - - - -


4 changed files:

- CHANGELOG.md
- Makefile
- README.md
- src/axc.c


Changes:

=====================================
CHANGELOG.md
=====================================
@@ -1,5 +1,11 @@
 # Changelog
 
+## [0.3.5] - 2021-08-21
+### Fixed
+- Added missing symlinks `libaxc.so.$(VER_MAJ)` and `libaxc.so`. ([#24](https://github.com/gkdr/axc/pull/24)) (thanks, [@hartwork](https://github.com/hartwork)!)
+- `session_cipher` is now `free()`d using the correct function. ([#25](https://github.com/gkdr/axc/pull/25)) (thanks, [@root-hardenedvault](https://github.com/root-hardenedvault)!)
+- Already removed files now don't cause an error during cleanup. ([#27](https://github.com/gkdr/axc/pull/27)) (thanks, [@henry-nicolas](https://github.com/henry-nicolas)!)
+
 ## [0.3.4] - 2021-02-10
 ### Added
 - Makefile target to build a shared library, optionally depending on a shared libsignal-protocol-c. ([#17](https://github.com/gkdr/axc/pull/17)) (thanks, [@henry-nicolas](https://github.com/henry-nicolas)!)


=====================================
Makefile
=====================================
@@ -8,7 +8,7 @@ CMAKE ?= cmake
 CMAKE_FLAGS = -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fPIC
 ARCH := $(shell gcc -print-multiarch)
 VER_MAJ = 0
-VERSION = 0.3.4
+VERSION = 0.3.5
 
 AX_DIR=./lib/libsignal-protocol-c
 AX_BDIR=$(AX_DIR)/build/src
@@ -125,6 +125,8 @@ install: $(BDIR)
 	install -d $(DESTDIR)/$(PREFIX)/lib/$(ARCH)/pkgconfig/
 	install -m 644 $(BDIR)/libaxc.a  $(DESTDIR)/$(PREFIX)/lib/$(ARCH)/libaxc.a
 	install -m 644 $(BDIR)/libaxc.so $(DESTDIR)/$(PREFIX)/lib/$(ARCH)/libaxc.so.$(VERSION)
+	ln -s libaxc.so.$(VERSION) $(DESTDIR)/$(PREFIX)/lib/$(ARCH)/libaxc.so.$(VER_MAJ)
+	ln -s libaxc.so.$(VERSION) $(DESTDIR)/$(PREFIX)/lib/$(ARCH)/libaxc.so
 	install -m 644 $(BDIR)/libaxc.pc $(DESTDIR)/$(PREFIX)/lib/$(ARCH)/pkgconfig/
 	install -d $(DESTDIR)/$(PREFIX)/include/axc/
 	install -m 644 $(SDIR)/axc.h $(DESTDIR)/$(PREFIX)/include/axc/
@@ -144,13 +146,13 @@ endif
 test_store: $(SDIR)/axc_store.c $(SDIR)/axc_crypto.c $(TDIR)/test_store.c
 	$(CC) $(TESTFLAGS) -o $(TDIR)/$@.o  $(TDIR)/test_store.c $(SDIR)/axc_crypto.c $(LDFLAGS_T)
 	-$(TDIR)/$@.o
-	mv *.g* $(TDIR)
+	find . -maxdepth 1 -iname 'test*.g*' -exec mv {} $(TDIR) \;
 
 .PHONY: test_client
 test_client: $(SDIR)/axc.c $(SDIR)/axc_crypto.c  $(SDIR)/axc_store.c $(TDIR)/test_client.c
 	$(CC) $(TESTFLAGS) -o $(TDIR)/$@.o $(SDIR)/axc_crypto.c $(TDIR)/test_client.c $(LDFLAGS_T)
 	-$(TDIR)/$@.o
-	mv *.g* $(TDIR)
+	find . -maxdepth 1 -iname 'test*.g*' -exec mv {} $(TDIR) \;
 
 .PHONY: coverage
 coverage: test


=====================================
README.md
=====================================
@@ -1,4 +1,4 @@
-# axc 0.3.4
+# axc 0.3.5
 Client lib for [libsignal-c](https://github.com/WhisperSystems/libsignal-protocol-c), implementing the needed database and crypto interfaces using SQLite and gcrypt.
 Initially, the library's name was _libaxolotl_, hence the name.
 


=====================================
src/axc.c
=====================================
@@ -1140,7 +1140,7 @@ cleanup:
   }
 
   SIGNAL_UNREF(pre_key_msg_p);
-  SIGNAL_UNREF(session_cipher_p);
+  session_cipher_free(session_cipher_p);
   signal_protocol_key_helper_key_list_free(key_l_p);
 
   return ret_val;



View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/libaxc/-/commit/1120928e6496337790b3780382e830fd8bb104ae

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/libaxc/-/commit/1120928e6496337790b3780382e830fd8bb104ae
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20210825/d02e954c/attachment-0001.htm>


More information about the Debian-on-mobile-maintainers mailing list