mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-16 02:06:34 +02:00
* GNU TLS Library import
git-svn-id: trunk@40775 -
This commit is contained in:
parent
dabd4fa625
commit
f89431c4f7
3
.gitattributes
vendored
3
.gitattributes
vendored
@ -3832,6 +3832,9 @@ packages/gnome1/src/zvt/libzvt.pp svneol=native#text/plain
|
|||||||
packages/gnome1/src/zvt/lists.inc svneol=native#text/plain
|
packages/gnome1/src/zvt/lists.inc svneol=native#text/plain
|
||||||
packages/gnome1/src/zvt/vt.inc svneol=native#text/plain
|
packages/gnome1/src/zvt/vt.inc svneol=native#text/plain
|
||||||
packages/gnome1/src/zvt/vtx.inc svneol=native#text/plain
|
packages/gnome1/src/zvt/vtx.inc svneol=native#text/plain
|
||||||
|
packages/gnutls/examples/testgnutls.pp svneol=native#text/plain
|
||||||
|
packages/gnutls/fpmake.pp svneol=native#text/plain
|
||||||
|
packages/gnutls/src/gnutls.pp svneol=native#text/plain
|
||||||
packages/googleapi/Makefile svneol=native#text/plain
|
packages/googleapi/Makefile svneol=native#text/plain
|
||||||
packages/googleapi/Makefile.fpc svneol=native#text/plain
|
packages/googleapi/Makefile.fpc svneol=native#text/plain
|
||||||
packages/googleapi/README.txt svneol=native#text/plain
|
packages/googleapi/README.txt svneol=native#text/plain
|
||||||
|
@ -139,5 +139,6 @@
|
|||||||
add_libfontconfig(ADirectory+IncludeTrailingPathDelimiter('libfontconfig'));
|
add_libfontconfig(ADirectory+IncludeTrailingPathDelimiter('libfontconfig'));
|
||||||
add_fcl_report(ADirectory+IncludeTrailingPathDelimiter('fcl-report'));
|
add_fcl_report(ADirectory+IncludeTrailingPathDelimiter('fcl-report'));
|
||||||
add_webidl(ADirectory+IncludeTrailingPathDelimiter('webidl'));
|
add_webidl(ADirectory+IncludeTrailingPathDelimiter('webidl'));
|
||||||
|
add_gnutls(ADirectory+IncludeTrailingPathDelimiter('gnutls'));
|
||||||
add_ide(ADirectory+IncludeTrailingPathDelimiter('ide'));
|
add_ide(ADirectory+IncludeTrailingPathDelimiter('ide'));
|
||||||
|
|
||||||
|
@ -535,6 +535,12 @@ begin
|
|||||||
{$include openssl/fpmake.pp}
|
{$include openssl/fpmake.pp}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure add_gnutls(const ADirectory: string);
|
||||||
|
begin
|
||||||
|
with Installer do
|
||||||
|
{$include gnutls/fpmake.pp}
|
||||||
|
end;
|
||||||
|
|
||||||
procedure add_oracle(const ADirectory: string);
|
procedure add_oracle(const ADirectory: string);
|
||||||
begin
|
begin
|
||||||
with Installer do
|
with Installer do
|
||||||
|
7
packages/gnutls/examples/testgnutls.pp
Normal file
7
packages/gnutls/examples/testgnutls.pp
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
program testgnutls;
|
||||||
|
|
||||||
|
uses gnutls;
|
||||||
|
|
||||||
|
begin
|
||||||
|
loadGnuTLS;
|
||||||
|
end.
|
35
packages/gnutls/fpmake.pp
Normal file
35
packages/gnutls/fpmake.pp
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{$ifndef ALLPACKAGES}
|
||||||
|
{$mode objfpc}{$H+}
|
||||||
|
program fpmake;
|
||||||
|
|
||||||
|
uses fpmkunit;
|
||||||
|
|
||||||
|
Var
|
||||||
|
P : TPackage;
|
||||||
|
T : TTarget;
|
||||||
|
begin
|
||||||
|
With Installer do
|
||||||
|
begin
|
||||||
|
{$endif ALLPACKAGES}
|
||||||
|
|
||||||
|
P:=AddPackage('gnutls');
|
||||||
|
P.Dependencies.Add('fcl-net');
|
||||||
|
P.ShortName:='gnutls';
|
||||||
|
P.Description := 'Interface units for GNU TLS libraries supporting SSL-encrypted network communication.';
|
||||||
|
{$ifdef ALLPACKAGES}
|
||||||
|
P.Directory:=ADirectory;
|
||||||
|
{$endif ALLPACKAGES}
|
||||||
|
P.Version:='3.3.1';
|
||||||
|
P.SourcePath.Add('src');
|
||||||
|
P.OSes := AllUnixOSes+AllWindowsOSes-[qnx];
|
||||||
|
if Defaults.CPU=jvm then
|
||||||
|
P.OSes := P.OSes - [java,android];
|
||||||
|
T:=P.Targets.AddUnit('gnutls.pp');
|
||||||
|
P.ExamplePath.Add('examples');
|
||||||
|
P.Targets.AddExampleProgram('testgnutls.pp');
|
||||||
|
|
||||||
|
{$ifndef ALLPACKAGES}
|
||||||
|
Run;
|
||||||
|
end;
|
||||||
|
end.
|
||||||
|
{$endif ALLPACKAGES}
|
1953
packages/gnutls/src/gnutls.pp
Normal file
1953
packages/gnutls/src/gnutls.pp
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user