all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vincent Legoll <vincent.legoll@gmail.com>
To: guix-devel <guix-devel@gnu.org>
Subject: [PACKAGE] sinit
Date: Sat, 30 Jul 2016 14:33:01 +0200	[thread overview]
Message-ID: <CAEwRq=rhE0pZ8_1LphqD1Tu=SWBygjKuF0FDLbSTPbx1k_uEJw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

Hello,

here is the packaging of sinit, a minimalistic /sbin/init replacement.

It shows the use of the musl libc previously posted.

Please advise on how to further proceed with the submission,
where should I put this package, etc...

Thanks

-- 
Vincent Legoll

[-- Attachment #2: sinit.scm --]
[-- Type: text/x-scheme, Size: 2218 bytes --]

;;; GNU Guix --- Functional package management for GNU
;;; Copyright <C2><A9> 2016 Vincent Legoll <vincent.legoll@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (sinit)
  #:use-module (guix download)
  #:use-module (guix packages)
  #:use-module (guix build-system gnu)
  #:use-module (guix licenses)
  #:use-module (gnu packages)
  #:use-module (musl)
)

(define-public sinit
  (package
    (name "sinit")
    (version "1.0")
    (source (origin
              (method url-fetch)
              (uri (string-append "http://git.suckless.org/sinit/snapshot/" name
                                  "-" version ".tar.bz2"))
              (sha256
               (base32
                "1chdfcca7js0vgnw3l68sy8js8b01l4bpjbbfw4mfln5742ys5s9"))
              (patches (search-patches "sinit-build-fix.patch"))))
    (build-system gnu-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (delete 'configure))
       #:tests? #f                                ; no 'check' target
       #:make-flags (list "CC=musl-gcc"
                          (string-append "PREFIX=" (assoc-ref %outputs "out")))))
    (inputs `(("musl" ,musl)))
    (synopsis "This package is a suckless init")
    (description "Initially based on Rich Felker’s minimal init.  The sinit
package is considered complete and no further development is expected to
happen.  The sinit binary file is statically linked against the minimalistic
musl libc.")
    (home-page "http://core.suckless.org/sinit")
    (license (x11-style "file://LICENSE"))))


             reply	other threads:[~2016-07-30 12:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-30 12:33 Vincent Legoll [this message]
2016-07-30 13:46 ` [PACKAGE] sinit Vincent Legoll
2016-07-30 16:19   ` Vincent Legoll
2016-08-07  0:48     ` Leo Famulari
2016-08-07 11:55       ` ng0
2016-08-08 12:48         ` Vincent Legoll
2016-08-09 18:42           ` Ricardo Wurmus
2016-07-30 22:49 ` ng0
2016-08-02  7:00   ` Vincent Legoll

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEwRq=rhE0pZ8_1LphqD1Tu=SWBygjKuF0FDLbSTPbx1k_uEJw@mail.gmail.com' \
    --to=vincent.legoll@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.