OBS User unknown 2007-01-15 23:21:43 +00:00 committed by Git OBS Bridge
commit 1d330fd996
8 changed files with 214 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
libesmtp-1.0.4.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:407ec85a4c3ce2c4045608d28c36a8e19f1cfbad02bf3de784f6b6fa83d15a56
size 351917

View File

@ -0,0 +1,13 @@
--- configure.in
+++ configure.in
@@ -187,8 +187,8 @@
have_getaddrinfo=no
if test x$with_lwres != xno ; then
if test "$with_lwres" != yes ; then
- CPPFLAGS="-I${with_lwres}/include $CPPFLAGS"
- LDFLAGS="-L${with_lwres}/lib $LDFLAGS"
+ CPPFLAGS="-I${with_lwres} $CPPFLAGS"
+ LDFLAGS="-L${with_lwres} $LDFLAGS"
fi
AC_CHECK_HEADERS(lwres/netdb.h, ,
[AC_MSG_ERROR([cannot find <lwres/netdb.h>])])

16
libesmtp-removedecls.diff Normal file
View File

@ -0,0 +1,16 @@
--- missing.h
+++ missing.h
@@ -24,7 +24,7 @@
/* Collect together some declarations that might not be present on
some systems */
-
+#if 0
#ifndef HAVE_STRDUP
char *strdup (const char *s1);
#endif
@@ -50,3 +50,4 @@
#endif
#endif
+#endif

43
libesmtp.changes Normal file
View File

@ -0,0 +1,43 @@
-------------------------------------------------------------------
Wed Jan 25 21:32:18 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Tue Jan 17 14:27:06 CET 2006 - lmichnovic@suse.cz
- Updated to version 1.0.4
- enabled support for lwres: lwres_includedir.patch; bind-devel added into NFB
- enabled support for ntlm, etrn
-------------------------------------------------------------------
Wed Nov 2 21:47:32 CET 2005 - dmueller@suse.de
- don't build as root
-------------------------------------------------------------------
Mon Sep 26 22:05:45 CEST 2005 - mls@suse.de
- move .so symlink into devel package
- make devel package require base package
-------------------------------------------------------------------
Sun May 8 18:08:46 CEST 2005 - mmj@suse.de
- Don't declare things we have for sure on linux
-------------------------------------------------------------------
Fri Mar 26 11:43:50 CET 2004 - mmj@suse.de
- Add postfix to # neededforbuild
-------------------------------------------------------------------
Thu Feb 19 14:53:54 CET 2004 - sbrabec@suse.cz
- Updated to version 1.0.2.
-------------------------------------------------------------------
Wed Jul 30 08:36:09 CEST 2003 - hhetter@suse.de
- initial SuSE package

115
libesmtp.spec Normal file
View File

@ -0,0 +1,115 @@
#
# spec file for package libesmtp (Version 1.0.4)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org
#
# norootforbuild
Name: libesmtp
BuildRequires: bind-devel openssl-devel postfix
URL: http://www.stafford.uklinux.net/libesmtp/
License: GPL, LGPL
Group: Development/Libraries/C and C++
Summary: A Library for Posting Electronic Mail
Version: 1.0.4
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
Patch0: libesmtp-removedecls.diff
Patch1: libesmtp-lwres_includedir.patch
%description
libESMTP is a library to manage posting (or submission of) electronic
mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as
Exim. It may be used as part of a Mail User Agent (MUA) or another
program that must be able to post electronic mail but where mail
functionality is not that program's primary purpose.
Authors:
--------
Brian Stafford <brian@stafford.uklinux.net>
%prep
%setup -q
%patch0
%patch1
%build
autoreconf
CFLAGS="$CFLAGS $RPM_OPT_FLAGS" \
CXXFLAGS="$CFLAGS $RPM_OPT_FLAGS" \
./configure \
--prefix=/usr \
--libdir=%{_libdir} \
--disable-static \
--with-lwres=/usr/include/bind/ \
--enable-ntlm \
--enable-etrn
make
%install
make DESTDIR=${RPM_BUILD_ROOT}/ install
%clean
rm -rf ${RPM_BUILD_ROOT}
%package devel
Summary: A Library for Posting Electronic Mail
Group: Development/Libraries/C and C++
Requires: libesmtp = %{version}
%description devel
libESMTP is a library to manage posting (or submission of) electronic
mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as
Exim. It may be used as part of a Mail User Agent (MUA) or another
program that must be able to post electronic mail but where mail
functionality is not that program's primary purpose.
Authors:
--------
Brian Stafford <brian@stafford.uklinux.net>
%files
%defattr(-,root,root)
%doc README AUTHORS INSTALL ChangeLog COPYING
/usr/bin/*
%dir /usr/%_lib/esmtp-plugins
/usr/%_lib/esmtp-plugins/*so*
/usr/%_lib/libesmtp.*so.*
%files devel
%defattr(-,root,root)
/usr/%_lib/esmtp-plugins/*a
/usr/include/*
/usr/%_lib/libesmtp.*so
/usr/%_lib/*a
%changelog -n libesmtp
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 17 2006 - lmichnovic@suse.cz
- Updated to version 1.0.4
- enabled support for lwres: lwres_includedir.patch; bind-devel added into NFB
- enabled support for ntlm, etrn
* Wed Nov 02 2005 - dmueller@suse.de
- don't build as root
* Mon Sep 26 2005 - mls@suse.de
- move .so symlink into devel package
- make devel package require base package
* Sun May 08 2005 - mmj@suse.de
- Don't declare things we have for sure on linux
* Fri Mar 26 2004 - mmj@suse.de
- Add postfix to # neededforbuild
* Thu Feb 19 2004 - sbrabec@suse.cz
- Updated to version 1.0.2.
* Wed Jul 30 2003 - hhetter@suse.de
- initial SuSE package

0
ready Normal file
View File