diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-12-09 09:22:14 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-12-09 09:22:14 +0000 |
commit | 9a316233db866f27f7c3055090aad797c8bbb728 (patch) | |
tree | 11a31a5e841614043c7e2e31bb48574a5eb7cebc /kde-base/kdesu | |
parent | Add support for non-lazy-bindings non setuid executables. See bug #113937. (diff) | |
download | gentoo-2-9a316233db866f27f7c3055090aad797c8bbb728.tar.gz gentoo-2-9a316233db866f27f7c3055090aad797c8bbb728.tar.bz2 gentoo-2-9a316233db866f27f7c3055090aad797c8bbb728.zip |
Added support for non-lazy-bindings as per bug #114049.
(Portage version: 2.0.53)
Diffstat (limited to 'kde-base/kdesu')
-rw-r--r-- | kde-base/kdesu/ChangeLog | 6 | ||||
-rw-r--r-- | kde-base/kdesu/files/kdesu-3.5.0-bindnow.patch | 26 | ||||
-rw-r--r-- | kde-base/kdesu/kdesu-3.5.0.ebuild | 10 |
3 files changed, 39 insertions, 3 deletions
diff --git a/kde-base/kdesu/ChangeLog b/kde-base/kdesu/ChangeLog index 80a925835e52..511fa4f56d1f 100644 --- a/kde-base/kdesu/ChangeLog +++ b/kde-base/kdesu/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-base/kdesu # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesu/ChangeLog,v 1.24 2005/12/04 00:30:11 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesu/ChangeLog,v 1.25 2005/12/09 09:22:14 flameeyes Exp $ + + 09 Dec 2005; Diego Pettenò <flameeyes@gentoo.org> + +files/kdesu-3.5.0-bindnow.patch, kdesu-3.5.0.ebuild: + Added support for non-lazy-bindings as per bug #114049. 04 Dec 2005; Bryan Østergaard <kloeri@gentoo.org> kdesu-3.5.0.ebuild: ~alpha keyword. diff --git a/kde-base/kdesu/files/kdesu-3.5.0-bindnow.patch b/kde-base/kdesu/files/kdesu-3.5.0-bindnow.patch new file mode 100644 index 000000000000..ada07222d868 --- /dev/null +++ b/kde-base/kdesu/files/kdesu-3.5.0-bindnow.patch @@ -0,0 +1,26 @@ +Index: kdebase-3.5.0/kdesu/kdesu/Makefile.am +=================================================================== +--- kdebase-3.5.0.orig/kdesu/kdesu/Makefile.am ++++ kdebase-3.5.0/kdesu/kdesu/Makefile.am +@@ -5,7 +5,7 @@ INCLUDES= $(all_includes) + ## kdesu + bin_PROGRAMS = kdesu + kdesu_SOURCES = kdesu.cpp sudlg.cpp +-kdesu_LDFLAGS = $(all_libraries) $(KDE_RPATH) ++kdesu_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(BINDNOW_FLAGS) + kdesu_LDADD = $(LIB_KIO) -lkdesu + kdesu_METASOURCES = AUTO + noinst_HEADERS = sudlg.h +Index: kdebase-3.5.0/kdesu/kdesud/Makefile.am +=================================================================== +--- kdebase-3.5.0.orig/kdesu/kdesud/Makefile.am ++++ kdebase-3.5.0/kdesu/kdesud/Makefile.am +@@ -6,7 +6,7 @@ KDE_CXXFLAGS = $(KDE_USE_FPIE) + + bin_PROGRAMS = kdesud + kdesud_SOURCES = kdesud.cpp repo.cpp lexer.cpp handler.cpp secure.cpp +-kdesud_LDFLAGS = $(KDE_USE_PIE) $(all_libraries) $(KDE_RPATH) ++kdesud_LDFLAGS = $(KDE_USE_PIE) $(all_libraries) $(KDE_RPATH) $(BINDNOW_FLAGS) + kdesud_LDADD = $(LIB_KDECORE) -lkdesu $(LIBSOCKET) + noinst_HEADERS = repo.h handler.h lexer.h secure.h + diff --git a/kde-base/kdesu/kdesu-3.5.0.ebuild b/kde-base/kdesu/kdesu-3.5.0.ebuild index ebb02bea3c7c..089cb65e1017 100644 --- a/kde-base/kdesu/kdesu-3.5.0.ebuild +++ b/kde-base/kdesu/kdesu-3.5.0.ebuild @@ -1,14 +1,20 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesu/kdesu-3.5.0.ebuild,v 1.3 2005/12/04 00:30:11 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesu/kdesu-3.5.0.ebuild,v 1.4 2005/12/09 09:22:14 flameeyes Exp $ KMNAME=kdebase MAXKDEVER=$PV KM_DEPRANGE="$PV $MAXKDEVER" -inherit kde-meta eutils +inherit kde-meta eutils flag-o-matic DESCRIPTION="KDE: gui for su(1)" KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" IUSE="" +PATCHES="${FILESDIR}/${P}-bindnow.patch" +src_compile() { + export BINDNOW_FLAGS="$(bindnow-flags)" + + kde-meta_src_compile +} |