Added mit-krb5-1.8 build template.
--HG-- extra : convert_revision : c7489f1b59883963631accf1f44066a73ba6a80b
This commit is contained in:
parent
81d364857b
commit
086d883230
9 changed files with 138 additions and 15 deletions
1
srcpkgs/mit-krb5-client
Symbolic link
1
srcpkgs/mit-krb5-client
Symbolic link
|
@ -0,0 +1 @@
|
|||
mit-krb5
|
1
srcpkgs/mit-krb5-devel
Symbolic link
1
srcpkgs/mit-krb5-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
mit-krb5
|
1
srcpkgs/mit-krb5-libs
Symbolic link
1
srcpkgs/mit-krb5-libs
Symbolic link
|
@ -0,0 +1 @@
|
|||
mit-krb5
|
2
srcpkgs/mit-krb5/depends
Normal file
2
srcpkgs/mit-krb5/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=1.8"
|
||||
api_depends="${abi_depends}"
|
17
srcpkgs/mit-krb5/mit-krb5-client.template
Normal file
17
srcpkgs/mit-krb5/mit-krb5-client.template
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'mit-krb5-client'.
|
||||
#
|
||||
short_desc="${short_desc} - client programs"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the client side programs."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run e2fsprogs-libs
|
||||
Add_dependency run mit-krb5-libs
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/share/man
|
||||
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man1 ${DESTDIR}/usr/share/man
|
||||
}
|
25
srcpkgs/mit-krb5/mit-krb5-devel.template
Normal file
25
srcpkgs/mit-krb5/mit-krb5-devel.template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'mit-krb5-devel'.
|
||||
#
|
||||
short_desc="${short_desc} - development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
noverifyrdeps=yes
|
||||
|
||||
Add_dependency run db-devel
|
||||
Add_dependency run openssl-devel
|
||||
Add_dependency run e2fsprogs-devel ">=1.4.10_1"
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/{lib,bin} \
|
||||
${DESTDIR}/usr/share/man/man1
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
for f in krb5-config; do
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/${f} ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man1/${f}* \
|
||||
${DESTDIR}/usr/share/man/man1
|
||||
done
|
||||
}
|
17
srcpkgs/mit-krb5/mit-krb5-libs.template
Normal file
17
srcpkgs/mit-krb5/mit-krb5-libs.template
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'mit-krb5-libs'.
|
||||
#
|
||||
short_desc="${short_desc} - shared libraries"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the shared libraries."
|
||||
|
||||
conflicts="heimdal-libs"
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run e2fsprogs-libs
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib
|
||||
}
|
49
srcpkgs/mit-krb5/template
Normal file
49
srcpkgs/mit-krb5/template
Normal file
|
@ -0,0 +1,49 @@
|
|||
# Template file for 'mit-krb5'
|
||||
pkgname=mit-krb5
|
||||
version=1.8
|
||||
wrksrc="krb5-${version}"
|
||||
distfiles="http://web.mit.edu/Kerberos/dist/krb5/$version/krb5-$version-signed.tar"
|
||||
build_style=gnu_configure
|
||||
configure_script="./src/configure"
|
||||
configure_args="--disable-rpath --enable-kdc-replay-cache --with-system-et
|
||||
--with-system-ss --with-system-db --enable-shared"
|
||||
short_desc="MIT Kerberos 5 implementation"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=99602433fad7dab3708974244278a579d7e7f60b08386046f9c1b3ec8824a86b
|
||||
long_desc="
|
||||
Kerberos is a network authentication protocol. It is designed to provide
|
||||
strong authentication for client/server applications by using secret-key
|
||||
cryptography. A free implementation of this protocol is available from the
|
||||
Massachusetts Institute of Technology. Kerberos is available in many
|
||||
commercial products as well."
|
||||
|
||||
CFLAGS="-I/usr/include/et"
|
||||
|
||||
noextract=yes
|
||||
subpackages="$pkgname-devel $pkgname-libs $pkgname-client"
|
||||
conflicts="heimdal"
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run db
|
||||
Add_dependency run e2fsprogs-libs
|
||||
Add_dependency run openssl
|
||||
Add_dependency run mit-krb5-libs
|
||||
Add_dependency run mit-krb5-client
|
||||
|
||||
Add_dependency build flex
|
||||
Add_dependency build db-devel
|
||||
Add_dependency build e2fsprogs-devel
|
||||
Add_dependency build openssl-devel
|
||||
|
||||
pre_configure()
|
||||
{
|
||||
# We have to do this dance because the real distfile is
|
||||
# included in the .tar archive.
|
||||
tar xf ${XBPS_SRCDISTDIR}/$(basename ${distfiles}) \
|
||||
-C ${wrksrc} || return 1
|
||||
tar xfz ${wrksrc}/krb5-${version}.tar.gz \
|
||||
-C ${XBPS_BUILDDIR} || return 1
|
||||
|
||||
# Fix db plugin.
|
||||
sed -i -e "s|<db.h>|<db_185.h>|" ${wrksrc}/src/plugins/kdb/db2/*.[ch]
|
||||
}
|
|
@ -483,18 +483,28 @@ libpq.so postgresql-libs postgresql-libs-devel
|
|||
libmysqlclient_r.so.16 libmysqlclient libmysqlclient-devel
|
||||
libmysqlclient.so.16 libmysqlclient libmysqlclient-devel
|
||||
libndbclient.so.16 libndbclient libndbclient-devel
|
||||
libasn1.so heimdal-libs heimdal-devel
|
||||
libgssapi.so heimdal-libs heimdal-devel
|
||||
libhdb.so heimdal-libs heimdal-devel
|
||||
libheimntlm.so heimdal-libs heimdal-devel
|
||||
libheimsqlite.so heimdal-libs heimdal-devel
|
||||
libhx509.so heimdal-libs heimdal-devel
|
||||
libkadm5clnt.so heimdal-libs heimdal-devel
|
||||
libkadm5srv.so heimdal-libs heimdal-devel
|
||||
libkafs.so heimdal-libs heimdal-devel
|
||||
libkdc.so heimdal-libs heimdal-devel
|
||||
libkrb5.so.25 heimdal-libs heimdal-devel
|
||||
libotp.so heimdal-libs heimdal-devel
|
||||
libroken.so.18 heimdal-libs heimdal-devel
|
||||
libsl.so heimdal-libs heimdal-devel
|
||||
libwind.so heimdal-libs heimdal-devel
|
||||
libasn1.so heimdal-libs heimdal-devel
|
||||
libgssapi.so heimdal-libs heimdal-devel
|
||||
libhdb.so heimdal-libs heimdal-devel
|
||||
libheimntlm.so heimdal-libs heimdal-devel
|
||||
libheimsqlite.so heimdal-libs heimdal-devel
|
||||
libhx509.so heimdal-libs heimdal-devel
|
||||
libkadm5clnt.so heimdal-libs heimdal-devel
|
||||
libkadm5srv.so heimdal-libs heimdal-devel
|
||||
libkafs.so heimdal-libs heimdal-devel
|
||||
libkdc.so heimdal-libs heimdal-devel
|
||||
libkrb5.so.25 heimdal-libs heimdal-devel
|
||||
libotp.so heimdal-libs heimdal-devel
|
||||
libroken.so.18 heimdal-libs heimdal-devel
|
||||
libsl.so heimdal-libs heimdal-devel
|
||||
libwind.so heimdal-libs heimdal-devel
|
||||
libgssapi_krb5.so mit-krb5-libs mit-krb5-devel
|
||||
libgssrpc.so mit-krb5-libs mit-krb5-devel
|
||||
libk5crypto.so mit-krb5-libs mit-krb5-devel
|
||||
libkadm5clnt_mit.so mit-krb5-libs mit-krb5-devel
|
||||
libkadm5clnt.so mit-krb5-libs mit-krb5-devel
|
||||
libkadm5srv_mit.so mit-krb5-libs mit-krb5-devel
|
||||
libkadm5srv.so mit-krb5-libs mit-krb5-devel
|
||||
libkdb5.so mit-krb5-libs mit-krb5-devel
|
||||
libkrb5.so mit-krb5-libs mit-krb5-devel
|
||||
libkrb5support.so mit-krb5-libs mit-krb5-devel
|
||||
|
|
Loading…
Reference in a new issue