summaryrefslogtreecommitdiffstats
path: root/libopkg/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* libopkg: Don't install opkg_pathfinder.hPaul Barker2013-12-171-1/+42
| | | | | | | | | | opkg_pathfinder.h is an internal header and shouldn't be used by applications which link against libopkg. It is much simpler to make this decision and allow the header to check flags defined in config.h than to make it independent of config.h. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Cc: Carsten Schoenert <c.schoenert@gmail.com>
* Apply patch by Paul Barker <paul@paulbarker.me.uk>florian.boor@gmail.com2013-06-281-1/+1
| | | | | | | | | | | | | Fix libopkg header installation. When opkg is built outside the source directory, libopkg headers aren't all installed as the search path for headers only includes the directory that make is being ran in, not the source directory. So we fix this by adding $(srcdir)/*.h to the list of header files to install. git-svn-id: http://opkg.googlecode.com/svn/trunk@650 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Improve the opkg_{get,set}_option() C API.graham.gower@gmail.com2011-05-251-0/+2
| | | | | | This breaks compatibility with the previous API, so bump the lib version. git-svn-id: http://opkg.googlecode.com/svn/trunk@622 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Code to handle the apt-alike configuration entriesjaviplx@gmail.com2011-04-071-0/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@612 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Create parse_util with some of the non-public functions from pkg_parse.cjaviplx@gmail.com2011-04-071-0/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@611 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add a configure flag to specify the lockfile pathpixdamix2009-12-281-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@511 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Initial stab at untangling the #include maze. Probably needs a second pass.graham.gower2009-12-201-1/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@504 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Move args.c contents into src/opkg-cl.c.graham.gower2009-12-181-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@501 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Move libopkg.c out into the src dir. It shouldn't be part of the library.graham.gower2009-12-171-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@499 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Allow use of opkg internals by libopkg users. Not intended to be permanent.graham.gower2009-12-111-2/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@488 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Merge commit 'grg' into HEADgraham.gower2009-12-081-3/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@471 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove -Werror from libopkg CFLAGS.graham.gower2009-12-031-1/+1
| | | | | | | | | | While I believe all warnings should be fixed, it is not possible to test opkg on all systems with all compiler versions. Warnings for end users on such systems should not cause build failure. And with the addition of shave, warnings are really easy to see without -Werror. git-svn-id: http://opkg.googlecode.com/svn/trunk@446 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix typo in file name in order to fix distcheck.florian.boor2009-11-271-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@401 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove str_util.{c,h}graham.gower2009-11-251-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@383 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add pathfinder support for certificate validationpixdamix2009-11-051-3/+6
| | | | | | | | | | | | | | | | | | From http://code.google.com/p/pathfinder-pki/ PathFinder is designed to provide a mechanism for any program to perform RFC3280-compliant path validation of X509 certificates, even when some of the intermediate certificates are not present on the local machine. By design, Pathfinder automatically downloads any such certificates from the Internet as needed using the AIA and CRL distribution point extensions of the certificates it is processing. It has the ability to do revocation status checking either using CRL or OCSP, or both. And, given the recent vulnerabilities that have rendered the MD5 algorithm highly suspect, it allows the administrator to choose to not validate certificates using that algorithm anywhere in the trust path. git-svn-id: http://opkg.googlecode.com/svn/trunk@261 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove unused opkg_set_current_state bits.graham.gower2009-11-031-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@252 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Make `curl' an instance variable and ssl supportpixdamix2009-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds several new options - option ssl_ca_path /path/to/dir Tells curl to use the specified certificate directory to verify the peer. The certificates must be in PEM format, and the directory must have been processed using the c_rehash utility supplied with openssl. - option ssl_ca_file Tells curl to use the specified certificate file to verify the peer. The file may contain multiple CA certificates - option ssl_key_type Tells curl the Private key file type. Specify which type your ssl_key provided private key is. PEM (default), DER and ENG (see option ssl_engine) are recognized types. - option ssl_cert_type Tells curl what certificate type the provided certificate is in. PEM (default), DER and ENG (see option ssl_engine) are recognized types. - option ssl_key & option ssl_cert Tells curl to use the specified certificate file and private key when getting a file with HTTPS - option ssl_key_passwd Passphrase for the private key - option ssl_engine Select the OpenSSL crypto engine to use for cipher operations. - option ssl_dont_verify_peer This option explicitly allows curl to perform "insecure" SSL connections and transfers. All SSL connections are attempted to be made secure by using the CA certificate. This makes all connections considered "insecure" fail unless ssl_dont_verify_peer is used. git-svn-id: http://opkg.googlecode.com/svn/trunk@251 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add sha256 ckecksums to okpgticktock352009-10-271-0/+4
| | | | | | | | | | | | | | | | 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
* adds a configure option so "/etc/opkg" can beticktock352009-06-141-1/+1
| | | | | | | | | | changed when opkg is configured and built. fix issue due to an error of opkg_conf.c Thanks to jlc <jlcster@gmail.com> http://groups.google.com/group/opkg-devel/browse_thread/thread/5c6e55832a7168aa git-svn-id: http://opkg.googlecode.com/svn/trunk@213 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: introduce the protype of active_listticktock352008-12-151-1/+2
| | | | | | | | This can be used for upgrade path git-svn-id: http://opkg.googlecode.com/svn/trunk@166 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: fix distcheck issuesticktock352008-12-151-3/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@105 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: remove per-target CFLAGSticktock352008-12-151-2/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@104 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: clean up libopkg Makefile.am a bitticktock352008-12-151-7/+6
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@94 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: fix header include path issuesticktock352008-12-151-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@75 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: various white space cleanups and implement opkg_update_package_liststicktock352008-12-151-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@72 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: start new libopkg api in opkg.{c,h} and remove all other header filesticktock352008-12-151-24/+3
| | | | | | | | from being copied to includes git-svn-id: http://opkg.googlecode.com/svn/trunk@70 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* libopkg: stop exporting random symbols into the wildticktock352008-12-151-0/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@68 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: remove opkg.h in preperation for new APIticktock352008-12-151-2/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@65 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: remove old opkg.cticktock352008-12-151-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@62 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* =?utf-8?q?opkg:=20Fix=20md5=20sum=20on=20big=20endian=20systems.ticktock352008-12-151-1/+1
| | | | | | | | | | | =20=20=20=20=20=20=20Patch=20from=20Jeremy=20Lain=C3=A9=20<jeremy=20laine=20bolloretelecom=20eu>?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit git-svn-id: http://opkg.googlecode.com/svn/trunk@58 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: enable -Werror in libopkg and fix resulting build failuresticktock352008-12-151-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@52 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: remove redundant OPKG_LIB conditional codeticktock352008-12-141-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@49 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: distcheck fixesticktock352008-12-141-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@36 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: move tests into a separate directoryticktock352008-12-141-11/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@34 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: re-arrange source code into sub-directoriesticktock352008-12-141-0/+76
git-svn-id: http://opkg.googlecode.com/svn/trunk@33 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358