-
Notifications
You must be signed in to change notification settings - Fork 809
autossh: Created recipe #270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| DESCRIPTION = "autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic" | ||
| HOMEPAGE = "https://www.harding.motd.ca/autossh/" | ||
|
|
||
| LICENSE = "BSD" | ||
| LIC_FILES_CHKSUM = "file://autossh.spec;md5=80a6701134723fd3420e733b46a0eb97" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this file the right one to checksum ? I wonder if it should check for header files or source files which have copyright headers.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The license type is specified on line five of autossh.spec, so I decided that file would be best to checksum. I'm open to other ideas. |
||
|
|
||
| SRC_URI = "https://www.harding.motd.ca/autossh/${BP}.tgz" | ||
| SRC_URI[md5sum] = "2b804bc1bf6d2f2afaa526d02df7c0a2" | ||
| SRC_URI[sha256sum] = "5fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31ae21277" | ||
|
|
||
| RDEPENDS_${PN} = "openssh" | ||
|
|
||
| CFLAGS_prepend = "-I${WORKDIR}/build " | ||
|
|
||
| inherit autotools | ||
|
|
||
| EXTRA_OECONF="--with-ssh=/usr/bin/ssh" | ||
|
|
||
| do_compile_append() { | ||
| cp ${WORKDIR}/autossh-${PV}/CHANGES ${WORKDIR}/build | ||
| cp ${WORKDIR}/autossh-${PV}/README ${WORKDIR}/build | ||
| cp ${WORKDIR}/autossh-${PV}/autossh.host ${WORKDIR}/build | ||
| cp ${WORKDIR}/autossh-${PV}/rscreen ${WORKDIR}/build | ||
| cp ${WORKDIR}/autossh-${PV}/autossh.1 ${WORKDIR}/build | ||
| cp ${WORKDIR}/autossh-${PV}/autossh.spec ${WORKDIR}/build | ||
| } | ||
|
|
||
| do_install_append() { | ||
| rm -rf ${D}${datadir}/examples | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you see if its specific BSD license e.g. BSD-3-Clause
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure where I got BSD as the license. According to the package (line 5 in autossh.spec), it is licensed as "Distributable" and according to the Free Software Directory autossh is licensed under SimplePermissiveNoNonWarranty. Not sure what license to use from licenses.conf...