Code Monkey home page Code Monkey logo

powerman-overlay's Introduction

My overlay for Gentoo Linux

Runit

Modified portage packages:

  • sys-process/runit: removed default files in /etc/runit/ (they're in power-misc/runit-scripts)

New packages:

  • runit-service/service-*: my ./run files for many runit services (3proxy, acpid, pppd+pppoe, agetty, apache, dbus, dcron, dhcpd, djbdns, gpm, i2p, mysql, nginx, nut, qmail, samba, socklog, ssh, tftpd, twoftpd, …)
  • power-misc/runit-scripts: my runit boot scripts (replacement for sysvinit/baselayout/openrc boot scripts)

Other

Modified portage packages:

  • mail-mta/netqmail: add support for user patches
  • net-p2p/rtorrent: added colors patch

New packages:

  • dev-inferno/inferno: a compact operating system for building cross-platform distributed systems
  • dev-vcs/vcprompt: show info about the current working directory for various VCS for PS1 (my fork of original vcprompt, optimized for speed)
  • media-sound/cue2tracks: split audio CD image files with cue sheet to tracks and write tags
  • media-sound/flaccl: CUDA-enabled FLAC encoder (former FlaCuda)
  • net-analyzer/alertmanager: manage alerts for Prometheus metrics
  • net-analyzer/process-exporter: Prometheus exporter that mines /proc to report on selected processes
  • net-analyzer/pushgateway: allow ephemeral and batch jobs to expose their metrics to Prometheus
  • net-fs/wdmrc: WebDAV emulator for Mail.ru Cloud
  • net-ftp/twoftpd: simple secure efficient FTP server by Bruce Guenter (with added patch which block TELNET_IAC support to allow using character with code 255 in file names (required to support Cyrillic file names in Windows CP1251 encoding)
  • x11-misc/xse: command Line Interface to XSendEvent()
  • x11-plugins/telegram-purple: adds support for Telegram to Pidgin and Finch

New packages (my software):

  • media-fonts/developer-font: Cyrillic fonts for X and console (UNICODE/ISO10646-1, KOI8-R, MICROSOFT-CP1251) screenshots
  • media-fonts/russify: very nice Cyrillic console font from unknown source (both for text mode and framebuffer@1280 mode), consoletrans tables for dos/koi/win encodings, keymaps for dos/koi/win (2 variants - one for AltGr eng/rus switching and second for Ctrl+Shift switching)
  • power-misc/addgpginfo: script which add GnuPG info into email headers while delivering (for use in .qmail)
  • power-misc/deliver: control email delivery (for use in .qmail)
  • power-misc/greysmtpd: soft greylisting (for qmail)
  • power-misc/powerbackup: simple and flexible incremental backup
  • power-misc/powerutils: a bundle of useful small utilities
  • power-misc/powerwatchdog: simple watchdogs for server and service monitoring
  • power-misc/remote: ease to use wrapper tools for ssh and scp

Install

Install layman if you doesn't have it yet:

# emerge layman

Next fetch list of available overlays and add my overlay:

# layman -L
# layman -a powerman

powerman-overlay's People

Contributors

nsavin avatar powerman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

powerman-overlay's Issues

runit-service/setupservices-1-r1: workdir doesn't exist

Hi,

runit builds fine but for some reason runit-service/setupservices-1-r1 doesn't build, it gives the error:

Calculating dependencies  ... done!
 
>>> Verifying ebuild manifests
 
>>> Emerging (1 of 3) runit-service/setupservices-1-r1::powerman
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/runit-service/setupservices-1-r1/work
>>> Preparing source in /var/tmp/portage/runit-service/setupservices-1-r1/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/runit-service/setupservices-1-r1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/runit-service/setupservices-1-r1/work ...
>>> Source compiled.
>>> Test phase [not enabled]: runit-service/setupservices-1-r1
 * ERROR: runit-service/setupservices-1-r1::powerman failed (install phase):
 *   The source directory '/var/tmp/portage/runit-service/setupservices-1-r1/work/setupservices-1' doesn't exist
 *
 * Call stack:
 *            ebuild.sh, line  776:  Called __ebuild_main 'install'
 *   phase-functions.sh, line 1053:  Called __dyn_install
 *   phase-functions.sh, line  575:  Called die
 * The specific snippet of code:
 *          die "The source directory '${S}' doesn't exist"
 *
 * If you need support, post the output of `emerge --info '=runit-service/setupservices-1-r1::powerman'`,
 * the complete build log and the output of `emerge -pqv '=runit-service/setupservices-1-r1::powerman'`.
 * The complete build log is located at '/var/tmp/portage/runit-service/setupservices-1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/runit-service/setupservices-1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/runit-service/setupservices-1-r1/homedir'
 * S: '/var/tmp/portage/runit-service/setupservices-1-r1/work/setupservices-1'
 
>>> Failed to emerge runit-service/setupservices-1-r1, Log file:
 
>>>  '/var/tmp/portage/runit-service/setupservices-1-r1/temp/build.log'
 * Messages for package runit-service/setupservices-1-r1:
 * ERROR: runit-service/setupservices-1-r1::powerman failed (install phase):
 *   The source directory '/var/tmp/portage/runit-service/setupservices-1-r1/work/setupservices-1' doesn't exist
 *
 * Call stack:
 *            ebuild.sh, line  776:  Called __ebuild_main 'install'
 *   phase-functions.sh, line 1053:  Called __dyn_install
 *   phase-functions.sh, line  575:  Called die
 * The specific snippet of code:
 *          die "The source directory '${S}' doesn't exist"
 *
 * If you need support, post the output of `emerge --info '=runit-service/setupservices-1-r1::powerman'`,
 * the complete build log and the output of `emerge -pqv '=runit-service/setupservices-1-r1::powerman'`.
 * The complete build log is located at '/var/tmp/portage/runit-service/setupservices-1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/runit-service/setupservices-1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/runit-service/setupservices-1-r1/homedir'
 * S: '/var/tmp/portage/runit-service/setupservices-1-r1/work/setupservices-1'

. While my emerge -pqv output is:

[ebuild  N    ] runit-service/setupservices-1-r1

and my emerge --info output is:

Portage 2.3.13 (python 3.4.5-final-0, hardened/linux/musl/amd64, gcc-5.4.0, musl-1.1.18, 4.12.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.4.1
KiB Mem:     8175956 total,   7824816 free
KiB Swap:    4194300 total,   4194300 free
Head commit of repository gentoo: 91c02b6a97e4cc6ac17457640bb32c3d708093b3

Head commit of repository powerman: 113c8b600e3df2f62ee46d963b3635b0e42df839

sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.8::gentoo
sys-apps/sandbox:         2.10-r4::musl
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::musl, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::musl (virtual/os-headers)
sys-libs/musl:            1.1.18::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/gentoo/gentoo.git
    priority: -1000

powerman
    location: /usr/local/powerman-overlay
    sync-type: git
    sync-uri: git://github.com/powerman/powerman-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-gentoo-linux-musl"
CFLAGS="-O2 -pipe"
CHOST="x86_64-gentoo-linux-musl"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo"
INSTALL_MASK="charset.alias"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="amd64 bindist cli cracklib crypt cxx dri fortran iconv ipv6 mmx modules ncurses nls nptl openmp pam pcre pic readline seccomp session sse sse2 ssl tcpd unicode xattr zlib" ABI_X86="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

as you can see I am using musl as my C standard library, what can I say I want to see if I can make my Gentoo system similar to Void Linux, using both musl and runit. Is the musl likely to make a difference?

Thanks for your time,
Brenton

Add mirror for downloading distfiles

Не проходят даже ICMP пинги, очень странно. Знакомый говорит, что через vpn работает нормально
Хотя даже учитывая текущую плачевную обстановку в мире, вряд ли они в ркн настолько сильно упоролись. Возможно провайдер блокирует для "защиты от кибератак"?
Если вы не против, могу создать зеркало у себя на uuuvn.space, или ещё лучше, опубликуйте скрипты и патчи(если есть) в релизах

Install of Exodus wallet fails with 403 forbidden error on exodus-linux-x64-23.4.10.deb download

No problem downloading the same package manually via a web browser from https://downloads.exodus.com/releases/exodus-linux-x64-23.4.10.deb

At the terminal aria2c works, but wget and curl fail

wget https://downloads.exodus.com/releases/exodus-linux-x64-23.4.10.deb --2024-01-03 07:35:02-- https://downloads.exodus.com/releases/exodus-linux-x64-23.4.10.deb Resolving downloads.exodus.com... 104.18.36.212, 172.64.151.44, 2606:4700:4400::6812:24d4, ... Connecting to downloads.exodus.com|104.18.36.212|:443... connected. HTTP request sent, awaiting response... 403 Forbidden 2024-01-03 07:35:03 ERROR 403: Forbidden.

[ebuild  N    ~] net-misc/exodus-23.4.10::powerman  155397 KiB

Total: 1 package (1 new), Size of downloads: 155397 KiB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-misc/exodus-23.4.10::powerman
>>> Downloading 'http://distfiles.gentoo.org/distfiles/00/exodus-linux-x64-23.4.10.deb'
--2024-01-03 07:29:12--  http://distfiles.gentoo.org/distfiles/00/exodus-linux-x64-23.4.10.deb
Resolving distfiles.gentoo.org... 89.187.162.137, 143.244.33.157, 89.187.162.133, ...
Connecting to distfiles.gentoo.org|89.187.162.137|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-01-03 07:29:14 ERROR 404: Not Found.

>>> Downloading 'https://downloads.exodus.com/releases/exodus-linux-x64-23.4.10.deb'
--2024-01-03 07:29:14--  https://downloads.exodus.com/releases/exodus-linux-x64-23.4.10.deb
Resolving downloads.exodus.com... 172.64.151.44, 104.18.36.212, 2606:4700:4400::ac40:972c, ...
Connecting to downloads.exodus.com|172.64.151.44|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2024-01-03 07:29:15 ERROR 403: Forbidden.

!!! Couldn't download 'exodus-linux-x64-23.4.10.deb'. Aborting.
 * Fetch failed for 'net-misc/exodus-23.4.10', Log file:
 *  '/var/tmp/portage/net-misc/exodus-23.4.10/temp/build.log'

>>> Failed to emerge net-misc/exodus-23.4.10, Log file:

>>>  '/var/tmp/portage/net-misc/exodus-23.4.10/temp/build.log'

 * Messages for package net-misc/exodus-23.4.10:

 * Fetch failed for 'net-misc/exodus-23.4.10', Log file:
 *  '/var/tmp/portage/net-misc/exodus-23.4.10/temp/build.log'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (net-misc/exodus-23.4.10:0/0::powerman, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/net-misc/exodus-23.4.10/temp/build.log'
 * 

Time & date off with runit, despite being set properly according to the Gentoo Handbook

Hi,

I followed the Gentoo Handbook with regard to setting up local time (on my glibc + runit system, not on the musl one) i.e. running:

echo "Australia/Brisbane" > /etc/localtime
emerge --config sys-libs/timezone-data

yet when I boot into Gentoo with runit I get these errors:

virtualbox_gentoo linux glibc runit _21_11_2017_21_57_17

I don't get this error when I follow the same technique with OpenRC or systemd. Any ideas how to fix this?

Sorry if this turns out to not be a bug, it's just I'm stuck with what to do.

Thanks for your time,
Brenton

lurch / libomemo: 12-byte IVs patch

/etc/iptables missing, despite being called on by /etc/runit/1

Hi,

net-firewall/iptables installs the following files in /etc:

  • /etc/conf.d/ip6tables
  • /etc/conf.d/iptables
  • /etc/init.d/ip6tables
  • /etc/init.d/iptables

yet by default /etc/runit/1 depends on a file at /etc/iptables. I realize this is probably an upstream error (with regard to runit, not iptables) but do you have any plans to fix this? Or is there a fix already available that I'm unaware of? I realize symlinking /etc/init.d/iptables to /etc/iptables is an option but I suspect these files have been patched to work with OpenRC not necessarily with runit. Doing symlinking gives this error on startup:

virtualbox_gentoo linux glibc runit _21_11_2017_22_51_21

Thanks for your time,
Brenton

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.