--- /dev/null
+AUX asspd.init 563 RMD160 3d03dd03f885fdbf6f736d7fafe9f96fe5a02377 SHA1 39fc994da40b906dde322b8e22e286c1378368a4 SHA256 e8d36cee6d2df9aed249c37d5d2cc28f691f23f932d00c18fc17724e235ebb79
+MD5 14b63a2b2cb8c059aa642eadb41d6ee0 files/asspd.init 563
+RMD160 3d03dd03f885fdbf6f736d7fafe9f96fe5a02377 files/asspd.init 563
+SHA256 e8d36cee6d2df9aed249c37d5d2cc28f691f23f932d00c18fc17724e235ebb79 files/asspd.init 563
+DIST ASSP_1.2.5-Install.zip 244225 RMD160 748798f39918e6519be755d8e44a288fc82d636c SHA1 8060e36e81d58fab76c4eddab136428e0cbf3555 SHA256 282325e0434ef8554fe281a2b25267fde99254ea83bc7073c2acfbc47c2d31af
+EBUILD assp-1.2.5.ebuild 4302 RMD160 0860a239048f9d200b1b21281aa00279af6071e3 SHA1 85737c1a99b178b09a54e21f63ab4b6d0fa1549b SHA256 71839b0c42d0a5c1a4cf15b00b554146253f8996c419f4441b10af8e87200e03
+MD5 d26d27a3924fec5c1e08d8f15344e44d assp-1.2.5.ebuild 4302
+RMD160 0860a239048f9d200b1b21281aa00279af6071e3 assp-1.2.5.ebuild 4302
+SHA256 71839b0c42d0a5c1a4cf15b00b554146253f8996c419f4441b10af8e87200e03 assp-1.2.5.ebuild 4302
+MISC ChangeLog 297 RMD160 22376ef4e57c7bf43a3f9ed2f9cc455602047048 SHA1 6124021bc359193dc06f4a96b6a32f38372985fe SHA256 f998efe534dec7bd1bdba1df2d3ea83c6f685e94368911842e73a083cc2680cc
+MD5 c97090da1e3cc21c6329641e8538d864 ChangeLog 297
+RMD160 22376ef4e57c7bf43a3f9ed2f9cc455602047048 ChangeLog 297
+SHA256 f998efe534dec7bd1bdba1df2d3ea83c6f685e94368911842e73a083cc2680cc ChangeLog 297
+MISC metadata.xml 808 RMD160 dc6fd8b7e0ae86eb40342064e3820cd8fbd83193 SHA1 c24f1667c370bfff799a6289bcdafc06b405f8ec SHA256 b33778bfaa6a4537f5e5ea54bee8641126c9655505b26c85cc11a91cc288b5a6
+MD5 31d7bb0d82eeb1c4fde76228f3d71a8d metadata.xml 808
+RMD160 dc6fd8b7e0ae86eb40342064e3820cd8fbd83193 metadata.xml 808
+SHA256 b33778bfaa6a4537f5e5ea54bee8641126c9655505b26c85cc11a91cc288b5a6 metadata.xml 808
+MD5 24d9ce96160cb290c6872107dc5b6928 files/digest-assp-1.2.5 247
+RMD160 5eb32c5a2e77a2e5b0e74aaaa95059be0e0d6f85 files/digest-assp-1.2.5 247
+SHA256 8829c42c614f1cdf2569938d0d02d82300c4acb6dccb999aafd400ae23461656 files/digest-assp-1.2.5 247
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/assp/assp-1.2.5.ebuild,v 1.1 2006/11/19 00:07:03 wltjr Exp $
+
+inherit eutils
+
+DESCRIPTION="Anti-Spam SMTP Proxy written in Perl."
+HOMEPAGE="http://assp.sourceforge.net/"
+MY_PN=ASSP
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}_${PV}-Install.zip"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+# Commented out till I can find or make an srs ebuild :)
+#IUSE="ldap spf srs"
+# srs? ( dev-perl/Mail-SRS )
+
+IUSE="ldap spf"
+
+DEPEND="app-arch/unzip"
+
+RDEPEND="dev-lang/perl
+ dev-perl/Net-DNS
+ dev-perl/File-ReadBackwards
+ dev-perl/Compress-Zlib
+ dev-perl/Email-Valid
+ virtual/perl-Digest-MD5
+ perl-core/Time-HiRes
+ spf? ( dev-perl/Mail-SPF-Query )
+ ldap? ( dev-perl/perl-ldap )"
+
+S=${WORKDIR}/${MY_PN}
+
+pkg_setup() {
+ enewgroup assp
+ enewuser assp -1 -1 /dev/null assp
+}
+
+src_unpack() {
+ unpack ${A}
+
+ # Replace path for assp.pl to find data files
+ # Convert PC line returns to Unix
+ sed -i -e "/foreach /s:('.':('/var/lib/assp/':" \
+ -e 's:$base/$pidfile:/var/run/assp/$pidfile:' \
+ -e "s:'pid':'asspd.pid':" \
+ -e "s:'maillog.txt':'/var/log/assp/maillog.txt':" \
+ -e 's:"maillog.log":"/var/log/assp/maillog.log":' \
+ -e 's:"$base/$logdir":"$logdir":' \
+ -e 's:$base/$logfile:$logfile:' \
+ -e 's:$base/assp.cfg:/etc/assp/assp.cfg:' \
+ -e 's:$base/assp.cfg:/etc/assp/assp.cfg:' \
+ -e 's:"$base/$archivelogfile":"$archivelogfile":' \
+ -e 's:$base/images:/usr/share/assp/images:' \
+ -e 's:$fil="$base/$fil";:$fil="/usr/share/assp/$fil";:' \
+ -e 's:"$base/$maillog/:"/var/log/assp/$maillog/:' \
+ -e "/AsADaemon,'As a Daemon',0,checkbox/s:checkbox,0,:checkbox,1,:" \
+ -e "s:runAsUser,'Run as UID',20,textinput,'':runAsUser,'Run as UID',20,textinput,'assp':" \
+ -e "s:runAsGroup,'Run as GID',20,textinput,'':runAsGroup,'Run as GID',20,textinput,'assp':" \
+ -e ":[AvPath,':s:'':/var/lib/clamav/:" \
+ -e 's/\r//' \
+ "${S}"/assp.pl || die "sed failed"
+
+# Security fix - allow only css/gif/jpg/png files
+# -e '/($fil=/s:$fil=.*):$fil!~/usr/share/assp/.*\\.(css|gif|jpg|png)$/i):' \
+
+ # move2num.pl
+ sed -i -e 's:assp.cfg:/etc/assp/assp.cfg:' \
+ "${S}/move2num.pl" || die "sed failed"
+
+ # rebuildspamdb.pl
+ sed -i -e 's:assp.cfg:/etc/assp/assp.cfg:' \
+ -e "s:'maillog.txt';::" \
+ -e 's:$Log=$Config{logfile} && "$Config{base}/$Config{logfile}" || :$Log=$Config{logfile}:' \
+ "${S}/rebuildspamdb.pl" || die "sed failed"
+
+ # Replace path for default maillog.log
+ sed -i -e 's:/usr/local/:/var/log/assp/:' "${S}/stats.sh" \
+ || die "sed failed"
+
+ # rename utils
+ mv "${S}"/stats.sh "${S}"/asspstats.sh
+ mv "${S}"/stat.pl "${S}"/asspstat.pl
+ mv "${S}"/repair.pl "${S}"/assprepair.pl
+ mv "${S}"/rebuildspamdb.pl "${S}"/assprebuildspamdb.pl
+ mv "${S}"/move2num.pl "${S}"/asspmove2num.pl
+
+ # remove windows stuff
+ rm "${S}"/addservice.pl
+ rm -f "${S}/Win32-quickstart-guide.txt"
+}
+
+src_install() {
+ # Configuration directory
+ dodir /etc/assp
+ fowners assp:assp /etc/assp
+ fperms 770 /etc/assp
+
+ # Setup directories for mail to be stored for filter
+ keepdir /var/lib/assp/spam /var/lib/assp/notspam
+ keepdir /var/lib/assp/errors/spam /var/lib/assp/errors/notspam
+
+ # Logs directory
+ keepdir /var/log/assp
+ fowners assp:assp -R /var/log/assp
+ fperms 770 /var/log/assp
+
+ # Install the app
+ exeinto /usr/share/assp
+ doexe *.pl *.sh
+ insinto /usr/share/assp
+ doins -r images/
+ insinto /var/lib/assp
+ doins *.txt *.sav
+
+ # Lock down the files/data
+ fowners assp:assp -R /usr/share/assp
+ fperms 770 /usr/share/assp
+
+ # Data storage
+ fowners assp:assp -R /var/lib/assp
+ fperms 770 /var/lib/assp
+
+ # PID directory
+ dodir /var/run/assp
+ keepdir /var/run/assp
+ fowners assp:assp -R /var/run/assp
+ fperms 770 /var/run/assp
+
+ # Install the init.d script to listen
+ newinitd "${FILESDIR}/asspd.init" asspd
+
+ dohtml *.htm
+}
+
+pkg_postinst() {
+ elog
+ elog "To configure ASSP, start /etc/init.d/asspd then point"
+ elog "your browser to http://localhost:55555"
+ elog "Username: admin Password: nospam4me (CHANGE ASAP!)"
+ elog
+ elog "File permissions have been set to use assp:assp"
+ elog "with mode 770 on directories. When you configure"
+ elog "ASSP, make sure and use the user assp."
+ elog
+ elog "Don't change any path related options."
+ elog
+ elog "All utilities are prefixed with assp."
+ elog
+ elog "See the on-line docs for a complete tutorial."
+ elog
+}