# ChangeLog for dev-util/pmk
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pmk/ChangeLog,v 1.6 2006/12/08 22:25:38 masterdriverz Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pmk/ChangeLog,v 1.7 2006/12/09 21:31:39 drizzt Exp $
+
+*pmk-0.10.0 (09 Dec 2006)
+
+ 09 Dec 2006; Timothy Redaelli <drizzt@gentoo.org> +pmk-0.10.0.ebuild:
+ Version bump, removed executable stack.
*pmk-0.8.1-r1 (08 Dec 2006)
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST pmk-0.10.0.tar.gz 207424 RMD160 e102e28edc225fbf6508cd0aff188691658874e9 SHA1 28573ba24e59f49a404fd54b425c88355e5c85c7 SHA256 4c6c7a45917a930c67c8c313c99b2f56beacb0b0ae70b6083592c13cb371f754
DIST pmk-0.8.1.tar.gz 111659 RMD160 aeacfc7a36c10e0b01ed49d16455764c80aed42c SHA1 a9e982e5154528c06fabdd5558f5d30c28cb5188 SHA256 6f286f7299cf82bfd121dcb4443c9d397c6db19dcd1d20507686a1f130ab945d
DIST pmk-0.8.tar.gz 109806
+EBUILD pmk-0.10.0.ebuild 1276 RMD160 ee70e6bef5cb48518658c3ec62c31d9634e9cbbe SHA1 0fa2637e8dc69efe4ae6b073a2b5de9b35a8aa46 SHA256 f204046d68cbec0dabdcfa4c5980b0a24977c71ec23b0b1f18dacff8830a433b
+MD5 f3717e88a3d23d81510710d08dd6a74d pmk-0.10.0.ebuild 1276
+RMD160 ee70e6bef5cb48518658c3ec62c31d9634e9cbbe pmk-0.10.0.ebuild 1276
+SHA256 f204046d68cbec0dabdcfa4c5980b0a24977c71ec23b0b1f18dacff8830a433b pmk-0.10.0.ebuild 1276
EBUILD pmk-0.8.1-r1.ebuild 1002 RMD160 62464fc4842bbfcc22483c4a7f81e558a2a3b001 SHA1 a5c319bd4b3401a8f9fdd8f7558dbaf96f4f51d2 SHA256 6e29992aaa3f0ed4ccbd183e5fab9c250884e53e097f06844d642e1086e67dd3
MD5 581904ffd89ae3548e933b113fa1de17 pmk-0.8.1-r1.ebuild 1002
RMD160 62464fc4842bbfcc22483c4a7f81e558a2a3b001 pmk-0.8.1-r1.ebuild 1002
MD5 0b110ef68684829b84055585c9ff6ff0 pmk-0.8.ebuild 634
RMD160 de02656ebaa99c366fa9c755bca98c9e96f6730d pmk-0.8.ebuild 634
SHA256 0dd87acf35df008a8f51b8b42ecb4c6549421697b5c8a7f9a3f20c4afcbae511 pmk-0.8.ebuild 634
-MISC ChangeLog 881 RMD160 5823306a162ce817e9982010e4efbd20a6c12102 SHA1 c2f7278fb3448138ab98c509afd086dec9c33787 SHA256 1494de7c684266ada0bae89ae8dae053e8f28917d42078fa4225176a6b3d5ca3
-MD5 fbdb44f2c9c305d1bdaf1942f0391c85 ChangeLog 881
-RMD160 5823306a162ce817e9982010e4efbd20a6c12102 ChangeLog 881
-SHA256 1494de7c684266ada0bae89ae8dae053e8f28917d42078fa4225176a6b3d5ca3 ChangeLog 881
+MISC ChangeLog 1016 RMD160 7fc5aa7ff0e42b77cfeec10a8c1e68249818dc3d SHA1 1a7c19e8dea4a203391356dc27ed519ece234eaa SHA256 87f7411d608aefcf914eb467da434fd9c3c6fe13c6f8875b43096e7f8b11e964
+MD5 c21c985b1547e3d385201043959e0974 ChangeLog 1016
+RMD160 7fc5aa7ff0e42b77cfeec10a8c1e68249818dc3d ChangeLog 1016
+SHA256 87f7411d608aefcf914eb467da434fd9c3c6fe13c6f8875b43096e7f8b11e964 ChangeLog 1016
MISC metadata.xml 418 RMD160 baf4766c29482a748bbf1e52751114288f1a0764 SHA1 b185bd993db1fe2a5714afa375fdefcc57ecb735 SHA256 4904a80f0f78d6acae19224e7a2a59046a092cbf586439b2930da0d185df9819
MD5 2f0670a358dda6bc2bb35664e25a3a40 metadata.xml 418
RMD160 baf4766c29482a748bbf1e52751114288f1a0764 metadata.xml 418
SHA256 4904a80f0f78d6acae19224e7a2a59046a092cbf586439b2930da0d185df9819 metadata.xml 418
+MD5 f9d5d19213e14fce534e629ffa11574d files/digest-pmk-0.10.0 232
+RMD160 048735e2f7fd98fa78a5fc7041f463a9b1bec41d files/digest-pmk-0.10.0 232
+SHA256 a48695be599061997ced95a9032843a1e67941774c6b91f62a37448427e8d4e6 files/digest-pmk-0.10.0 232
MD5 d636b332ef5ecef85769c35a69455754 files/digest-pmk-0.8 59
RMD160 f747a97e9d676a29a015e5b150b995fe3ec7fbbf files/digest-pmk-0.8 59
SHA256 0a98730a0b450501035cc7eefcebb8b8f6181b5efc79b9b551d6f70f155e7e58 files/digest-pmk-0.8 59
MD5 7e090ce188540b7b4a3b293ecb9d472d files/digest-pmk-0.8.1-r1 229
RMD160 342cf1abe811fd1555efa718b849a2b226b51956 files/digest-pmk-0.8.1-r1 229
SHA256 16ffdf451432f301d5f88a2e7bf4eb059e48956533c1af518aea00f85627dbef files/digest-pmk-0.8.1-r1 229
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFeytZGDyatLGpTbYRAqknAJ9cU0/ZruUSVF3tQ9yWq59ikA+v6ACfUHWI
+TtWFCQPmgpQ8qdBdQu3WtZA=
+=5Nbd
+-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pmk/pmk-0.10.0.ebuild,v 1.1 2006/12/09 21:31:39 drizzt Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="Aims to be an alternative to GNU autoconf"
+HOMEPAGE="http://pmk.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pmk/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Remove executable stack
+ cp detect_cpu_asm.s detect_cpu_asm.S
+ cat >> detect_cpu_asm.S <<EOF
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
+EOF
+}
+
+src_compile() {
+ tc-export CC CPP AS
+ ./pmkcfg.sh -p /usr || die "Config failed"
+ emake || die "Build failed"
+}
+
+src_install () {
+ make DESTDIR="${D}" MANDIR=/usr/share/man install || die
+
+ dodoc BUGS Changelog INSTALL LICENSE README STATUS TODO
+}
+
+pkg_postinst() {
+ if [[ ! -f ${ROOT}etc/pmk/pmk.conf ]] ; then
+ einfo
+ einfo "${ROOT}etc/pmk/pmk.conf doesn't exist."
+ einfo "Running pmksetup to generate an initial pmk.conf."
+ einfo
+ # create one with initial values
+ ${ROOT}usr/bin/pmksetup
+ # run it again to reset PREFIX from /usr/local to /usr
+ ${ROOT}usr/bin/pmksetup -u PREFIX="/usr" &>/dev/null
+ fi
+}
+