# HG changeset patch # User Eric Joseph-Alexandre # Date 1201303666 -3600 # Node ID d74c393611057ce293ae9f16eb811a87e39f58ea # Parent cdba62f24f35e49f6e83847e560d606fc056591d Add : Midnight Commander, sudo. diff -r cdba62f24f35 -r d74c39361105 mc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mc/receipt Sat Jan 26 00:27:46 2008 +0100 @@ -0,0 +1,38 @@ +# SliTaz package receipt. +# + +PACKAGE="mc" +VERSION="4.6.1" +CATEGORY="extra" +SHORT_DESC="Midnight Commander - ncurses based file manager." +MAINTAINER="Erjo " +DEPENDS="ncurses" +BUILD_DEPENDS="ncurses-dev glib-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.ibiblio.org/mc/" +WGET_URL="http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --with-screen=ncurses \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/locale + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr + cp -a $_pkg/usr/share/mc $fs/usr/share + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale + strip -s $fs/usr/bin/* + strip -s $fs/usr/lib/mc/* +} + diff -r cdba62f24f35 -r d74c39361105 sudo/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sudo/receipt Sat Jan 26 00:27:46 2008 +0100 @@ -0,0 +1,52 @@ +# SliTaz package receipt. + +PACKAGE="sudo" +VERSION="1.6.9p12" +CATEGORY="extra" +SHORT_DESC="Sudo (su "do") allows a system administrator to delegate authority." +MAINTAINER="Erjo " +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.gratisoft.us/sudo/" +WGET_URL="http://www.gratisoft.us/sudo/dist/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --without-pam \ + --with-editor=/bin/vi \ + --libexecdir=/usr/lib + + # Build everything + make + # Install everything + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + mkdir -p $fs/etc + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/sbin $fs/usr + cp -a $_pkg/usr/libi/*.so $fs/usr/lib + cp -a stuff/sudoers $fs/etc + strip -s $fs/usr/bin/* + strip -s $fs/usr/sbin/* + strip -s $fs/usr/lib/sudo_noexec.so + +} + + +post_install() +{ + local root + root=$1 + echo "Processing post-install commands..." + chown root.root $root/etc/sudoers + chmod 0440 $root/etc/sudoers +} diff -r cdba62f24f35 -r d74c39361105 sudo/stuff/sudoers --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sudo/stuff/sudoers Sat Jan 26 00:27:46 2008 +0100 @@ -0,0 +1,15 @@ +# +# This file MUST be edited with the 'visudo' command as root. +# +# See the man page for details on how to write a sudoers file. +# + +# Host alias specification + +# User alias specification + +# Cmnd alias specification + +# User privilege specification +root ALL=(ALL) ALL +