wok rev 23174

openvpn: add conf2opvn
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 18 10:38:57 2020 +0100 (19 months ago)
parents 7ec4ec445340
children e9bee322d73c
files libldap/receipt openldap-dev/receipt openldap/receipt openvpn/stuff/usr/bin/conf2opvn zsnes/receipt
line diff
     1.1 --- a/libldap/receipt	Wed Mar 18 10:22:51 2020 +0100
     1.2 +++ b/libldap/receipt	Wed Mar 18 10:38:57 2020 +0100
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="LDAP database libraries."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="BSD"
     1.7 -WEB_SITE="http://www.openldap.org/"
     1.8 +WEB_SITE="https://www.openldap.org/"
     1.9  WANTED="openldap"
    1.10  
    1.11  DEPENDS="libssl libkrb5 libcomerr3 libsasl-without-ldap"
     2.1 --- a/openldap-dev/receipt	Wed Mar 18 10:22:51 2020 +0100
     2.2 +++ b/openldap-dev/receipt	Wed Mar 18 10:38:57 2020 +0100
     2.3 @@ -6,7 +6,7 @@
     2.4  SHORT_DESC="LDAP database development files."
     2.5  MAINTAINER="pascal.bellard@slitaz.org"
     2.6  LICENSE="BSD"
     2.7 -WEB_SITE="http://www.openldap.org/"
     2.8 +WEB_SITE="https://www.openldap.org/"
     2.9  WANTED="openldap"
    2.10  
    2.11  DEPENDS="openldap libldap"
     3.1 --- a/openldap/receipt	Wed Mar 18 10:22:51 2020 +0100
     3.2 +++ b/openldap/receipt	Wed Mar 18 10:38:57 2020 +0100
     3.3 @@ -7,7 +7,7 @@
     3.4  MAINTAINER="pascal.bellard@slitaz.org"
     3.5  LICENSE="BSD"
     3.6  TARBALL="$PACKAGE-$VERSION.tgz"
     3.7 -WEB_SITE="http://www.openldap.org/"
     3.8 +WEB_SITE="https://www.openldap.org/"
     3.9  WGET_URL="ftp://ftp.openldap.org/pub/OpenLDAP/$PACKAGE-release/$TARBALL"
    3.10  TAZPANEL_DAEMON="man::slapd|help::/usr/libexec/slapd|edit::/etc/openldap/slapd.conf|options::LDAP_OPTIONS|web::$WEB_SITE"
    3.11  CONFIG_FILES="/etc/openldap"
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/openvpn/stuff/usr/bin/conf2opvn	Wed Mar 18 10:38:57 2020 +0100
     4.3 @@ -0,0 +1,11 @@
     4.4 +#!/bin/sh
     4.5 +
     4.6 +[ "$1" ] && echo "usage: $0 < file.conf > file.opvn" && exit 1
     4.7 +awk '{	if ($1 == "ca" || $1 == "cert" || $1 == "key" || $1 == "extra-certs" ||
     4.8 +	    $1 == "secret" || $1 == "pkcs12" || $1 == "http-proxy-user-pass" ||
     4.9 +	    $1 == "crl-verify" || $1 == "tls-auth" || $1 == "tls-crypt" ||
    4.10 +	    $1 == "dh") f[$1]=$2; else print
    4.11 +} END { print "key-direction 1\n"; for (i in f) {
    4.12 +		print "<" i ">"; system("cat " f[i]); print "</" i ">\n"
    4.13 +	}
    4.14 +}'
     5.1 --- a/zsnes/receipt	Wed Mar 18 10:22:51 2020 +0100
     5.2 +++ b/zsnes/receipt	Wed Mar 18 10:38:57 2020 +0100
     5.3 @@ -6,7 +6,7 @@
     5.4  MAINTAINER="slaxemulator@gmail.com"
     5.5  LICENSE="GPL2"
     5.6  SHORT_DESC="Super Nintendo emulator"
     5.7 -WEB_SITE="http://www.zsnes.com/"
     5.8 +WEB_SITE="https://www.zsnes.com/"
     5.9  TARBALL="$PACKAGE${VERSION//./}src.tar.bz2"
    5.10  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    5.11  TAGS="emulator nintendo snes"