On 2009/01/29 16:58, Genadijus Paleckis wrote: > This is cisco-like configurable interface shell. It works for me on > OpenBSD appliance. > > http://84.32.218.218/files/clish.tar.gz > > Please test and commit.
| # Multiple licenses # BSD, GPLv2 (only), custom unrestrictive license: see LICENCE(sic) You mentioned "appliance" - take care with the GPL. Maybe a flavour that sets --without-gpl would be appropriate for this port. | @pkgpath shells/bash,static eh? | share/examples/clish/module.am don't install this one | Sample config files is located in ${LOCALBASE}/share/example/clish | they (preferably modified) must be placed into /etc/clish directory | for clish operate correctly. - s/is/are/ and s/example/examples/, don't add blank lines at the top and bottom of MESSAGE - source should be patched so it uses ${SYSCONFDIR} instead of having /etc hardcoded, you will then need to use something like pre-configure: @${SUBST_CMD} ${WRKSRC}/clish/clish_startup.c \ ${WRKSRC}/clish/shell/shell_spawn.c - create the ${SYSCONFDIR}/clish directory with @sample in pkg/PLIST and add @extraunexec rm -rf ${SYSCONFDIR}/clish - we normally use @sample to copy the config files there too, I'm not sure if it's appropriate to put the sample configs there like this, but it would at least fix the SIGABRT if you run it without config. - the example config uses evil sysV ps flags and tries to find a program called "tracert", these should be fixed