--- wikisrc/pkgsrc/intro_to_packaging.mdwn 2014/07/09 12:34:13 1.6 +++ wikisrc/pkgsrc/intro_to_packaging.mdwn 2016/02/14 15:40:03 1.9 @@ -115,8 +115,7 @@ WRKSRC= ${WRKDIR}/osxinfo-${GHCOMMIT} DESCR: - Small and fast Mac OS X info program written in C - by Youri Mouton. + Small and fast Mac OS X info program written in C. PLIST: @@ -670,15 +669,15 @@ packages available for testing. You will on the host system. I host my [packages](http://pkgsrc.saveosx.org/) on a FreeBSD server with a bootstrapped pkgsrc. -use this `zsh` function to : +use this shell function to : -[[!format bash """ +[[!format sh """ add () { # upload the package to remote server - scp $1 yrmt@saveosx.org:/usr/local/www/saveosx/packages/Darwin/2013Q4/x86_64/All/ 2> /dev/null + scp $1 youri@saveosx.org:/usr/local/www/saveosx/packages/Darwin/2013Q4/x86_64/All/ 2> /dev/null # update the package summary - ssh yrmt@saveosx.org 'cd /usr/local/www/saveosx/packages/Darwin/2013Q4/x86_64/All/; + ssh youri@saveosx.org 'cd /usr/local/www/saveosx/packages/Darwin/2013Q4/x86_64/All/; rm pkg_summary.gz; /usr/pkg/sbin/pkg_info -X *.tgz | gzip -9 > pkg_summary.gz' @@ -712,8 +711,7 @@ add () { REQUIRES=/usr/pkg/lib/libsqlite3.0.dylib FILE_NAME=osxinfo-0.1.tgz FILE_SIZE=9710 - DESCRIPTION=Small and fast Mac OS X info program written in C - DESCRIPTION=by Youri Mouton. + DESCRIPTION=Small and fast Mac OS X info program written in C. DESCRIPTION= DESCRIPTION=Homepage: DESCRIPTION=http://github.com/yrmt/osxinfo @@ -725,8 +723,8 @@ add () { And this shell alias to upload all my built packages, but I still need to run `add()` mentionned above to update the pkg_summary -[[!format bash """ -up='rsync -avhz --progress /pkgsrc/packages/ root@saveosx.org:/usr/local/www/saveosx/packages/Darwin/2013Q4/x86_64/' +[[!format sh """ +up='rsync -avhz --progress /pkgsrc/packages/ youri@saveosx.org:/usr/local/www/saveosx/packages/Darwin/2013Q4/x86_64/' """]] Then you should be able to set the url in repositories.conf to use