- Update to version 0.16.0.709.
- Do not use hardcoded path for ssh-keygen executable.
- Make private key install with secure permissions.
- Slightly adjust pkg-split to use dirrmtry instead of dirrm for share/keys directory.
Fix: Apply the patch and build
How-To-Repeat: apply the patch and build
I'll take it.
scheidell 2012-05-24 15:49:33 UTC
FreeBSD ports repository
net/opennx Makefile distinfo pkg-plist
- Update to version 0.16.0.709
- Do not use hardcoded path for ssh-keygen executable
Submitted by: Timothy Beyer <firstname.lastname@example.org> (maintainer)
Revision Changes Path
1.3 +4 -2 ports/net/opennx/Makefile
1.2 +2 -2 ports/net/opennx/distinfo
1.2 +1 -1 ports/net/opennx/pkg-plist
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"
Just a thought on the NO_PACKAGE/ new key thing for your next update:
mv (rename) $WRKSRC/share/keys/server.id_dsa.key to server.id_dsa.key.sample
(in makefile AND in pkg-plist.. more later)
have the pkg-install.in program generate a new key on FIRST INSTALL ([ -f server.id_dsa.key.sample ]
That way you can package the port.
in pkg-plist, you need to duplicate some the 'non standard' makefile steps.
You also need to use @exec commands to run ssh-keygen (look for PLIST_SUB in other makefile)
Look for other makefiles that check for, -c (compare) sample files vs user edited files
(like mail/p5-Mail-SpamAssassin, like security/amavisd-new)
this way your @exec can keygen only if there is only an sample, and your @unexec can delete the sample and leave any real key
so that reinstall doesn't clobber the new key. (if that is important)
Test with make install/deinstall/reinstall.
Test with make package/deinstall/ pkg_add.