FreeBSD Bugzilla – Attachment 94974 Details for
Bug 133248
New Port: security/scamp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar.txt
shar.txt (text/plain), 6.10 KB, created by
Gerard Seibert
on 2009-04-19 14:14:18 UTC
(
hide
)
Description:
shar.txt
Filename:
MIME Type:
Creator:
Gerard Seibert
Created:
2009-04-19 14:14:18 UTC
Size:
6.10 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># /usr/ports/update/scamp ># /usr/ports/update/scamp/files ># /usr/ports/update/scamp/files/pkg-message.in ># /usr/ports/update/scamp/files/default.sample ># /usr/ports/update/scamp/Makefile ># /usr/ports/update/scamp/pkg-descr ># /usr/ports/update/scamp/distinfo ># /usr/ports/update/scamp/pkg-plist ># >echo c - /usr/ports/update/scamp >mkdir -p /usr/ports/update/scamp > /dev/null 2>&1 >echo c - /usr/ports/update/scamp/files >mkdir -p /usr/ports/update/scamp/files > /dev/null 2>&1 >echo x - /usr/ports/update/scamp/files/pkg-message.in >sed 's/^X//' >/usr/ports/update/scamp/files/pkg-message.in << 'a0fccfb3aa8979908767b35423cd3838' >X >X >X ************************************************** >X * * >X * To configure this script prior to running it * >X * the first time, please use the [-c] command * >X * line option; i.e.: scamp.sh -c * >X * * >X * This will create a new config file and exit. * >X * * >X ************************************************** >X >a0fccfb3aa8979908767b35423cd3838 >echo x - /usr/ports/update/scamp/files/default.sample >sed 's/^X//' >/usr/ports/update/scamp/files/default.sample << '27bab35fae2c3cc26fba6c7b0629fc70' >X# This is the /etc/scamp/default file. >X# Created April 18, 2009 @ 07:16:40 >X >XSIG_DB=/var/db/clamav >XT_DIR=/var/db/clamav/tmp >XC_GROUP=clamav >XC_PID=/var/run/clamav/clamd.pid >XC_USER=clamav >XGET_LDB=1 >XGET_MALWARE=1 >XGET_MSRBL=1 >XGET_SANE=1 >XGET_SECURITE=1 >XGET_WINNOW=1 >Xgpg_key_url=http://www.sanesecurity.net/publickey.gpg >XL_TYPE=1 >XMK_LOG=0 >XMSRBL=rsync://rsync.mirror.msrbl.com/msrbl/ >Xmsrbl_Images=MSRBL-Images.hdb >Xmsrbl_SPAM=MSRBL-SPAM.ndb >Xmsrbl_SPAM_CR=MSRBL-SPAM-CR.ndb >XMSR_DIR=/var/db/clamav/tmp/msr >XMW_DIR=/var/db/clamav/tmp/malware >XMW_FILE=mbl.ndb >XMW_URL=http://www.malware.com.br/cgi/submit?action=list_clamav_ext >XRELOAD=1 >XREST=0 >XSANE=rsync://rsync.sanesecurity.net/sanesecurity >XSANE_DB=/var/db/clamav/tmp/sane >XSI_DIR=/var/db/clamav/tmp/securite >XSI_URL1=http://clamav.securiteinfo.com/vx.hdb.gz >XSI_URL2=http://clamav.securiteinfo.com/honeynet.hdb.gz >XSI_URL3=http://clamav.securiteinfo.com/securiteinfo.hdb.gz >XSI_URL4=http://clamav.securiteinfo.com/antispam.ndb.gz >XSI_URL=$SI_URL1" "$SI_URL2" "$SI_URL3" "$SI_URL4 >XSYS_LOG=1 >XWPC=1 >XW_SUM=1 >27bab35fae2c3cc26fba6c7b0629fc70 >echo x - /usr/ports/update/scamp/Makefile >sed 's/^X//' >/usr/ports/update/scamp/Makefile << '6a9466d224d3a9c4a4da7e486ed842be' >X# New ports collection makefile for: scamp >X# Date created: 31 March 2009 >X# Whom: Gerard Seibert <gerard@seibercom.net> >X# >X# $FreeBSD$ >X >XPORTNAME= scamp >XPORTVERSION= 5.2a >XCATEGORIES= security >XMASTER_SITES= http://site1/ ${MASTER_SITE_SOURCEFORGE:S/$/:sourceforge,TEST/} >XDISTFILES= scamp/scamp-5.2a.tar.gz:sourceforge >X >XMAINTAINER= gerard@seibercom.net >XCOMMENT= Download & Install additional definition files for Clamav >X >X.include <bsd.port.pre.mk> >X >X.if exists (${LOCALBASE}/bin/wget) && ! exists (${LOCALBASE}/bin/curl) >XRUN_DEPENDS+= wget>=1.11.4:${PORTSDIR}/ftp/wget \ >X bash>=3.2.48_1:${PORTSDIR}/shells/bash3 \ >X clamav>=0.95.1:${PORTSDIR}/security/clamav \ >X gnupg>=2.0.11:${PORTSDIR}/security/gnupg \ >X rsync>=3.0.5:${PORTSDIR}/net/rsync >X.else >XRUN_DEPENDS+= curl>=7.19.2:${PORTSDIR}/ftp/curl \ >X bash>=3.2.48_1:${PORTSDIR}/shells/bash3 \ >X clamav>=0.95.1:${PORTSDIR}/security/clamav \ >X gnupg>=2.0.11:${PORTSDIR}/security/gnupg \ >X rsync>=3.0.5:${PORTSDIR}/net/rsync >X.endif >X >XNO_BUILD= yes >X >XSUB_FILES= pkg-message >X >XMAN1= scamp.1 >XMANCOMPRESSED= no >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|SIG_DB=$${SIG_DB:-""}|SIG_DB=$${SIG_DB:-"/var/db/clamav"}|g' ${WRKSRC}/${PORTNAME}.sh >X @${REINPLACE_CMD} -e 's|CONFIG_DIR="/etc/scamp"|CONFIG_DIR="/usr/local/etc/scamp"|g' ${WRKSRC}/${PORTNAME}.sh >X >Xpost-install: >X @if [ ! -d ${PREFIX}/etc/scamp ]; then \ >X ${MKDIR} ${PREFIX}/etc/scamp ; \ >X fi >X >X @${INSTALL_DATA} ${FILESDIR}/default.sample ${PREFIX}/etc/scamp/ >X @if [ ! -f ${PREFIX}/etc/scamp/default ]; then \ >X ${CP} -p ${PREFIX}/etc/scamp/default.sample \ >X ${PREFIX}/etc/scamp/default ; \ >X fi >X >Xdo-install: >X cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTNAME}.sh ${PREFIX}/bin >X cd ${WRKSRC} && ${INSTALL_MAN} scamp.1 ${MANPREFIX}/man/man1 >X >X.ifndef(NOPORTDOCS) >X @${MKDIR} ${DOCSDIR} >X cd ${WRKSRC} && ${INSTALL_DATA} README CHANGE.LOG INSTALL Release.html ${DOCSDIR} >X.endif >X >X ${CAT} ${PKGMESSAGE} >X >X.include <bsd.port.post.mk> >6a9466d224d3a9c4a4da7e486ed842be >echo x - /usr/ports/update/scamp/pkg-descr >sed 's/^X//' >/usr/ports/update/scamp/pkg-descr << '8936dd3ac75cb95660cdb6848600f091' >XThis Bash script will download and install definition files for Clamav from the >Xfollowing sites: >X >Xsanesecurity.com >Xmalware.com.br >Xmsrbl.com >Xclamav.securiteinfo.com >X >XSite Address: >X >XWWW: https://sourceforge.net/projects/scamp/ >8936dd3ac75cb95660cdb6848600f091 >echo x - /usr/ports/update/scamp/distinfo >sed 's/^X//' >/usr/ports/update/scamp/distinfo << '4e74e4c8f17d9d370c91d0edb51c43bc' >XMD5 (scamp/scamp-5.2a.tar.gz) = 2e01f79b5731c79d42ff5d0f4c38427e >XSHA256 (scamp/scamp-5.2a.tar.gz) = 748a0a28b79187aec7836b4ca537671d15c799478dde0ab12ffc922b8c0ab0b0 >XSIZE (scamp/scamp-5.2a.tar.gz) = 21060 >4e74e4c8f17d9d370c91d0edb51c43bc >echo x - /usr/ports/update/scamp/pkg-plist >sed 's/^X//' >/usr/ports/update/scamp/pkg-plist << '00c4cb1e982ab7a5c1bb647161926a7b' >Xbin/scamp.sh >X%%PORTDOCS%%%%DOCSDIR%%/CHANGE.LOG >X%%PORTDOCS%%%%DOCSDIR%%/INSTALL >X%%PORTDOCS%%%%DOCSDIR%%/README >X%%PORTDOCS%%%%DOCSDIR%%/Release.html >X%%PORTDOCS%%@dirrm %%DOCSDIR%% >X@unexec if cmp -s %D/etc/scamp/default.sample %D/etc/scamp/default; then rm -f %D/etc/scamp/default; fi >Xetc/scamp/default.sample >X@exec if [ ! -f %D/etc/scamp/default ] ; then cp -p %D/%F %B/default; fi >X@exec mkdir -p %D/etc/scamp >X@dirrmtry etc/scamp >00c4cb1e982ab7a5c1bb647161926a7b >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 133248
:
94973
| 94974