Bug 133436 - net-proxy/oops-1.5.24_pre20050503-r1 missing user 'squid'
Bug#: 133436 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: net-proxy@gentoo.org Reported By: dcb@baender.com
Component: Ebuilds
URL: 
Summary: net-proxy/oops-1.5.24_pre20050503-r1 missing user 'squid'
Keywords:  
Status Whiteboard: 
Opened: 2006-05-15 18:27 0000
Description:   Opened: 2006-05-15 18:27 0000
if [ "Xsquid" != "X" ]; then\
        /bin/chown squid
/var/tmp/portage/oops-1.5.24_pre20050503-r1/image//usr/oops/logs;\
        /bin/chown squid
/var/tmp/portage/oops-1.5.24_pre20050503-r1/image//usr/oops/DB;\
fi
/bin/chown: `squid': invalid user
/bin/chown: `squid': invalid user
make[1]: *** [mkinstalldirs] Error 1
make[1]: Leaving directory
`/var/tmp/portage/oops-1.5.24_pre20050503-r1/work/oops-1.5.23/src'
make: *** [install] Error 2

------- Comment #1 From Dean Baender 2006-05-15 18:29:24 0000 -------
Created an attachment (id=86836) [details]
oops-1.5.24_pre20050503-r1.ebuild - add user 'squid'

update ebuild to add user 'squid'.

------- Comment #2 From Alin Năstac 2006-05-19 16:26:39 0000 -------
I've fixed this in the same revision, along with a bunch of cleanups.
The most important changes:
  - create and use oops user&group
  - it can be build with custom LDFLAGS

If you want to run it under oops user, you'd better re-emerge the package.

------- Comment #3 From Dean Baender 2006-05-27 15:31:50 0000 -------
(From update of attachment 86836 [details])
Nice work Alin.  Your fix is better than mine, so I'm obsoleting this ebuild.