public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-admin/ulogd: ChangeLog ulogd-1.23-r1.ebuild ulogd-1.24-r2.ebuild
@ 2011-07-02 10:27 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 2+ messages in thread
From: Diego Petteno (flameeyes) @ 2011-07-02 10:27 UTC (permalink / raw
  To: gentoo-commits

flameeyes    11/07/02 10:27:29

  Modified:             ChangeLog ulogd-1.23-r1.ebuild ulogd-1.24-r2.ebuild
  Log:
  QA: do not try to guess whether the package will work with the kernel or not; cross-compilation is common and this doesn't even look entirely right; don't execute econf during src_unpack phase.
  
  (Portage version: 2.2.0_alpha42/cvs/Linux x86_64)

Revision  Changes    Path
1.66                 app-admin/ulogd/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ChangeLog?rev=1.66&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ChangeLog?rev=1.66&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ChangeLog?r1=1.65&r2=1.66

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- ChangeLog	15 Oct 2010 19:33:54 -0000	1.65
+++ ChangeLog	2 Jul 2011 10:27:29 -0000	1.66
@@ -1,6 +1,12 @@
 # ChangeLog for app-admin/ulogd
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.65 2010/10/15 19:33:54 wormo Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.66 2011/07/02 10:27:29 flameeyes Exp $
+
+  02 Jul 2011; Diego E. Pettenò <flameeyes@gentoo.org> ulogd-1.23-r1.ebuild,
+  ulogd-1.24-r2.ebuild:
+  QA: do not try to guess whether the package will work with the kernel or not;
+  cross-compilation is common and this doesn't even look entirely right; don't
+  execute econf during src_unpack phase.
 
   15 Oct 2010; Stephanie Lockwood-Childs <wormo@gentoo.org>
   -files/ulogd-1.23-configure.in.patch, -files/configure-fixes.patch:



1.9                  app-admin/ulogd/ulogd-1.23-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ulogd-1.23-r1.ebuild?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ulogd-1.23-r1.ebuild?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ulogd-1.23-r1.ebuild?r1=1.8&r2=1.9

Index: ulogd-1.23-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.23-r1.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ulogd-1.23-r1.ebuild	7 Oct 2010 15:45:42 -0000	1.8
+++ ulogd-1.23-r1.ebuild	2 Jul 2011 10:27:29 -0000	1.9
@@ -1,8 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.23-r1.ebuild,v 1.8 2010/10/07 15:45:42 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.23-r1.ebuild,v 1.9 2011/07/02 10:27:29 flameeyes Exp $
 
-inherit eutils flag-o-matic linux-info
+inherit eutils flag-o-matic
 
 DESCRIPTION="iptables daemon for ULOG target for userspace iptables filter logging"
 SRC_URI="http://ftp.netfilter.org/pub/ulogd/${P}.tar.bz2
@@ -18,14 +18,6 @@
 	mysql? ( virtual/mysql )
 	postgres? ( dev-db/postgresql-server )"
 
-pkg_setup() {
-	# can't depend on supported kernel versions because dependencies
-	# on virtuals are not versioned
-	linux-info_pkg_setup
-	kernel_is lt 2 6 14 && die "requires at least 2.6.14 kernel version"
-	kernel_is ge 2 6 31 && die "kernel version is too new -- try a newer ulogd"
-}
-
 src_unpack() {
 	unpack ${A}
 	cd "${S}"



1.5                  app-admin/ulogd/ulogd-1.24-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ulogd-1.24-r2.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ulogd-1.24-r2.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ulogd-1.24-r2.ebuild?r1=1.4&r2=1.5

Index: ulogd-1.24-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.24-r2.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ulogd-1.24-r2.ebuild	7 Oct 2010 15:45:42 -0000	1.4
+++ ulogd-1.24-r2.ebuild	2 Jul 2011 10:27:29 -0000	1.5
@@ -1,10 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.24-r2.ebuild,v 1.4 2010/10/07 15:45:42 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.24-r2.ebuild,v 1.5 2011/07/02 10:27:29 flameeyes Exp $
 
 EAPI="1"
 
-inherit eutils flag-o-matic autotools linux-info
+inherit eutils flag-o-matic autotools
 
 DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging"
 HOMEPAGE="http://netfilter.org/projects/ulogd/index.html"
@@ -24,12 +24,6 @@
 	net-libs/libpcap"
 
 pkg_setup() {
-	# can't depend on supported kernel versions because dependencies
-	# on virtuals are not versioned
-	linux-info_pkg_setup
-	kernel_is lt 2 6 14 && die "requires at least 2.6.14 kernel version"
-	kernel_is ge 2 6 31 && die "kernel version is too new -- try a newer ulogd"
-
 	enewgroup ulogd
 	enewuser ulogd -1 -1 /var/log/ulogd ulogd
 }
@@ -54,8 +48,10 @@
 		sed -i -e 's/$(LD)/$(CC) -nostartfiles/' $f || die "failed to update $f"
 	done
 
-	ewarn "Regenerating build system (this may take a bit)..."
-	eautoconf || die "Autoreconf failed"
+	eautoconf
+}
+
+src_compile() {
 	econf \
 		$(use_with mysql) \
 		$(use_with postgres pgsql) \
@@ -64,9 +60,7 @@
 
 	# Configure uses incorrect syntax for ld
 	use mysql && sed -i -e "s:-Wl,::g;s:-rdynamic::g" Rules.make
-}
 
-src_compile() {
 	# not parallel make safe: bug #128976
 	emake -j1 || die "make failed"
 }
@@ -87,7 +81,7 @@
 	use mysql  && UsedServices+=" mysql"
 	use postgres && UsedServices+=" postgresql"
 	if  [[ ${UsedServices} = "use" ]]; then
-	    UsedServices=""
+		UsedServices=""
 	fi
 	sed -i -e "s:use mysql:${UsedServices}:g" "${D}/etc/init.d/ulogd" || die "sed failed"
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-admin/ulogd: ChangeLog ulogd-1.23-r1.ebuild ulogd-1.24-r2.ebuild
@ 2013-03-21  9:07 Sergey Popov (pinkbyte)
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Popov (pinkbyte) @ 2013-03-21  9:07 UTC (permalink / raw
  To: gentoo-commits

pinkbyte    13/03/21 09:07:11

  Modified:             ChangeLog ulogd-1.23-r1.ebuild ulogd-1.24-r2.ebuild
  Log:
  Fix usage of kernel headers from /usr/src, wrt bug #285376. Thanks to Coacher <itumaykin AT gmail.com> for patch
  
  (Portage version: 2.2.0_alpha168/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)

Revision  Changes    Path
1.73                 app-admin/ulogd/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ChangeLog?rev=1.73&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ChangeLog?rev=1.73&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ChangeLog?r1=1.72&r2=1.73

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- ChangeLog	20 Mar 2013 13:23:57 -0000	1.72
+++ ChangeLog	21 Mar 2013 09:07:11 -0000	1.73
@@ -1,6 +1,12 @@
 # ChangeLog for app-admin/ulogd
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.72 2013/03/20 13:23:57 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.73 2013/03/21 09:07:11 pinkbyte Exp $
+
+  21 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> ulogd-1.23-r1.ebuild,
+  +files/ulogd-1.23-fix-include-in-libipulog-Makefile.patch,
+  ulogd-1.24-r2.ebuild:
+  Fix usage of kernel headers from /usr/src, wrt bug #285376. Thanks to Coacher
+  <itumaykin AT gmail.com> for patch
 
   20 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> ulogd-2.0.2.ebuild:
   Fix a typo in sed statement, wrt bug #426868, thanks to Coacher <itumaykin AT



1.10                 app-admin/ulogd/ulogd-1.23-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ulogd-1.23-r1.ebuild?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ulogd-1.23-r1.ebuild?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ulogd-1.23-r1.ebuild?r1=1.9&r2=1.10

Index: ulogd-1.23-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.23-r1.ebuild,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ulogd-1.23-r1.ebuild	2 Jul 2011 10:27:29 -0000	1.9
+++ ulogd-1.23-r1.ebuild	21 Mar 2013 09:07:11 -0000	1.10
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.23-r1.ebuild,v 1.9 2011/07/02 10:27:29 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.23-r1.ebuild,v 1.10 2013/03/21 09:07:11 pinkbyte Exp $
 
 inherit eutils flag-o-matic
 
@@ -25,6 +25,9 @@
 	epatch "${FILESDIR}/${P}-gcc41.patch"
 	EPATCH_OPTS="-F3" \
 		epatch "${WORKDIR}/${PN}-glsa-200701.patch"
+
+	# bug #285376
+	epatch "${FILESDIR}/${P}-fix-include-in-libipulog-Makefile.patch"
 }
 
 src_compile() {



1.7                  app-admin/ulogd/ulogd-1.24-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ulogd-1.24-r2.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ulogd-1.24-r2.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ulogd/ulogd-1.24-r2.ebuild?r1=1.6&r2=1.7

Index: ulogd-1.24-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.24-r2.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ulogd-1.24-r2.ebuild	31 May 2012 03:00:39 -0000	1.6
+++ ulogd-1.24-r2.ebuild	21 Mar 2013 09:07:11 -0000	1.7
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.24-r2.ebuild,v 1.6 2012/05/31 03:00:39 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.24-r2.ebuild,v 1.7 2013/03/21 09:07:11 pinkbyte Exp $
 
 EAPI="1"
 
@@ -48,6 +48,9 @@
 		sed -i -e 's/$(LD)/$(CC) -nostartfiles/' $f || die "failed to update $f"
 	done
 
+	# bug #285376
+	epatch "${FILESDIR}/${PN}-1.23-fix-include-in-libipulog-Makefile.patch"
+
 	eautoconf
 }
 





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-21  9:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-21  9:07 [gentoo-commits] gentoo-x86 commit in app-admin/ulogd: ChangeLog ulogd-1.23-r1.ebuild ulogd-1.24-r2.ebuild Sergey Popov (pinkbyte)
  -- strict thread matches above, loose matches on Subject: below --
2011-07-02 10:27 Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox