On 1/29/07, Waldemar Brodkorb <[EMAIL PROTECTED]> wrote:
Hi Ralph,
>
> -do-install:
> -     PREFIX="${IDIR_SHOREWALL}" ${WRKBUILD}/install.sh -n
> -     sh ./downstrip ${IDIR_SHOREWALL}/etc/shorewall
> -     sh ./downstrip ${IDIR_SHOREWALL}/usr/share/shorewall
> -     rm -f ${IDIR_SHOREWALL}/etc/init.d/shorewall
> -     ${INSTALL_DIR} ${IDIR_SHOREWALL}/etc/init.d
> -     ${INSTALL_BIN} ./files/shorewall.init 
${IDIR_SHOREWALL}/etc/init.d/S${PKG_INIT}${PKG_NAME}
> +$(IPKG_SHOREWALL):
> +     # make use of shorewalls install script
> +     PREFIX="$(IDIR_SHOREWALL)" $(WRKBUILD)/install.sh -n
> +     mkdir -p $(WRKBUILD)/etc/
> +     mv $(IDIR_SHOREWALL)/etc/shorewall $(WRKBUILD)/etc/
> +     sh ./downstrip $(IDIR_SHOREWALL)/usr/share/shorewall
> +     # use our own init script
> +     install -d -m0755 $(IDIR_SHOREWALL)/etc/init.d
> +     cp ./files/shorewall.init 
$(IDIR_SHOREWALL)/etc/init.d/S${PKG_INIT}shorewall
> +     chmod +x $(IDIR_SHOREWALL)/etc/init.d/S${PKG_INIT}shorewall
> +     rm -f $(IDIR_SHOREWALL)/etc/init.d/shorewall
> +     rm -rf $(IDIR_SHOREWALL)/var
> +     rm -rf $(IDIR_SHOREWALL)/usr/share/shorewall/configfiles

This is not longer correct. It is 1.0 syntax. Please take a look at
the other packages, how to handle one source multiple bin packages.

Hi Ralph,

i told you some time ago, that i will work on this patches... I have
prepread the changes and as I want to test them on my router before I
commit them it took some time. As a result of this, I will revert some
parts of your commit.

lg,
Christian
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to