diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2012-11-02 16:01:37 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2012-11-02 16:01:37 +0000 |
commit | 373301c87d2c94e50de6b4403ddfeff9669b75a9 (patch) | |
tree | 35e46455fbdf9457ff5db40ac5a0712595cc8cbc /security/smtpscan/files/patch-aa | |
parent | - update to 1.6.1 (diff) |
- Update MASTER_SITES and WWW: line
- Add LICENSE
- Switch to PLIST_FILES
PR: ports/172250
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=306866
Diffstat (limited to 'security/smtpscan/files/patch-aa')
-rw-r--r-- | security/smtpscan/files/patch-aa | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/security/smtpscan/files/patch-aa b/security/smtpscan/files/patch-aa deleted file mode 100644 index 5db8513a2a14..000000000000 --- a/security/smtpscan/files/patch-aa +++ /dev/null @@ -1,86 +0,0 @@ ---- configure.orig 2003-05-05 14:25:10.000000000 -0800 -+++ configure 2007-07-16 13:41:43.000000000 -0800 -@@ -5,50 +5,59 @@ - # - - VERSION=0.5 --DESTDIR='/usr/local' -+DESTDIR=${PREFIX} - SHAREDIR="$DESTDIR/share" - BINDIR="$DESTDIR/bin" - MANDIR="$DESTDIR/man/man1" - --echo "Installing smtpscan..." --echo " Using directory $DESTDIR" -+#echo "Installing smtpscan..." -+#echo " Using directory $DESTDIR" - --echo -n " Checking for Net::DNS ... " --perl -MNet::DNS -e '' >/dev/null 2>&1 --if [ $? != 0 ] --then -- echo "" -- echo "" -- echo " !!! ERROR !!!" -- echo " Net::DNS not found" -- echo " You are strongly adviced to install it !" -- -- echo " Net::DNS is included in the smtpscan distribution" -- echo " To install it, just make :" -- echo " # tar zxvf Net-DNS-0.29.tar.gz" -- echo " # cd Net-DNS-0.29" -- echo " # perl Makefile.PL" -- echo " # make" -- echo " # make install" -- exit --fi -+#echo -n " Checking for Net::DNS ... " -+#perl -MNet::DNS -e '' >/dev/null 2>&1 -+#if [ $? != 0 ] -+#then -+# echo "" -+# echo "" -+# echo " !!! ERROR !!!" -+# echo " Net::DNS not found" -+# echo " You are strongly adviced to install it !" -+# -+# echo " Net::DNS is included in the smtpscan distribution" -+# echo " To install it, just make :" -+# echo " # tar zxvf Net-DNS-0.29.tar.gz" -+# echo " # cd Net-DNS-0.29" -+# echo " # perl Makefile.PL" -+# echo " # make" -+# echo " # make install" -+# exit -+#fi - --echo "Ok" -+#echo "Ok" - -+if [ "$1" = "install" ] -+then - install -m 755 -d "$SHAREDIR/smtpscan" - install -m 755 -d "$BINDIR" - install -m 755 -d "$MANDIR" - - install -m 444 ./src/fingerprints "$SHAREDIR/smtpscan/fingerprints" - install -m 444 ./src/tests "$SHAREDIR/smtpscan/tests" -+fi - -+if [ "$1" = "build" ] -+then - perl -i -pe "s{(\\\$LOCAL_SHARE\s+=\s+)'/usr/local/share';}{\$1'$SHAREDIR';};" ./src/smtpscan - perl -i -pe "s{\\@prefix\\@}{$SHAREDIR};" ./docs/man/smtpscan.1 - perl -i -pe "s{\\@VERSION\\@}{$VERSION};" ./src/smtpscan - perl -i -pe "s{\\@VERSION\\@}{$VERSION};" ./INSTALL - perl -i -pe "s{\\@VERSION\\@}{$VERSION};" ./docs/man/smtpscan.1 -+fi - -+if [ "$1" = "install" ] -+then - install -m 755 ./src/smtpscan "$BINDIR/smtpscan" - install -m 644 ./docs/man/smtpscan.1 "$DESTDIR/man/man1" -+fi - --echo "Installation Ok" -+#echo "Installation Ok" |