Date: Mon, 26 Sep 2011 09:40:17 +0100 From: Jake Smith <jake@avenue22.net> To: wen heping <wenheping@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Maintainer timeout ports/159786 (security/ossec-hids-server) Message-ID: <1317026417.2016.3.camel@ubj.enta.net> In-Reply-To: <CACi7718Mf-iGpvmx4JGNyq2Ms5F6OrAsGJGHvUALn%2BAntfKkXg@mail.gmail.com> References: <1316946586.3080.5.camel@ubuntu-pro> <CADLo839G54D84sgh6dOUHbD06OSJOyiDjLDGJcYESVXn_XvBEw@mail.gmail.com> <1316948257.3080.10.camel@ubuntu-pro> <CACi7718Mf-iGpvmx4JGNyq2Ms5F6OrAsGJGHvUALn%2BAntfKkXg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-K0NO72QYC0OAo6R3BLhp Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Mon, 2011-09-26 at 14:54 +0800, wen heping wrote: > Hi, > > The build failed and below is the error message. > Would you fix it ? Thanks. > > wen > > Ok this is fixed in the attached patch. > ====================<phase 7: make package>==================== > ===> Building package for ossec-hids-client-2.6_1 > tar: ossec-hids/active-response/bin/default-firewall-drop.sh: Cannot > stat: No such file or directory > tar: Error exit delayed from previous errors. > pkg_create: make_dist: tar command failed with code 256 > *** Error code 1 > > Stop in /a/ports/security/ossec-hids-client. > Deleting ossec-hids-client-2.6_1 > pkg_delete: file > '/usr/local/ossec-hids/active-response/bin/default-firewall-drop.sh' > doesn't exist > pkg_delete: couldn't entirely delete package (perhaps the packing list is > incorrectly specified?) > > === Checking filesystem state > > === Checking filesystem state after all packages deleted > cmp: EOF on /etc/group-save > === /etc/group was modified: > --- /etc/group-save 2011-09-26 03:28:48.000000000 +0000 > +++ /etc/group 2011-09-26 03:29:24.000000000 +0000 > @@ -29,3 +29,4 @@ > www:*:80: > nogroup:*:65533: > nobody:*:65534: > +ossec:*:1001: > cmp: EOF on /etc/master.passwd-save > === /etc/master.passwd was modified: > --- /etc/master.passwd-save 2011-09-26 03:28:48.000000000 +0000 > +++ /etc/master.passwd 2011-09-26 03:29:24.000000000 +0000 > @@ -21,3 +21,4 @@ > pop:*:68:6::0:0:Post Office Owner:/nonexistent:/usr/sbin/nologin > www:*:80:80::0:0:World Wide Web Owner:/nonexistent:/usr/sbin/nologin > nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin > +ossec:*:1001:1001::0:0:User &:/usr/local/ossec-hids:/sbin/nologin > ================================================================ > build of /usr/ports/security/ossec-hids-client ended at Mon Sep 26 > 03:29:28 UTC 2011 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" Thanks Jake --=-K0NO72QYC0OAo6R3BLhp Content-Disposition: attachment; filename="patch_ossec_2.6.txt" Content-Type: text/plain; name="patch_ossec_2.6.txt"; charset="UTF-8" Content-Transfer-Encoding: 7bit diff -ruN ossec-hids-client.bak/pkg-plist.client ossec-hids-client/pkg-plist.client --- ossec-hids-client.bak/pkg-plist.client 2011-08-15 10:04:21.859266000 +0100 +++ ossec-hids-client/pkg-plist.client 2011-09-26 09:14:06.214577546 +0100 @@ -7,6 +7,7 @@ %%PORTNAME%%/active-response/bin/pf.sh %%PORTNAME%%/active-response/bin/restart-ossec.sh %%PORTNAME%%/active-response/bin/route-null.sh +%%PORTNAME%%/bin/agent-auth %%PORTNAME%%/bin/manage_agents %%PORTNAME%%/bin/ossec-agentd %%PORTNAME%%/bin/ossec-control diff -ruN ossec-hids-server.bak/Makefile ossec-hids-server/Makefile --- ossec-hids-server.bak/Makefile 2011-03-19 13:15:29.000000000 +0000 +++ ossec-hids-server/Makefile 2011-08-08 16:55:11.734157451 +0100 @@ -6,7 +6,7 @@ # PORTNAME= ossec-hids -PORTVERSION= 2.5.1 +PORTVERSION= 2.6 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.ossec.net/files/ \ @@ -18,10 +18,10 @@ USE_RC_SUBR= ossec-hids -.if defined(WITH_DB) -USE_MYSQL= yes -USE_PGSQL= yes -USE_BDB= yes +.if !defined(CLIENT_ONLY) +OPTIONS= MYSQL "Enable MySQL support" off \ + PGSQL "Enable PostgreSQL support" off \ + BDB "Enable with Berkeley DB" off .endif SUB_LIST= PORTNAME=${PORTNAME} @@ -31,6 +31,23 @@ .include <bsd.port.pre.mk> +.if !defined(CLIENT_ONLY) +.if defined(WITH_MYSQL) +WITH_DB= yes +USE_MYSQL= yes +.endif + +.if defined(WITH_PGSQL) +WITH_DB= yes +USE_PGSQL= yes +.endif + +.if defined(WITH_BDB) +WITH_DB= yes +USE_BDB= yes +.endif +.endif + .if defined(CLIENT_ONLY) PKGNAMESUFFIX= -client CONFLICTS= ossec-hids-server-[0-9]* ossec-hids-local-[0-9]* diff -ruN ossec-hids-server.bak/distinfo ossec-hids-server/distinfo --- ossec-hids-server.bak/distinfo 2010-12-14 00:41:09.000000000 +0000 +++ ossec-hids-server/distinfo 2011-08-08 15:30:27.165325589 +0100 @@ -1,2 +1,2 @@ -SHA256 (ossec-hids-2.5.1.tar.gz) = e7bb4701a6b9a40f76d4e2c3c39106ded3c37f13ccc3ce476029da1f0e9c9f9e -SIZE (ossec-hids-2.5.1.tar.gz) = 740470 +SHA256 (ossec-hids-2.6.tar.gz) = 37a6b14a0c41252852b51fd06cc186a8b66bd9e01821efd70305a6dd782a2b4c +SIZE (ossec-hids-2.6.tar.gz) = 758125 diff -ruN ossec-hids-server.bak/pkg-plist ossec-hids-server/pkg-plist --- ossec-hids-server.bak/pkg-plist 2010-12-14 00:41:09.000000000 +0000 +++ ossec-hids-server/pkg-plist 2011-09-26 09:13:57.262575174 +0100 @@ -14,6 +14,7 @@ %%PORTNAME%%/bin/ossec-agentd %%PORTNAME%%/bin/ossec-agentlessd %%PORTNAME%%/bin/ossec-analysisd +%%PORTNAME%%/bin/ossec-authd %%PORTNAME%%/bin/ossec-control %%PORTNAME%%/bin/ossec-csyslogd %%PORTNAME%%/bin/ossec-dbd @@ -49,10 +50,13 @@ %%PORTNAME%%/rules/arpwatch_rules.xml %%PORTNAME%%/rules/asterisk_rules.xml %%PORTNAME%%/rules/attack_rules.xml +%%PORTNAME%%/rules/bro-ids_rules.xml %%PORTNAME%%/rules/cimserver_rules.xml %%PORTNAME%%/rules/cisco-ios_rules.xml +%%PORTNAME%%/rules/clam_av_rules.xml %%PORTNAME%%/rules/courier_rules.xml %%PORTNAME%%/rules/dovecot_rules.xml +%%PORTNAME%%/rules/dropbear_rules.xml %%PORTNAME%%/rules/firewall_rules.xml %%PORTNAME%%/rules/ftpd_rules.xml %%PORTNAME%%/rules/hordeimp_rules.xml @@ -70,6 +74,7 @@ %%PORTNAME%%/rules/named_rules.xml %%PORTNAME%%/rules/netscreenfw_rules.xml %%PORTNAME%%/rules/nginx_rules.xml +%%PORTNAME%%/rules/openbsd_rules.xml %%PORTNAME%%/rules/ossec_rules.xml %%PORTNAME%%/rules/pam_rules.xml %%PORTNAME%%/rules/php_rules.xml --=-K0NO72QYC0OAo6R3BLhp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1317026417.2016.3.camel>