|
@ -40,13 +40,15 @@ endef |
|
|
CONFIGURE_ARGS += \
|
|
|
CONFIGURE_ARGS += \
|
|
|
--prefix="$(prefix)" \
|
|
|
--prefix="$(prefix)" \
|
|
|
--exec-prefix="$(prefix)" \
|
|
|
--exec-prefix="$(prefix)" \
|
|
|
--with-python="/usr/bin/python" \
|
|
|
|
|
|
--with-username="root" \
|
|
|
--with-username="root" \
|
|
|
--with-groupname="root" \
|
|
|
--with-groupname="root" \
|
|
|
--with-mail-gid="nogroup" \
|
|
|
--with-mail-gid="nogroup" \
|
|
|
--with-cgi-gid="root" \
|
|
|
--with-cgi-gid="root" \
|
|
|
--without-permcheck \
|
|
|
--without-permcheck \
|
|
|
|
|
|
|
|
|
|
|
|
define Build/Compile |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
define Package/mailman/install |
|
|
define Package/mailman/install |
|
|
$(INSTALL_DIR) $(1)$(prefix) |
|
|
$(INSTALL_DIR) $(1)$(prefix) |
|
|
cd $(PKG_BUILD_DIR); $(MAKE) DESTDIR=$(1) install |
|
|
cd $(PKG_BUILD_DIR); $(MAKE) DESTDIR=$(1) install |
|
@ -89,6 +91,7 @@ if [ -z "$${IPKG_INSTROOT}" ]; then |
|
|
./bin/mmsitepass mailman |
|
|
./bin/mmsitepass mailman |
|
|
echo "NOTE: The default site password 'mailman' has been created." |
|
|
echo "NOTE: The default site password 'mailman' has been created." |
|
|
fi |
|
|
fi |
|
|
|
|
|
# /etc/init.d/mailman enable |
|
|
if [ `ps | grep "mailman/bin/qrunner" | grep -cv grep` -gt 0 ] |
|
|
if [ `ps | grep "mailman/bin/qrunner" | grep -cv grep` -gt 0 ] |
|
|
then |
|
|
then |
|
|
$(prefix)/bin/mailmanctl -q restart |
|
|
$(prefix)/bin/mailmanctl -q restart |
|
@ -105,7 +108,6 @@ if [ -z "$${IPKG_INSTROOT}" ]; then |
|
|
echo "Don't forget to setup firewall for accessing this website!" |
|
|
echo "Don't forget to setup firewall for accessing this website!" |
|
|
echo "To add a mailing list go to http://$$hostname/mailman/create." |
|
|
echo "To add a mailing list go to http://$$hostname/mailman/create." |
|
|
fi |
|
|
fi |
|
|
# /etc/init.d/mailman enable |
|
|
|
|
|
fi |
|
|
fi |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|