9 DMAIL="distfiles@pld-linux.org"
11 # CVS LOGIN or fill it by hand :)
12 LOGIN=`cat CVS/Root | awk -F: '{ print $3; }' | perl -pi -e "s/@.+//"`
24 Usage: fetchsrc_request file.spec [BRANCH]
34 if [ "$2" != "" ]; then
40 if [ "$VIA" = "SENDMAIL" ]; then
41 cat <<EOF | /usr/sbin/sendmail -t
43 From: $LOGIN <$LOGIN@$HOST>
44 Subject: fetchsrc_request notify
46 X-distfiles-request: yes
54 cat <<EOF | /usr/bin/nc $VIA 25 > /dev/null
56 MAIL FROM: $LOGIN <$LOGIN@$HOST>
60 Subject: fetchsrc_request notify
62 X-distfiles-request: yes