Skip to content

Commit

Permalink
CI and crypto (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojodicus authored Sep 5, 2023
1 parent b8af709 commit 1fdc738
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: make
run: make
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ clean:
rm -f xte

xte: xte.c config.h
$(CC) $(CFLAGS) $(RFLAGS) $(LDFLAGS) $(DEFINES) -o $@ $<
$(CC) $(CFLAGS) $(RFLAGS) $(DEFINES) -o $@ $< $(LDFLAGS)

.phony: all clean install uninstall
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![build status](https://github.com/jojodicus/xecute/actions/workflows/build.yml/badge.svg)

# XECUTE

Inspired by [RootDO](https://codeberg.org/sw1tchbl4d3/rdo), this is an even more stripped-down version. Although the performance-uplift in execution compared to RootDO is rather homeopathic, the benefit in xecute lies in the configurability without sacrificing performance. Despite the name, xecute is not affiliated with X.Org or the X11 protocol in any way.
Expand All @@ -6,14 +8,16 @@ I do not guarantee the safety and/or security of this program, everything you do

## Installation

Requires `libxcrypt` or a libc with encryption support (part of the XSI option group).

```
git clone https://github.com/Jojodicus/xecute
cd xecute
make
su -c "make install"
```

to uninstall:
To uninstall:

```
su -c "make uninstall"
Expand Down
3 changes: 3 additions & 0 deletions xte.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#if _XOPEN_CRYPT >= 0
#include <crypt.h>
#endif

#include <pwd.h>
#include <shadow.h>
#include <signal.h>
Expand Down

0 comments on commit 1fdc738

Please sign in to comment.