Diff for /wikisrc/pkgsrc/intro_to_packaging.mdwn between versions 1.7 and 1.9

version 1.7, 2014/07/09 12:35:41 version 1.9, 2016/02/14 15:40:03
Line 669  packages available for testing. You will Line 669  packages available for testing. You will
 on the host system. I host my [packages](http://pkgsrc.saveosx.org/)  on the host system. I host my [packages](http://pkgsrc.saveosx.org/)
 on a FreeBSD server with a bootstrapped pkgsrc.  on a FreeBSD server with a bootstrapped pkgsrc.
   
 use this `zsh` function to :  use this shell function to :
   
 [[!format bash """  [[!format sh """
 add () {  add () {
         # upload the package to remote server          # 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          # 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;                  rm pkg_summary.gz;
                 /usr/pkg/sbin/pkg_info -X *.tgz | gzip -9 > pkg_summary.gz'                  /usr/pkg/sbin/pkg_info -X *.tgz | gzip -9 > pkg_summary.gz'
                   
Line 723  add () { Line 723  add () {
 And this shell alias to upload all my built packages, but I still  And this shell alias to upload all my built packages, but I still
 need to run `add()` mentionned above to update the pkg_summary  need to run `add()` mentionned above to update the pkg_summary
   
 [[!format bash """  [[!format sh """
 up='rsync -avhz --progress /pkgsrc/packages/ root@saveosx.org:/usr/local/www/saveosx/packages/Darwin/2013Q4/x86_64/'  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  Then you should be able to set the url in repositories.conf to use

Removed from v.1.7  
changed lines
  Added in v.1.9


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb