From 8fbd3aae07a3af944a2f5c310089afc8966a14c9 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Mon, 16 Apr 2012 10:37:21 +0000 Subject: Fix logfile permissions, bug #383787 by Dmitry Stepankov and Ian Delaney. Package-Manager: portage-2.1.10.56/cvs/Linux x86_64 --- app-admin/flexlm/ChangeLog | 10 ++++- app-admin/flexlm/Manifest | 14 +++---- app-admin/flexlm/flexlm-9.5-r1.ebuild | 70 ------------------------------- app-admin/flexlm/flexlm-9.5-r2.ebuild | 78 +++++++++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+), 79 deletions(-) delete mode 100644 app-admin/flexlm/flexlm-9.5-r1.ebuild create mode 100644 app-admin/flexlm/flexlm-9.5-r2.ebuild (limited to 'app-admin') diff --git a/app-admin/flexlm/ChangeLog b/app-admin/flexlm/ChangeLog index df9edf609a09..54cc236cac0d 100644 --- a/app-admin/flexlm/ChangeLog +++ b/app-admin/flexlm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/flexlm -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/flexlm/ChangeLog,v 1.17 2011/11/02 21:51:37 vapier Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/flexlm/ChangeLog,v 1.18 2012/04/16 10:37:21 pacho Exp $ + +*flexlm-9.5-r2 (16 Apr 2012) + + 16 Apr 2012; Pacho Ramos +flexlm-9.5-r2.ebuild, + -flexlm-9.5-r1.ebuild: + Fix logfile permissions, bug #383787 by Dmitry Stepankov and Ian Delaney. 02 Nov 2011; Mike Frysinger flexlm-9.5-r1.ebuild: Drop superfluous -c usage. diff --git a/app-admin/flexlm/Manifest b/app-admin/flexlm/Manifest index d330bfb2b86f..fe4ebcbd5f89 100644 --- a/app-admin/flexlm/Manifest +++ b/app-admin/flexlm/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA1 AUX 90flexlm 70 RMD160 ca37848713be4cf22aa26ff86436af9b50233b83 SHA1 d6192cccd3679aa281247a1c4c1d4f389124e38e SHA256 4b0c57837ed0f2013fb390120c0a0c3a4d4ab91f9131cdb618ba08ca14b9a823 AUX flexlm-conf 549 RMD160 859ea76e3e5f211170cd4ff6fd99e68951192aad SHA1 e10b82e3a41a59da205116e090461a6b86353717 SHA256 81fe865f570ecb030b0917ec3c42671ace3bd2c21d4185c50b779e4efba2ef6d @@ -9,13 +9,13 @@ DIST lmgrd-amd64.Z 327568 RMD160 f0bbd9ad2f25168c2e8283e48d2adee475b51ef3 SHA1 c DIST lmgrd-x86.Z 318617 RMD160 cad7633c20ed311b02ab79604b42332883e5b4a6 SHA1 21bd151b7ccdcb9c8a2df0bac84b31e3aa33b251 SHA256 d79e1cc24ab8216c2d8252b90ac18ef771f0e89629f2f482a39fc77dd8f31523 DIST lmutil-amd64.Z 331103 RMD160 9d5c753bca3ba83cbd01c8491c98b4c101ad5da2 SHA1 7b0bad17913858c538c430589ee4b505d0d58254 SHA256 2af1934b02d4499324389fa4491bdcfd8d72cca431e804d05848827abfc85413 DIST lmutil-x86.Z 324583 RMD160 50ef30b8971ad49d4da9aeac99ea0c041c41302e SHA1 7ab054fb287d50076b8ec7d0e6d05bad451bbcff SHA256 8b3da0d810fd8071ab968c74c74cff2ba90ae7d1a38dbfce0fbd802253eac0e5 -EBUILD flexlm-9.5-r1.ebuild 1657 RMD160 98116d4811b602dc6036f1ea9b02825ba6a424db SHA1 60d8f026e904f933926cf1e6725c93bf9d7adfe1 SHA256 c59fd8416df434836e916051b458eb140320fad53213e35233a649988f3329f9 -MISC ChangeLog 2400 RMD160 75ae9d8b69bbdc4f6b941b4c2a6422e51c885926 SHA1 e76a2c71bc6701ccdbdbb97f5253d34531ba2886 SHA256 9193b2098f1a8755789d161c60e6e6de1abe47c19f8f0bfbb59e873178ab782f +EBUILD flexlm-9.5-r2.ebuild 1755 RMD160 4771c63dad4efaed074d6ce537d8b761964573d5 SHA1 64df0bf259b8a3bfc579312f3431d86220031959 SHA256 f53b3317e121fe03a2e2db388b39e0efffe761c1675c18c6e387b898ae35818d +MISC ChangeLog 2600 RMD160 5eeb738e5b127b29dbc0eb8fa1eed9b986f43de6 SHA1 0dd0bd26576cb6513dc07c9653fc0d8703e5c6ee SHA256 26004295d68c4e836fdebd352847faff6222b313c723fca03caf75f8f7461aa6 MISC metadata.xml 306 RMD160 b69654c0114d225e46285a25b07ba7ed11b1c1f9 SHA1 9bccdfda8abb20d410806576ef18c54626a380bb SHA256 9d674f1cd0397361f81111ca054a35f623f76f64894641e7a05b5435e5ee0507 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk6xu3QACgkQaC/OocHi7JbBcAD8DmqR5nBtQwB+461vLVj9fu+n -7HRKedupmbVztEJYYMQA/AyDheehGl7+0n8snu2i5BRe8uur8/HpB7pM6Pso49be -=46+F +iEYEARECAAYFAk+L9mYACgkQCaWpQKGI+9TUNQCeNYZKopnLC+EjwbTTFwNJDvS4 +msEAn1DCgWdEA1gwlR7x+k6/epz9vuoB +=7WWN -----END PGP SIGNATURE----- diff --git a/app-admin/flexlm/flexlm-9.5-r1.ebuild b/app-admin/flexlm/flexlm-9.5-r1.ebuild deleted file mode 100644 index 7c7303d4ad15..000000000000 --- a/app-admin/flexlm/flexlm-9.5-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/flexlm/flexlm-9.5-r1.ebuild,v 1.6 2011/11/02 21:51:37 vapier Exp $ - -inherit eutils - -DESCRIPTION="Macrovision FLEXlm license manager and utils" -HOMEPAGE="http://www.macrovision.com/services/support/flexlm/lmgrd.shtml" -SRC_URI="http://www.macrovision.com/services/support/flexlm/enduser.pdf - x86? ( - mirror://gentoo/lmgrd-x86.Z - mirror://gentoo/lmutil-x86.Z - ) - amd64? ( - mirror://gentoo/lmgrd-amd64.Z - mirror://gentoo/lmutil-amd64.Z - )" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" -RESTRICT="strip" - -S="${WORKDIR}" - -src_unpack() { - unpack ${A} - - mv lmutil-${ARCH} lmutil - mv lmgrd-${ARCH} lmgrd - - cp "${DISTDIR}"/enduser.pdf "${S}" -} - -src_install () { - # executables - dodir /opt/flexlm/bin - exeinto /opt/flexlm/bin - doexe lmgrd lmutil - - dosym lmutil /opt/flexlm/bin/lmcksum - dosym lmutil /opt/flexlm/bin/lmdiag - dosym lmutil /opt/flexlm/bin/lmdown - dosym lmutil /opt/flexlm/bin/lmhostid - dosym lmutil /opt/flexlm/bin/lmremove - dosym lmutil /opt/flexlm/bin/lmreread - dosym lmutil /opt/flexlm/bin/lmstat - dosym lmutil /opt/flexlm/bin/lmver - - # documentation - dodoc enduser.pdf - - # init files - newinitd "${FILESDIR}"/flexlm-init flexlm - newconfd "${FILESDIR}"/flexlm-conf flexlm - - # environment - doenvd "${FILESDIR}"/90flexlm - - # empty dir for licenses - keepdir /etc/flexlm -} - -pkg_postinst() { - enewgroup flexlm - enewuser flexlm -1 /bin/bash /opt/flexlm flexlm - elog "FlexLM installed. Config is in /etc/conf.d/flexlm" - elog "Default location for license file is /etc/flexlm/license.dat" -} diff --git a/app-admin/flexlm/flexlm-9.5-r2.ebuild b/app-admin/flexlm/flexlm-9.5-r2.ebuild new file mode 100644 index 000000000000..d2257ca0f392 --- /dev/null +++ b/app-admin/flexlm/flexlm-9.5-r2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/flexlm/flexlm-9.5-r2.ebuild,v 1.1 2012/04/16 10:37:21 pacho Exp $ + +EAPI=4 +inherit eutils + +DESCRIPTION="Macrovision FLEXlm license manager and utils" +HOMEPAGE="http://www.macrovision.com/services/support/flexlm/lmgrd.shtml" +SRC_URI="http://www.macrovision.com/services/support/flexlm/enduser.pdf + x86? ( + mirror://gentoo/lmgrd-x86.Z + mirror://gentoo/lmutil-x86.Z + ) + amd64? ( + mirror://gentoo/lmgrd-amd64.Z + mirror://gentoo/lmutil-amd64.Z + )" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="strip" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + + mv lmutil-${ARCH} lmutil + mv lmgrd-${ARCH} lmgrd + + cp "${DISTDIR}"/enduser.pdf "${S}" +} + +src_install () { + # executables + dodir /opt/flexlm/bin + exeinto /opt/flexlm/bin + doexe lmgrd lmutil + + dosym lmutil /opt/flexlm/bin/lmcksum + dosym lmutil /opt/flexlm/bin/lmdiag + dosym lmutil /opt/flexlm/bin/lmdown + dosym lmutil /opt/flexlm/bin/lmhostid + dosym lmutil /opt/flexlm/bin/lmremove + dosym lmutil /opt/flexlm/bin/lmreread + dosym lmutil /opt/flexlm/bin/lmstat + dosym lmutil /opt/flexlm/bin/lmver + + # documentation + dodoc enduser.pdf + + # init files + newinitd "${FILESDIR}"/flexlm-init flexlm + newconfd "${FILESDIR}"/flexlm-conf flexlm + + # environment + doenvd "${FILESDIR}"/90flexlm + + # empty dir for licenses + keepdir /etc/flexlm + + # log dir + dodir /var/log/flexlm +} + +pkg_postinst() { + enewgroup flexlm + enewuser flexlm -1 /bin/bash /opt/flexlm flexlm + + # See bug 383787 + chown flexlm /var/log/flexlm || die + + elog "FlexLM installed. Config is in /etc/conf.d/flexlm" + elog "Default location for license file is /etc/flexlm/license.dat" +} -- cgit v1.2.3-65-gdbad