Added netpgp-20100313 build template.

This commit is contained in:
Juan RP 2010-05-02 18:33:31 +02:00
parent 8cd294afb1
commit 6e968f72bf
7 changed files with 92 additions and 0 deletions

1
srcpkgs/libnetpgp Symbolic link
View File

@ -0,0 +1 @@
netpgp

1
srcpkgs/libnetpgp-devel Symbolic link
View File

@ -0,0 +1 @@
netpgp

2
srcpkgs/netpgp/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=20100313"
api_depends="${abi_depends}"

View File

@ -0,0 +1,25 @@
# Template file for 'libnetpgp'.
#
short_desc="BSD licensed library for PGP tasks - development files"
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.
This packages includes development files: headers, static libs, etc."
Add_dependency run zlib-devel
Add_dependency run bzip2-devel
Add_dependency run openssl-devel
Add_dependency run libnetpgp
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
}

View File

@ -0,0 +1,22 @@
# Template file for 'libnetpgp'.
#
short_desc="BSD licensed library for PGP tasks"
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."
Add_dependency run glibc
Add_dependency run zlib
Add_dependency run bzip2
Add_dependency run openssl
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib
}

40
srcpkgs/netpgp/template Normal file
View File

@ -0,0 +1,40 @@
# Template file for 'netpgp'
pkgname=netpgp
version=20100313
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="PGP signing, verification, encryption and decryption program"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=e358f000962f0bad2b93a9eda0b34271afd8a78daccd6ed51b77ba4ea07ddcca
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."
CFLAGS="-Wno-error"
subpackages="libnetpgp libnetpgp-devel"
Add_dependency run glibc
Add_dependency run zlib
Add_dependency run bzip2
Add_dependency run openssl
Add_dependency run libnetpgp
Add_dependency build zlib-devel
Add_dependency build bzip2-devel
Add_dependency build openssl-devel

View File

@ -629,3 +629,4 @@ libLTO.so llvm llvm-devel
libprofile_rt.so llvm llvm-devel
libapr-1.so apr apr-devel
libaprutil-1.so apr-util apr-util-devel
libnetpgp.so libnetpgp libnetpgp-devel