Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 228011

Summary: sys-power/apcupsd-3.14.5 (version bump)
Product: Gentoo Linux Reporter: Conrad Kostecki <conikost>
Component: New packagesAssignee: Diego Elio Pettenò (RETIRED) <flameeyes>
Status: RESOLVED FIXED    
Severity: enhancement CC: akshayushah, chris, jarkko.laiho, paolo.pedroni, radhermit
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
URL: http://www.apcupsd.org/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: apcupsd-3.14.4.ebuild.patch
apcupsd-3.14.4.ebuild.patch
Apcupsd-3.4.14 with modified init script ready for overlay

Description Conrad Kostecki gentoo-dev 2008-06-18 08:37:29 UTC
Hi!
sys-power/apcupsd-3.14.4 is released.

An Upgrade is easy. just rename ebuild. patch hal-ups-policy.patch can be dropped, as its now integrated.

compiles and works for me here.
Comment 1 Conrad Kostecki gentoo-dev 2008-06-18 08:37:49 UTC
Portage 2.1.5.5 (default/linux/x86/2008.0/server, gcc-4.3.1, glibc-2.7-r2, 2.6.25-gentoo-r4 i586)
=================================================================
System uname: 2.6.25-gentoo-r4 i586 Geode(TM) Integrated Processor by AMD PCS
Timestamp of tree: Tue, 17 Jun 2008 14:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer -mfpmath=387"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CPPFLAGS=""
CTARGET=""
CXXFLAGS="-march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer -mfpmath=387 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
INSTALL_MASK=""
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -s -Wl,-z,now"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
PORTAGE_COMPRESS_FLAGS="-f9"
PORTAGE_RSYNC_EXTRA_OPTS="--delete-excluded --exclude-from=/etc/portage/rsync_excludes --stats"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow alsa apache2 berkdb bzip2 cgi crypt ctype ftp gd iconv imap javascript jpeg mbox mmx mysql mysqli ncurses nls offensive pam pcre png readline samba sasl session simplexml slang snmp sockets spell ssl symlink tcpd threads tokenizer truetype unicode urandom vhosts x86 xml zlib" ALSA_CARDS="cs5535audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic authn_file authz_host authz_user autoindex cache cgi deflate dir disk_cache filter log_config logio mime mime_magic mem_cache rewrite vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="cfontz´hd44780" LINGUAS="de" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="amd"
Comment 2 Conrad Kostecki gentoo-dev 2008-06-18 08:38:11 UTC
Created attachment 157405 [details, diff]
apcupsd-3.14.4.ebuild.patch

apcupsd-3.14.4.ebuild.patch
Comment 3 Conrad Kostecki gentoo-dev 2008-06-18 08:42:41 UTC
I am also not sure, if we need the no-parallel.patch.

According to 3.14.4 Changelog:
Parallel builds work well. If you have a multiprocessor (or multicore)
system, try 'make -j<number-of-processors>' for the fastest possible
build.

So maybe we don't need this anymore?
Comment 4 Conrad Kostecki gentoo-dev 2008-06-18 08:57:44 UTC
Created attachment 157407 [details, diff]
apcupsd-3.14.4.ebuild.patch

My false ;) no-parallel.patch is really not needed...
providing an updates patch for ebuild.

* Removal of NLS support: The NLS code was terribly bit-rotted with many
non-internationalized messages and almost every translated message was
incorrect. At this point the maintenance burden of keeping NLS support
building was deemed too high considering the small benefit it was able 
to provide.

* Powerflute has been disabled. It has been broken for the last several 
releases because it relied on an untrushworthy source of UPS status
(rawupsstats) which was itself removed. Powerflute could be converted to
use the standard NIS status mechanism and its source code remains in
the tree in case someone has the desire to contribute this code.

NLS is dropped, Powerflute is dropped.
Comment 5 Jarkko Laiho 2008-06-18 09:10:02 UTC
*** Bug 228009 has been marked as a duplicate of this bug. ***
Comment 6 Jarkko Laiho 2008-06-18 10:02:55 UTC
Sorry if this is not the proper place to ask, but since it seems likely that the ebuild will find its way into Portage soon enough, are there any plans on marking it stable? I'm not familiar with the requirements that have to be met for it to be done.

The previous stable version (3.12.4) is getting old and has a few issues, and I try not to use the ~x86 keyword when at all possible.
Comment 7 Conrad Kostecki gentoo-dev 2008-06-24 10:08:15 UTC
(In reply to comment #6)
> are there any plans on marking it stable? I'm not familiar with the
> requirements that have to be met for it to be done.

I guess no, as every package, which wants to get from testing to stable, needs to have for 30 days or more no bugreports.
Comment 8 Conrad Kostecki gentoo-dev 2008-07-28 14:03:50 UTC
He Michael ;) Did you already looked into the ebuild, so we maybe can bump?
Comment 9 Conrad Kostecki gentoo-dev 2008-09-09 07:41:46 UTC
Any new News?
Comment 10 Paolo Pedroni 2008-10-02 08:03:47 UTC
Ping!
Comment 11 Chris Smith 2008-10-09 14:26:51 UTC
(In reply to comment #4)
> Created an attachment (id=157407) [edit]
> apcupsd-3.14.4.ebuild.patch

In examining the source and the patches it looks like none of the patches are needed for the 3.14.4 version. Am I missing something?
Comment 12 Billy DeVincentis 2008-10-13 22:30:39 UTC
I have been having problems with stopping, I had to modify the init script

see here

http://bugs.gentoo.org/show_bug.cgi?id=240694
Comment 13 Billy DeVincentis 2008-10-13 22:32:42 UTC
Created attachment 168340 [details]
Apcupsd-3.4.14 with modified init script ready for overlay
Comment 14 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-01-15 14:55:36 UTC
Michael, I'm going forward with the bump, if you don't care about this package anymore, please tell me and I'll just maintain it, since I _really_ need it.
Comment 15 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-01-15 15:23:24 UTC
Taking over. Michael you let this package rot so much, since I need it, I'm going to take it over and take care.

Please don't say I didn't give you enough notice, last year I already asked you this much and now I'm simply tired.
Comment 16 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-01-15 15:25:54 UTC
Bumped to 3.14.5. There are more cleanups to do, but I wonder if I could get upstream to just use automake since their buildsystem overhaul barely helps.