-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Mosh: add libutempter #4667
Merged
Merged
Mosh: add libutempter #4667
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
341e135
added libutempter
sn00pster 3b426af
updated libutempter to 1.1.6
sn00pster 935f90f
libutempter: fixed helper binary so that it runs under DSM
sn00pster e9540cd
update libutempter to 1.2.1
hgy59 1b29c2b
fix bild of cross/protobuf for DSM7
hgy59 f106b29
mosh: fix build with utempter
hgy59 345250b
cpp code optimization
hgy59 1f68175
Add Perl dependency for advanced customization and scripting
ymartin59 af5dd6f
update changelog
hgy59 707bc93
remove duplicate definition
hgy59 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
PKG_NAME = libutempter | ||
PKG_VERS = 1.2.1 | ||
PKG_EXT = tar.gz | ||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = ftp://ftp.altlinux.org/pub/people/ldv/utempter/ | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
DEPENDS = | ||
|
||
HOMEPAGE = http://freshmeat.sourceforge.net/projects/libutempter | ||
COMMENT = libutempter provides a library interface for terminal emulators such as screen and xterm to record user sessions to utmp and wtmp files. | ||
LICENSE = LGPLv2 | ||
|
||
CONFIGURE_TARGET = nop | ||
|
||
include ../../mk/spksrc.cross-cc.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
lnk:lib/libutempter.so | ||
lnk:lib/libutempter.so.0 | ||
lib:lib/libutempter.so.1.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
libutempter-1.2.1.tar.gz SHA1 f5787a80e87619ec2b45e7e2aadb8c20be55f099 | ||
libutempter-1.2.1.tar.gz SHA256 967fef372f391de501843ad87570c6cf5dabd9651f00f1783090fbc12b2a34cb | ||
libutempter-1.2.1.tar.gz MD5 afe828ce87262d7e043770553004e162 |
20 changes: 20 additions & 0 deletions
20
cross/libutempter/patches/001-Makefile-configurable-prefix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# make prefix configurable | ||
# | ||
--- Makefile.orig 2020-07-06 08:00:00.000000000 +0000 | ||
+++ Makefile 2021-05-16 23:32:38.309124941 +0000 | ||
@@ -30,10 +30,11 @@ | ||
TARGETS = $(PROJECT) $(SHAREDLIB) $(STATICLIB) | ||
|
||
INSTALL = install | ||
-libdir = /usr/lib | ||
-libexecdir = /usr/lib | ||
-includedir = /usr/include | ||
-mandir = /usr/share/man | ||
+prefix ?= /usr | ||
+libdir = $(prefix)/lib | ||
+libexecdir = $(prefix)/lib | ||
+includedir = $(prefix)/include | ||
+mandir = $(prefix)/share/man | ||
man3dir = $(mandir)/man3 | ||
DESTDIR = | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
It is worth to submit this upstream to ease maintenance