Browse Source

Added "Requires: sendmail-cf" to snf-server-sendmail.spec for RedHat.


git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@84 233e721a-07f6-49eb-a7da-05e0e16828fc
master
adeniz 11 years ago
parent
commit
5958b375a3

+ 6
- 2
SNF_CS_Developer_Package/configure.ac.in View File

@@ -45,8 +45,11 @@ AC_ARG_ENABLE(os-type,
[where TYPE is OpenBSD, FreeBSD, RedHat, Suse, Ubuntu, or ArchLinux])],
[SNF_OSTYPE="${enableval}" ])
case "$SNF_OSTYPE" in
OpenBSD|OpenBSD|FreeBSD|RedHat|Suse|Ubuntu|ArchLinux)
:
OpenBSD|FreeBSD|Suse|Ubuntu)
SNF_RPM_SENDMAIL_OTHER_REQUIRES=""
;;
RedHat)
SNF_RPM_SENDMAIL_OTHER_REQUIRES="Requires: sendmail-cf"
;;
*)
AC_MSG_ERROR([Invalid OS type: "$SNF_OSTYPE".
@@ -96,6 +99,7 @@ SNF_LIBS=''
AC_SUBST(OTHER_CXXFLAGS)
AC_SUBST(SNF_CXXFLAGS)
AC_SUBST(SNF_LIBS)
AC_SUBST(SNF_RPM_SENDMAIL_OTHER_REQUIRES)

dnl
dnl Output the makefiles.

+ 1
- 0
SNF_CS_Developer_Package/snf-server-sendmail.spec.in View File

@@ -38,6 +38,7 @@ URL: http://www.armresearch.com/

Requires: snf-server
Requires: sendmail
@SNF_RPM_SENDMAIL_OTHER_REQUIRES@

%description
@PACKAGE_NAME@-sendmail integrates snf-server with sendmail. snf-server

Loading…
Cancel
Save