Skip to content
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

Add a job to build the cydia package #58

Merged
merged 7 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Dependencies
- name: ldid2
run: |
git clone https://github.com/razum2um/ldid
cd ldid && make && cp -f ldid ldid2 /usr/local/bin
Expand All @@ -35,6 +35,12 @@ jobs:
with:
name: fsmon-ios
path: fsmon-ios
- name: Cydia Package
run: make -C dist/cydia && cp -f dist/cydia/fsmon*.deb .
- uses: actions/upload-artifact@v4
with:
name: fsmon-cydia.zip
path: fsmon*.deb
macos:
runs-on: macos-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion COPYING
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015-2016 NowSecure
Copyright (c) 2015-2024 NowSecure

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 NowSecure, Inc
Copyright (c) 2016-2024 NowSecure, Inc

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,8 @@ all: macos
oldios:
$(IOS_CC) $(CFLAGS) -DTARGET_IOS=1 -o fsmon-ios $(SOURCES) -framework CoreFoundation -framework MobileCoreServices
$(IOS_STRIP) fsmon-ios
if [ $(IOS_ON_DEVICE_COMPILE) != 1 ]; \
then \
xcrun --sdk iphoneos codesign -f --entitlements ./entitlements.plist -s- fsmon-ios; \
fi
if [ $(IOS_ON_DEVICE_COMPILE) != 1 ]; then \
xcrun --sdk iphoneos codesign -f --entitlements ./entitlements.plist -s- fsmon-ios; fi

IOS_FRAMEWORKS=-framework CoreFoundation -weak_framework MobileCoreServices -weak_framework CoreServices
ios:
Expand Down
3 changes: 2 additions & 1 deletion dist/cydia/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
include ./CONFIG
DEPENDS=
PACKAGE_DIR?=${PWD}
PACKAGE_DIR?=$(shell pwd)

all:
$(SUDO) $(MAKE) mrproper
mkdir -p data root/usr/bin
$(MAKE) -C ../.. ios
cp -f ../../fsmon-ios root/usr/bin/fsmon
chmod +x root/usr/bin/fsmon
mkdir -p root/usr/share/man/man1
Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* fsmon -- MIT - Copyright NowSecure 2015-2020 - [email protected] */
/* fsmon -- MIT - Copyright NowSecure 2015-2024 - [email protected] */

#include <stdio.h>
#include <string.h>
Expand Down