Bug 167469 - sys-power/apcupsd-3.14.0 (Version Bump)
Bug#: 167469 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: tantive@gentoo.org Reported By: ConiKost@gmx.de
Component: Ebuilds
URL:  http://www.apcupsd.org
Summary: sys-power/apcupsd-3.14.0 (Version Bump)
Keywords:  
Status Whiteboard: 
Opened: 2007-02-18 12:47 0000
Description:   Opened: 2007-02-18 12:47 0000
Hello!

apcupsd 3.14.0 is out!

------- Comment #1 From Conrad Kostecki 2007-02-18 14:52:36 0000 -------
Allright, here we go ;)

Updated ebuild for 3.14.0

apcupsd.in.patch - Can be used from 3.12.4 ... 
etc.patch - updated for 3.14.0
exit-status-build.patch - dropped, as its not in 3.14.0 integrated!
no-parallel.patch - Can be used from 3.12.4 ... 
no-strip.patch - dropped, as its not in 3.14.0 integrated!

------- Comment #2 From Conrad Kostecki 2007-02-18 14:53:40 0000 -------
Created an attachment (id=110538) [details]
apcupsd-3.14.0.ebuild

apcupsd-3.14.0.ebuild

New Release ;)

------- Comment #3 From Conrad Kostecki 2007-02-18 14:54:25 0000 -------
Created an attachment (id=110540) [details]
files/3.14.0/etc.patch

etc.patch

updated for 3.14.0 release!

------- Comment #4 From Conrad Kostecki 2007-02-18 14:55:17 0000 -------
exit-status-build.patch - dropped, as its in 3.14.0 integrated!
no-strip.patch - dropped, as its in 3.14.0 integrated!

Its compiles here and works fine with my ups from apc ...

------- Comment #5 From mark@tvk.rwth-aachen.de 2007-03-01 01:11:56 0000 -------
this ebuild works here too and I hope that it will soon be included into
portage, because the ebuilds that are now in portage don't compile with
USE=snmp on all machines here

------- Comment #6 From Conrad Kostecki 2007-03-01 23:35:03 0000 -------
Does this ebuild do it?

------- Comment #7 From Conrad Kostecki 2007-04-11 12:09:00 0000 -------
*push* ?

------- Comment #8 From Matteo Guglielmi 2007-04-16 14:03:31 0000 -------
(In reply to comment #2)
> Created an attachment (id=110538) [edit] [details]
> apcupsd-3.14.0.ebuild
> 
> apcupsd-3.14.0.ebuild
> 
> New Release ;)
> 

I would suggest to remove these lines from the apcupsd-3.14.0.ebuild:

--enable-old-net
--enable-master-slave
--with-net-port=6666

since they are not supported anymore.

I've seen also the possibility to have a gtk interface along with the 3.14.0
release:

--enable-gapcmon

So it would be nice to add the following line as well:

use gtk && myconf="${myconf} --enable-gapcmon"

Thanks guys!!!

------- Comment #9 From Diego E. 'Flameeyes' Pettenò 2007-04-20 22:13:42 0000 -------
Actually, gapcmon should be conditional to gnome useflag (it uses gconf).

I'll be working on a multiplexing init.d script, as I need two apcupsd
instances here on this box, I'll see to submit it here when it will be ready.

------- Comment #10 From Diego E. 'Flameeyes' Pettenò 2007-04-21 13:35:39 0000 -------
Created an attachment (id=116897) [details]
apcupsd-3.14.0-apccontrol-gentoo.patch

For the new init.d I need to patch apccontrol.in so that it supports restarting
init scripts with gentoo's baselayout and depending on which it was started
from, I'll see to send it upstream.

------- Comment #11 From Diego E. 'Flameeyes' Pettenò 2007-04-21 13:37:39 0000 -------
Created an attachment (id=116898) [details]
apcupsd.initd

This is the new init.d script, that can be linked to start more than one
apcupsd instance (working fine here with two UPSes).

------- Comment #12 From Diego E. 'Flameeyes' Pettenò 2007-04-21 13:40:37 0000 -------
Created an attachment (id=116899) [details]
apcupsd-3.14.0.ebuild

And this finally is the ebuild to use to have everything working.

Note that gapcmon uses gnome useflag as it requires gconf as I said.

I also changed einfo in elog, so that it can be logged.

------- Comment #13 From Alessio Cassibba (X-Drum) 2007-04-21 18:51:51 0000 -------
all the stuff submitted by Flameeyes (Comments #10 #11 #12) 
works fine here.

emerge info:
Portage 2.1.2.2 (default-linux/amd64/2007.0/desktop, gcc-4.1.1, glibc-2.5-r0,
2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 21 Apr 2007 09:00:08 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LINGUAS="it"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bitmap-fonts cairo cdr cli
cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox
fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos
libg++ mad midi mikmod mmx mp3 mpeg ncurses nls nptl nptlonly offensive ogg
opengl pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline
reflection sdl session spell spl sse sse2 ssl svg tcpd tiff truetype
truetype-fonts type1-fonts unicode vorbis xml xorg xv zlib" ALSA_CARDS="emu10k1
ac97" 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse
joystick" KERNEL="linux" LCD_DEVICES="g15" LINGUAS="it" USERLAND="GNU"
VIDEO_CARDS="fbdev nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #14 From Conrad Kostecki 2007-04-24 09:00:42 0000 -------
Yep!
ebuild work here fine =)

------- Comment #15 From Michael Imhof 2007-05-02 21:13:24 0000 -------
In cvs. Thanks for your help!