# Description file for tinycore extension ($ extbuild sample.desc) # Source PACKAGE="nail" RENAME_TO="mailx" SEP="-" VERSION="cvs" STYPE="http" MIRROR="only-cvs" PKG_EXT=".tar.gz" # Dependencies, Build flags, dev auto-added BUILD_DEPS="openssl-1.0.0 krb5" RUN_DEPS="openssl-1.0.0 krb5" CONFIGURE_CMD="true" FLAGS="" #DBG_PKG=1 #OVERWRITE_LOCAL=1 #NO_DESTDIR=1 #NO_PERL=1 #NO_AUTOTOOLS=1 #NO_OWN_MOD=1 #UPX_COMPRESS=1 # Packaging DEV_MASK="-name *.h -o -name *.c -o -name *.la -o -name *.a -o -name *.m4 -o -name *.pc -o -name *.rh" LOCALE_MASK="-name locale -type d" #DOC_MASK="( -name man -o -name manual -o -name doc -o -name info ) -a -type d" DOC_MASK="" CONF_MASK="-name *.conf" CONF_MAND_MASK="-name *.rc" # Info DESCRIPTION="mailx - extended mail tools (formerly known as nail)" AUTHORS="Various" MAINTAINER="gutmensch" HOMEPAGE="http://heirloom.sourceforge.net/mailx.html" LICENSE="GPL" TAGS="send mail shell nail mailx network" COMMENTS="mailx needs sendmail as a MTA, so you will have to install addtionally _ONE_ of those extensions: 1. msmtp 2. postfix After installing your favourite MTA you can script mails with a command like this (e.g. googlemail account): $ mailx -n -v -r yourmail@gmail.com \\ -s 'Test-Mail' \\ -S smtp-use-starttls \\ -S ssl-verify=ignore \\ -S smtp-auth-user=yourmail@gmail.com \\ -S smtp-auth-password=yourpassword \\ -S smtp=smtp.gmail.com \\ -a /home/tc/attachment.zip \\ recipient@example.com \\ < /home/tc/message.txt" CHANGE="__TODAY__ " ##### changelog, dont modify! is done by script! ##### #CHANGELOG[2]="2012/06/01 Removed libiconv as dep, use libc iconv" #CHANGELOG[1]="2012/05/20 Removed postfix as dep." #CHANGELOG[0]="2012/05/18 Initial version from CVS" ############### end of changelog ##################### configure_special_source () { true # dummy_file filename [ $? -eq 0 ] && success || fail } work_special_build () { true # to_new_extension "-name file1.txt -o -name file2.bin" new_ext "dep1 dep2" # create_start_script $EXTENSION # echo "my command" >> ${SS1} # create_wbar_icon $EXTENSION $TMPICONPATH $EXECUTE $WBARNAME # create_initd_script $EXTENSION $DAEMONPATH $PIDFILE $LOGFILE $OPTIONS # cat < ${TCB_BLDDIR}/${PACKAGE}/usr/local/etc/ # EOF [ $? -eq 0 ] && success || fail }