By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2146

Summary: Package request: fileshareset from opensuse-kde3
Product: TDE Reporter: Francois Andriot <albator78>
Component: tdelibsAssignee: Francois Andriot <albator78>
Status: PATCHAVAIL ---    
Severity: needs packaging CC: albator78, be4youcome, bugwatch
Priority: P5    
Version: R14.0.x [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2969    
Attachments: fileshareset 2.0 , including patches and man page

Description Francois Andriot 2014-10-05 05:56:22 CDT
Hello,
the current "fileshareset" provided in tdelibs will not work as expected.
It is a perl script with setuid bit. That combination does not work in Linux.

That why opensuse-kde3 has replaced this old perl script with a more recent C++ program simply named "fileshareset 2.0"

We should package this program in a separate package, then remove the current fileshareset/filesharelist from tdelibs.
Comment 1 Francois Andriot 2014-10-05 06:01:17 CDT
Created attachment 2284 [details]
fileshareset 2.0 , including patches and man page

This program is under GPLv2+ .

Description: Set and list fileshares
 This package contains the the fileshareset utility to allow users to
 add or remove file shares.  It's also possible to list currently shared
 locations. /etc/security/fileshare.conf is the main configuration file
 This utility was originally written for openSUSE KDE3.


How to build:

Untar sources.
Prepare sources:
  aclocal
  autoconf
  automake -a -c

Configure build (need to build with PIE):
  export CXXFLAGS="$CXXFLAGS -fPIE"
  export CFLAGS="$CFLAGS -fPIE"
  export LDFLAGS="$LDFLAGS -pie"
  ./configure

Build:
  make

Install:
  make install
  install -D -m 644 man/fileshareset.8 /usr/share/man/man8/fileshareset.8
  echo "RESTRICT=yes" > "/etc/security/fileshare.conf"

Package files:
  /usr/bin/fileshareset (mode 4755)
  /usr/bin/filesharelist (symlink to fileshareset)
  /usr/share/man/man8/fileshareset.8
  /etc/security/fileshare.conf