wok-6.x rev 14772

Add some TAZPANEL_DAEMON
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 30 09:55:32 2013 +0200 (2013-06-30)
parents f0b3c2e08955
children cd28fb2eacaa
files apache/receipt autofs/receipt bind/receipt dhcp/receipt mariadb/receipt mysql/receipt openldap/receipt openssh-pam/receipt openssh/receipt postfix/receipt rsync/receipt samba-pam/receipt samba/receipt
line diff
     1.1 --- a/apache/receipt	Sat Jun 29 17:44:06 2013 +0200
     1.2 +++ b/apache/receipt	Sun Jun 30 09:55:32 2013 +0200
     1.3 @@ -13,6 +13,7 @@
     1.4  BUILD_DEPENDS="apr-util-dev apr-dev openssl-dev sed expat-dev zlib-dev \
     1.5  util-linux-uuid-dev openldap-dev bash"
     1.6  CONFIG_FILES="/etc/apache /var/www /etc/ssl/apache"
     1.7 +TAZPANEL_DAEMON="edit::/etc/apache/httpd.conf|web::$WEB_SITE"
     1.8  PROVIDE="lighttpd"
     1.9  TAGS="webserver http server"
    1.10  
     2.1 --- a/autofs/receipt	Sat Jun 29 17:44:06 2013 +0200
     2.2 +++ b/autofs/receipt	Sun Jun 30 09:55:32 2013 +0200
     2.3 @@ -9,8 +9,10 @@
     2.4  BUILD_DEPENDS="flex libxml2-dev openldap-dev cyrus-sasl-dev openssl-dev krb5-dev"
     2.5  WEB_SITE="http://www.kernel.org/pub/linux/daemons/autofs/v5"
     2.6  WGET_URL="$WEB_SITE/$TARBALL"
     2.7 +TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE"
     2.8 +TAGS="filesystem"
     2.9 +
    2.10  DEPENDS="linux-autofs"
    2.11 -TAGS="filesystem"
    2.12  
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15 @@ -21,7 +23,7 @@
    2.16  	--mandir=/usr/share/man \
    2.17  	$CONFIGURE_ARGS &&
    2.18  	make &&
    2.19 -	make DESTDIR=$PWD/_pkg install
    2.20 +	make DESTDIR=$DESTDIR install
    2.21  }
    2.22  
    2.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.24 @@ -29,8 +31,8 @@
    2.25  {
    2.26  	mkdir -p $fs/usr
    2.27  	mkdir -p $fs/etc/init.d
    2.28 -	cp -a $_pkg/usr/sbin $fs/usr
    2.29 -	cp -a $_pkg/usr/lib $fs/usr
    2.30 +	cp -a $install/usr/sbin $fs/usr
    2.31 +	cp -a $install/usr/lib $fs/usr
    2.32  	cp -a $stuff/etc/* $fs/etc
    2.33  }
    2.34  
     3.1 --- a/bind/receipt	Sat Jun 29 17:44:06 2013 +0200
     3.2 +++ b/bind/receipt	Sun Jun 30 09:55:32 2013 +0200
     3.3 @@ -9,6 +9,7 @@
     3.4  WEB_SITE="http://www.isc.org/products/BIND/"
     3.5  WGET_URL="http://ftp.isc.org/isc/bind9/$VERSION/$TARBALL"
     3.6  CONFIG_FILES="/etc/bind"
     3.7 +TAZPANEL_DAEMON="edit::/etc/bind/named.conf|man|options|web::$WEB_SITE"
     3.8  TAGS="DNS daemon"
     3.9  
    3.10  DEPENDS="libbind libcrypto attr openssl perl"
     4.1 --- a/dhcp/receipt	Sat Jun 29 17:44:06 2013 +0200
     4.2 +++ b/dhcp/receipt	Sun Jun 30 09:55:32 2013 +0200
     4.3 @@ -8,9 +8,10 @@
     4.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.5  WEB_SITE="http://www.isc.org/products/DHCP/"
     4.6  WGET_URL="http://ftp.isc.org/isc/$PACKAGE/$TARBALL"
     4.7 +CONFIG_FILES="/etc/dhcpd.conf"
     4.8 +
     4.9  DEPENDS="libcrypto"
    4.10  BUILD_DEPENDS="perl"
    4.11 -CONFIG_FILES="/etc/dhcpd.conf"
    4.12  
    4.13  # Rules to configure and make the package.
    4.14  compile_rules()
     5.1 --- a/mariadb/receipt	Sat Jun 29 17:44:06 2013 +0200
     5.2 +++ b/mariadb/receipt	Sun Jun 30 09:55:32 2013 +0200
     5.3 @@ -8,6 +8,8 @@
     5.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.5  WEB_SITE="http://mariadb.org/en/"
     5.6  WGET_URL="http://pangolin.slitaz.org/downloads/sources/$TARBALL"
     5.7 +CONFIG_FILES="/etc/mysql"
     5.8 +TAZPANEL_DAEMON="man|edit::/etc/mysql/my.cnf|options|web::$WEB_SITE"
     5.9  PROVIDE="mysql"
    5.10  
    5.11  CONFIG_FILES="/etc/mysql/my.cnf"
     6.1 --- a/mysql/receipt	Sat Jun 29 17:44:06 2013 +0200
     6.2 +++ b/mysql/receipt	Sun Jun 30 09:55:32 2013 +0200
     6.3 @@ -8,8 +8,9 @@
     6.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     6.5  WEB_SITE="http://www.mysql.com/"
     6.6  WGET_URL="ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.5/$TARBALL"
     6.7 -CONFIG_FILES="/etc/mysql/my.cnf"
     6.8 +CONFIG_FILES="/etc/mysql"
     6.9  DATABASE_FILES="/var/lib/mysql"
    6.10 +TAZPANEL_DAEMON="man|edit::/etc/mysql/my.cnf|options|web::$WEB_SITE"
    6.11  CROSS="bug: can not run test programm"
    6.12  
    6.13  DEPENDS="busybox libmysqlclient mysql-client zlib slitaz-base-files \
     7.1 --- a/openldap/receipt	Sat Jun 29 17:44:06 2013 +0200
     7.2 +++ b/openldap/receipt	Sun Jun 30 09:55:32 2013 +0200
     7.3 @@ -8,6 +8,7 @@
     7.4  TARBALL="$PACKAGE-$VERSION.tgz"
     7.5  WEB_SITE="http://www.openldap.org/"
     7.6  WGET_URL="ftp://ftp.openldap.org/pub/OpenLDAP/$PACKAGE-release/$TARBALL"
     7.7 +TAZPANEL_DAEMON="man::slapd|help::/usr/libexec/slapd|edit::/etc/openldap/slapd.conf|options::LDAP_OPTIONS|web::$WEB_SITE"
     7.8  CONFIG_FILES="/etc/openldap"
     7.9  DATABASE_FILES="/var/openldap-*"
    7.10  
     8.1 --- a/openssh-pam/receipt	Sat Jun 29 17:44:06 2013 +0200
     8.2 +++ b/openssh-pam/receipt	Sun Jun 30 09:55:32 2013 +0200
     8.3 @@ -10,9 +10,11 @@
     8.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     8.5  WEB_SITE="http://www.openssh.org/"
     8.6  WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
     8.7 +TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options::OPENSSH_OPTIONS|web::$WEB_SITE"
     8.8 +PROVIDE="openssh:pam ssh:pam"
     8.9 +
    8.10  DEPENDS="sftp-server libcrypto zlib pam"
    8.11  BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev pam pam-dev"
    8.12 -PROVIDE="openssh:pam ssh:pam"
    8.13  
    8.14  # Rules to configure and make the package.
    8.15  compile_rules()
    8.16 @@ -30,9 +32,9 @@
    8.17  genpkg_rules()
    8.18  {
    8.19  	mkdir -p $fs/usr $fs/etc/init.d $fs/etc/ssh 
    8.20 -	cp -a $_pkg/usr/sbin $_pkg/usr/bin $fs/usr
    8.21 +	cp -a $install/usr/sbin $install/usr/bin $fs/usr
    8.22  	rm -f $fs/usr/sbin/sftp-server
    8.23 -	cp -a $_pkg/etc $fs
    8.24 +	cp -a $install/etc $fs
    8.25  	cp ../$SOURCE/stuff/openssh $fs/etc/init.d
    8.26  	sed -i 's/.*UsePAM.*/UsePAM yes/' $fs/etc/ssh/sshd_config
    8.27  }
    8.28 @@ -40,7 +42,7 @@
    8.29  # Pre and post install commands for Tazpkg.
    8.30  pre_install()
    8.31  {
    8.32 -       mkdir -p /var/run/sshd
    8.33 +       mkdir -p $1/var/run/sshd
    8.34  }        
    8.35  
    8.36  post_install()
    8.37 @@ -59,5 +61,5 @@
    8.38  # Pre and post remove commands for Tazpkg.
    8.39  post_remove()
    8.40  {
    8.41 -       rm -fr /var/run/sshd
    8.42 +       rm -fr $1/var/run/sshd
    8.43  }
     9.1 --- a/openssh/receipt	Sat Jun 29 17:44:06 2013 +0200
     9.2 +++ b/openssh/receipt	Sun Jun 30 09:55:32 2013 +0200
     9.3 @@ -9,10 +9,12 @@
     9.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     9.5  WEB_SITE="http://www.openssh.org/"
     9.6  WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
     9.7 +TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options|web::$WEB_SITE"
     9.8 +PROVIDE="ssh"
     9.9 +TAGS="ssh"
    9.10 +
    9.11  DEPENDS="sftp-server libcrypto zlib"
    9.12  BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev"
    9.13 -PROVIDE="ssh"
    9.14 -TAGS="ssh"
    9.15  
    9.16  # Rules to configure and make the package.
    9.17  compile_rules()
    9.18 @@ -30,9 +32,9 @@
    9.19  genpkg_rules()
    9.20  {
    9.21  	mkdir -p $fs/usr $fs/etc/init.d $fs/etc/ssh 
    9.22 -	cp -a $_pkg/usr/sbin $_pkg/usr/bin $fs/usr
    9.23 +	cp -a $install/usr/sbin $install/usr/bin $fs/usr
    9.24  	rm -f $fs/usr/sbin/sftp-server
    9.25 -	cp -a $_pkg/etc $fs
    9.26 +	cp -a $install/etc $fs
    9.27  	cp $stuff/openssh $fs/etc/init.d
    9.28  	sed -i 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \
    9.29  		$fs/etc/ssh/sshd_config
    9.30 @@ -41,7 +43,7 @@
    9.31  # Pre and post install commands for Tazpkg.
    9.32  pre_install()
    9.33  {
    9.34 -       mkdir -p /var/run/sshd
    9.35 +       mkdir -p $1/var/run/sshd
    9.36  }
    9.37  
    9.38  post_install()
    9.39 @@ -60,6 +62,6 @@
    9.40  # Pre and post remove commands for Tazpkg.
    9.41  post_remove()
    9.42  {
    9.43 -       rm -fr /var/run/sshd
    9.44 +       rm -fr $1/var/run/sshd
    9.45  }       
    9.46  
    10.1 --- a/postfix/receipt	Sat Jun 29 17:44:06 2013 +0200
    10.2 +++ b/postfix/receipt	Sun Jun 30 09:55:32 2013 +0200
    10.3 @@ -8,6 +8,7 @@
    10.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    10.5  WEB_SITE="http://www.postfix.org/"
    10.6  WGET_URL="ftp://ftp.cs.tu-berlin.de/pub/net/mail/postfix/official/$TARBALL"
    10.7 +TAZPANEL_DAEMON="man|edit::/etc/postfix/main.cf|options|web::$WEB_SITE"
    10.8  CONFIG_FILES="/etc/postfix"
    10.9  
   10.10  DEPENDS="libdb libldap pcre libssl slitaz-base-files libsasl libkrb5 \
    11.1 --- a/rsync/receipt	Sat Jun 29 17:44:06 2013 +0200
    11.2 +++ b/rsync/receipt	Sun Jun 30 09:55:32 2013 +0200
    11.3 @@ -10,6 +10,7 @@
    11.4  WGET_URL="${WEB_SITE}ftp/rsync/$TARBALL"
    11.5  TAGS="sync"
    11.6  CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets"
    11.7 +TAZPANEL_DAEMON="man::rsync|help::rsync|edit|options|web::$WEB_SITE"
    11.8  
    11.9  DEPENDS="popt attr acl"
   11.10  BUILD_DEPENDS="popt-dev acl-dev"
    12.1 --- a/samba-pam/receipt	Sat Jun 29 17:44:06 2013 +0200
    12.2 +++ b/samba-pam/receipt	Sun Jun 30 09:55:32 2013 +0200
    12.3 @@ -9,13 +9,15 @@
    12.4  TARBALL="$SOURCE-$VERSION.tar.gz"
    12.5  WEB_SITE="http://samba.org/"
    12.6  WGET_URL="${WEB_SITE}$SOURCE/ftp/stable/$TARBALL"
    12.7 -BUILD_DEPENDS="libldap openldap openldap-dev cups cups-dev pam pam-dev"
    12.8 -DEPENDS="libldap samba-common glibc-extra-samba ncursesw popt zlib cifs-utils acl pam perl cups krb5"
    12.9 +TAZPANEL_DAEMON="man::samba|edit::/etc/samba/smb.conf|web::$WEB_SITE"
   12.10  SUGGESTED="gamin"
   12.11  CONFIG_FILES="/etc/samba"
   12.12  PROVIDE="samba:pam"
   12.13  BUGS="Open directory needs MIT kerberos support (krb5)"
   12.14  
   12.15 +BUILD_DEPENDS="libldap openldap openldap-dev cups cups-dev pam pam-dev"
   12.16 +DEPENDS="libldap samba-common glibc-extra-samba ncursesw popt zlib cifs-utils acl pam perl cups krb5"
   12.17 +
   12.18  # Rules to configure and make the package.
   12.19  compile_rules()
   12.20  {
    13.1 --- a/samba/receipt	Sat Jun 29 17:44:06 2013 +0200
    13.2 +++ b/samba/receipt	Sun Jun 30 09:55:32 2013 +0200
    13.3 @@ -8,7 +8,7 @@
    13.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    13.5  WEB_SITE="http://samba.org/"
    13.6  WGET_URL="${WEB_SITE}$PACKAGE/ftp/stable/$TARBALL"
    13.7 -
    13.8 +TAZPANEL_DAEMON="man|edit::/etc/samba/smb.conf|web::$WEB_SITE"
    13.9  SUGGESTED="gamin cups perl"
   13.10  CONFIG_FILES="/etc/samba"
   13.11  BUGS="Open directory needs MIT kerberos support (krb5)"