aboutsummaryrefslogtreecommitdiffstats
path: root/libopkg/pkg_src.h
AgeCommit message (Collapse)Author
2020-10-27pkg_src_verify: Verify feeds signatures only onceZavaczki Raul
Rename pkg_src_t disable_sig_check to signature_verified to better reflect the field purpose Signed-off-by: Zavaczki Raul <raul.zavaczki@ni.com> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2019-10-25add SPDX License identifierYann CARDAILLAC
Signed-off-by: Yann CARDAILLAC <yann.cardaillac@smile.fr> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2016-11-23libopkg: add per-feed signature verification toggleAlejandro del Castillo
To allow per-feed signature verification control, the format for feeds is extended to allow options. The options format is the same one used by apt: src{/gz] name uri [option=value option=value] For now, only the trusted option is supported, but in the future we may add other options. trusted: the value yes tells opkg always to consider this source as trusted, even if it doesn't pass authentication checks. Default is no. Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2016-02-16pkg_src.*: make functions staticAlejandro del Castillo
Make pkg_src_download and pkg_src_download_signature functions static. Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2014-12-15libopkg: Tidy up reformatted headersPaul Barker
During the tidy up, includes have been moved outside of the 'extern "C" {}' construct where necessary. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-12-15Initial reformat with 'indent'Paul Barker
For each file, the command executed was: indent -linux -i4 -nut -sc -bbo -nhnl $f This is the first step in improving the code formatting and further work is still required. 'indent' is confused by the 'extern "c" {}' wrapping in the header files and gets the indentation wrong. It also produces sub-optimal formatting for some long lines. Each file will be reviewed by hand after this commit. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-05-30Add vim modelines to all .c and .h filesPaul Barker
This also corrects the existing vim modelines to match the desired format. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-05-08pkg_src: Add update functionPaul Barker
This function wraps calls to pkg_src_download, pkg_src_download_signature and pkg_src_verify in the correct order. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-05-08pkg_src: Add download functionPaul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-05-08pkg_src: Add signature download functionPaul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-05-08pkg_src: Add verification functionPaul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2013-12-17libopkg: cleanup inside the public header filesCarsten Schoenert
No functional changes! Just a cleanup like whitespaces, blank lines, tabs and reformating lines longer 76 characters. Also adding the missed comments at the closing bracket from the #ifndef HEADER_FOO_H ... #endif loop. This helps to identify the associated preprocessor elements like theay already exits in some files. Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2013-12-17libopkg: ensure symbol name mangling for C++Carsten Schoenert
Users who use C++ code for theirs application have always to include external C functions with a 'extern "C" { }' assignment. We can take that need from the user by putting thees assignments into the public header files. Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2010-08-18Remove trailing whitespace. Sorry if this breaks your patches.graham.gower
git-svn-id: http://opkg.googlecode.com/svn/trunk@552 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
2008-12-15opkg: 's/itsy/opkg/'ticktock35
git-svn-id: http://opkg.googlecode.com/svn/trunk@67 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
2008-12-15opkg: re-arrange source code into sub-directoriesticktock35
git-svn-id: http://opkg.googlecode.com/svn/trunk@33 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358