Difference between revisions of "Random Stuff"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
Upgrading pkgsrc bootstrapped packages (bmake install-sh nawk nbsed pax tnftp bootstrap-mk-files): | Upgrading pkgsrc bootstrapped packages (bmake install-sh nawk nbsed pax tnftp bootstrap-mk-files): | ||
− | + | bmake USE_DESTDIR=full package | |
− | + | rm /var/db/pkg/<pkgname>-<pkgversion>/+PRESERVE | |
− | + | pkg_delete "<pkgname>*" | |
+ | pkg_add /usr/pkgsrc/packages/All/<pkgname>-<pkgversion>.tgz | ||
+ | touch /var/db/pkg/<pkgname>-<pkgversion>/+PRESERVE | ||
* [http://predef.sourceforge.net/preos.html List of Operating System Defines] - Handy for doing OS checking in the C preprocessor. | * [http://predef.sourceforge.net/preos.html List of Operating System Defines] - Handy for doing OS checking in the C preprocessor. |
Revision as of 13:45, 17 April 2008
- Taming Firefox
- Ruby 1.9
- Resetting Dell Powerconnect Switch Passwords
- Making hme1 probe correctly on Sun Netra t1 105 servers
To convert asterisk gsm files to wav files it can still play:
sox tt-weasels.gsm -r 8000 -b -c 1 -u -2 tt-weasels.wav
Upgrading pkgsrc bootstrapped packages (bmake install-sh nawk nbsed pax tnftp bootstrap-mk-files):
bmake USE_DESTDIR=full package rm /var/db/pkg/<pkgname>-<pkgversion>/+PRESERVE pkg_delete "<pkgname>*" pkg_add /usr/pkgsrc/packages/All/<pkgname>-<pkgversion>.tgz touch /var/db/pkg/<pkgname>-<pkgversion>/+PRESERVE
- List of Operating System Defines - Handy for doing OS checking in the C preprocessor.