84 lines
2.2 KiB
Bash
84 lines
2.2 KiB
Bash
SUMMARY="The Off-the-Record Messaging library"
|
|
DESCRIPTION="Off-the-Record (OTR) Messaging allows you to have private \
|
|
conversations over instant messaging by providing:
|
|
|
|
* Encryption
|
|
No one else can read your instant messages.
|
|
* Authentication
|
|
You are assured the correspondent is who you think it is.
|
|
* Deniability
|
|
The messages you send do not have digital signatures that are checkable by a \
|
|
third party. Anyone can forge messages after a conversation to make them look \
|
|
like they came from you. However, during a conversation, your correspondent is \
|
|
assured the messages he sees are authentic and unmodified.
|
|
* Perfect forward secrecy
|
|
If you lose control of your private keys, no previous conversation is \
|
|
compromised."
|
|
HOMEPAGE="https://otr.cypherpunks.ca/"
|
|
COPYRIGHT="2004-2015, The OTR Development Team"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://otr.cypherpunks.ca/libotr-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="8b3b182424251067a952fb4e6c7b95a21e644fbb27fbd5f8af2b2ed87ca419f5"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libotr$secondaryArchSuffix = $portVersion
|
|
cmd:otr_mackey$secondaryArchSuffix
|
|
cmd:otr_modify$secondaryArchSuffix
|
|
cmd:otr_parse$secondaryArchSuffix
|
|
cmd:otr_readforge$secondaryArchSuffix
|
|
cmd:otr_remac$secondaryArchSuffix
|
|
cmd:otr_sesskeys$secondaryArchSuffix
|
|
lib:libotr$secondaryArchSuffix = 5.1.1 compat >= 5
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgcrypt$secondaryArchSuffix
|
|
lib:libgpg_error$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libotr${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libotr$secondaryArchSuffix = 5.1.1 compat >= 5
|
|
"
|
|
REQUIRES_devel="
|
|
libotr$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgcrypt$secondaryArchSuffix
|
|
devel:libgpg_error$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
otr_cv_cflags__fPIE=no otr_cv_cflags__fstack_protector_all=no \
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libotr.la
|
|
|
|
prepareInstalledDevelLibs libotr
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|