diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-10-27 08:45:12 (EDT) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-10-27 08:45:12 (EDT) |
commit | 29b3b9d76a8d6b9af6d6465a9f501c2e5066bea0 (patch) | |
tree | b08bf81538bbd8bcc95382ce4fc608185681ac33 /libopkg/Makefile.am | |
parent | c7c3693656e4078011ea3f2a3b86f31e37b99e64 (diff) |
Add sha256 ckecksums to okpg
Thanks to Camille Moncelier <moncelier@devlife.org>
http://groups.google.com/group/opkg-devel/browse_thread/thread/78a2eb328da0ef73?utoken=pV1Kli0AAADKDldt5ZXsDDLs9sWCpWZI0mClVcTs45ANzZ7C9NH-1YGBxa5Bow63PTuzFmQCb1c
Here is a patch which adds sha256 checksum checking to Opkg.
More Opkg patches will follow shortly (x509 and smime signature support,
libcurl client/server authentication)
I hope these patch will be useful and finds their ways into okpg
Camille Moncelier
http://devlife.org/
git-svn-id: http://opkg.googlecode.com/svn/trunk@220 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/Makefile.am')
-rw-r--r-- | libopkg/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libopkg/Makefile.am b/libopkg/Makefile.am index 0e9d3a9..28fdeb9 100644 --- a/libopkg/Makefile.am +++ b/libopkg/Makefile.am @@ -30,6 +30,10 @@ opkg_util_sources = file_util.c file_util.h opkg_message.h opkg_message.c md5.c sprintf_alloc.c sprintf_alloc.h str_util.c str_util.h \ xregex.c xregex.h xsystem.c xsystem.h +if HAVE_SHA256 +opkg_util_sources += sha256.c sha256.h +endif + lib_LTLIBRARIES = libopkg.la libopkg_la_SOURCES = \ $(opkg_libcore_sources) \ |