diff options
Diffstat (limited to 'package/mini_sendmail')
-rw-r--r-- | package/mini_sendmail/Config.in | 12 | ||||
-rw-r--r-- | package/mini_sendmail/Makefile | 29 | ||||
-rw-r--r-- | package/mini_sendmail/ipkg/mini-sendmail.control | 4 | ||||
-rw-r--r-- | package/mini_sendmail/patches/500-flags.patch | 15 |
4 files changed, 60 insertions, 0 deletions
diff --git a/package/mini_sendmail/Config.in b/package/mini_sendmail/Config.in new file mode 100644 index 000000000..70d2218d0 --- /dev/null +++ b/package/mini_sendmail/Config.in @@ -0,0 +1,12 @@ +config ADK_PACKAGE_MINI_SENDMAIL + prompt "mini-sendmail..................... A small sendmail-compatible mail forwarder" + tristate + default n + help + mini_sendmail reads its standard input up to an end-of-file and sends a + copy of the message found there to all of the addresses listed. + The message is sent by connecting to a local SMTP server. This means + mini_sendmail can be used to send email from inside a chroot(2) area. + + http://www.acme.com/software/mini_sendmail/ + diff --git a/package/mini_sendmail/Makefile b/package/mini_sendmail/Makefile new file mode 100644 index 000000000..0187ab4f8 --- /dev/null +++ b/package/mini_sendmail/Makefile @@ -0,0 +1,29 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= mini-sendmail +PKG_VERSION:= 1.3.6 +PKG_RELEASE:= 1 +PKG_MD5SUM:= fb1585d2ad81c519a26d83bfd783dee8 +MASTER_SITES:= http://www.acme.com/software/mini_sendmail/ +DISTFILES:= mini_sendmail-${PKG_VERSION}.tar.gz +WRKDIST= ${WRKDIR}/mini_sendmail-${PKG_VERSION} + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,MINI_SENDMAIL,mini-sendmail,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +BUILD_STYLE:= auto +MAKE_FLAGS+= OFLAGS="${TARGET_CFLAGS}" +MAKE_FLAGS+= CC="${TARGET_CC}" + +do-install: + ${INSTALL_DIR} ${IDIR_MINI_SENDMAIL}/usr/sbin + ${INSTALL_BIN} ${WRKBUILD}/mini_sendmail ${IDIR_MINI_SENDMAIL}/usr/sbin/ + ln -sf mini_sendmail ${IDIR_MINI_SENDMAIL}/usr/sbin/sendmail + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/mini_sendmail/ipkg/mini-sendmail.control b/package/mini_sendmail/ipkg/mini-sendmail.control new file mode 100644 index 000000000..c08e16e1c --- /dev/null +++ b/package/mini_sendmail/ipkg/mini-sendmail.control @@ -0,0 +1,4 @@ +Package: mini-sendmail +Priority: optional +Section: net +Description: A small sendmail-compatible mail forwarder diff --git a/package/mini_sendmail/patches/500-flags.patch b/package/mini_sendmail/patches/500-flags.patch new file mode 100644 index 000000000..eb5d65a1a --- /dev/null +++ b/package/mini_sendmail/patches/500-flags.patch @@ -0,0 +1,15 @@ +--- mini_sendmail-1.3.5/Makefile.orig 2002-01-04 07:05:25.000000000 +0100 ++++ mini_sendmail-1.3.5/Makefile 2005-06-17 01:57:06.000000000 +0200 +@@ -7,9 +7,10 @@ + BINDIR = /usr/local/sbin + MANDIR = /usr/local/man + CC = gcc +-CFLAGS = -O ++OFLAGS = -O ++CFLAGS = $(OFLAGS) + #CFLAGS = -g +-LDFLAGS = -s -static ++LDFLAGS = + #LDFLAGS = -g -static + LDLIBS = $(SYSV_LIBS) + |