diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-12-05 16:46:43 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-12-05 16:46:43 +0000 |
commit | d67bd7bffac31f8cdc3bdbcc7809ad3ae47ad7d7 (patch) | |
tree | 20f5f86269112d34c8621452ca03cb63c83f604f /net-mail | |
parent | Added an elog to let the user know we need aspell/ispell/enchant for spell ch... (diff) | |
download | historical-d67bd7bffac31f8cdc3bdbcc7809ad3ae47ad7d7.tar.gz historical-d67bd7bffac31f8cdc3bdbcc7809ad3ae47ad7d7.tar.bz2 historical-d67bd7bffac31f8cdc3bdbcc7809ad3ae47ad7d7.zip |
Version bumped. Fixed CFLAGS issue, bug #241042. Removed -s, bug #240920.
Package-Manager: portage-2.1.6_rc2/cvs/Linux 2.6.27-gentoo-r2 x86_64
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/checkpw/ChangeLog | 10 | ||||
-rw-r--r-- | net-mail/checkpw/Manifest | 5 | ||||
-rw-r--r-- | net-mail/checkpw/checkpw-1.02.ebuild | 61 | ||||
-rw-r--r-- | net-mail/checkpw/files/checkpw-1.02-qa.patch | 16 |
4 files changed, 89 insertions, 3 deletions
diff --git a/net-mail/checkpw/ChangeLog b/net-mail/checkpw/ChangeLog index f3a5cad9ac05..c7b4221b6f18 100644 --- a/net-mail/checkpw/ChangeLog +++ b/net-mail/checkpw/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-mail/checkpw -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/checkpw/ChangeLog,v 1.6 2007/05/08 23:09:27 genone Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/checkpw/ChangeLog,v 1.7 2008/12/05 16:46:43 matsuu Exp $ + +*checkpw-1.02 (05 Dec 2008) + + 05 Dec 2008; MATSUU Takuto <matsuu@gentoo.org> + +files/checkpw-1.02-qa.patch, +checkpw-1.02.ebuild: + Version bumped. Fixed CFLAGS issue, bug #241042. Removed -s, bug #240920. 08 May 2007; Marius Mauch <genone@gentoo.org> checkpw-1.01.ebuild: Replacing einfo with elog diff --git a/net-mail/checkpw/Manifest b/net-mail/checkpw/Manifest index e37b47e6f153..5c3a4e991073 100644 --- a/net-mail/checkpw/Manifest +++ b/net-mail/checkpw/Manifest @@ -1,4 +1,7 @@ +AUX checkpw-1.02-qa.patch 608 RMD160 3180f4512c2f26155f88bd3405725a57af34cf99 SHA1 ed61803176657d87d5698c947f3514a86f5fcc2b SHA256 c51d8afa07af9333fdde43abe173c73605fa5c2e857b2aa871897842b5509428 DIST checkpw-1.01.tar.gz 28498 RMD160 096e922d3ce024ce7603584f63984a08bdb71b8d SHA1 f2f8138c749e67607ff55bafa7a56ad190be6044 SHA256 76732a1a95c1ea7191a10244e442b8fe84692993e532826fc1e43a277798c48b +DIST checkpw-1.02.tar.gz 28631 RMD160 1771a2dfe0256561d7fb28bcd2cd839aa8ca0031 SHA1 6a290aedf75f34401efc329c9eb1eb650e3181df SHA256 685a7fd4f4c783d0dcee342d109b0e492d3251e3c0cbc0ef77d33613cac6bced EBUILD checkpw-1.01.ebuild 1699 RMD160 d07ded85ca301f06ecaa3ac3d154cbe192c028a6 SHA1 af3b651284c29f5777ec00e0894f2efac7d38dc5 SHA256 f8363fdb89f6edb7a2cb15485aac617fdc8f69c9293fd7bd039d6913f55acebd -MISC ChangeLog 730 RMD160 6b1c61f39defb3c481f23bbedc3a697a1bed8803 SHA1 ec8c84de53fb8341f29041eb6ba1c9d08cb0ee44 SHA256 9bd27540ff03978b3ec8501afd4431337bcbaa48c57929e54097136569e5f3ff +EBUILD checkpw-1.02.ebuild 1664 RMD160 f310fd3f8560a31d10574398c3b5c1a6e23323eb SHA1 4a5bc495d60690821485478fbdd6204961dc53b9 SHA256 1947fca57db411cde336b56a1e540a225aa28a06d053aa54ed46e8ab9b6b7685 +MISC ChangeLog 939 RMD160 168ae8c5fd7def4c3d6d5a07cfe9178188ebee74 SHA1 30c3edd79c83e3f20cb327128b023ba48815b73f SHA256 db54d2aba9aa1f6a291b6ec2a96e3c3aae2b9d99757df0819e539bd4373635ae MISC metadata.xml 512 RMD160 631dcace95160b3010c5791167038a7c9477c444 SHA1 64e55c7eb74ea7e0dd77bfc07287bfb2dd0ebf9d SHA256 b09b4f1123724db5df8249b58031bfb8c632819d808d62ef8f9acda716115613 diff --git a/net-mail/checkpw/checkpw-1.02.ebuild b/net-mail/checkpw/checkpw-1.02.ebuild new file mode 100644 index 000000000000..09e7b2e920a8 --- /dev/null +++ b/net-mail/checkpw/checkpw-1.02.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/checkpw/checkpw-1.02.ebuild,v 1.1 2008/12/05 16:46:43 matsuu Exp $ + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="an implementation of the checkpassword interface that checks a password" +HOMEPAGE="http://checkpw.sourceforge.net/checkpw/" +SRC_URI="mirror://sourceforge/checkpw/${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +IUSE="static" + +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~amd64 ~ia64" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-qa.patch" + sed -i -e 's/head -1/head -n 1/g' Makefile auto_*.do default.do || die +} + +src_compile() { + use static && append-ldflags -static + echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die + echo ".maildir" > conf-maildir || die + + if [ -z "${QMAIL_HOME}" ]; then + QMAIL_HOME="/var/qmail" + ewarn "QMAIL_HOME is null! Using default." + ewarn "Create the qmail user and set the homedir to your desired location." + fi + einfo "Using ${QMAIL_HOME} as qmail's default home directory." + echo "${QMAIL_HOME}" > conf-qmail || die + + emake || die +} + +src_install() { + into / + dobin checkpw checkapoppw selectcheckpw loginlog + fperms 0700 /bin/checkpw /bin/checkapoppw /bin/selectcheckpw + + dodoc CHANGES README + docinto samples + dodoc run-{apop,both,multidir,multipw,pop,rules} +} + +pkg_postinst() { + elog + elog "How to set password:" + elog + elog " % echo 'YOURPASSWORD' > ~/.maildir/.password" + elog " % chmod 600 ~/.maildir/.password" + elog + elog "Replace YOURPASSWORD with your plain password." + elog +} diff --git a/net-mail/checkpw/files/checkpw-1.02-qa.patch b/net-mail/checkpw/files/checkpw-1.02-qa.patch new file mode 100644 index 000000000000..d529ce87b9d4 --- /dev/null +++ b/net-mail/checkpw/files/checkpw-1.02-qa.patch @@ -0,0 +1,16 @@ +diff -Naur checkpw-1.02.orig/checkapoppw.c checkpw-1.02/checkapoppw.c +--- checkpw-1.02.orig/checkapoppw.c 2002-01-07 16:25:10.000000000 +0900 ++++ checkpw-1.02/checkapoppw.c 2008-12-06 01:14:38.000000000 +0900 +@@ -1,3 +1,4 @@ ++#include <unistd.h> + #include <sys/stat.h> + #include "error.h" + #include "pathexec.h" +diff -Naur checkpw-1.02.orig/checkpw.c checkpw-1.02/checkpw.c +--- checkpw-1.02.orig/checkpw.c 2002-01-07 16:23:51.000000000 +0900 ++++ checkpw-1.02/checkpw.c 2008-12-06 01:24:07.000000000 +0900 +@@ -1,3 +1,4 @@ ++#include <unistd.h> + #include <sys/stat.h> + #include "error.h" + #include "pathexec.h" |