diff options
author | 2008-07-27 08:04:09 +0000 | |
---|---|---|
committer | 2008-07-27 08:04:09 +0000 | |
commit | 8a5edafa00d9784553e6a5097ddfec0f8591e265 (patch) | |
tree | 25d3a0d504645deef18b22215edf3c242e778a73 /mail-mta/ssmtp | |
parent | Stable on ppc wrt bug 232704 (diff) | |
download | historical-8a5edafa00d9784553e6a5097ddfec0f8591e265.tar.gz historical-8a5edafa00d9784553e6a5097ddfec0f8591e265.tar.bz2 historical-8a5edafa00d9784553e6a5097ddfec0f8591e265.zip |
Clean up, rev-bump to fix perms on ssmtp binary (#233027)
Package-Manager: portage-2.2_rc3/cvs/Linux 2.6.25-gentoo-r6 x86_64
Diffstat (limited to 'mail-mta/ssmtp')
-rw-r--r-- | mail-mta/ssmtp/ChangeLog | 10 | ||||
-rw-r--r-- | mail-mta/ssmtp/Manifest | 8 | ||||
-rw-r--r-- | mail-mta/ssmtp/files/ssmtp-2.60.4-md5.patch | 44 | ||||
-rw-r--r-- | mail-mta/ssmtp/files/ssmtp-2.60.7-logfile.patch | 42 | ||||
-rw-r--r-- | mail-mta/ssmtp/ssmtp-2.61-r30.ebuild | 66 | ||||
-rw-r--r-- | mail-mta/ssmtp/ssmtp-2.61-r31.ebuild | 77 | ||||
-rw-r--r-- | mail-mta/ssmtp/ssmtp-2.62-r1.ebuild (renamed from mail-mta/ssmtp/ssmtp-2.62.ebuild) | 5 |
7 files changed, 15 insertions, 237 deletions
diff --git a/mail-mta/ssmtp/ChangeLog b/mail-mta/ssmtp/ChangeLog index d084807d0085..525aaaee74bc 100644 --- a/mail-mta/ssmtp/ChangeLog +++ b/mail-mta/ssmtp/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for mail-mta/ssmtp # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v 1.53 2008/07/13 18:57:28 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v 1.54 2008/07/27 08:04:08 dertobi123 Exp $ + +*ssmtp-2.62-r1 (27 Jul 2008) + + 27 Jul 2008; Tobias Scherbaum <dertobi123@gentoo.org> + -files/ssmtp-2.60.4-md5.patch, -files/ssmtp-2.60.7-logfile.patch, + -ssmtp-2.61-r30.ebuild, -ssmtp-2.61-r31.ebuild, -ssmtp-2.62.ebuild, + +ssmtp-2.62-r1.ebuild: + Clean up, rev-bump to fix perms on ssmtp binary (#233027) 13 Jul 2008; Tobias Scherbaum <dertobi123@gentoo.org> ssmtp-2.62.ebuild: Add eautoreconf diff --git a/mail-mta/ssmtp/Manifest b/mail-mta/ssmtp/Manifest index c0b453c00e9c..96788793832d 100644 --- a/mail-mta/ssmtp/Manifest +++ b/mail-mta/ssmtp/Manifest @@ -1,13 +1,9 @@ AUX mailer.conf 349 RMD160 1cad356faa6ee30e7bed9d70754487cac8f088e5 SHA1 4ab7aeef9fcaa021cff2845ffdac1ccb65dddfa4 SHA256 7b04fc27f8ca41b586ae68cbeffb509c2408afcc592462b617fba78b5d7aa88a -AUX ssmtp-2.60.4-md5.patch 1509 RMD160 caa14a0e51aa19eac8611d1b92f9dce1f75180ce SHA1 4d1d2ca539da6f563fc7546179317658d04659b2 SHA256 0d229305afae580867470dc189b5fa25dc9aa18d7f4573471ada38ea4f47503a -AUX ssmtp-2.60.7-logfile.patch 1256 RMD160 8bc7ddeedd448dff20ba2df52b8cdb2157e25aaa SHA1 16916f64915646c36aaecc7a0b1ff20b666edafb SHA256 244f021698493f1e87180a6200d39d0c963ad1392e489ab183e9f5264ca574b1 AUX ssmtp-2.61-bug127592.patch 385 RMD160 61f877e742bbf23e13056884bccae5a22a17fe75 SHA1 27a4aafc3cbffd11c6427e5ac02c3484396091ef SHA256 256a783b5e73b9914cb49854b367ce9f5781d8664cd640e6b0b9d0b5f6948edc AUX ssmtp-2.62-strndup.patch 682 RMD160 d56434a83ec6bb49cafb67846e0082551d1a3be3 SHA1 9b8328c8ea1410683dd13cc770582658e33d716e SHA256 2ce7b4526db527656bfb9cde41f940e5da23b9fb2089a6b5b9bd4bae6dfa07ab DIST ssmtp_2.61.orig.tar.gz 53341 RMD160 da76ee6dd86fc663e6fd69fcb2fb5f550f716de7 SHA1 bc4b6c20bf8c2c9e66b359e3c24545a2615a1988 SHA256 2151ad18cb73f9a254f796dde2b48be7318b45410b59fedbb258db5a41044fb5 DIST ssmtp_2.62.orig.tar.gz 57127 RMD160 1c16b2d50224f4d29813a34f87a3480e66892b36 SHA1 5c15aafb252f6cb11e4b93140a1457b6cb0d0fb8 SHA256 e2a0a5379cd0bbb0b4b0304abeba7a8f60aa85275982c5d7930c319e7f284ed1 EBUILD ssmtp-2.61-r2.ebuild 3427 RMD160 a675e5b8374d158cea313535386fb4d4e82169b6 SHA1 d833114b89c59bd48c44bef8e192f1f6b2759519 SHA256 1e00a67f270d423f140dac1a49c6e02af4acce82130825f854c6632bbec2348b -EBUILD ssmtp-2.61-r30.ebuild 1865 RMD160 acd00d9eeab71238158e9530bddac6d8183b9000 SHA1 6e0757320544ec047615491cfd152f0dfa936191 SHA256 82eb4aea32ff188f9b67c98074355aea535ff9837c1e4f63e742b07df430a70d -EBUILD ssmtp-2.61-r31.ebuild 2062 RMD160 9c13f57dd10b412040f84cbf3fa67bc87df7f9a9 SHA1 05385ffc6e32ba8338e9de7d29652ae8e9f037f3 SHA256 044b118c7bb1dd9328adf58ee01e1d6edd62411289b54018e2919254975fa657 -EBUILD ssmtp-2.62.ebuild 2477 RMD160 ac170a59176529213fd8bc659d9e7202b79da4f4 SHA1 3707e1280e69aa9fb6084b3b7dc8658ee97b8f67 SHA256 081aedd14f9ed5f6bbea0a5e527caa6bd87f6f2f64258293c3afce34cd6cb022 -MISC ChangeLog 11881 RMD160 194cddc51f702274f7982a9b847be7c4928150d6 SHA1 5a7985c4e6ddf0b5e3b795ca62d012f5b1069ecb SHA256 a03228d2a9d2415c7bf24d0172168840cb123c7324885823e023430a40ec8384 +EBUILD ssmtp-2.62-r1.ebuild 2545 RMD160 61bc51358190a50b83432bcbd4a58b5f7c97dba7 SHA1 ab49992c51bd87e9ddb437e7b62384ff9a9f0235 SHA256 46b8dd178cdc45f7c9d616f22ca1f388879ac9085609908795687045494f6088 +MISC ChangeLog 12191 RMD160 80fbff1b74a8d68f09f3e4d8698d9fac095c5dda SHA1 396434d68016fcc8e84ce2fbdfa0b69ff10b9822 SHA256 e34e02a0b59a2370c240a2baecf981419e95e0e173546665e63c16f4cba2005b MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32 diff --git a/mail-mta/ssmtp/files/ssmtp-2.60.4-md5.patch b/mail-mta/ssmtp/files/ssmtp-2.60.4-md5.patch deleted file mode 100644 index 07e0ba0568b2..000000000000 --- a/mail-mta/ssmtp/files/ssmtp-2.60.4-md5.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -rup ssmtp-2.60/Makefile.in ssmtp-2.60-gentoo/Makefile.in ---- ssmtp-2.60/Makefile.in 2003-08-21 13:27:23.000000000 +1200 -+++ ssmtp-2.60-gentoo/Makefile.in 2003-08-21 13:30:41.000000000 +1200 -@@ -23,7 +23,7 @@ INSTALLED_REVALIASES_FILE=$(REVALIASES_F - # Programs - GEN_CONFIG=$(srcdir)/generate_config - --SRCS=ssmtp.c arpadate.c base64.c -+SRCS=ssmtp.c arpadate.c base64.c @SRCS@ - - OBJS=$(SRCS:.c=.o) - -diff -rup ssmtp-2.60/configure ssmtp-2.60-gentoo/configure ---- ssmtp-2.60/configure 2003-08-21 13:27:23.000000000 +1200 -+++ ssmtp-2.60-gentoo/configure 2003-08-21 13:31:54.000000000 +1200 -@@ -1503,6 +1503,7 @@ s%@FFLAGS@%$FFLAGS%g - s%@DEFS@%$DEFS%g - s%@LDFLAGS@%$LDFLAGS%g - s%@LIBS@%$LIBS%g -+s%@SRCS@%$SRCS%g - s%@exec_prefix@%$exec_prefix%g - s%@prefix@%$prefix%g - s%@program_transform_name@%$program_transform_name%g -diff -rup ssmtp-2.60/ssmtp.c ssmtp-2.60-gentoo/ssmtp.c ---- ssmtp-2.60/ssmtp.c 2003-08-21 13:27:23.000000000 +1200 -+++ ssmtp-2.60-gentoo/ssmtp.c 2003-08-21 13:31:20.000000000 +1200 -@@ -1257,7 +1257,7 @@ int ssmtp(char *argv[]) - /* Try to log in if username was supplied */ - if(auth_user) { - #ifdef MD5AUTH -- if(auth_pass == (char *)NULL) -+ if(auth_pass == (char *)NULL) { - auth_pass = strdup(""); - } - -@@ -1271,7 +1271,7 @@ int ssmtp(char *argv[]) - strncpy(challenge, strchr(buf,' ') + 1, sizeof(challenge)); - - memset(buf, 0, sizeof(buf)); -- crammd5(challenge, authUsername, authPassword, buf); -+ crammd5(challenge, auth_user, auth_pass, buf); - } - else { - #endif diff --git a/mail-mta/ssmtp/files/ssmtp-2.60.7-logfile.patch b/mail-mta/ssmtp/files/ssmtp-2.60.7-logfile.patch deleted file mode 100644 index 6c261860942e..000000000000 --- a/mail-mta/ssmtp/files/ssmtp-2.60.7-logfile.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -Nrup ssmtp-2.60/ssmtp.c ssmtp-2.60-solar/ssmtp.c ---- ssmtp-2.60/ssmtp.c 2004-04-15 17:03:24.000000000 -0400 -+++ ssmtp-2.60-solar/ssmtp.c 2004-04-23 02:55:27.000000000 -0400 -@@ -100,18 +100,20 @@ void log_event(int priority, char *forma - { - char buf[(BUF_SZ + 1)]; - va_list ap; -- -+#if (defined (LOGFILE) && defined(LOGFILE_FILENAME)) -+ FILE *fp; -+#endif - va_start(ap, format); - (void)vsnprintf(buf, BUF_SZ, format, ap); - va_end(ap); - --#ifdef LOGFILE -- if((fp = fopen("/tmp/ssmtp.log", "a")) != (FILE *)NULL) { -+#if (defined (LOGFILE) && defined(LOGFILE_FILENAME)) -+ if((fp = fopen(LOGFILE_FILENAME, "a")) != (FILE *)NULL) { - (void)fprintf(fp, "%s\n", buf); - (void)fclose(fp); - } - else { -- (void)fprintf(stderr, "Can't write to /tmp/ssmtp.log\n"); -+ (void)fprintf(stderr, "Can't write to "LOGFILE_FILENAME"\n"); - } - #endif - -diff -Nrup ssmtp-2.60/ssmtp.h ssmtp-2.60-solar/ssmtp.h ---- ssmtp-2.60/ssmtp.h 2002-09-27 09:18:24.000000000 -0400 -+++ ssmtp-2.60-solar/ssmtp.h 2004-04-23 02:55:59.000000000 -0400 -@@ -22,6 +22,10 @@ - #define MAXARGS _POSIX_ARG_MAX - #endif - -+#if (defined (LOGFILE) && !defined(LOGFILE_FILENAME)) -+#define LOGFILE_FILENAME "/dev/stdout" -+#endif -+ - typedef enum {False, True} bool_t; - - struct string_list { diff --git a/mail-mta/ssmtp/ssmtp-2.61-r30.ebuild b/mail-mta/ssmtp/ssmtp-2.61-r30.ebuild deleted file mode 100644 index de6b1d2e4790..000000000000 --- a/mail-mta/ssmtp/ssmtp-2.61-r30.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ssmtp-2.61-r30.ebuild,v 1.3 2006/10/22 00:37:52 ticho Exp $ - -inherit eutils mailer - -DESCRIPTION="Extremely simple MTA to get mail off the system to a Mailhub" -HOMEPAGE="ftp://ftp.debian.org/debian/pool/main/s/ssmtp/" -SRC_URI="mirror://debian/pool/main/s/ssmtp/${P/-/_}.orig.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" -IUSE="ssl ipv6 md5sum" - -DEPEND="virtual/libc - ssl? ( dev-libs/openssl )" - -src_compile() { - # Respect LDFLAGS (bug #152197) - sed -i -e 's:$(CC) -o:$(CC) @LDFLAGS@ -o:' Makefile.in - - econf \ - --sysconfdir=/etc/ssmtp \ - $(use_enable ssl) \ - $(use_enable ipv6 inet6) \ - $(use_enable md5sum md5auth) \ - || die - make clean || die - make etcdir=/etc || die -} - -src_install() { - dodir /usr/bin /usr/sbin /usr/lib - dosbin ssmtp || die - fperms 755 /usr/sbin/ssmtp - - doman ssmtp.8 - dodoc INSTALL README TLS CHANGELOG_OLD - newdoc ssmtp.lsm DESC - - insinto /etc/ssmtp - doins ssmtp.conf revaliases - - local conffile="${D}/etc/ssmtp/ssmtp.conf" - mv "${conffile}" "${conffile}.orig" - - # Sorry about the weird indentation, I couldn't figure out a cleverer way - # to do this without having horribly >80 char lines. - sed -e "s:^hostname=:\n# Gentoo bug #47562\\ -# Commenting the following line will force ssmtp to figure\\ -# out the hostname itself.\n\\ -# hostname=:" "${conffile}.orig" \ - > "${conffile}" \ - || die "sed failed" - - if use mailwrapper ; then - dosym /usr/sbin/ssmtp /usr/bin/sendmail.ssmtp - mailer_install_conf - else - dosym /usr/sbin/ssmtp /usr/lib/sendmail - dosym /usr/sbin/ssmtp /usr/bin/sendmail - dosym /usr/sbin/ssmtp /usr/bin/mailq - dosym /usr/sbin/ssmtp /usr/bin/newaliases - fi -} diff --git a/mail-mta/ssmtp/ssmtp-2.61-r31.ebuild b/mail-mta/ssmtp/ssmtp-2.61-r31.ebuild deleted file mode 100644 index 2f2ab09c0220..000000000000 --- a/mail-mta/ssmtp/ssmtp-2.61-r31.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ssmtp-2.61-r31.ebuild,v 1.4 2006/10/22 00:37:52 ticho Exp $ - -inherit eutils toolchain-funcs mailer - -DESCRIPTION="Extremely simple MTA to get mail off the system to a Mailhub" -HOMEPAGE="ftp://ftp.debian.org/debian/pool/main/s/ssmtp/" -SRC_URI="mirror://debian/pool/main/s/ssmtp/${P/-/_}.orig.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" -IUSE="ssl ipv6 md5sum" - -DEPEND="virtual/libc - ssl? ( dev-libs/openssl )" - -S=${WORKDIR}/ssmtp-2.61 - -src_unpack() { - unpack "${A}" ; cd "${S}" - - epatch "${FILESDIR}"/ssmtp-2.61-bug127592.patch - - # Respect LDFLAGS (bug #152197) - sed -i -e 's:$(CC) -o:$(CC) @LDFLAGS@ -o:' Makefile.in -} - -src_compile() { - tc-export CC LD - - econf \ - --sysconfdir=/etc/ssmtp \ - $(use_enable ssl) \ - $(use_enable ipv6 inet6) \ - $(use_enable md5sum md5auth) \ - || die - make clean || die - make etcdir=/etc || die -} - -src_install() { - dodir /usr/bin /usr/sbin /usr/lib - dosbin ssmtp || die - fperms 755 /usr/sbin/ssmtp - - doman ssmtp.8 - dodoc INSTALL README TLS CHANGELOG_OLD - newdoc ssmtp.lsm DESC - - insinto /etc/ssmtp - doins ssmtp.conf revaliases - - local conffile="${D}/etc/ssmtp/ssmtp.conf" - mv "${conffile}" "${conffile}.orig" - - # Sorry about the weird indentation, I couldn't figure out a cleverer way - # to do this without having horribly >80 char lines. - sed -e "s:^hostname=:\n# Gentoo bug #47562\\ -# Commenting the following line will force ssmtp to figure\\ -# out the hostname itself.\n\\ -# hostname=:" \ - "${conffile}.orig" > "${conffile}" \ - || die "sed failed" - - if use mailwrapper ; then - dosym /usr/sbin/ssmtp /usr/bin/sendmail.ssmtp - mailer_install_conf - else - dosym /usr/sbin/ssmtp /usr/lib/sendmail - dosym /usr/sbin/ssmtp /usr/bin/sendmail - dosym /usr/sbin/ssmtp /usr/sbin/sendmail - dosym /usr/sbin/ssmtp /usr/bin/mailq - dosym /usr/sbin/ssmtp /usr/bin/newaliases - fi -} diff --git a/mail-mta/ssmtp/ssmtp-2.62.ebuild b/mail-mta/ssmtp/ssmtp-2.62-r1.ebuild index 3ec17f8b8f59..152cc4cdd27f 100644 --- a/mail-mta/ssmtp/ssmtp-2.62.ebuild +++ b/mail-mta/ssmtp/ssmtp-2.62-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ssmtp-2.62.ebuild,v 1.7 2008/07/13 18:57:28 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ssmtp-2.62-r1.ebuild,v 1.1 2008/07/27 08:04:08 dertobi123 Exp $ inherit eutils toolchain-funcs autotools @@ -83,6 +83,9 @@ src_install() { fowners root:ssmtp /etc/ssmtp/ssmtp.conf fperms 640 /etc/ssmtp/ssmtp.conf + fowners root:ssmtp /usr/sbin/ssmtp + fperms 750 /usr/sbin/ssmtp + dosym /usr/sbin/ssmtp /usr/lib/sendmail dosym /usr/sbin/ssmtp /usr/bin/sendmail dosym /usr/sbin/ssmtp /usr/sbin/sendmail |