wok-4.x rev 1335

Add krb5
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 31 11:58:29 2008 +0000 (2008-08-31)
parents c3b2a65f6d44
children 200afcc9e5f4
files krb5-clients/receipt krb5-dev/receipt krb5-ftpd/receipt krb5-plugins/receipt krb5-rlogind/receipt krb5-telnetd/receipt krb5-user/receipt krb5/receipt krb5/stuff/krb5-clients.files-list krb5/stuff/krb5-dev.files-list krb5/stuff/krb5-ftpd.files-list krb5/stuff/krb5-plugins.files-list krb5/stuff/krb5-rlogind.files-list krb5/stuff/krb5-telnetd.files-list krb5/stuff/krb5-user.files-list krb5/stuff/libkrb5.files-list libkrb5/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/krb5-clients/receipt	Sun Aug 31 11:58:29 2008 +0000
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="krb5-clients"
     1.7 +VERSION="1.6.3"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="Misc clients using MIT Kerberos."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://web.mit.edu/Kerberos/"
    1.12 +WANTED="krb5"
    1.13 +DEPENDS="libkrb5"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	while read file; do
    1.19 +		dir=$(dirname $file)
    1.20 +		[ -d $fs$dir ] || mkdir -p $fs$dir
    1.21 +		cp -a $_pkg$file $fs$dir
    1.22 +	done < $src/$PACKAGE.files-list
    1.23 +}
    1.24 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/krb5-dev/receipt	Sun Aug 31 11:58:29 2008 +0000
     2.3 @@ -0,0 +1,21 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="krb5-dev"
     2.7 +VERSION="1.6.3"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Network authentication protocol development files."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +WEB_SITE="http://web.mit.edu/Kerberos/"
    2.12 +WANTED="krb5"
    2.13 +DEPENDS="libkrb5"
    2.14 +
    2.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.16 +genpkg_rules()
    2.17 +{
    2.18 +	while read file; do
    2.19 +		dir=$(dirname $file)
    2.20 +		[ -d $fs$dir ] || mkdir -p $fs$dir
    2.21 +		cp -a $_pkg$file $fs$dir
    2.22 +	done < $src/$PACKAGE.files-list
    2.23 +}
    2.24 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/krb5-ftpd/receipt	Sun Aug 31 11:58:29 2008 +0000
     3.3 @@ -0,0 +1,21 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="krb5-ftpd"
     3.7 +VERSION="1.6.3"
     3.8 +CATEGORY="security"
     3.9 +SHORT_DESC="Ftpd server using MIT Kerberos."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +WEB_SITE="http://web.mit.edu/Kerberos/"
    3.12 +WANTED="krb5"
    3.13 +DEPENDS="libkrb5"
    3.14 +
    3.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.16 +genpkg_rules()
    3.17 +{
    3.18 +	while read file; do
    3.19 +		dir=$(dirname $file)
    3.20 +		[ -d $fs$dir ] || mkdir -p $fs$dir
    3.21 +		cp -a $_pkg$file $fs$dir
    3.22 +	done < $src/$PACKAGE.files-list
    3.23 +}
    3.24 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/krb5-plugins/receipt	Sun Aug 31 11:58:29 2008 +0000
     4.3 @@ -0,0 +1,21 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="krb5-plugins"
     4.7 +VERSION="1.6.3"
     4.8 +CATEGORY="security"
     4.9 +SHORT_DESC="Plugins for MIT Kerberos."
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +WEB_SITE="http://web.mit.edu/Kerberos/"
    4.12 +WANTED="krb5"
    4.13 +DEPENDS="krb5"
    4.14 +
    4.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.16 +genpkg_rules()
    4.17 +{
    4.18 +	while read file; do
    4.19 +		dir=$(dirname $file)
    4.20 +		[ -d $fs$dir ] || mkdir -p $fs$dir
    4.21 +		cp -a $_pkg$file $fs$dir
    4.22 +	done < $src/$PACKAGE.files-list
    4.23 +}
    4.24 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/krb5-rlogind/receipt	Sun Aug 31 11:58:29 2008 +0000
     5.3 @@ -0,0 +1,21 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="krb5-rlogind"
     5.7 +VERSION="1.6.3"
     5.8 +CATEGORY="security"
     5.9 +SHORT_DESC="Rshd and rlogind servers using MIT Kerberos."
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +WEB_SITE="http://web.mit.edu/Kerberos/"
    5.12 +WANTED="krb5"
    5.13 +DEPENDS="libkrb5"
    5.14 +
    5.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.16 +genpkg_rules()
    5.17 +{
    5.18 +	while read file; do
    5.19 +		dir=$(dirname $file)
    5.20 +		[ -d $fs$dir ] || mkdir -p $fs$dir
    5.21 +		cp -a $_pkg$file $fs$dir
    5.22 +	done < $src/$PACKAGE.files-list
    5.23 +}
    5.24 +
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/krb5-telnetd/receipt	Sun Aug 31 11:58:29 2008 +0000
     6.3 @@ -0,0 +1,21 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="krb5-telnetd"
     6.7 +VERSION="1.6.3"
     6.8 +CATEGORY="security"
     6.9 +SHORT_DESC="Telnetd server using MIT Kerberos."
    6.10 +MAINTAINER="pascal.bellard@slitaz.org"
    6.11 +WEB_SITE="http://web.mit.edu/Kerberos/"
    6.12 +WANTED="krb5"
    6.13 +DEPENDS="libkrb5"
    6.14 +
    6.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.16 +genpkg_rules()
    6.17 +{
    6.18 +	while read file; do
    6.19 +		dir=$(dirname $file)
    6.20 +		[ -d $fs$dir ] || mkdir -p $fs$dir
    6.21 +		cp -a $_pkg$file $fs$dir
    6.22 +	done < $src/$PACKAGE.files-list
    6.23 +}
    6.24 +
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/krb5-user/receipt	Sun Aug 31 11:58:29 2008 +0000
     7.3 @@ -0,0 +1,21 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="krb5-user"
     7.7 +VERSION="1.6.3"
     7.8 +CATEGORY="security"
     7.9 +SHORT_DESC="Basic programs to authenticate using MIT Kerberos."
    7.10 +MAINTAINER="pascal.bellard@slitaz.org"
    7.11 +WEB_SITE="http://web.mit.edu/Kerberos/"
    7.12 +WANTED="krb5"
    7.13 +DEPENDS="libkrb5"
    7.14 +
    7.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.16 +genpkg_rules()
    7.17 +{
    7.18 +	while read file; do
    7.19 +		dir=$(dirname $file)
    7.20 +		[ -d $fs$dir ] || mkdir -p $fs$dir
    7.21 +		cp -a $_pkg$file $fs$dir
    7.22 +	done < $src/$PACKAGE.files-list
    7.23 +}
    7.24 +
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/krb5/receipt	Sun Aug 31 11:58:29 2008 +0000
     8.3 @@ -0,0 +1,66 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="krb5"
     8.7 +VERSION="1.6.3"
     8.8 +CATEGORY="security"
     8.9 +SHORT_DESC="Network authentication protocol with strong authentication."
    8.10 +MAINTAINER="pascal.bellard@slitaz.org"
    8.11 +TARBALL="$PACKAGE-$VERSION-signed.tar"
    8.12 +WEB_SITE="http://web.mit.edu/Kerberos/"
    8.13 +WGET_URL="${WEB_SITE}dist/$PACKAGE/1.6/$TARBALL"
    8.14 +DEPENDS="libkrb5"
    8.15 +CONFIG_FILES="/etc/krb5"
    8.16 +
    8.17 +# Rules to configure and make the package.
    8.18 +compile_rules()
    8.19 +{
    8.20 +	[ -d $src ] || tar xzf $PACKAGE-$VERSION.tar.gz
    8.21 +	cd $src/src
    8.22 +	./configure --prefix=/usr --infodir=/usr/share/info \
    8.23 +	--sysconfdir=/etc --localstatedir=/var \
    8.24 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    8.25 +	make
    8.26 +	make DESTDIR=$PWD/../_pkg install
    8.27 +	cp ../../stuff/*.files-list ..
    8.28 +}
    8.29 +
    8.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.31 +genpkg_rules()
    8.32 +{
    8.33 +	mkdir -p $fs/usr $fs/etc
    8.34 +	cp -a $_pkg/usr/share/examples/krb5 $fs/etc
    8.35 +	cp -a $_pkg/usr/bin $fs/usr
    8.36 +	cp -a $_pkg/usr/sbin $fs/usr
    8.37 +	cp -a $_pkg/usr/lib $fs/usr
    8.38 +	cat $src/*.files-list | while read file; do
    8.39 +		rm -rf $fs$file
    8.40 +	done
    8.41 +	# Package all krb5 pkgs
    8.42 +	for i in $(cd $WOK; grep -l '^WANTED="krb5"$' */receipt)
    8.43 +	do
    8.44 +    		tazwok cook ${i%/receipt}
    8.45 +	done
    8.46 +}
    8.47 +
    8.48 +# Pre and post install commands for Tazpkg.
    8.49 +post_install()
    8.50 +{
    8.51 +	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    8.52 +		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    8.53 +$(cd $1/ ; find etc/krb5 -type f)
    8.54 +EOT
    8.55 +	cat <<EOF
    8.56 +----
    8.57 +To start $PACKAGE server you can run :
    8.58 +
    8.59 +    /etc/init.d/$PACKAGE start
    8.60 +
    8.61 +Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
    8.62 +----
    8.63 +EOF
    8.64 +}
    8.65 +
    8.66 +repack_cleanup()
    8.67 +{
    8.68 +        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
    8.69 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/krb5/stuff/krb5-clients.files-list	Sun Aug 31 11:58:29 2008 +0000
     9.3 @@ -0,0 +1,10 @@
     9.4 +/usr/bin/rsh
     9.5 +/usr/bin/rcp
     9.6 +/usr/bin/rlogin
     9.7 +/usr/bin/v4rcp
     9.8 +/usr/bin/ftp
     9.9 +/usr/bin/telnet
    9.10 +/usr/bin/sclient
    9.11 +/usr/bin/sim_client
    9.12 +/usr/bin/uuclient
    9.13 +/usr/bin/gss-client
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/krb5/stuff/krb5-dev.files-list	Sun Aug 31 11:58:29 2008 +0000
    10.3 @@ -0,0 +1,1 @@
    10.4 +/usr/include
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/krb5/stuff/krb5-ftpd.files-list	Sun Aug 31 11:58:29 2008 +0000
    11.3 @@ -0,0 +1,1 @@
    11.4 +/usr/sbin/ftpd
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/krb5/stuff/krb5-plugins.files-list	Sun Aug 31 11:58:29 2008 +0000
    12.3 @@ -0,0 +1,3 @@
    12.4 +/usr/lib/krb5/plugins/kdb/db2.so
    12.5 +/usr/lib/krb5/plugins/preauth/pkinit.so
    12.6 +/usr/lib/krb5/plugins/libkrb5
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/krb5/stuff/krb5-rlogind.files-list	Sun Aug 31 11:58:29 2008 +0000
    13.3 @@ -0,0 +1,3 @@
    13.4 +/usr/sbin/kshd
    13.5 +/usr/sbin/klogind
    13.6 +/usr/sbin/login.krb5
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/krb5/stuff/krb5-telnetd.files-list	Sun Aug 31 11:58:29 2008 +0000
    14.3 @@ -0,0 +1,1 @@
    14.4 +/usr/sbin/telnetd
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/krb5/stuff/krb5-user.files-list	Sun Aug 31 11:58:29 2008 +0000
    15.3 @@ -0,0 +1,10 @@
    15.4 +/usr/bin/kdestroy
    15.5 +/usr/bin/kinit
    15.6 +/usr/bin/klist
    15.7 +/usr/bin/kpasswd
    15.8 +/usr/bin/krb524init
    15.9 +/usr/bin/ksu
   15.10 +/usr/bin/kvno
   15.11 +/usr/sbin/k5srvutil
   15.12 +/usr/sbin/kadmin
   15.13 +/usr/sbin/ktutil
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/krb5/stuff/libkrb5.files-list	Sun Aug 31 11:58:29 2008 +0000
    16.3 @@ -0,0 +1,7 @@
    16.4 +/usr/lib/libkrb5support.so*
    16.5 +/usr/lib/libk5crypto.so*
    16.6 +/usr/lib/libkrb5.so*
    16.7 +/usr/lib/libdes425.so*
    16.8 +/usr/lib/libkrb4.so*
    16.9 +/usr/lib/libgssapi_krb5.so*
   16.10 +/usr/lib/libkdb5.so*
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/libkrb5/receipt	Sun Aug 31 11:58:29 2008 +0000
    17.3 @@ -0,0 +1,20 @@
    17.4 +# SliTaz package receipt.
    17.5 +
    17.6 +PACKAGE="libkrb5"
    17.7 +VERSION="1.6.3"
    17.8 +CATEGORY="security"
    17.9 +SHORT_DESC="Kerberos network authentication protocol libraries."
   17.10 +MAINTAINER="pascal.bellard@slitaz.org"
   17.11 +WEB_SITE="http://web.mit.edu/Kerberos/"
   17.12 +WANTED="krb5"
   17.13 +
   17.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
   17.15 +genpkg_rules()
   17.16 +{
   17.17 +	while read file; do
   17.18 +		dir=$(dirname $file)
   17.19 +		[ -d $fs$dir ] || mkdir -p $fs$dir
   17.20 +		cp -a $_pkg$file $fs$dir
   17.21 +	done < $src/$PACKAGE.files-list
   17.22 +}
   17.23 +