void-packages/srcpkgs/netpgp/template

56 lines
1.9 KiB
Plaintext
Raw Normal View History

2010-05-02 18:33:31 +02:00
# Template file for 'netpgp'
pkgname=netpgp
2010-11-07 15:41:20 +01:00
version=20101107
revision=4
build_style=gnu-configure
makedepends="zlib-devel openssl-devel"
2010-05-02 18:33:31 +02:00
short_desc="PGP signing, verification, encryption and decryption program"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.netbsd.org"
distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/$pkgname-$version.tar.gz"
2010-11-07 15:41:20 +01:00
checksum=a0259f7dc886788386c0d827fdba9ad8e0dfcfab1d602dc29e02ae6cc2f9bab9
2010-05-02 18:33:31 +02:00
long_desc="
The netpgp library is a BSD-licensed library for managing PGP keys.
On top of the library, the netpgp command can digitally sign files and
verify that the signatures attached to files were signed by a given
user identifier. netpgp can also encrypt files using the public or
private keys of users and, in the same manner, decrypt files which
were encrypted.
The netpgpkeys utility can also be used to generate a new key-pair for
a user. This key is in two parts, the public key (which can be used
by other people) and a private key.
In addition to these primary uses, the third way of using netpgp is to
maintain keyrings. Keyrings are collections of public keys belonging
to other users. By using other means of identification, it is
possible to establish the bona fides of other users. Once trust has
been established, the public key of the other user will be signed.
The other user's public key can be added to our keyring. The other
user will add our public key to their keyring."
libnetpgp_package() {
short_desc="BSD licensed library for PGP tasks"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
libnetpgp-devel_package() {
depends="zlib-devel bzip2-devel openssl-devel libnetpgp>=${version}"
short_desc="BSD licensed library for PGP tasks - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/share/man/man3
}
}
2010-05-02 18:33:31 +02:00
netpgp_package() {
pkg_install() {
vmove usr
}
}