Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Adélie Package Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
andri saputra
Adélie Package Tree
Commits
00814ce3
Verified
Commit
00814ce3
authored
7 years ago
by
Anna Wilcox
Browse files
Options
Downloads
Patches
Plain Diff
user/sysvinit: new package
parent
39e7f4b1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
user/sysvinit/APKBUILD
+51
-0
51 additions, 0 deletions
user/sysvinit/APKBUILD
user/sysvinit/sysvinit-2.88-posix-header.patch
+10
-0
10 additions, 0 deletions
user/sysvinit/sysvinit-2.88-posix-header.patch
user/sysvinit/sysvinit.post-upgrade
+4
-0
4 additions, 0 deletions
user/sysvinit/sysvinit.post-upgrade
with
65 additions
and
0 deletions
user/sysvinit/APKBUILD
0 → 100644
+
51
−
0
View file @
00814ce3
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname
=
sysvinit
pkgver
=
2.88
pkgrel
=
0
pkgdesc
=
"System V-style init programs"
url
=
"https://savannah.nongnu.org/projects/sysvinit"
arch
=
"all"
license
=
"GPL-2.0+"
depends
=
""
makedepends
=
"linux-headers"
install
=
"sysvinit.post-upgrade"
options
=
"!check"
provides
=
"/sbin/init"
subpackages
=
"
$pkgname
-doc"
source
=
"http://download.savannah.nongnu.org/releases/sysvinit/sysvinit-
${
pkgver
}
dsf.tar.bz2
sysvinit-2.88-posix-header.patch
"
builddir
=
"
$srcdir
/sysvinit-
${
pkgver
}
dsf"
prepare
()
{
cd
"
$builddir
"
default_prepare
# util-linux
sed
-i
-r
\
-e
'/^(USR)?S?BIN/s:\<(last|lastb|mesg)\>::g'
\
-e
'/^MAN[18]/s:\<(last|lastb|mesg)[.][18]\>::g'
\
src/Makefile
# procps
sed
-i
-r
\
-e
'/\/bin\/pidof/d'
\
-e
'/^MAN8/s:\<pidof.8\>::g'
\
src/Makefile
}
build
()
{
cd
"
$builddir
"
export
DISTRO
=
"Adélie"
make
-C
src
}
package
()
{
cd
"
$builddir
"
make
-C
src
install
ROOT
=
"
$pkgdir
"
rm
"
$pkgdir
"
/usr/bin/lastb
||
true
}
sha512sums
=
"0bd8eeb124e84fdfa8e621b05f796804ee69a9076b65f5115826bfa814ac1d5d28d31a5c22ebe77c86a93b2288edf4891adc0afaecc4de656c4ecda8a83807bf sysvinit-2.88dsf.tar.bz2
27dfe089660a291cbcba06d8564bad11f7fd7c96629e72c2b005562689dc7d8bb479c760e980590906e98423b991ae0acd048713d3bc372174d55ed894abeb3f sysvinit-2.88-posix-header.patch"
This diff is collapsed.
Click to expand it.
user/sysvinit/sysvinit-2.88-posix-header.patch
0 → 100644
+
10
−
0
View file @
00814ce3
--- a/src/init.c 2016-06-06 07:54:04.237447068 +0000
+++ b/src/init.c 2016-06-06 08:17:37.177523978 +0000
@@ -46,6 +46,7 @@
#include <string.h>
#include <signal.h>
#include <termios.h>
+#include <sys/ttydefaults.h>
#include <utmp.h>
#include <ctype.h>
#include <stdarg.h>
This diff is collapsed.
Click to expand it.
user/sysvinit/sysvinit.post-upgrade
0 → 100644
+
4
−
0
View file @
00814ce3
#!/bin/sh
/sbin/telinit U &> /dev/null
return
0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment