wok-next rev 20280
remove cyrus-sasl-pam, libsasl-without-ldap, enlightenment-pam, enlightenment-backgrounds, libcap-pam
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 14:41:47 2017 +0100 (2017-11-08) |
parents | 226eee678237 |
children | 204470f08d82 |
files | cyrus-sasl-pam/receipt cyrus-sasl/receipt enlightenment-backgrounds/receipt enlightenment-pam/receipt enlightenment-pam/stuff/etc/enlightenment/sysactions.conf enlightenment/receipt libcap-pam/receipt libcap/receipt libsasl-without-ldap/receipt |
line diff
1.1 --- a/cyrus-sasl-pam/receipt Wed Nov 08 12:57:30 2017 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,50 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="cyrus-sasl-pam" 1.7 -VERSION="2.1.26" 1.8 -CATEGORY="network" 1.9 -SHORT_DESC="SASL authentication server using PAM." 1.10 -MAINTAINER="pascal.bellard@slitaz.org" 1.11 -LICENSE="BSD" 1.12 -WEB_SITE="http://cyrusimap.web.cmu.edu/" 1.13 -SOURCE="cyrus-sasl" 1.14 - 1.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 -WGET_URL="ftp://ftp.cyrusimap.org/cyrus-sasl/$TARBALL" 1.17 -PROVIDE="cyrus-sasl:pam" 1.18 - 1.19 -DEPENDS="libldap openssl libdb pam libkrb5 libcomerr3" 1.20 -BUILD_DEPENDS="openldap-dev pam pam-dev openssl-dev krb5-dev" 1.21 - 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - ./configure 1.26 - --prefix=/usr \ 1.27 - --sysconfdir=/etc \ 1.28 - --infodir=/usr/share/info \ 1.29 - --with-ldap=/usr \ 1.30 - --with-pam=/usr \ 1.31 - --with-devrandom=/dev/urandom \ 1.32 - --with-openssl \ 1.33 - --mandir=/usr/share/man \ 1.34 - $CONFIGURE_ARGS 1.35 - make && 1.36 - make -j1 DESTDIR=$DESTDIR install 1.37 - 1.38 - docdir="$install/usr/share/doc/cyrus-sasl-$VERSION" 1.39 - mkdir -p $docdir && 1.40 - cd $src/doc && 1.41 - cp *.html *.txt ONEWS TODO ../saslauthd/LDAP_SASLAUTHD $docdir 1.42 -} 1.43 - 1.44 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 -genpkg_rules() 1.46 -{ 1.47 - mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd 1.48 - cp -a $install/usr/sbin $fs/usr 1.49 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.50 - cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2 1.51 - cp -a ../$SOURCE/stuff/etc $fs 1.52 - sed -i 's/shadow/pam/' $fs/etc/init.d/cyrus-sasl 1.53 -}
2.1 --- a/cyrus-sasl/receipt Wed Nov 08 12:57:30 2017 +0100 2.2 +++ b/cyrus-sasl/receipt Wed Nov 08 14:41:47 2017 +0100 2.3 @@ -11,15 +11,18 @@ 2.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.5 WGET_URL="ftp://ftp.cyrusimap.org/cyrus-sasl/$TARBALL" 2.6 2.7 -BUILD_DEPENDS="automake libtool openldap-dev db-dev openssl-dev krb5-dev" 2.8 -SPLIT="libsasl libsasl-modules cyrus-sasl cyrus-sasl-dev" 2.9 -SIBLINGS="cyrus-sasl-pam libsasl-without-ldap" 2.10 +BUILD_DEPENDS="automake libtool openldap-dev db-dev openssl-dev krb5-dev pam-dev" 2.11 +SPLIT="libsasl libsasl-without-ldap libsasl-modules cyrus-sasl cyrus-sasl-pam \ 2.12 +cyrus-sasl-dev" 2.13 2.14 # Rules to configure and make the package. 2.15 compile_rules() 2.16 { 2.17 autoreconf -fi && 2.18 2.19 + cp -a $src $src-pam 2.20 + cp -a $src $src-without-ldap 2.21 + 2.22 ./configure \ 2.23 --sysconfdir=/etc \ 2.24 --enable-auth-sasldb \ 2.25 @@ -30,16 +33,48 @@ 2.26 --with-ldap \ 2.27 --with-openssl \ 2.28 $CONFIGURE_ARGS && 2.29 - mkdir -p $src/saslauthd/cmulocal && 2.30 + mkdir -p saslauthd/cmulocal && 2.31 make && make install && 2.32 2.33 - docdir="$install/usr/share/doc/cyrus-sasl-$VERSION" 2.34 - mkdir -p $docdir && 2.35 - cd $src/doc && 2.36 - cp *.html *.txt ONEWS TODO ../saslauthd/LDAP_SASLAUTHD $docdir && 2.37 + cd $src-pam 2.38 + ./configure \ 2.39 + --sysconfdir=/etc \ 2.40 + --enable-auth-sasldb \ 2.41 + --with-dbpath=/var/lib/sasl/sasldb2 \ 2.42 + --with-saslauthd=/var/run/saslauthd \ 2.43 + --with-pam \ 2.44 + --with-devrandom=/dev/urandom \ 2.45 + --with-ldap \ 2.46 + --with-openssl \ 2.47 + $CONFIGURE_ARGS && 2.48 + mkdir -p saslauthd/cmulocal && 2.49 + make && make install && 2.50 2.51 - cp -a $stuff/etc $install && 2.52 - chown -R root:root $install/etc 2.53 + for inst in $install $install-pam; do 2.54 + docdir="$inst/usr/share/doc/cyrus-sasl-$VERSION" 2.55 + mkdir -p $docdir && 2.56 + cd $src/doc && 2.57 + cp *.html *.txt ONEWS TODO ../saslauthd/LDAP_SASLAUTHD $docdir && 2.58 + cp -a $stuff/etc $inst && 2.59 + chown -R root:root $inst/etc 2.60 + done 2.61 + 2.62 + cd $src-without-ldap 2.63 + ./configure \ 2.64 + --prefix=/usr \ 2.65 + --infodir=/usr/share/info \ 2.66 + --without-pam \ 2.67 + --disable-anon \ 2.68 + --disable-cram \ 2.69 + --disable-digest \ 2.70 + --disable-gssapi \ 2.71 + --enable-login \ 2.72 + --disable-otp \ 2.73 + --enable-plain \ 2.74 + --with-openssl \ 2.75 + --with-devrandom=/dev/urandom \ 2.76 + --mandir=/usr/share/man $CONFIGURE_ARGS && 2.77 + make && make DESTDIR=$DESTDIR--without-ldap install 2.78 } 2.79 2.80 # Rules to gen a SliTaz package suitable for Tazpkg. 2.81 @@ -51,6 +86,11 @@ 2.82 CAT="system-tools|library" 2.83 DEPENDS=" " 2.84 ;; 2.85 + libsasl-without-ldap) 2.86 + install=$install-without-ldap copy libsasl2*.so* 2.87 + CAT="system-tools|library" 2.88 + DEPENDS=" " 2.89 + ;; 2.90 libsasl-modules) 2.91 copy sasl2/*.so* 2.92 CAT="system-tools|library modules" 2.93 @@ -60,8 +100,15 @@ 2.94 cyrus-sasl) 2.95 copy @std 2.96 remove_already_packed 2.97 - DEPENDS="libcomerr3 libcrypto libdb libkrb5 libldap libsasl \ 2.98 - libsasl-modules libssl" 2.99 + DEPENDS="libcomerr3 libcrypto libdb libkrb5 libldap \ 2.100 + libsasl libsasl-modules libssl" 2.101 + ;; 2.102 + cyrus-sasl-pam) 2.103 + install=$install-pam copy @std 2.104 + rm -rf $fs/usr/lib 2.105 + CAT="network|using PAM" 2.106 + DEPENDS="libcomerr3 libcrypto libdb libkrb5 libldap \ 2.107 + libsasl libsasl-modules libssl pam" 2.108 ;; 2.109 *-dev) 2.110 copy @dev 2.111 @@ -73,3 +120,7 @@ 2.112 post_install_cyrus_sasl() { 2.113 [ -d "$1/var/lib/sasl" ] || install -v -dm700 "$1/var/lib/sasl" 2.114 } 2.115 + 2.116 +post_install_cyrus_sasl_pam() { 2.117 + [ -d "$1/var/lib/sasl" ] || install -v -dm700 "$1/var/lib/sasl" 2.118 +}
3.1 --- a/enlightenment-backgrounds/receipt Wed Nov 08 12:57:30 2017 +0100 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,21 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="enlightenment-backgrounds" 3.7 -VERSION="0.17.6" 3.8 -CATEGORY="x-window" 3.9 -SHORT_DESC="Additional backgrounds for Enlightenment." 3.10 -MAINTAINER="domcox@slitaz.org" 3.11 -LICENSE="BSD" 3.12 -WANTED="enlightenment" 3.13 -WEB_SITE="http://www.enlightenment.org/" 3.14 -HOST_ARCH="i486 arm" 3.15 - 3.16 -DEPENDS="" 3.17 - 3.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.19 -genpkg_rules() 3.20 -{ 3.21 - mkdir -p $fs/usr/share/enlightenment/data/backgrounds 3.22 - cp -a $install/usr/share/enlightenment/data/backgrounds/* \ 3.23 - $fs/usr/share/enlightenment/data/backgrounds 3.24 -}
4.1 --- a/enlightenment-pam/receipt Wed Nov 08 12:57:30 2017 +0100 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,84 +0,0 @@ 4.4 -# SliTaz package receipt. 4.5 - 4.6 -PACKAGE="enlightenment-pam" 4.7 -SOURCE="enlightenment" 4.8 -VERSION="0.17.6" 4.9 -CATEGORY="x-window" 4.10 -SHORT_DESC="Enlightenment window manager (E17) with PAM, Bluez and connman support." 4.11 -MAINTAINER="pankso@slitaz.org" 4.12 -LICENSE="BSD" 4.13 -TARBALL="$SOURCE-$VERSION.tar.gz" 4.14 -WEB_SITE="http://www.enlightenment.org/" 4.15 -WGET_URL="http://download.enlightenment.org/releases/$TARBALL" 4.16 -PROVIDE="enlightenment:pam" 4.17 -TAGS="e enlightenment window-manager" 4.18 -LOCALES="cs da de el es fr fr_CH hu it pl pt pt_BR ru sl sv zh_CN zh_TW" 4.19 - 4.20 -# Add PAM and bluez support (enlightenment is smaller). 4.21 -DEPENDS="emotion efreet edbus alsa-lib pam xcb-util-keysyms" 4.22 -BUILD_DEPENDS="emotion-dev efreet-dev edbus-dev 4.23 -xcb-util-keysyms-dev alsa-lib-dev 4.24 -bluez-dev connman-dev pam-dev pm-utils" 4.25 -SUGGESTED="bluez wpa_supplicant connman pm-utils" 4.26 - 4.27 -# Rules to configure and make the package. 4.28 -compile_rules() 4.29 -{ 4.30 - CFLAGS="$CFLAGS -fvisibility=hidden" 4.31 - LDFLAGS="$LDFLAGS -fvisibility=hidden" 4.32 - export LDFLAGS 4.33 - 4.34 - ./configure \ 4.35 - --sysconfdir=/etc \ 4.36 - --disable-mount-hal \ 4.37 - --disable-doc \ 4.38 - --build=${ARCH}-slitaz-gnulinux \ 4.39 - $CONFIGURE_ARGS && 4.40 - make $MAKEFLAGS && make install 4.41 -} 4.42 - 4.43 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.44 -genpkg_rules() 4.45 -{ 4.46 - mkdir -p $fs/usr/lib $fs/usr/share/applications $fs/usr/share/locale 4.47 - # Use a modified sysactions.conf 4.48 - cp -a $stuff/etc $fs 4.49 - 4.50 - cp -a $install/usr/bin $fs/usr 4.51 - cp -a $install/usr/lib/enlightenment $fs/usr/lib 4.52 - cp -a $install/usr/share/enlightenment $fs/usr/share 4.53 - cp -a $install/usr/share/xsessions/enlightenment.desktop $fs/usr/share/applications 4.54 - 4.55 - # Remove devel files *.a/*.la 4.56 - rm -rf $fs/usr/lib/$SOURCE/preload/*.*a 4.57 - rm -rf $fs/usr/lib/$SOURCE/modules/*/*/*.*a 4.58 - 4.59 - # Rm backgrouds (1,6 Mb) and desktop file already provides by other. 4.60 - rm -rf $fs/usr/share/enlightenment/data/backgrounds/* 4.61 - 4.62 - # locales 4.63 - for locale in $LOCALES; do 4.64 - cp -a $install/usr/share/locale/$locale $fs/usr/share/locale 4.65 - done 4.66 -} 4.67 - 4.68 -post_install() 4.69 -{ 4.70 - res=$(grep ^session < "$1/etc/slim.conf" | sed s/"sessions. *"// \ 4.71 - | sed s/,e17//) 4.72 - # Adding WM to SLIM available sessions. 4.73 - if ! echo "$res" | grep -q enlightenment; then 4.74 - echo -n "Adding enlightenment to /etc/slim.conf..." 4.75 - sed -i "s/^sessions.*/sessions enlightenment,${res}/" \ 4.76 - /etc/slim.conf 4.77 - status 4.78 - fi 4.79 -} 4.80 - 4.81 -post_remove() 4.82 -{ 4.83 - # Remove WM from SLIM available sessions. 4.84 - if grep -q enlightenment "$1/etc/slim.conf"; then 4.85 - sed -i s/enlightenement,// "$1/etc/slim.conf" 4.86 - fi 4.87 -}
5.1 --- a/enlightenment-pam/stuff/etc/enlightenment/sysactions.conf Wed Nov 08 12:57:30 2017 +0100 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,73 +0,0 @@ 5.4 -# ENLIGHTENMENT SYSTEM ACTIONS CONFIGURATION 5.5 -# 5.6 -# This is a system configuration for allowing or denying certain users or 5.7 -# groups to be able to do certain actions that involve system restricted 5.8 -# actions such as halt, reboot, suspend, hibernate etc. 5.9 -# 5.10 -# This file is read in order from top to bottom - the first rule to MATCH 5.11 -# will be used for a user or a group, and nothing after that is read. 5.12 -# 5.13 -# You must put all the ACTION definitons BEFORE user and group rule matches. 5.14 -# Any action definitons after a rule match has been found will be ignored. 5.15 -# This allows actions to be re-defined for different user groups, so matches 5.16 -# so the command for an action can change for matches to the rules later on. 5.17 -# 5.18 -# Any user or group NOT matched by an allow or a deny will be ALLOWED to 5.19 -# perform the action by default (system administrators should be aware of 5.20 -# this and implement whatever policies they see fit). Generally speaking 5.21 -# a user of a workstation, desktop or laptop is intended to have such abilities 5.22 -# to perform these actions, thus the default of allow. For multi-user systems 5.23 -# the system administrator is considerd capable enough to restrict what they 5.24 -# see they need to. 5.25 -# 5.26 -# A WARNING to admins: do NOT allow access for users to this system remotely 5.27 -# UNLESS you fully trust them or you have locked down permissions to halt/reboot 5.28 -# suspend etc. here first. You have been warned. 5.29 -# 5.30 -# FORMAT: 5.31 -# 5.32 -# action: halt /sbin/shutdown -h now 5.33 -# action: reboot /sbin/shutdown -r now 5.34 -# action: suspend /etc/acpi/sleep.sh force 5.35 -# action: hibernate /etc/acpi/hibernate.sh force 5.36 -# 5.37 -# user: username allow: halt reboot suspend hibernate 5.38 -# group: groupname deny: * 5.39 -# group: * deny: * 5.40 -# user: * allow: suspend 5.41 -# user: billy allow: halt reboot 5.42 -# group: staff deny: halt suspend hibernate 5.43 -# 5.44 -# etc. 5.45 -# 5.46 -# user and group name can use glob matches (* == all for example) like the 5.47 -# shell. as can action names allowed or denied. 5.48 - 5.49 -action: halt poweroff 5.50 -action: reboot reboot 5.51 -action: suspend /usr/sbin/pm-suspend 5.52 -action: hibernate /usr/sbin/pm-hibernate 5.53 - 5.54 -# root is allowed to do anything - but it needs to be here explicitly anyway 5.55 -user: root allow: * 5.56 -# members of operator, staff and admin groups should be able to do all 5.57 -group: operator allow: * 5.58 -group: staff allow: * 5.59 -group: admin allow: * 5.60 -group: sys allow: * 5.61 -# common "user" groups for "console users" on desktops/laptops 5.62 -group: dialout allow: * 5.63 -group: disk allow: * 5.64 -group: adm allow: * 5.65 -group: cdrom allow: * 5.66 -group: floppy allow: * 5.67 -group: audio allow: * 5.68 -group: dip allow: * 5.69 -group: plugdev allow: * 5.70 -# put in a list of other users and groups here that are allowed or denied etc. 5.71 -# e.g. 5.72 -# user: myuser allow: * 5.73 -# user: another allow: suspend hibernate 5.74 -# deny everyone else by default 5.75 -user: * deny: * 5.76 -user: tux allow: *
6.1 --- a/enlightenment/receipt Wed Nov 08 12:57:30 2017 +0100 6.2 +++ b/enlightenment/receipt Wed Nov 08 14:41:47 2017 +0100 6.3 @@ -1,9 +1,9 @@ 6.4 -# SliTaz package receipt. 6.5 +# SliTaz package receipt v2. 6.6 6.7 PACKAGE="enlightenment" 6.8 VERSION="0.17.6" 6.9 CATEGORY="x-window" 6.10 -SHORT_DESC="Enlightenment window manager (E17)." 6.11 +SHORT_DESC="Enlightenment window manager (E17)" 6.12 MAINTAINER="pankso@slitaz.org" 6.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 6.14 LICENSE="BSD" 6.15 @@ -13,11 +13,10 @@ 6.16 HOST_ARCH="i486 arm" 6.17 6.18 LOCALES="cs da de el es fr fr_CH hu it pl pt pt_BR ru sl sv zh_CN zh_TW" 6.19 -DEPENDS="eet evas ecore eeze emotion efreet edbus edje elementary alsa-lib \ 6.20 -xcb-util-keysyms" 6.21 BUILD_DEPENDS="eet-dev evas-dev ecore-dev eeze-dev emotion-dev efreet-dev \ 6.22 edbus-dev libelementary elementary-dev edje-dev ethumb-dev eio-dev \ 6.23 -alsa-lib-dev xcb-util-keysyms-dev" 6.24 +alsa-lib-dev xcb-util-keysyms-dev bluez-dev connman-dev pam-dev" 6.25 +SPLIT="enlightenment enlightenment-pam enlightenment-backgrounds" 6.26 6.27 case "$ARCH" in 6.28 i?86) BUILD_DEPENDS="$BUILD_DEPENDS pm-utils" ;; 6.29 @@ -26,6 +25,7 @@ 6.30 # Rules to configure and make the package. 6.31 compile_rules() 6.32 { 6.33 + cp -a $src $src-pam 6.34 export CFLAGS="$CFLAGS -fvisibility=hidden" 6.35 export LDFLAGS="$LDFLAGS -fvisibility=hidden" 6.36 ./configure \ 6.37 @@ -33,36 +33,64 @@ 6.38 --disable-connman \ 6.39 --disable-enlightenment-menu \ 6.40 --disable-doc \ 6.41 + --build=${ARCH}-slitaz-gnulinux \ 6.42 $CONFIGURE_ARGS && 6.43 make $MAKEFLAGS && make install 6.44 + 6.45 + cd $src-pam 6.46 + ./configure \ 6.47 + --sysconfdir=/etc \ 6.48 + --disable-mount-hal \ 6.49 + --disable-doc \ 6.50 + --build=${ARCH}-slitaz-gnulinux \ 6.51 + $CONFIGURE_ARGS && 6.52 + make $MAKEFLAGS && make DESTDIR=$DESTDIR-pam install 6.53 } 6.54 6.55 # Rules to gen a SliTaz package suitable for Tazpkg. 6.56 genpkg_rules() 6.57 { 6.58 - mkdir -p $fs/usr/share/locale 6.59 - # Use a modified sysactions.conf 6.60 - cp -a $stuff/etc $fs 6.61 + case $PACKAGE in 6.62 + enlightenment|enlightenment-pam) 6.63 + DEPENDS="eet evas ecore eeze emotion efreet edbus edje \ 6.64 + elementary alsa-lib xcb-util-keysyms" 6.65 + [ $PACKAGE == enlightenment-pam ] && 6.66 + DEPENDS="$DEPENDS pam" && install=$install-pam && 6.67 + CAT="x-window|with PAM, Bluez and connman support" && 6.68 + SUGGESTED="bluez wpa_supplicant connman pm-utils" && 6.69 + PROVIDE="enlightenment:pam" 6.70 + mkdir -p $fs/usr/share/locale 6.71 + # Use a modified sysactions.conf 6.72 + cp -a $stuff/etc $fs 6.73 6.74 - cp -a $install/usr/bin $fs/usr 6.75 - cp -a $install/usr/lib $fs/usr 6.76 - cp -a $install/usr/share/enlightenment $fs/usr/share 6.77 - cp -a $install/usr/share/xsessions $fs/usr/share 6.78 + cp -a $install/usr/bin $fs/usr 6.79 + cp -a $install/usr/lib $fs/usr 6.80 + cp -a $install/usr/share/enlightenment $fs/usr/share 6.81 + cp -a $install/usr/share/xsessions $fs/usr/share 6.82 6.83 - # Remove devel files *.a/*.la 6.84 - rm -rf $fs/usr/lib/$PACKAGE/preload/*.*a 6.85 - rm -rf $fs/usr/lib/$PACKAGE/modules/*/*/*.*a 6.86 + # Remove devel files *.a/*.la 6.87 + rm -rf $fs/usr/lib/enlightenment/preload/*.*a 6.88 + rm -rf $fs/usr/lib/enlightenment/modules/*/*/*.*a 6.89 6.90 - # Remove backgrounds (1,6 Mb). 6.91 - rm -rf $fs/usr/share/enlightenment/data/backgrounds/* 6.92 + # Remove backgrounds (1,6 Mb). 6.93 + rm -rf $fs/usr/share/enlightenment/data/backgrounds/* 6.94 6.95 - # locales 6.96 - for locale in $LOCALES; do 6.97 - cp -a $install/usr/share/locale/$locale $fs/usr/share/locale 6.98 - done 6.99 + # locales 6.100 + for locale in $LOCALES; do 6.101 + cp -a $install/usr/share/locale/$locale $fs/usr/share/locale 6.102 + done 6.103 + ;; 6.104 + enlightenment-backgrounds) 6.105 + CAT="x-window|additional backgrounds" 6.106 + DEPENDS="" 6.107 + mkdir -p $fs/usr/share/enlightenment/data/backgrounds 6.108 + cp -a $install/usr/share/enlightenment/data/backgrounds/* \ 6.109 + $fs/usr/share/enlightenment/data/backgrounds 6.110 + ;; 6.111 + esac 6.112 } 6.113 6.114 -post_install() 6.115 +post_install_enlightenment() 6.116 { 6.117 res=$(grep ^session < "$1/etc/slim.conf" | sed s/"sessions. *"// \ 6.118 | sed s/,e17//) 6.119 @@ -75,10 +103,31 @@ 6.120 fi 6.121 } 6.122 6.123 -post_remove() 6.124 +post_remove_enlightenment() 6.125 { 6.126 # Remove WM from SLIM available sessions. 6.127 if grep -q enlightenment "$1/etc/slim.conf"; then 6.128 sed -i s/enlightenment,// "$1/etc/slim.conf" 6.129 fi 6.130 } 6.131 + 6.132 +post_install_enlightenment_pam() 6.133 +{ 6.134 + res=$(grep ^session < "$1/etc/slim.conf" | sed s/"sessions. *"// \ 6.135 + | sed s/,e17//) 6.136 + # Adding WM to SLIM available sessions. 6.137 + if ! echo "$res" | grep -q enlightenment; then 6.138 + echo -n "Adding enlightenment to /etc/slim.conf..." 6.139 + sed -i "s/^sessions.*/sessions enlightenment,${res}xs/" \ 6.140 + /etc/slim.conf 6.141 + status 6.142 + fi 6.143 +} 6.144 + 6.145 +post_remove_enlightenment_pam() 6.146 +{ 6.147 + # Remove WM from SLIM available sessions. 6.148 + if grep -q enlightenment "$1/etc/slim.conf"; then 6.149 + sed -i s/enlightenment,// "$1/etc/slim.conf" 6.150 + fi 6.151 +}
7.1 --- a/libcap-pam/receipt Wed Nov 08 12:57:30 2017 +0100 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,19 +0,0 @@ 7.4 -# SliTaz package receipt. 7.5 - 7.6 -PACKAGE="libcap-pam" 7.7 -VERSION="2.25" 7.8 -CATEGORY="system-tools" 7.9 -SHORT_DESC="Support for getting/setting POSIX.1e capabilities, pam module." 7.10 -MAINTAINER="pascal.bellard@slitaz.org" 7.11 -LICENSE="BSD" 7.12 -WEB_SITE="http://sites.google.com/site/fullycapable/" 7.13 -PROVIDE="libcap:pam" 7.14 - 7.15 -WANTED="libcap" 7.16 -DEPENDS="linux libcap pam attr" 7.17 - 7.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 7.19 -genpkg_rules() 7.20 -{ 7.21 - copy pam_cap.so 7.22 -}
8.1 --- a/libcap/receipt Wed Nov 08 12:57:30 2017 +0100 8.2 +++ b/libcap/receipt Wed Nov 08 14:41:47 2017 +0100 8.3 @@ -14,7 +14,7 @@ 8.4 8.5 BUILD_DEPENDS="gperf pam-dev attr-dev perl" 8.6 BUILD_DEPENDS_arm="gperf pam-dev attr-dev" 8.7 -SPLIT="libcap-dev" 8.8 +SPLIT="libcap-pam libcap-dev" 8.9 8.10 # Handle cross compilation. 8.11 case "$ARCH" in 8.12 @@ -44,6 +44,12 @@ 8.13 copy @std 8.14 DEPENDS="attr" 8.15 ;; 8.16 + libcap-pam) 8.17 + CAT="system-tools|pam module" 8.18 + PROVIDE="libcap:pam" 8.19 + DEPENDS="libcap pam" 8.20 + copy pam_cap.so 8.21 + ;; 8.22 *-dev) copy @dev;; 8.23 esac 8.24 }
9.1 --- a/libsasl-without-ldap/receipt Wed Nov 08 12:57:30 2017 +0100 9.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 9.3 @@ -1,44 +0,0 @@ 9.4 -# SliTaz package receipt. 9.5 - 9.6 -PACKAGE="libsasl-without-ldap" 9.7 -VERSION="2.1.26" 9.8 -CATEGORY="system-tools" 9.9 -SHORT_DESC="Cyrus Simple Authentication Service Layer (SASL) library." 9.10 -MAINTAINER="pascal.bellard@slitaz.org" 9.11 -LICENSE="BSD" 9.12 -WEB_SITE="http://cyrusimap.web.cmu.edu/" 9.13 - 9.14 -SOURCE="cyrus-sasl" 9.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 9.16 -WGET_URL="ftp://ftp.cyrusimap.org/cyrus-sasl/$TARBALL" 9.17 - 9.18 -DEPENDS="db openssl" 9.19 -BUILD_DEPENDS="db-dev openssl-dev" 9.20 - 9.21 -# Rules to configure and make the package. 9.22 -compile_rules() 9.23 -{ 9.24 - ./configure \ 9.25 - --prefix=/usr \ 9.26 - --infodir=/usr/share/info \ 9.27 - --without-pam \ 9.28 - --disable-anon \ 9.29 - --disable-cram \ 9.30 - --disable-digest \ 9.31 - --disable-gssapi \ 9.32 - --enable-login \ 9.33 - --disable-otp \ 9.34 - --enable-plain \ 9.35 - --with-openssl \ 9.36 - --with-devrandom=/dev/urandom \ 9.37 - --mandir=/usr/share/man $CONFIGURE_ARGS && 9.38 - make -j1 && 9.39 - make -j1 DESTDIR=$DESTDIR install 9.40 -} 9.41 - 9.42 - 9.43 -# Rules to gen a SliTaz package suitable for Tazpkg. 9.44 -genpkg_rules() 9.45 -{ 9.46 - cp -a $install/* $fs 9.47 -} 9.48 \ No newline at end of file