[PC-BSD Pbi-dev] How about add something to auto populate OTHERPORT?
Kris Moore
kris at pcbsd.org
Tue Sep 29 06:01:12 PDT 2009
Loader,
Awesome! I'm going to do some testing with it and get a new version of the pbi-builder made with
it soon :)
--
Kris Moore
PC-BSD Software
On Sat, 26 Sep 2009, loader wrote:
>
> I think it can reduce the work of maintaining copy-files
> when put some ports into a bundle pbi, something like
> mutt+getmail/fetchmail+msmtp+procmail+gnupg+...
>
> Regards,
> loader
>
> --- 3.makepbi.sh.orig 2009-09-20 20:19:07.000000000 +0800
> +++ 3.makepbi.sh 2009-09-21 15:16:09.000000000 +0800
> @@ -41,6 +41,7 @@
> # Unset the PBIVERSION
> PBIVERSION="" ; export PBIVERSION
> PBIAUTOPOPULATE="" ; export PBIAUTOPOPULATE
> +PBIAUTOPOPULATE_OTHERPORT="" ; export PBIAUTOPOPULATE_OTHERPORT
> INMATEVER="" ; export INMATEVER
> BUILDINMATE="" ; export BUILDINMATE
>
> @@ -123,6 +124,19 @@
> else
> /autopopulate.sh "${PKGNAME}" "${PBILOCALBASE}" "${PBIDIR}"
> fi
> +
> + # Perform PBI auto-population for OTHERPORT
> + if [ "${PBIAUTOPOPULATE_OTHERPORT}" = "YES" -o "${PBIAUTOPOPULATE_OTHER}" = "ON" ]
> + then
> + while read line
> + do
> + if [ ! -z "$line" -a "$line" != " " ]
> + then
> + OTHER_PKGNAME="`/usr/bin/make -C ${line} -V PKGNAME`"
> + /autopopulate.sh "${OTHER_PKGNAME}" "${PBILOCALBASE}" "${PBIDIR}" "/autopopulate.sh"
> + fi
> + done < "/tmp/otherports"
> + fi
> fi
>
> if [ -e "/module/copy-files" ]
> _______________________________________________
> Pbi-dev mailing list
> Pbi-dev at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/pbi-dev
>
> !DSPAM:1,4abe298a14804626944777!
>
>
>
More information about the Pbi-dev
mailing list