wok-6.x rev 18132

Add bcrelay
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 13 14:18:09 2015 +0200 (2015-06-13)
parents 51b58a875fb6
children 4e38687e19a7
files bcrelay/receipt poptop/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bcrelay/receipt	Sat Jun 13 14:18:09 2015 +0200
     1.3 @@ -0,0 +1,16 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="bcrelay"
     1.7 +VERSION="1.3.4"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Broadcast relay daemon."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://poptop.sourceforge.net/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/sbin
    1.18 +	cp -a $install/usr/sbin/bcrelay $fs/usr/sbin
    1.19 +}
     2.1 --- a/poptop/receipt	Sat Jun 13 13:10:10 2015 +0200
     2.2 +++ b/poptop/receipt	Sat Jun 13 14:18:09 2015 +0200
     2.3 @@ -13,7 +13,7 @@
     2.4  TAGS="vpn tunnel"
     2.5  CONFIG_FILES="/etc/pptpd.conf /etc/ppp/options.pptpd"
     2.6  
     2.7 -DEPENDS="ppp"
     2.8 +DEPENDS="ppp bcrelay"
     2.9  
    2.10  # Rules to configure and make the package.
    2.11  compile_rules()
    2.12 @@ -29,8 +29,10 @@
    2.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.14  genpkg_rules()
    2.15  {
    2.16 -	mkdir -p $fs/usr $fs/etc/ppp
    2.17 +	mkdir -p $fs/usr $fs/etc/ppp $fs/etc/init.d
    2.18  	cp -a $install/usr/sbin $fs/usr
    2.19 +	rm -f $fs/usr/sbin/bcrelay
    2.20  	cp $src/samples/pptpd.conf $fs/etc
    2.21  	cp $src/samples/options.pptpd $fs/etc/ppp
    2.22 +	ln -s daemon $fs/etc/init.d/pptpd
    2.23  }