Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 208601 Details for
Bug 309281
RFE: add libmilter shared library
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for sendmail.spec to enable shared libmilter
sendmail.spec.diff (text/plain), 3.17 KB, created by
Carl Roth
on 2007-09-27 16:34:01 UTC
(
hide
)
Description:
Patch for sendmail.spec to enable shared libmilter
Filename:
MIME Type:
Creator:
Carl Roth
Created:
2007-09-27 16:34:01 UTC
Size:
3.17 KB
patch
obsolete
>--- sendmail.spec.orig 2007-09-17 08:55:38.000000000 -0700 >+++ sendmail.spec 2007-09-27 09:18:56.000000000 -0700 >@@ -35,6 +35,8 @@ > Source15: sendmail-etc-mail-mailertable > Source16: sendmail-etc-mail-trusted-users > Source17: sendmail-etc-mail-virtusertable >+Source100: sharedlibrary.m4 >+Patch100: libsharedmilter.patch > Patch3: sendmail-8.14.0-makemapman.patch > Patch4: sendmail-8.13.2-smrsh-paths.patch > Patch5: sendmail-8.12.2-movefiles.patch >@@ -81,6 +83,8 @@ > %endif > > >+Requires(post): /sbin/ldconfig >+Requires(postun): /sbin/ldconfig > %description > The Sendmail program is a very widely used Mail Transport Agent (MTA). > MTAs send mail from one machine to another. Sendmail is not a client >@@ -124,6 +128,17 @@ > the sendmail-cf package if you ever need to reconfigure and rebuild > your sendmail.cf file. > >+%if "%{with_milter}" == "yes" >+ >+%package milter >+Summary: The files needed for milter clients >+Group: System Environment/Daemons >+Requires: sendmail = %{version}-%{release} >+ >+%description milter >+This package includes the milter shared library. >+ >+%endif > %prep > %setup -q > >@@ -140,6 +155,10 @@ > %patch15 -p1 -b .noversion > %patch16 -p1 -b .localdomain > >+%{__cp} $RPM_SOURCE_DIR/sharedlibrary.m4 devtools/M4/UNIX/sharedlibrary.m4 >+# note here that -fpie is not allowed for shared library components >+%{__cp} -r libmilter libsharedmilter >+%patch100 -p1 > %build > # generate redhat config file > cat > redhat.config.m4 << EOF >@@ -215,7 +234,7 @@ > DIRS="libsmutil sendmail mailstats rmail praliases smrsh makemap" > > %if "%{with_milter}" == "yes" >-DIRS="libmilter $DIRS" >+DIRS="libmilter libsharedmilter $DIRS" > %endif > > for i in $DIRS; do >@@ -265,6 +284,7 @@ > OBJDIR=obj.$(uname -s).$(uname -r).$(uname -m) > > Make install -C $OBJDIR/libmilter >+Make install -C $OBJDIR/libsharedmilter > Make install -C $OBJDIR/libsmutil > Make install -C $OBJDIR/sendmail > Make install -C $OBJDIR/mailstats >@@ -275,12 +295,16 @@ > > # install libraries > install -m 644 $OBJDIR/libmilter/libmilter.a %{buildroot}%{_libdir} >+SO=`objdump -p $OBJDIR/libsharedmilter/libmilter.so | sed -n -e 's/ *SONAME *\(.*\)/\1/p'` >+install -m 644 $OBJDIR/libsharedmilter/libmilter.so %{buildroot}%{_libdir}/${SO} >+%{__ln_s} ${SO} %{buildroot}%{_libdir}/libmilter.so > install -m 644 $OBJDIR/libsmutil/libsmutil.a %{buildroot}%{_libdir} > install -m 644 $OBJDIR/libsm/libsm.a %{buildroot}%{_libdir} > > %if "%{_lib}" == "lib64" > # libmilter.a is 64 bit, not usable in /usr/lib for 32 bit build > rm -fr %{buildroot}/usr/lib/libmilter.a >+%{__rm} -fr %{buildroot}/usr/lib/libmilter.so.* > %endif > > # replace absolute with relative symlinks >@@ -437,6 +461,10 @@ > fi > exit 0 > >+%post milter >+/sbin/ldconfig >+%postun milter >+/sbin/ldconfig > %files > %defattr(-,root,root) > %dir %{_docdir}/sendmail-%{version} >@@ -520,6 +548,7 @@ > %dir %{_includedir}/libmilter > %{_includedir}/libmilter/*.h > %{_libdir}/libmilter.a >+%{_libdir}/libmilter.so > %{_libdir}/libsmutil.a > %{_libdir}/libsm.a > >@@ -536,6 +565,12 @@ > %attr(0644,root,root) %{_docdir}/sendmail-%{version}/contrib/* > > >+%if "%{with_milter}" == "yes" >+ >+%files milter >+%{_libdir}/libmilter.so.* >+ >+%endif > %changelog > * Mon Sep 17 2007 Thomas Woerner <twoerner@redhat.com> 8.14.1-4.2 > - made init script fully lsb conform
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 309281
: 208601 |
208621
|
208661
|
309631