FreeBSD Bugzilla – Attachment 32196 Details for
Bug 53306
[New Port] security/clamav-devel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
clamav-devel.sh
clamav-devel.sh (text/plain), 4.04 KB, created by
rob
on 2003-06-14 01:10:16 UTC
(
hide
)
Description:
clamav-devel.sh
Filename:
MIME Type:
Creator:
rob
Created:
2003-06-14 01:10:16 UTC
Size:
4.04 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: ># ># clamav-devel/ ># clamav-devel/Makefile ># clamav-devel/distinfo ># clamav-devel/files ># clamav-devel/pkg-descr ># clamav-devel/pkg-install ># clamav-devel/pkg-plist ># >echo c - clamav-devel/ >mkdir -p clamav-devel/ > /dev/null 2>&1 >echo x - clamav-devel/Makefile >sed 's/^X//' >clamav-devel/Makefile << 'END-of-clamav-devel/Makefile' >X# New ports collection makefile for: clamav >X# Date created: 15 July 2002 >X# Whom: markun@onohara.to >X# >X# $FreeBSD: ports/security/clamav/Makefile,v 1.5 2003/06/08 16:16:49 leeym Exp $ >X# >X >XPORTNAME= clamav-devel >XPORTVERSION= 20030613 >XCATEGORIES= security >XMASTER_SITES= http://clamav.elektrapro.com/snapshot/ \ >X http://clamav.essentkabel.com/snapshot/ \ >X http://clamav.ozforces.com/ >X >XMAINTAINER= rob@debank.tv >XCOMMENT= Command line virus scanner written entirely in C >X >XRUN_DEPENDS= lha:${PORTSDIR}/archivers/lha \ >X unarj:${PORTSDIR}/archivers/unarj \ >X unrar:${PORTSDIR}/archivers/unrar \ >X zoo:${PORTSDIR}/archivers/zoo \ >X arc:${PORTSDIR}/archivers/arc \ >X unzip:${PORTSDIR}/archivers/unzip >XLIB_DEPENDS= pth.20:${PORTSDIR}/devel/pth >X >XUSE_GMAKE= yes >XGNU_CONFIGURE= yes >XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} >XUSE_LIBTOOL= yes >XINSTALLS_SHLIB= yes >XDISTNAME= clamav-20030613 >X >XCONFIGURE_ARGS= --prefix=${PREFIX} \ >X --disable-clamav >X >XMAN1= clamscan.1 freshclam.1 sigtool.1 clamdscan.1 >XMAN5= clamav.conf.5 >XMAN8= clamd.8 >X >X.include <bsd.port.pre.mk> >X >Xpre-install: >X @${ECHO} "===> Creating custom user to run clamav..." >X ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL >X >X >Xpost-install: >X @${ECHO} "===> Setting permissions..." >X @${SETENV} PKG_PREFIX=${PREFIX} ${sh} \ >X ${SH} ${PKGINSTALL} ${PREFIX} POST-INSTALL >X >X.include <bsd.port.post.mk> >END-of-clamav-devel/Makefile >echo x - clamav-devel/distinfo >sed 's/^X//' >clamav-devel/distinfo << 'END-of-clamav-devel/distinfo' >XMD5 (clamav-20030613.tar.gz) = 95669bd66f625a6a78c544d96e0ffe2d >END-of-clamav-devel/distinfo >echo c - clamav-devel/files >mkdir -p clamav-devel/files > /dev/null 2>&1 >echo x - clamav-devel/pkg-descr >sed 's/^X//' >clamav-devel/pkg-descr << 'END-of-clamav-devel/pkg-descr' >XThis is a snapshot version of Clam Antivirus. Clam Antivirus >Xis a command line virus scanner written entirely in C its >Xdatabase is kept up to date. It also detects polymorphic >Xviruses, scans compressed files and is supported by AMaViS. >END-of-clamav-devel/pkg-descr >echo x - clamav-devel/pkg-install >sed 's/^X//' >clamav-devel/pkg-install << 'END-of-clamav-devel/pkg-install' >X#!/bin/sh >X >X >Xif [ "$2" != "PRE-INSTALL" ]; then >X chown -R clamav:clamav ${PKG_PREFIX}/share/clamav >Xfi >X >XUSER=clamav >XGROUP=clamav >X >Xif ! pw groupshow "$GROUP" 2>/dev/null 1>&2; then >X if pw groupadd $GROUP; then >X echo "===> Added group \"$GROUP\"." >X else >X echo "===> Adding group \"$GROUP\" failed..." >X exit 1 >X fi >Xfi >X >Xif ! pw usershow "$USER" 2>/dev/null 1>&2; then >X if pw useradd $USER -g $GROUP -h - \ >X -s "/sbin/nologin" -d "/nonexistent" \ >X -c "Clam Antivirus"; \ >X then >X echo "===> Added user \"$USER\"." >X else >X echo "===> Adding user \"$USER\" failed..." >X exit 1 >X fi >Xfi >Xexit 0 >END-of-clamav-devel/pkg-install >echo x - clamav-devel/pkg-plist >sed 's/^X//' >clamav-devel/pkg-plist << 'END-of-clamav-devel/pkg-plist' >X@exec mkdir -p share/clamav >Xbin/clamscan >Xbin/clamdscan >Xbin/freshclam >Xbin/sigtool >Xsbin/clamd >Xinclude/clamav.h >Xlib/libclamav.so.1 >Xlib/libclamav.so >Xlib/libclamav.la >Xlib/libclamav.a >Xshare/clamav/mirrors.txt >Xshare/clamav/viruses.db >Xshare/clamav/viruses.db2 >X@exec chown clamav share/clamav share/clamav/mirrors.txt share/clamav/viruses.db share/clamav/viruses.db2 >X@dirrm share/clamav >X@unexec rmuser -y clamav >END-of-clamav-devel/pkg-plist >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 53306
: 32196