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 - Package request: fileshareset from opensuse-kde3
Summary: Package request: fileshareset from opensuse-kde3
Status: PATCHAVAIL
Alias: None
Product: TDE
Classification: Unclassified
Component: tdelibs (show other bugs)
Version: R14.0.x [Trinity]
Hardware: Other Linux
: P5 needs packaging
Assignee: Francois Andriot
URL:
Depends on:
Blocks: 2969
  Show dependency treegraph
 
Reported: 2014-10-05 05:56 CDT by Francois Andriot
Modified: 2018-08-30 02:24 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
fileshareset 2.0 , including patches and man page (33.11 KB, patch)
2014-10-05 06:01 CDT, Francois Andriot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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