svn commit: r409827 - in head/security: . pdfcrack

Jan Beich jbeich at vfemail.net
Tue Mar 1 02:15:54 UTC 2016


"Mikhail T." <mi+thun at aldan.algebra.com> writes:

> On 29.02.2016 18:07, Mathieu Arnold wrote:
>
>> The only reason to [...]
> Mathieu, if you intend to lecture others on good practices, please,
> include links to the rules you allege to be broken. Given our history of
> disagreements, I'm not going to try to convince you again -- as long as
> you aren't in a position to /compel/ me to accept your point of view.

security/pdfcrack isn't new, it was removed in r335930. To find such
ports try using FreshPorts or grep history of category/Makefile. For
restoring there's an established procedure[1]. However, as you've
already erased the old history you need to restore it first. Replacing
files was disabled in r320030, so you may need to do at least 2 commits.

Example Subversion surgery follows. All mistakes are mine.

  svn co --depth=empty svn+ssh://repo.freebsd.org/ports/head /tmp/ports.clean
  cd /tmp/ports.clean
  svn up --set-depth=empty security
  svn up MOVED security/Makefile security/pdfcrack
  mv security/pdfcrack tmp
  svn rm security/pdfcrack
  sed -i '.bak' '\|pdfcrack|d' security/Makefile
  svn ci -m 'Back out r409827 to restore old history'
  mv security/Makefile.bak security/Makefile
  svn cp security/pdfcrack at 335929 security
  rm -rf security/pdfcrack
  mv tmp security/pdfcrack
  svn st security/pdfcrack | sed -n 's/^!/svn rm/p; s/^?/svn add/p' | sh
  sed -i '' '\|security/pdfcrack|d' MOVED
  svn ci -m 'security/pdfcrack: update to 0.15 (redo r409827)'

[1] https://www.freebsd.org/doc/en/articles/committers-guide/article.html#ports-qa-resurrect
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20160301/4325d45b/attachment.sig>


More information about the svn-ports-all mailing list