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

version 1.6, 2014/07/09 12:34:13 version 1.9, 2016/02/14 15:40:03
Line 115  WRKSRC= ${WRKDIR}/osxinfo-${GHCOMMIT} Line 115  WRKSRC= ${WRKDIR}/osxinfo-${GHCOMMIT}
   
 DESCR:  DESCR:
                   
         Small and fast Mac OS X info program written in C          Small and fast Mac OS X info program written in C.
         by Youri Mouton.  
   
   
 PLIST:  PLIST:
Line 670  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 712  add () { Line 711  add () {
                 REQUIRES=/usr/pkg/lib/libsqlite3.0.dylib                  REQUIRES=/usr/pkg/lib/libsqlite3.0.dylib
                 FILE_NAME=osxinfo-0.1.tgz                  FILE_NAME=osxinfo-0.1.tgz
                 FILE_SIZE=9710                  FILE_SIZE=9710
                 DESCRIPTION=Small and fast Mac OS X info program written in C                  DESCRIPTION=Small and fast Mac OS X info program written in C.
                 DESCRIPTION=by Youri Mouton.  
                 DESCRIPTION=                  DESCRIPTION=
                 DESCRIPTION=Homepage:                  DESCRIPTION=Homepage:
                 DESCRIPTION=http://github.com/yrmt/osxinfo                  DESCRIPTION=http://github.com/yrmt/osxinfo
Line 725  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.6  
changed lines
  Added in v.1.9


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