diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/psmisc_/_metadata/description | 2 | ||||
l--------- | data/psmisc_/_metadata/license | 1 | ||||
l--------- | data/psmisc_/_metadata/maintainer | 1 | ||||
-rw-r--r-- | data/psmisc_/_metadata/priority | 1 | ||||
-rw-r--r-- | data/psmisc_/_metadata/section | 1 | ||||
-rw-r--r-- | data/psmisc_/_metadata/version | 1 | ||||
-rw-r--r-- | data/psmisc_/fuser.diff | 23 | ||||
-rw-r--r-- | data/psmisc_/getline.diff | 32 | ||||
-rw-r--r-- | data/psmisc_/make.sh | 8 | ||||
-rw-r--r-- | data/psmisc_/pathmax.diff | 11 | ||||
-rw-r--r-- | data/psmisc_/psmisc-22.6.tar.gz | bin | 0 -> 283532 bytes |
11 files changed, 81 insertions, 0 deletions
diff --git a/data/psmisc_/_metadata/description b/data/psmisc_/_metadata/description new file mode 100644 index 000000000..005d9a0c9 --- /dev/null +++ b/data/psmisc_/_metadata/description @@ -0,0 +1,2 @@ +this package isn't described yet +This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later. diff --git a/data/psmisc_/_metadata/license b/data/psmisc_/_metadata/license new file mode 120000 index 000000000..9c13a9a0f --- /dev/null +++ b/data/psmisc_/_metadata/license @@ -0,0 +1 @@ +../../../licenses/gpl-2
\ No newline at end of file diff --git a/data/psmisc_/_metadata/maintainer b/data/psmisc_/_metadata/maintainer new file mode 120000 index 000000000..0fa66e077 --- /dev/null +++ b/data/psmisc_/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/saurik
\ No newline at end of file diff --git a/data/psmisc_/_metadata/priority b/data/psmisc_/_metadata/priority new file mode 100644 index 000000000..ea5b3d7ee --- /dev/null +++ b/data/psmisc_/_metadata/priority @@ -0,0 +1 @@ +important diff --git a/data/psmisc_/_metadata/section b/data/psmisc_/_metadata/section new file mode 100644 index 000000000..7fbe952b7 --- /dev/null +++ b/data/psmisc_/_metadata/section @@ -0,0 +1 @@ +admin diff --git a/data/psmisc_/_metadata/version b/data/psmisc_/_metadata/version new file mode 100644 index 000000000..059080291 --- /dev/null +++ b/data/psmisc_/_metadata/version @@ -0,0 +1 @@ +22.6 diff --git a/data/psmisc_/fuser.diff b/data/psmisc_/fuser.diff new file mode 100644 index 000000000..20ac47f51 --- /dev/null +++ b/data/psmisc_/fuser.diff @@ -0,0 +1,23 @@ +diff -r -u psmisc-22.6/src/Makefile.am psmisc-22.6+iPhone/src/Makefile.am +--- psmisc-22.6/src/Makefile.am 2007-07-04 02:21:50.000000000 +0000 ++++ psmisc-22.6+iPhone/src/Makefile.am 2007-12-27 13:27:03.000000000 +0000 +@@ -1,7 +1,7 @@ + + AM_CFLAGS = -Wall -DLOCALEDIR=\"/usr/share/locale\" + +-bin_PROGRAMS = fuser killall pstree oldfuser ++bin_PROGRAMS = killall pstree + if WANT_PEEKFD_I386 + bin_PROGRAMS += peekfd + AM_CFLAGS += -DI386 +@@ -15,10 +15,6 @@ + AM_CFLAGS += -DPPC + endif + +-oldfuser_SOURCES = oldfuser.c comm.h signals.c signals.h loop.h i18n.h +- +-fuser_SOURCES = fuser.c comm.h signals.c signals.h i18n.h fuser.h +- + killall_SOURCES = killall.c comm.h signals.c signals.h i18n.h + + killall_LDADD = @SELINUX_LIB@ diff --git a/data/psmisc_/getline.diff b/data/psmisc_/getline.diff new file mode 100644 index 000000000..9b2b3d44d --- /dev/null +++ b/data/psmisc_/getline.diff @@ -0,0 +1,32 @@ +diff -r -u psmisc-22.6/src/killall.c psmisc-22.6+iPhone/src/killall.c +--- psmisc-22.6/src/killall.c 2007-06-03 10:58:09.000000000 +0000 ++++ psmisc-22.6+iPhone/src/killall.c 2007-12-27 13:28:53.000000000 +0000 +@@ -64,9 +64,8 @@ + { + int res; + size_t len; +- char *line; ++ char line[1024]; + +- line = NULL; + len = 0; + + do { +@@ -79,16 +78,14 @@ + + fflush (stdout); + +- if (getline (&line, &len, stdin) < 0) ++ if (fgets(line, sizeof(line), stdin) == NULL) + return 0; + /* Check for default */ + if (line[0] == '\n') { +- free(line); + return 0; + } + res = rpmatch(line); + if (res >= 0) { +- free(line); + return res; + } + } while(1); diff --git a/data/psmisc_/make.sh b/data/psmisc_/make.sh new file mode 100644 index 000000000..92c942f18 --- /dev/null +++ b/data/psmisc_/make.sh @@ -0,0 +1,8 @@ +tar -zxvf "${PKG_DATA}/psmisc-22.6.tar.gz" +cd psmisc-22.6 +pkg:patch +automake +pkg:configure ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes +make +pkg:install +pkg: rm -f /usr/bin/killall diff --git a/data/psmisc_/pathmax.diff b/data/psmisc_/pathmax.diff new file mode 100644 index 000000000..23f83dd49 --- /dev/null +++ b/data/psmisc_/pathmax.diff @@ -0,0 +1,11 @@ +diff -r -u psmisc-22.6/src/killall.c psmisc-22.6+iPhone/src/killall.c +--- psmisc-22.6/src/killall.c 2007-06-03 10:58:09.000000000 +0000 ++++ psmisc-22.6+iPhone/src/killall.c 2007-12-27 13:26:48.000000000 +0000 +@@ -36,6 +36,7 @@ + #include <dirent.h> + #include <signal.h> + #include <errno.h> ++#include <sys/param.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <getopt.h> diff --git a/data/psmisc_/psmisc-22.6.tar.gz b/data/psmisc_/psmisc-22.6.tar.gz Binary files differnew file mode 100644 index 000000000..b9616e6b4 --- /dev/null +++ b/data/psmisc_/psmisc-22.6.tar.gz |