svn commit: r321559 - head/security/scannedonly
Rene Ladan
rene at FreeBSD.org
Sat Jun 22 09:36:42 UTC 2013
Author: rene
Date: Sat Jun 22 09:36:41 2013
New Revision: 321559
URL: http://svnweb.freebsd.org/changeset/ports/321559
Log:
- Remove conditional code for net/samba34, it was removed on 2013-06-04
- Convert Makefile header
- Fix typo in pkg-message
PR: ports/179279
Submitted by: myself
Approved by: maintainer timeout (girald at etcom.ufrgs.br, 19 days)
Modified:
head/security/scannedonly/Makefile (contents, props changed)
head/security/scannedonly/pkg-message (contents, props changed)
Modified: head/security/scannedonly/Makefile
==============================================================================
--- head/security/scannedonly/Makefile Sat Jun 22 09:36:10 2013 (r321558)
+++ head/security/scannedonly/Makefile Sat Jun 22 09:36:41 2013 (r321559)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: scannedonly
-# Date created: 20 January 2011
-# Whom: girald at etcom.ufrgs.br
-#
+# Created by: girald at etcom.ufrgs.br
# $FreeBSD$
-#
PORTNAME= scannedonly
PORTVERSION= 0.21
@@ -37,40 +33,12 @@ SAMBA_VERSION?= 3.6
SAMBA_PORT?= net/samba${SAMBA_VERSION:C/([0-9]*)\.([0-9]*).*/\1\2/}
-# If samba34 is installed, we need the sources from samba.
-# We don't if samba3[56] is installed.
-# http://olivier.sessink.nl/scannedonly/faq.html
-.if ${SAMBA_PORT} == net/samba34
-BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/${SAMBA_PORT}:configure
-CONFIGURE_ARGS+=\
- --with-samba-source=${WRKDIR}/../../../${SAMBA_PORT}/work/samba-${SAMBA_VERSION}/source3
-USE_AUTOTOOLS= autoconf
-.endif
-
PLIST_FILES= sbin/scannedonlyd_clamav \
bin/scannedonly_prescan
-.if ${SAMBA_PORT} == net/samba34
-PLIST_FILES+= lib/samba/vfs/scannedonly.so
-PLIST_DIRS= lib/samba/vfs \
- lib/samba
-.endif
MAN8= ${PORTNAME}_prescan.8 \
${PORTNAME}d_clamav.8
MANCOMPRESSED= yes
-# Hackery to avoid death for non-obvious reasons if detected
-# SAMBA_VERSION doesn't match the PORTVERSION of samba in ports
-pre-everything::
-.if ${SAMBA_PORT} == net/samba34
- @if [ "$$(${MAKE} -C ${PORTSDIR}/${SAMBA_PORT} -V PORTVERSION)" \
- != "${SAMBA_VERSION}" ] ; \
- then ${ECHO_MSG} -n "==> Bailing. Version of Samba on system is "; \
- ${ECHO_MSG} "${SAMBA_VERSION}, which does not match" ; \
- ${ECHO_MSG} " that in ports. Please update Samba and try again." ; \
- ${FALSE} ; \
- fi
-.endif
-
post-patch:
@${REINPLACE_CMD} \
-e 's|/var/lib/scannedonly/scan|/var/run/scannedonlyd.sock|g' \
Modified: head/security/scannedonly/pkg-message
==============================================================================
--- head/security/scannedonly/pkg-message Sat Jun 22 09:36:10 2013 (r321558)
+++ head/security/scannedonly/pkg-message Sat Jun 22 09:36:41 2013 (r321559)
@@ -1,7 +1,7 @@
**************************************************
* WARNING! *
* *
-* Make sure you've enough socker buffer size. *
+* Make sure you've enough socket buffer size. *
* Consider increasing kern.ipc.maxsockbuf adding *
* at least the following sysctl setting to *
* /etc/sysctl.conf: *
More information about the svn-ports-head
mailing list