[packages] mini_sendmail, nullmailer, ssmtp: fix the remaining postinsts from r20406

git-svn-id: svn://svn.openwrt.org/openwrt/packages@24817 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
swalker 2010-12-24 12:08:11 +00:00
parent 006bec94df
commit bf53934ad2
3 changed files with 9 additions and 9 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mini-sendmail PKG_NAME:=mini-sendmail
PKG_VERSION:=1.3.6 PKG_VERSION:=1.3.6
PKG_RELEASE:=3 PKG_RELEASE:=4
PKG_SOURCE:=mini_sendmail-$(PKG_VERSION).tar.gz PKG_SOURCE:=mini_sendmail-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.acme.com/software/mini_sendmail/ PKG_SOURCE_URL:=http://www.acme.com/software/mini_sendmail/
@ -41,7 +41,7 @@ define Package/mini-sendmail/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mini_sendmail $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/mini_sendmail $(1)/usr/sbin/
endef endef
define Package/mini-sendmail/postinstall define Package/mini-sendmail/postinst
ln -sf mini_sendmail $${IPKG_INSTROOT}/usr/sbin/sendmail ln -sf mini_sendmail $${IPKG_INSTROOT}/usr/sbin/sendmail
endef endef

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nullmailer PKG_NAME:=nullmailer
PKG_VERSION:=1.05 PKG_VERSION:=1.05
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://untroubled.org/nullmailer/ PKG_SOURCE_URL:=http://untroubled.org/nullmailer/
@ -47,7 +47,7 @@ define Package/nullmailer/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/protocols/smtp $(1)/usr/lib/nullmailer/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/protocols/smtp $(1)/usr/lib/nullmailer/
endef endef
define Package/nullmailer/postinstall define Package/nullmailer/postinst
ln -sf ../sbin/sendmail $(1)/usr/lib/sendmail ln -sf ../sbin/sendmail $(1)/usr/lib/sendmail
ln -sf nullmailer-sendmail $(1)/usr/sbin/sendmail ln -sf nullmailer-sendmail $(1)/usr/sbin/sendmail
endef endef

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ssmtp PKG_NAME:=ssmtp
PKG_VERSION:=2.64 PKG_VERSION:=2.64
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.bz2 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.bz2
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/s/ssmtp PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/s/ssmtp
@ -54,7 +54,7 @@ define Package/ssmtp/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ssmtp $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/ssmtp $(1)/usr/sbin/
endef endef
define Package/ssmtp/postinstall define Package/ssmtp/postinst
ln -sf ssmtp $${IPKG_INSTROOT}/usr/sbin/sendmail ln -sf ssmtp $${IPKG_INSTROOT}/usr/sbin/sendmail
endef endef