wok view ypserv/receipt @ rev 11352

busybox/httpd: add support for system passwords
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 29 18:11:22 2011 +0100 (2011-11-29)
parents cf5937e61b74
children 6b1be3598c12
line source
1 # SliTaz package receipt.
3 PACKAGE="ypserv"
4 VERSION="2.23"
5 CATEGORY="network"
6 SHORT_DESC="Yellow pages server (v2)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.kernel.org/pub/linux/utils/net/NIS/"
10 DEPENDS="gdbm portmap"
11 BUILD_DEPENDS="gdbm-dev"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/etc/init.d
29 cp -a $_pkg/usr/sbin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $_pkg/usr/include $fs/usr
32 cp -a $_pkg/var $fs
34 # Copy config files
35 for file in ypserv.conf timezone netmasks netgroup
36 do
37 cp -a $src/etc/$fle $fs/
38 done
40 # Copy initscript
41 cp $stuff/ypserv $fs/etc/init.d
43 # Copy and fix security file
44 cp $src/etc/securenets $fs/var/yp
45 sed -i 's/^0.0.0.0/#0.0.0.0/' $fs/var/yp/securenets
46 }