* GNU TLS Library import

git-svn-id: trunk@40775 -
This commit is contained in:
michael 2019-01-05 18:21:49 +00:00
parent dabd4fa625
commit f89431c4f7
6 changed files with 2005 additions and 0 deletions

3
.gitattributes vendored
View File

@ -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/vt.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.fpc svneol=native#text/plain
packages/googleapi/README.txt svneol=native#text/plain

View File

@ -139,5 +139,6 @@
add_libfontconfig(ADirectory+IncludeTrailingPathDelimiter('libfontconfig'));
add_fcl_report(ADirectory+IncludeTrailingPathDelimiter('fcl-report'));
add_webidl(ADirectory+IncludeTrailingPathDelimiter('webidl'));
add_gnutls(ADirectory+IncludeTrailingPathDelimiter('gnutls'));
add_ide(ADirectory+IncludeTrailingPathDelimiter('ide'));

View File

@ -535,6 +535,12 @@ begin
{$include openssl/fpmake.pp}
end;
procedure add_gnutls(const ADirectory: string);
begin
with Installer do
{$include gnutls/fpmake.pp}
end;
procedure add_oracle(const ADirectory: string);
begin
with Installer do

View File

@ -0,0 +1,7 @@
program testgnutls;
uses gnutls;
begin
loadGnuTLS;
end.

35
packages/gnutls/fpmake.pp Normal file
View 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}

File diff suppressed because it is too large Load Diff